:root {
    --primary: #1e2b42;
    --accent: #f05a1a;
    --light: #f9f9f9;
    --ink: #0f172a;
    --border: #e5e7eb;
    --header-h: 84px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Arial, sans-serif;
    background: var(--light);
    color: var(--primary);
    line-height: 1.6
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px
}

/* Sticky Header */
.kxn-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12)
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: var(--header-h);
    gap: 16px
}

.logo-wrap {
    display: flex;
    align-items: center;
    height: var(--header-h);
    text-decoration: none
}

.logo-img {
    height: calc(var(--header-h) - 16px);
    width: auto;
    display: block;
    border-radius: 10px;
    background: #fff0e9;
    padding: 4px
}

.centerbrand {
    text-align: center;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.centerbrand .title {
    font-weight: 900;
    font-size: clamp(20px, 2.4vw, 28px);
    letter-spacing: .2px;
    color: #fff
}

.centerbrand .country {
    white-space: nowrap
}

.flag-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 .2rem 0 .35rem;
    font-size: clamp(26px, 4.8vw, 40px);
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25))
}

.nav-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end
}

.btn {
    display: inline-block;
    padding: .65rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700
}

.btn.ghost {
    background: #fff;
    border-color: #fff;
    color: var(--primary)
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

.btn.darkghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff
}

.btn.darkghost:hover {
    border-color: #fff
}

.subbar {
    text-align: center;
    padding: .45rem 0;
    border-top: 1px solid rgba(255, 255, 255, .15);
    opacity: .9;
    font-size: .95rem
}

/* Sections */
section {
    padding: 2rem 1rem;
    text-align: center
}

.intro p {
    max-width: 850px;
    margin: .4rem auto;
    font-size: 1.08rem
}

/* Cards / Panels */
.panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
    max-width: 920px;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05)
}

.grid {
    display: grid;
    gap: 16px
}

.grid-2 {
    grid-template-columns: 1fr 1fr
}

/* Latest block */
.latest {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center
}

.thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px
}

.muted {
    opacity: .8
}

.muted-strong {
    font-weight: 800;
    color: var(--primary)
}

/* Pricing */
.pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.4rem;
    width: 260px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .05)
}

.card h3 {
    color: var(--accent);
    margin: .2rem 0 .4rem
}

.card p {
    margin: 0
}

/* App buttons */
.store-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    padding: .7rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .06)
}

.store-btn i {
    font-size: 1.25rem
}

.store-btn:hover {
    transform: translateY(-1px)
}

.kxn-footer {
    background: #0f172a;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: .95rem
}

@media (max-width:980px) {
    .grid-2 {
        grid-template-columns: 1fr
    }
}

@media (max-width:760px) {
    .header-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 8px 0
    }

    .logo-wrap {
        justify-content: center;
        height: auto
    }

    .centerbrand {
        order: 3;
        padding-bottom: 8px
    }

    .nav-actions {
        justify-content: center
    }
}

/* Utility */
.feature-list {
    list-style: none;
    padding: 0;
    max-width: 680px;
    margin: 0 auto
}

/* Force orange subbar across the site */
.kxn-header .subbar,
.subbar.subbar-accent {
    background: var(--accent) !important;
    color: #fff !important;
    border-top: 0;
    opacity: 1;
}

.logo-img {
    display: block;
    max-height: calc(var(--header-h) - 16px);
    /* keep it within header */
    width: auto;
    height: auto;
    /* ensure natural aspect */
}

.kxn-footer {
    background: #0f172a;
    color: #fff;
    padding: 1rem 0;
    font-size: .95rem;
    text-align: center;
}

.footer-text {
    display: inline-block;
    line-height: 1.5;
}

.footer-mail {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.footer-mail:hover {
    text-decoration: underline;
}


/* Footer link defaults */
.kxn-footer a {
    color: #fff;
    text-decoration: none;
}

/* Force orange for the email across all states */
.kxn-footer a.footer-mail:link,
.kxn-footer a.footer-mail:visited,
.kxn-footer a.footer-mail:hover,
.kxn-footer a.footer-mail:active,
.kxn-footer a.footer-mail:focus {
    color: var(--accent) !important;
    text-decoration: none;
}

.kxn-footer .footer-text a.footer-mail {
    color: var(--accent) !important;
}