:root {
    --navy-950: #021a2e;
    --navy-900: #022949;
    --navy-850: #073553;
    --navy-800: #0b4264;
    --navy-100: #e9f0f5;
    --gold-600: #b98421;
    --gold-500: #d4a23a;
    --gold-400: #e4ba61;
    --ink: #172433;
    --text: #314254;
    --muted: #68788a;
    --line: #d9e1e8;
    --surface: #ffffff;
    --surface-alt: #f5f7f9;
    --surface-blue: #eef4f8;
    --success: #1c6a4a;
    --danger: #9c2f2f;
    --shadow-sm: 0 6px 18px rgba(2, 41, 73, .08);
    --shadow-md: 0 18px 48px rgba(2, 41, 73, .13);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --content: 1180px;
    --content-narrow: 860px;
    --section: clamp(64px, 8vw, 104px);
    --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--surface);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin-top: 0; }
h1 { font-family: var(--font-serif); font-size: clamp(2.55rem, 5vw, 4.7rem); letter-spacing: -.035em; }
h2 { font-family: var(--font-serif); font-size: clamp(2rem, 3.3vw, 3.1rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1.2rem; }
ul, ol { margin: 0 0 1.4rem; padding-left: 1.25rem; }

.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.container-narrow { width: min(calc(100% - 40px), var(--content-narrow)); margin-inline: auto; }
.section { padding: var(--section) 0; }
.section-alt { background: var(--surface-alt); }
.section-blue { background: var(--surface-blue); }
.section-dark { background: var(--navy-900); color: #dbe7ef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #fff; }

.sr-only, .skip-link:not(:focus) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link:focus {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    background: #fff;
    color: var(--navy-900);
    padding: 10px 14px;
    border-radius: 4px;
}

.eyebrow {
    margin: 0 0 14px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-600);
}
.eyebrow.light { color: var(--gold-400); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.65; color: #52677a; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading p:last-child { margin-bottom: 0; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 750;
    font-size: .94rem;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold-500); color: #162333; border-color: var(--gold-500); box-shadow: 0 8px 22px rgba(212, 162, 58, .17); }
.button-gold:hover { background: var(--gold-400); color: #111d28; }
.button-navy { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.button-navy:hover { background: var(--navy-800); color: #fff; }
.button-outline { color: var(--navy-900); border-color: #9fb0bd; background: transparent; }
.button-outline:hover { border-color: var(--navy-900); color: var(--navy-900); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.46); background: transparent; }
.button-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.button-large { min-height: 50px; padding: 13px 22px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 41, 73, .98);
    border-bottom: 1px solid rgba(255,255,255,.11);
    backdrop-filter: blur(12px);
}
.nav-shell {
    width: min(calc(100% - 36px), 1320px);
    min-height: 76px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 220px; height: auto; display: block; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-link, .nav-dropdown-toggle {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.86);
    text-decoration: none;
    font-weight: 650;
    font-size: .92rem;
    padding: 12px 11px;
    border-radius: 6px;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active, .nav-dropdown-toggle:hover, .nav-dropdown-toggle.is-active { color: #fff; background: rgba(255,255,255,.07); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 5px; }
.chevron { font-size: 1rem; line-height: 1; transform: translateY(-1px); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    padding: 8px;
    border-radius: 9px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: .15s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .93rem; }
.nav-dropdown-menu a:hover { background: var(--surface-alt); color: var(--navy-900); }
.nav-demo { margin-left: 6px; }
.nav-login { margin-left: 2px; }
.nav-toggle { display: none; margin-left: auto; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 52%, #0b4665 100%);
    color: #d9e6ef;
    padding: clamp(76px, 9vw, 128px) 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 20%, rgba(212,162,58,.13), transparent 22%),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: auto, 54px 54px, 54px 54px;
    mask-image: linear-gradient(to left, #000 10%, transparent 88%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(48px, 7vw, 94px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 23px; }
.hero h1 .gold { color: var(--gold-400); }
.hero .lead { color: #c7d6e2; max-width: 700px; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 28px; color: #d4e0e8; font-size: .93rem; }
.hero-proof span { display: inline-flex; gap: 8px; align-items: center; }
.hero-proof svg { width: 18px; color: var(--gold-400); }

.hero-illustration { position: relative; min-height: 430px; display: grid; place-items: center; }
.community-core {
    width: min(340px, 78vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 35%, #0f577a, #06314f 60%, #021d34 100%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 0 0 20px rgba(255,255,255,.025), 0 30px 70px rgba(0,0,0,.34);
    position: relative;
}
.community-core::before {
    content: "";
    position: absolute;
    inset: 24%;
    clip-path: polygon(50% 0, 95% 26%, 88% 81%, 50% 100%, 12% 81%, 5% 26%);
    background: linear-gradient(150deg, var(--gold-400), #b67817);
    opacity: .95;
}
.community-core::after {
    content: "";
    position: absolute;
    left: 36%; right: 36%; top: 34%; bottom: 29%;
    background: var(--navy-950);
    clip-path: polygon(50% 0, 100% 28%, 85% 28%, 85% 100%, 15% 100%, 15% 28%, 0 28%);
    box-shadow: -38px 24px 0 -25px var(--navy-950), 38px 24px 0 -25px var(--navy-950);
}
.orbit { position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.orbit.two { inset: 3%; border-style: dashed; opacity: .7; }
.hero-chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 9px;
    background: rgba(255,255,255,.97);
    color: var(--ink);
    box-shadow: var(--shadow-md);
    font-weight: 760;
    font-size: .87rem;
    white-space: nowrap;
}
.hero-chip svg { color: var(--gold-600); width: 20px; height: 20px; }
.hero-chip.one { top: 12%; left: 0; }
.hero-chip.two { top: 16%; right: -3%; }
.hero-chip.three { bottom: 18%; left: -2%; }
.hero-chip.four { bottom: 12%; right: 1%; }

.page-hero {
    background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
    color: #d8e4ec;
    padding: 72px 0 76px;
    border-bottom: 4px solid var(--gold-500);
}
.page-hero .container { max-width: 980px; }
.page-hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2.5rem, 4.5vw, 4.1rem); }
.page-hero .lead { color: #c7d7e2; max-width: 790px; margin-bottom: 0; }

/* Cards and layout */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: 0 1px 0 rgba(2,41,73,.02);
}
.feature-card:hover { border-color: #bdcbd5; box-shadow: var(--shadow-sm); }
.feature-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    margin-bottom: 18px;
    border-radius: 9px;
    background: #f6eddc;
    color: var(--gold-600);
}
.feature-icon svg { width: 25px; height: 25px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin-bottom: 0; color: #5b6e80; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.split.align-start { align-items: start; }
.content-panel h2 { margin-bottom: 18px; }
.content-panel .lead { margin-bottom: 24px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 4px; color: var(--gold-600); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.stat { padding: 25px 22px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--navy-900); font-size: 1rem; margin-bottom: 5px; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Corporate illustration */
.process-map { position: relative; min-height: 420px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #f7f9fb, #e9f0f5); border: 1px solid var(--line); overflow: hidden; }
.process-map::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#9fb3c2 1px, transparent 1px); background-size: 22px 22px; opacity: .33; }
.process-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 140px; height: 140px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; text-align: center; padding: 18px; font-weight: 800; box-shadow: 0 18px 50px rgba(2,41,73,.22); }
.process-node { position: absolute; width: 150px; min-height: 86px; padding: 15px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.process-node strong { display: block; color: var(--ink); font-size: .9rem; margin-bottom: 4px; }
.process-node span { color: var(--muted); font-size: .8rem; line-height: 1.35; display: block; }
.process-node.n1 { left: 7%; top: 10%; }
.process-node.n2 { right: 7%; top: 12%; }
.process-node.n3 { left: 6%; bottom: 11%; }
.process-node.n4 { right: 6%; bottom: 10%; }
.process-line { position: absolute; left: 50%; top: 50%; width: 41%; height: 1px; background: #9fb0bd; transform-origin: 0 50%; }
.process-line.l1 { transform: rotate(-145deg); }
.process-line.l2 { transform: rotate(-35deg); }
.process-line.l3 { transform: rotate(145deg); }
.process-line.l4 { transform: rotate(35deg); }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.045); }
.trust-item svg { width: 25px; color: var(--gold-400); margin-bottom: 14px; }
.trust-item strong { display: block; color: #fff; margin-bottom: 5px; }
.trust-item span { color: #bbccd8; font-size: .9rem; }

.integration-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.integration-card { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; text-align: center; }
.integration-badge { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-weight: 850; letter-spacing: -.02em; }
.integration-card h3 { font-size: 1rem; margin-bottom: 8px; }
.integration-card p { font-size: .88rem; color: var(--muted); margin-bottom: 0; }

.comparison { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: #fff; border-radius: 10px; overflow: hidden; }
.comparison th, .comparison td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison thead th { background: var(--navy-900); color: #fff; }
.comparison tbody tr:last-child td { border-bottom: 0; }
.comparison td:first-child { font-weight: 700; color: var(--ink); width: 30%; }
.comparison .good { color: var(--success); font-weight: 650; }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 22px 0; font-weight: 780; color: var(--ink); }
.faq-question span:last-child { color: var(--gold-600); font-size: 1.35rem; transition: transform .2s ease; }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { display: none; max-width: 820px; padding: 0 0 24px; color: #586c7e; }
.faq-item.is-open .faq-answer { display: block; }

/* Forms */
.form-shell { max-width: 860px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { display: block; font-weight: 720; color: var(--ink); margin-bottom: 7px; }
.form-field .hint { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; }
.input, select, textarea {
    width: 100%;
    border: 1px solid #b9c7d2;
    border-radius: 7px;
    padding: 11px 12px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.input:focus, select:focus, textarea:focus { border-color: var(--navy-800); box-shadow: 0 0 0 3px rgba(11,66,100,.12); }
textarea { min-height: 150px; resize: vertical; }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checkbox { display: flex; align-items: flex-start; gap: 8px; }
.checkbox input { margin-top: 5px; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.required { color: var(--danger); }
.form-alert { border-radius: 8px; padding: 14px 16px; margin-bottom: 22px; }
.form-alert.success { background: #e8f4ee; border: 1px solid #b6dac8; color: #245a43; }
.form-alert.error { background: #fbefef; border: 1px solid #ebc8c8; color: #7f2929; }
.form-alert ul { margin: 8px 0 0 18px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Login */
.auth-section { min-height: calc(100vh - 76px); background: linear-gradient(135deg, var(--navy-950), var(--navy-900)); padding: 70px 20px; display: grid; place-items: center; }
.auth-card { width: min(100%, 450px); border-radius: 14px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.3); padding: 34px; }
.auth-logo { width: 250px; margin: 0 auto 24px; display: block; background: var(--navy-900); border-radius: 8px; }
.auth-card h1 { font-family: var(--font-sans); font-size: 1.65rem; text-align: center; margin-bottom: 8px; }
.auth-card > p { text-align: center; color: var(--muted); }
.sso-button { width: 100%; min-height: 46px; border: 1px solid #bdc8d1; background: #fff; border-radius: 7px; margin-bottom: 10px; font-weight: 700; color: var(--ink); }
.sso-button:hover { background: var(--surface-alt); }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .84rem; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .87rem; margin-top: 10px; }
.auth-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; }

/* SMS consent */
.consent-box { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 24px; }
.consent-box strong { color: var(--ink); }
.optin-preview { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.optin-preview-header { background: var(--navy-900); color: #fff; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; }
.optin-preview-header strong { color: #fff; }
.optin-preview-body { padding: 24px; }
.preference-row { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 18px; }
.preference-row:last-child { border-bottom: 0; }
.toggle-mock { width: 44px; height: 24px; border-radius: 30px; background: #c9d3db; position: relative; margin-top: 3px; }
.toggle-mock::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.optin-caption { color: var(--muted); font-size: .86rem; margin-top: 10px; }
.sms-samples { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sms-bubble { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #f8fafb; }
.sms-bubble strong { display: block; color: var(--navy-900); margin-bottom: 8px; }
.sms-bubble p { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; line-height: 1.55; }

/* Legal */
.legal { width: min(calc(100% - 40px), 900px); margin: 0 auto; padding: 64px 0 90px; }
.legal h1 { font-size: clamp(2.4rem, 4vw, 3.7rem); }
.legal h2 { font-family: var(--font-sans); font-size: 1.45rem; margin-top: 40px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal h3 { margin-top: 28px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.legal-callout { background: var(--surface-blue); border-left: 4px solid var(--gold-500); padding: 18px 20px; margin: 22px 0; }

/* CTA/footer */
.cta-section { background: #fff; }
.cta-panel { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); border-radius: 15px; padding: clamp(30px, 5vw, 52px); color: #c8d7e2; display: flex; justify-content: space-between; align-items: center; gap: 34px; box-shadow: var(--shadow-md); }
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.75rem); margin-bottom: 10px; }
.cta-panel p:last-child { margin-bottom: 0; max-width: 680px; }
.site-footer { background: var(--navy-950); color: #9fb3c2; padding-top: 58px; }
.footer-main { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 44px; padding-bottom: 44px; }
.footer-brand img { width: 250px; margin-bottom: 16px; }
.footer-brand p { max-width: 390px; font-size: .91rem; }
.footer-column h2 { font-family: var(--font-sans); color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-column a { display: block; color: #b8c8d4; text-decoration: none; padding: 5px 0; font-size: .9rem; }
.footer-column a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .82rem; }
.footer-legal strong { color: #fff; }
.footer-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: #b8c8d4; text-decoration: none; }

@media (max-width: 1080px) {
    .nav-shell { min-height: 70px; }
    .brand img { width: 205px; }
    .nav-toggle { display: block; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0; right: 0;
        margin: 0;
        padding: 14px 18px 22px;
        background: var(--navy-900);
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 20px 30px rgba(0,0,0,.18);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    .primary-nav.is-open { display: flex; }
    .nav-dropdown-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin: 2px 0 8px 12px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
    .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a { color: #dbe6ee; }
    .nav-dropdown-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
    .nav-link, .nav-dropdown-toggle { width: 100%; justify-content: space-between; text-align: left; padding: 11px 10px; }
    .nav-demo, .nav-login { margin: 8px 0 0; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .integration-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 820px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-illustration { min-height: 390px; order: 2; }
    .hero-chip.one { left: 4%; }
    .hero-chip.two { right: 4%; }
    .hero-chip.three { left: 4%; }
    .hero-chip.four { right: 4%; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .integration-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid, .checkbox-group, .sms-samples { grid-template-columns: 1fr; }
    .cta-panel { align-items: flex-start; flex-direction: column; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-column:last-child { grid-column: auto; }
}

@media (max-width: 560px) {
    .container, .container-narrow { width: min(calc(100% - 28px), var(--content)); }
    .brand img { width: 188px; }
    .hero { padding: 64px 0; }
    .hero-illustration { min-height: 330px; }
    .community-core { width: 230px; }
    .hero-chip { font-size: .76rem; padding: 9px 10px; }
    .feature-grid, .trust-grid, .integration-grid, .footer-main { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .stat-strip { grid-template-columns: 1fr; }
    .stat, .stat:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: 0; }
    .process-map { min-height: 500px; }
    .process-center { width: 120px; height: 120px; }
    .process-node { width: 125px; padding: 12px; }
    .process-node.n1 { left: 4%; top: 8%; }
    .process-node.n2 { right: 4%; top: 10%; }
    .process-node.n3 { left: 4%; bottom: 8%; }
    .process-node.n4 { right: 4%; bottom: 8%; }
    .comparison { font-size: .9rem; }
    .comparison th, .comparison td { padding: 12px; }
    .footer-legal { flex-direction: column; align-items: flex-start; }
    .footer-links { justify-content: flex-start; }
    .auth-card { padding: 26px 22px; }
}
