/* AppZet public website. Colours match the mobile app. */
:root {
    --blue: #1E4FD8;
    --blue-dark: #153BA8;
    --blue-soft: #E8EEFF;
    --navy: #0B2A6F;
    --navy-deep: #071D52;
    --orange: #FF8A00;
    --orange-ink: #1F1300;
    --orange-soft: #FFF1E0;
    --orange-text: #9A4A00;
    --gold: #FFB45C;
    --gold-soft: #FFD29A;
    --green: #15803D;
    --green-soft: #E7F6EC;
    --red: #DC2626;
    --ink: #0F1B3D;
    --muted: #5B6478;
    --line: #E4E8F0;
    --line-strong: #D5DAE5;
    --bg: #F5F7FB;
    --white: #FFFFFF;
    --on-navy: #D5DEFA;
    --on-navy-muted: #AFC0EE;
    --radius: 20px;
    --font: 'Plus Jakarta Sans', 'Noto Sans Oriya', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.odia { font-family: 'Noto Sans Oriya', var(--font); }
.hindi { font-family: 'Noto Sans Devanagari', var(--font); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-tint { background: var(--bg); }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-36 { gap: 36px; } .gap-40 { gap: 40px; }
.grid { display: grid; gap: 16px; }
.grid-250 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid-270 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 48px; align-items: center; }
.split-top { align-items: start; }
.center { text-align: center; align-items: center; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.2px; color: var(--blue); text-transform: uppercase; }
.pill { align-self: flex-start; font-size: 12.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; border-radius: 999px; padding: 7px 14px; }
.pill-blue { color: var(--blue); background: var(--blue-soft); }
.pill-orange { color: var(--orange-text); background: var(--orange-soft); }
.pill-dark { color: var(--gold-soft); border: 1px solid #3553A0; }
.h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -1.4px; color: var(--navy); text-wrap: balance; }
.h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -0.8px; color: var(--navy); text-wrap: balance; }
.h3 { margin: 0; font-size: 18px; font-weight: 800; color: var(--navy); }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 580px; }
.text-muted { color: var(--muted); }
.on-dark .h1, .on-dark .h2 { color: var(--white); }
.on-dark .lead { color: var(--on-navy); }
.hl { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 14px; font: 800 16.5px var(--font); text-decoration: none; border: 0; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-cta { background: var(--orange); color: var(--orange-ink); }
.btn-cta:hover { background: #F07F00; color: var(--orange-ink); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy); border: 1.5px solid #C9D3EA; font-weight: 700; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-dark { background: transparent; color: var(--white); border: 1.5px solid #5A76C4; font-weight: 700; }
.btn-ghost-dark:hover { border-color: var(--white); color: var(--white); }
.btn-soft { background: var(--blue-soft); color: var(--blue); }
.btn-soft:hover { background: #D9E3FF; color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .bar { height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: #fff url('logo.jpg') no-repeat 50% 32% / 150%; box-shadow: 0 0 0 1px var(--line); }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 18px; font-weight: 800; color: var(--navy); }
.brand-name span { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; flex-grow: 1; }
.nav-item { height: 44px; padding: 0 12px 0 14px; border: 0; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--ink); font: 600 15px var(--font); text-decoration: none; cursor: pointer; }
.nav-item:hover, .nav-item[aria-expanded="true"] { background: var(--blue-soft); color: var(--blue); }
.nav-item svg { transition: transform .15s; }
.nav-item[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mega { position: absolute; left: 0; right: 0; top: 76px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(11, 42, 111, .12); }
.mega[hidden] { display: none; }
.mega-inner { padding-top: 32px; padding-bottom: 36px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
.mega-cards { display: flex; flex-direction: column; gap: 12px; padding-right: 32px; border-right: 1px solid var(--line); }
.mega-card { display: flex; gap: 14px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; }
.mega-card:hover { border-color: #B9C8F2; background: #FAFBFF; }
.mega-card b { display: block; font-size: 16px; font-weight: 800; color: var(--navy); }
.mega-card small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.mega-card .tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; color: var(--orange-text); background: var(--orange-soft); border-radius: 6px; padding: 2px 7px; margin-bottom: 4px; }
.mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-col h3 { margin: 0 0 8px; padding: 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.mega-col a { padding: 9px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.mega-col a:hover { background: var(--blue-soft); color: var(--blue); }
.mobile-nav { display: none; }

/* Icon tiles */
.icon-tile { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); }
.icon-tile.sm { width: 44px; height: 44px; border-radius: 12px; }
.tile-orange { background: var(--orange-soft); color: var(--orange-text); }
.tile-green { background: var(--green-soft); color: var(--green); }
.tile-navy { background: var(--navy); color: var(--white); }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.i-sm { width: 18px; height: 18px; }

/* Hero */
.hero { background: var(--navy); background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; }
.hero .wrap { padding-top: 72px; padding-bottom: 80px; }
.hero-light { background: var(--bg); }
.hero-light .wrap { padding-top: 28px; padding-bottom: 80px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--white); }
.check svg { color: var(--gold); flex-shrink: 0; }
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li, .checklist .row { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; font-weight: 600; list-style: none; }
.tick { width: 24px; height: 24px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.on-dark .breadcrumb { color: var(--on-navy-muted); }
.on-dark .breadcrumb a { color: var(--white); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
a.card:hover { border-color: #B9C8F2; }
.card p, .card .text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.card .more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--blue); }
.card-tint { background: var(--bg); border-color: transparent; }
.row-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; }
.row-card:hover { border-color: #B9C8F2; }
.row-card b { display: block; font-size: 17px; font-weight: 800; color: var(--navy); }
.row-card small { display: block; font-size: 14px; color: var(--muted); }
.row-card .arrow { font-size: 20px; font-weight: 800; color: var(--blue); }
.step-no { width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; }
a.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Mockups */
.mock { background: var(--white); border-radius: 24px; padding: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 16px; }
.mock-light { border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11, 42, 111, .12); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi span { font-size: 12px; font-weight: 700; color: var(--muted); }
.kpi b { font-size: 22px; font-weight: 800; color: var(--navy); }
.kpi small { font-size: 12px; font-weight: 600; color: var(--muted); }
.kpi small.up { color: var(--green); font-weight: 700; }
.order-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.order-row .t { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.order-row .m { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.order-row .m b { font-size: 14.5px; }
.order-row .m small { font-size: 13px; color: var(--muted); }
.status { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 5px 10px; flex-shrink: 0; }
.st-pending { background: var(--blue-soft); color: var(--blue); }
.st-prep { background: var(--orange-soft); color: var(--orange-text); }
.st-ready { background: var(--green-soft); color: var(--green); }
.mini-label { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row span { font-size: 12.5px; font-weight: 700; color: var(--navy); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.kboard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kcol { background: var(--bg); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kcol h4 { margin: 0; padding: 2px 4px; font-size: 12.5px; font-weight: 800; display: flex; justify-content: space-between; }
.kt { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.kt b { display: flex; justify-content: space-between; font-size: 13px; color: var(--navy); }
.kt small { font-size: 12px; font-weight: 700; color: var(--muted); }
.kt.k-blue { border-top: 3px solid var(--blue); } .kt.k-orange { border-top: 3px solid var(--orange); } .kt.k-green { border-top: 3px solid var(--green); }

/* Strip */
.strip { border-bottom: 1px solid var(--line); }
.strip .wrap { padding-top: 26px; padding-bottom: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 30px; }
.strip span { font-size: 16px; font-weight: 800; color: var(--navy); }
.strip span.lbl { font-size: 14px; font-weight: 700; color: var(--muted); }

/* Language cards */
.lang-card { border-radius: 20px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); border: 1px solid var(--line); }
.lang-card .big { font-size: 40px; font-weight: 700; color: var(--blue); }
.lang-card .name { font-size: 14px; font-weight: 700; color: var(--navy); }
.lang-card .sample { font-size: 15px; font-weight: 600; }
.lang-card.on { background: var(--navy); border-color: var(--navy); }
.lang-card.on .big { color: var(--gold); }
.lang-card.on .name, .lang-card.on .sample { color: var(--white); }
.store-btn { align-self: flex-start; min-height: 54px; padding: 0 20px; border-radius: 14px; background: var(--navy); color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.store-btn:hover { background: var(--navy-deep); color: var(--white); }
.store-btn small { display: block; font-size: 11px; font-weight: 600; color: #C9D6FF; }
.store-btn b { display: block; font-size: 16px; font-weight: 800; }

/* Plans */
.plan { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line); }
.plan .name { font-size: 22px; font-weight: 800; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .for { font-size: 14.5px; color: var(--muted); }
.plan .price { font-size: 44px; font-weight: 800; letter-spacing: -1.2px; color: var(--navy); }
.plan .was { font-size: 17px; font-weight: 600; text-decoration: line-through; color: var(--muted); }
.plan .per { font-size: 14px; color: var(--muted); }
.plan hr { width: 100%; border: 0; height: 1px; background: var(--line); margin: 10px 0 4px; }
.plan .feat { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.plan .feat svg { flex-shrink: 0; margin-top: 1px; color: var(--green); }
.plan .feat.off { color: #8A93A6; text-decoration: line-through; }
.plan .feat.off svg { color: #8A93A6; }
.plan.hi { background: var(--navy); border-color: var(--navy); box-shadow: 0 24px 60px rgba(11, 42, 111, .28); }
.plan.hi .name, .plan.hi .price, .plan.hi .feat { color: var(--white); }
.plan.hi .for, .plan.hi .per { color: var(--on-navy); }
.plan.hi .was { color: var(--on-navy-muted); }
.plan.hi hr { background: #27469A; }
.plan.hi .feat svg { color: var(--gold); }
.plan.hi .feat.off { color: #8FA3DB; }
.badge-cta { font-size: 11.5px; font-weight: 800; color: var(--orange-ink); background: var(--orange); border-radius: 999px; padding: 4px 10px; letter-spacing: .3px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-wrap { border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; }
.compare th, .compare td { padding: 14px 16px; border-top: 1px solid var(--line); }
.compare thead th { background: var(--bg); border-top: 0; font-weight: 800; color: var(--navy); }
.compare tbody th { text-align: left; font-weight: 600; }
.compare td { text-align: center; }
.compare .yes { font-weight: 800; color: var(--green); }
.compare .no { color: #8A93A6; }

/* Quotes */
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 22px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; flex-shrink: 0; object-fit: cover; }
.quote b { display: block; font-size: 15px; font-weight: 800; color: var(--navy); }
.quote small { display: block; font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq summary { min-height: 60px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--blue); flex-shrink: 0; transition: transform .15s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p, .faq details div { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--navy); border-radius: 28px; padding: 52px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 800; color: var(--white); }
.cta-band p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--on-navy); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 24px 60px rgba(11, 42, 111, .10); }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.input { width: 100%; min-height: 50px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 14px; font: 500 15px var(--font); color: var(--ink); background: var(--white); }
textarea.input { padding: 12px 14px; resize: vertical; min-height: 120px; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 79, 216, .15); }
.input.is-invalid { border-color: var(--red); }
.field-error { font-size: 13px; font-weight: 600; color: var(--red); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.form-alert { border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-weight: 600; background: #FFE8E8; color: #991B1B; }
.form-alert[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choice { min-height: 42px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: 700 14px var(--font); background: var(--white); color: var(--navy); border: 1px solid var(--line-strong); }
.choice[aria-pressed="true"] { background: var(--blue); color: var(--white); border-color: var(--blue); }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.otp input { height: 58px; width: 100%; text-align: center; border: 1px solid var(--line-strong); border-radius: 12px; font: 800 22px var(--font); color: var(--navy); }
.otp input:focus { outline: none; border: 2px solid var(--blue); }
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 48px 10px; }
.done .ok { width: 64px; height: 64px; border-radius: 32px; background: var(--green-soft); color: var(--green); display: flex; align-items: center; justify-content: center; }
.progress { display: flex; gap: 8px; }
.progress span { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.progress span::before { content: ''; height: 5px; border-radius: 3px; background: var(--line); }
.progress span.on { color: var(--blue); }
.progress span.on::before { background: var(--blue); }
.pw { position: relative; }
.pw .input { padding-right: 52px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Auth (log in, sign up, password) */
.auth { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.auth-side { padding: 48px 56px; display: flex; flex-direction: column; gap: 28px; }
.auth-side .brand-name b { color: var(--white); font-size: 20px; }
.auth-side .brand-name span { color: var(--on-navy-muted); }
.auth-main { background: var(--bg); padding: 48px 24px; display: flex; align-items: center; justify-content: center; }
.auth-main { flex-direction: column; }
.auth-home { align-self: flex-end; margin-bottom: 16px; }
@media (max-width: 900px) { .auth-main { justify-content: flex-start; } .auth-home { align-self: flex-start; } }
.auth-card { width: 100%; max-width: 480px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 24px 60px rgba(11, 42, 111, .10); }
.auth-card h1, .auth-card h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.5px; color: var(--navy); }
.auth-card .sub { margin: 0; font-size: 15.5px; color: var(--muted); }
.auth-foot { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.auth-foot a { font-weight: 800; text-decoration: none; }
.perk { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.5; color: var(--white); }
.perk svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }
.chip-dark { font-size: 13.5px; font-weight: 700; color: var(--white); border: 1px solid #3553A0; border-radius: 999px; padding: 8px 14px; }
.remember { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.remember label { display: flex; align-items: center; gap: 8px; }
.remember input { width: 18px; height: 18px; accent-color: var(--blue); }
label.error { font-size: 13px; font-weight: 600; color: var(--red); }

/* Article / prose */
.article-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.article-main { flex: 1 1 560px; min-width: 0; max-width: 780px; }
.article-aside { flex: 1 1 280px; max-width: 340px; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.prose { font-size: 17.5px; line-height: 1.8; color: var(--ink); overflow-wrap: anywhere; }
.prose > * { margin: 0 0 20px; }
.prose h2 { margin-top: 36px; font-size: 28px; line-height: 1.25; font-weight: 800; color: var(--navy); }
.prose h3 { margin-top: 28px; font-size: 22px; font-weight: 800; color: var(--navy); }
.prose img { height: auto; border-radius: 16px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose blockquote { border-left: 0; background: var(--bg); border-radius: 16px; padding: 18px 22px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.toc { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.toc a { padding: 7px 10px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.toc a:hover { background: var(--blue-soft); color: var(--blue); }
.side-cta { background: var(--bg); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14.5px; color: var(--muted); }
.cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 24px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; background: var(--white); }
.post-card:hover { border-color: #B9C8F2; }
.post-card .thumb { height: 170px; background: var(--blue-soft) center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.post-card .cat { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--blue); text-transform: uppercase; }
.post-card .title { font-size: 18px; line-height: 1.35; font-weight: 800; color: var(--navy); }
.post-card .date { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.pager .on { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pager .off { color: #8A93A6; }
.search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line-strong); color: var(--muted); }
.search input { border: 0; outline: none; flex-grow: 1; min-width: 0; font: 500 15px var(--font); background: transparent; color: var(--ink); }
.search-lg { min-height: 60px; border-radius: 16px; border: 0; }
.search-lg input { font-size: 17px; }

/* Help */
.help-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.help-nav { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 4px; }
.help-nav a { padding: 9px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.help-nav a.on { background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.help-main { flex: 1 1 600px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 22px; }
.help-step { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 20px; list-style: none; }
.help-step b { display: block; font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.vote { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D6FF; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 44px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 32px; }
.foot-brand { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; }
.foot-brand p { margin: 0; font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.foot-brand .brand-name b { color: var(--white); font-size: 20px; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.foot-contact a { color: var(--white); text-decoration: none; font-weight: 700; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h2 { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--white); text-transform: uppercase; }
.foot-col a { font-size: 14px; color: #C9D6FF; text-decoration: none; }
.foot-col a:hover { color: var(--white); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid #1C3A80; font-size: 13px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: #0E2A6B; color: var(--white); display: flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--blue); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 28px; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.wa-float:hover { color: var(--white); background: #116932; }

/* Phone and tablet */
@media (max-width: 1080px) {
    .nav, .header-actions .hide-md { display: none; }
    .menu-toggle { display: inline-flex; }
    .site-header .bar { justify-content: space-between; }
    .mega { display: none !important; }
    .mobile-nav { display: block; border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - 76px); overflow-y: auto; }
    .mobile-nav[hidden] { display: none; }
    .mobile-nav .wrap { padding-top: 12px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
    .mobile-nav details summary { list-style: none; min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 700; cursor: pointer; }
    .mobile-nav details summary::-webkit-details-marker { display: none; }
    .mobile-nav details a, .mobile-nav > .wrap > a.link { display: flex; align-items: center; min-height: 44px; padding-left: 12px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
    .mobile-nav > .wrap > a.link { padding-left: 0; font-size: 16px; font-weight: 700; }
    .mobile-nav .btn { margin-top: 10px; }
}
@media (max-width: 640px) {
    .section { padding-top: 64px; padding-bottom: 64px; }
    .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
    .cta-band { padding: 36px 24px; border-radius: 22px; }
    .foot-brand { grid-column: auto; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .kboard { grid-template-columns: 1fr; }
    .auth-side { padding: 32px 24px; }
    .auth-card, .form-card { padding: 24px; }
    .header-actions .btn-cta { display: none; }
}

/* Spinner used by the existing form.js on the log-in pages */
.spinner-border { display: inline-block; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: site-spin .7s linear infinite; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes site-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .spinner-border { animation-duration: 1.6s; } }
