/* Public website. Colours follow the logo: navy and copper. */
:root {
    --navy: #1f3a68;
    --navy-deep: #13264a;
    --navy-soft: #e8eef8;
    --accent: #b45f2e;
    --accent-hover: #9c4f23;
    --accent-soft: #f7e9df;
    --teal: #0e7490;
    --text: #0f1b2d;
    --muted: #55627a;
    --border: #e2e8f0;
    --tint: #f5f7fb;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
    --font: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    /* footer stays at the bottom on short pages */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3, .h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--navy); color: var(--white); border-radius: 8px; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border: 1.5px solid transparent; border-radius: 10px;
    font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-deep); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost { border-color: var(--border); color: var(--navy); background: var(--white); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }
.btn:disabled { opacity: .7; cursor: wait; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); text-decoration: none; letter-spacing: -.01em; }
.brand:hover { color: var(--navy); }
.brand img { width: 40px; height: 40px; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto 0 12px; padding: 0; list-style: none; }
.nav-links > li > a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem; color: var(--text); text-decoration: none; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--navy); background: var(--navy-soft); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.has-menu { position: relative; }
.nav-menu {
    position: absolute; top: calc(100% + 8px); left: -12px; width: 560px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-menu:hover .nav-menu, .has-menu:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; }
.nav-menu a:hover { background: var(--tint); }
.nav-menu b { display: block; font-size: .92rem; }
.nav-menu small { display: block; font-size: .78rem; line-height: 1.4; color: var(--muted); }
.nav-menu-icon { flex: 0 0 auto; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; color: var(--navy); background: var(--navy-soft); }
.nav-menu-icon svg { width: 19px; height: 19px; }

.nav-toggle { display: none; margin-left: auto; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px 0; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- hero ---------- */
.hero {
    position: relative; overflow: hidden; color: var(--white);
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(180, 95, 46, .28), transparent 60%),
        linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #24467a);
}
.hero::before {
    /* window-frame grid */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px 80px; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, .82); }
.eyebrow { margin-bottom: 14px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f0b48d; }
.eyebrow-dark { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center-actions { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points svg { width: 18px; height: 18px; color: #f0b48d; }

.hero-visual { display: flex; justify-content: center; }
.order-card { width: 100%; max-width: 440px; padding: 18px; color: var(--text); background: var(--white); border-radius: 18px; box-shadow: 0 30px 60px rgba(4, 12, 28, .35); }
.order-card-head { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.order-card-head b { margin-left: 8px; font-size: .9rem; }
.order-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.step-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0; padding: 0; list-style: none; counter-reset: none; }
.step-rail li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); text-align: center; }
.step-rail li::after { content: ""; position: absolute; top: 19px; left: calc(50% + 22px); width: calc(100% - 38px); height: 2px; background: var(--border); }
.step-rail li:last-child::after { display: none; }
.step-rail li span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 2px solid var(--border); border-radius: 50%; color: var(--muted); background: var(--white); }
.step-rail li span svg { width: 18px; height: 18px; }
.step-rail li.done span { border-color: var(--navy); color: var(--white); background: var(--navy); }
.step-rail li.done::after { background: var(--navy); }
.step-rail li.done, .step-rail li.now { color: var(--text); }
.step-rail li.now span { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.window-drawing { padding: 10px; background: var(--tint); border-radius: 12px; }
.window-drawing svg { display: block; width: 100%; height: auto; }
.wd-frame { fill: #ffffff; stroke: var(--navy); stroke-width: 6; }
.wd-sash { fill: #dbe8f6; stroke: #6b87b3; stroke-width: 3; }
.wd-sash-front { fill: #e7f0fa; }
.wd-handle { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; }
.wd-dim { stroke: var(--muted); stroke-width: 1.4; }
.wd-text { fill: var(--muted); font: 700 13px var(--font); text-anchor: middle; }

.order-lines { display: grid; gap: 8px; margin-top: 14px; }
.order-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: .85rem; }
.order-lines span { color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: 80px; }
.section-tight { padding-block: 48px 72px; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-link { margin: 28px 0 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

.page-head { padding-block: 40px 8px; background: linear-gradient(180deg, var(--tint), var(--white)); }
.page-head-feature { display: flex; gap: 24px; align-items: flex-start; }

/* four-step flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow li { position: relative; padding: 24px 20px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); counter-increment: step; }
.flow li::before { content: "0" counter(step); position: absolute; top: 18px; right: 18px; font-size: .8rem; font-weight: 800; color: #b8c2d3; }
.flow li p { margin: 0; color: var(--muted); font-size: .94rem; }
.flow-icon { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 12px; color: var(--white); background: linear-gradient(135deg, var(--navy), #2f5592); }
.flow-icon svg { width: 22px; height: 22px; }
.flow-compact li { padding: 18px; }
.flow-compact .flow-icon { width: 40px; height: 40px; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--text); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.feature-card:hover { border-color: #c4d0e3; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.feature-card h3, .feature-card .h3 { margin: 14px 0 6px; }
.feature-card p { flex: 1; margin: 0 0 14px; color: var(--muted); font-size: .94rem; }
.feature-more { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--navy); }
.feature-more svg { width: 16px; height: 16px; }
.feature-icon { display: inline-flex; flex: 0 0 auto; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; color: var(--accent); background: var(--accent-soft); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon-lg { width: 60px; height: 60px; border-radius: 16px; }
.feature-icon-lg svg { width: 28px; height: 28px; }
.feature-hero-card { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; padding: 28px; border-radius: 18px; color: var(--white); text-decoration: none; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.feature-hero-card h2 { margin-bottom: 6px; color: var(--white); }
.feature-hero-card p { color: rgba(255, 255, 255, .82); }
.feature-hero-card .feature-more { color: #f0b48d; }
.feature-hero-card:hover { color: var(--white); }
.feature-hero-card .feature-icon { color: var(--white); background: rgba(255, 255, 255, .12); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.check-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; }
.check-list svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.team-cards { display: grid; gap: 14px; }
.team-card { padding: 20px 22px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--tint); }
.team-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.start-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.start-item { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); }
.start-item h3 { margin-top: 14px; }
.start-item p { margin: 0; color: var(--muted); font-size: .94rem; }

.point-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.point { display: flex; gap: 14px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); }
.point p { margin: 0; color: var(--muted); }
.point-check { flex: 0 0 auto; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; color: var(--white); background: var(--teal); }
.point-check svg { width: 18px; height: 18px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.faq-item summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* prose (about, legal) */
.prose h2 { margin-top: 1.8em; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #334155; }
.link-list { padding: 0; list-style: none; display: grid; gap: 10px; }
.link-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.link-list span { color: var(--muted); }
.steps { display: grid; gap: 16px; margin-top: 16px; }
.step { display: flex; gap: 14px; }
.step > span { flex: 0 0 auto; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; color: var(--white); background: var(--navy); }
.step h3 { margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); }
.steps + .muted { margin-top: 20px; }

/* CTA band */
.cta-band { color: var(--white); background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 56px; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Android app: download button, phone drawing ---------- */
.app-download { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }
.app-download-info { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.app-download-info span + span::before { content: "·"; margin-right: 14px; opacity: .6; }
.app-download-center .app-download { align-items: center; margin-top: 0; }
.app-download-center .app-download-info { justify-content: center; color: var(--muted); }

.phone {
    width: 280px; max-width: 100%; padding: 10px; border-radius: 40px;
    background: linear-gradient(160deg, #22314d, #0b1528); box-shadow: 0 30px 60px rgba(4, 12, 28, .35), inset 0 0 0 2px rgba(255, 255, 255, .08);
}
.phone-shot { display: block; width: 100%; height: auto; border-radius: 30px; background: var(--tint); }

.app-band .hero-visual { justify-content: center; }
.app-band .phone { width: 260px; }

.app-shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.app-shot { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; }
.app-shot figcaption { max-width: 260px; font-size: .92rem; font-weight: 600; text-align: center; color: var(--muted); }
.app-shot .phone { width: 260px; }

/* ---------- forms ---------- */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.form-card { padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 700; }
.req { color: var(--accent); }
.field input, .field textarea {
    width: 100%; padding: 11px 13px; border: 1.5px solid #d3dbe7; border-radius: 10px;
    font: inherit; font-size: 1rem; color: var(--text); background: var(--white);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 58, 104, .15); }
.has-error input, .has-error textarea { border-color: #dc2626; }
.field-error { font-size: .85rem; color: #b91c1c; }
.field-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 18px; padding: 12px 14px; border: 1px solid #fecaca; border-radius: 10px; color: #991b1b; background: #fef2f2; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.contact-card:hover { border-color: var(--navy); color: var(--text); }
.contact-card small { display: block; font-size: .8rem; color: var(--muted); }
.contact-card b { font-size: 1.05rem; }
.contact-note { padding: 20px; border-radius: var(--radius); background: var(--tint); }
.contact-note p { color: var(--muted); }

.thank-you { padding-block: 96px; }
.thank-icon { display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 50%; color: var(--white); background: var(--teal); }
.thank-icon svg { width: 36px; height: 36px; }
.thank-you .lead { margin-inline: auto; }
.error-code { margin: 0 0 6px; font-size: 3.5rem; font-weight: 800; color: var(--accent); }

/* ---------- FAQ: search, topic tabs, groups ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.faq-search { position: relative; max-width: 620px; margin-top: 26px; }
.faq-search input {
    width: 100%; padding: 15px 48px 15px 48px; border: 1.5px solid #d3dbe7; border-radius: 14px;
    font: inherit; font-size: 1.05rem; color: var(--text); background: var(--white); box-shadow: var(--shadow);
}
.faq-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(31, 58, 104, .12); }
.faq-search input::-webkit-search-cancel-button { display: none; }
.faq-search-icon { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); display: inline-flex; color: var(--muted); }
.faq-search-clear { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 8px; font-size: 1.4rem; line-height: 1; color: var(--muted); background: var(--tint); cursor: pointer; }
.faq-search-clear:hover { color: var(--text); }
.faq-status { min-height: 1.5em; margin: 10px 0 0; font-size: .9rem; font-weight: 600; color: var(--muted); }
.faq-head { padding-bottom: 0; }

.faq-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.faq-tabs { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 4px; }
.faq-tab {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
    font-size: .93rem; font-weight: 600; color: var(--text); text-decoration: none;
}
.faq-tab span:not(.faq-tab-icon) { flex: 1; }
.faq-tab b { min-width: 26px; padding: 1px 7px; border-radius: 999px; font-size: .75rem; text-align: center; color: var(--muted); background: var(--tint); }
.faq-tab-icon { display: inline-flex; color: var(--accent); }
.faq-tab-icon svg { width: 18px; height: 18px; }
.faq-tab:hover { color: var(--navy); background: var(--tint); }
.faq-tab.active { color: var(--white); background: var(--navy); }
.faq-tab.active b { color: var(--navy); background: var(--white); }
.faq-tab.active .faq-tab-icon { color: #f0b48d; }
.faq-tab.dimmed { opacity: .55; }
.faq-body { display: grid; gap: 40px; min-width: 0; }
.faq-group { scroll-margin-top: 90px; }
.faq-group-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.35rem; }
.faq-group-title .feature-icon { width: 40px; height: 40px; border-radius: 11px; }
.faq-group-title .feature-icon svg { width: 20px; height: 20px; }
.faq-item mark { padding: 0 2px; border-radius: 3px; color: inherit; background: #fde7c9; }
.faq-empty { padding: 32px; border: 2px dashed #d3dbe7; border-radius: var(--radius); text-align: center; background: var(--tint); }
.faq-empty p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; gap: 24px; }
    .faq-tabs {
        position: sticky; top: 68px; z-index: 5; flex-direction: row; gap: 8px; margin-inline: -20px; padding: 10px 20px;
        overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--border);
    }
    .faq-tabs::-webkit-scrollbar { display: none; }
    .faq-tab { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; white-space: nowrap; }
    .faq-tab.active { border-color: var(--navy); }
    .faq-tab-icon { display: none; }
    .faq-group { scroll-margin-top: 140px; }
}

/* ---------- footer ---------- */
.site-footer { color: rgba(255, 255, 255, .78); background: #0d1b33; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 32px; }
.brand-light, .brand-light:hover { color: var(--white); }
.brand-light img { padding: 3px; border-radius: 9px; background: var(--white); }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 40ch; }
.footer-title { margin-bottom: 14px; font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .92rem; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom a { margin-left: 16px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
    .card-grid-5 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 1024px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-grid { padding-block: 56px 64px; }
    .flow { grid-template-columns: repeat(2, 1fr); }
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 68px 0 auto 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 16px;
        max-height: calc(100vh - 68px); overflow-y: auto; padding: 16px 20px 24px;
        background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
        display: none;
    }
    .nav-open .site-nav { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; margin: 0; }
    /* phone menu stays short: Features opens the features page, which lists every feature */
    .nav-menu { display: none; }
    .nav-links > li > a { padding: 12px; font-size: 1rem; }
    .nav-actions { flex-direction: column; align-items: stretch; }
    .form-layout { grid-template-columns: 1fr; }
    .point-grid, .start-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .section { padding-block: 56px; }
    .section-tight { padding-block: 28px 56px; }
    .page-head { padding-top: 28px; }
    .flow { grid-template-columns: 1fr; }
    .card-grid-4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 20px; }
    .page-head-feature { flex-direction: column; }
    .feature-hero-card { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom a { margin: 0 16px 0 0; }
    .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
