/* ==========================================================================
   KABC — the static pages (index, about, services, contact).
   Same palette as the app (wwwroot/app.css): navy chrome, "blurple" brand,
   soft canvas, white rounded cards. Every color is a token, redefined for dark mode.
   ========================================================================== */

:root {
    --brand: #635bff;
    --brand-hover: #5349ec;
    --brand-soft: #eef0ff;
    --brand-soft-border: #dcdfff;
    --brand-strong: #4338ca;

    --navy: #0b1324;
    --navy-2: #111c33;
    --navy-line: rgba(255, 255, 255, .08);
    --on-navy: #f1f4fb;
    --on-navy-2: #aab4cc;
    --on-navy-3: #7f8bab;

    --canvas: #f4f6fb;
    --surface: #ffffff;
    --surface-2: #f8f9fd;
    --border: #e5e9f2;
    --border-strong: #d4dae7;
    --text: #0f172a;
    --text-2: #475569;
    --text-3: #64748b;

    --indigo: #4f46e5; --indigo-bg: #eef0ff;
    --emerald: #059669; --emerald-bg: #e7f8f1;
    --sky: #0284c7; --sky-bg: #e6f4fc;
    --violet: #7c3aed; --violet-bg: #f3edff;
    --teal: #0d9488; --teal-bg: #e5f6f4;
    --orange: #ea580c; --orange-bg: #fff0e6;
    --amber: #b45309; --amber-bg: #fdf3e2;
    --rose: #e11d48; --rose-bg: #ffe9ee;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
    --shadow-md: 0 6px 16px -4px rgba(16, 24, 40, .10), 0 2px 6px -2px rgba(16, 24, 40, .06);
    --shadow-lg: 0 18px 40px -12px rgba(16, 24, 40, .22);

    --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, "Liberation Mono", monospace;

    color-scheme: light;
}

:root[data-theme="dark"] {
    --brand: #7a73ff;
    --brand-hover: #8d87ff;
    --brand-soft: rgba(122, 115, 255, .14);
    --brand-soft-border: rgba(122, 115, 255, .30);
    --brand-strong: #b4b0ff;
    --navy: #070d1a;
    --navy-2: #0c1527;
    --canvas: #0a0f1c;
    --surface: #111a2c;
    --surface-2: #0d1526;
    --border: #1e2a42;
    --border-strong: #2a3854;
    --text: #e7ebf4;
    --text-2: #aab4c8;
    --text-3: #8592ab;
    --indigo: #a29dff; --indigo-bg: rgba(122, 115, 255, .16);
    --emerald: #4fd6a3; --emerald-bg: rgba(79, 214, 163, .14);
    --sky: #62bff2; --sky-bg: rgba(98, 191, 242, .14);
    --violet: #be95ff; --violet-bg: rgba(190, 149, 255, .14);
    --teal: #4dd4c8; --teal-bg: rgba(77, 212, 200, .14);
    --orange: #ff9d5c; --orange-bg: rgba(255, 157, 92, .14);
    --amber: #f6b552; --amber-bg: rgba(246, 181, 82, .14);
    --rose: #ff7f9f; --rose-bg: rgba(255, 127, 159, .14);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
    --shadow-md: 0 8px 20px -6px rgba(0, 0, 0, .5);
    --shadow-lg: 0 18px 40px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

/* Without JavaScript, follow the system setting. */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --brand: #7a73ff;
        --brand-hover: #8d87ff;
        --brand-soft: rgba(122, 115, 255, .14);
        --brand-soft-border: rgba(122, 115, 255, .30);
        --brand-strong: #b4b0ff;
        --navy: #070d1a;
        --navy-2: #0c1527;
        --canvas: #0a0f1c;
        --surface: #111a2c;
        --surface-2: #0d1526;
        --border: #1e2a42;
        --border-strong: #2a3854;
        --text: #e7ebf4;
        --text-2: #aab4c8;
        --text-3: #8592ab;
        --indigo: #a29dff; --indigo-bg: rgba(122, 115, 255, .16);
        --emerald: #4fd6a3; --emerald-bg: rgba(79, 214, 163, .14);
        --sky: #62bff2; --sky-bg: rgba(98, 191, 242, .14);
        --violet: #be95ff; --violet-bg: rgba(190, 149, 255, .14);
        --teal: #4dd4c8; --teal-bg: rgba(77, 212, 200, .14);
        --orange: #ff9d5c; --orange-bg: rgba(255, 157, 92, .14);
        --amber: #f6b552; --amber-bg: rgba(246, 181, 82, .14);
        --rose: #ff7f9f; --rose-bg: rgba(255, 127, 159, .14);
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
        --shadow-md: 0 8px 20px -6px rgba(0, 0, 0, .5);
        --shadow-lg: 0 18px 40px -12px rgba(0, 0, 0, .6);
        color-scheme: dark;
    }
}

/* ── Base ─────────────────────────────────────────────────────────────── */

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand-hover); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.015em; color: var(--text); }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: absolute; left: 16px; top: -48px; z-index: 100;
    background: var(--brand); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--navy);
    background: color-mix(in srgb, var(--navy) 92%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--navy-line);
}

.header-bar { display: flex; align-items: center; gap: 16px; height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy); }
.brand:hover { text-decoration: none; }
.brand-mark {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, #7a73ff, #4338ca);
    box-shadow: 0 4px 12px -4px rgba(99, 91, 255, .6);
}
.brand-mark img { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.brand-sub { font-size: .72rem; color: var(--on-navy-2); letter-spacing: .04em; text-transform: uppercase; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
    display: block; padding: 8px 12px; border-radius: var(--radius-sm);
    color: var(--on-navy-2); font-weight: 500; font-size: .95rem;
}
.site-nav a:hover { color: var(--on-navy); background: rgba(255, 255, 255, .06); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--on-navy); background: rgba(255, 255, 255, .09); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
    display: inline-grid; place-items: center; width: 38px; height: 38px;
    border: 1px solid var(--navy-line); border-radius: 10px;
    background: transparent; color: var(--on-navy-2); cursor: pointer;
}
.icon-btn:hover { color: var(--on-navy); background: rgba(255, 255, 255, .06); }

.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle { display: none; }
.site-nav .nav-cta { display: none; }

@media (max-width: 860px) {
    .menu-toggle { display: inline-grid; }
    .header-actions .btn { display: none; }
    .site-nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 64px;
        background: var(--navy); border-bottom: 1px solid var(--navy-line);
        padding: 8px 20px 16px;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; }
    .site-nav a { padding: 12px; }
    .site-nav .nav-cta { display: block; }
    .header-actions { margin-left: auto; }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
    font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
    cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(99, 91, 255, .7); }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }

.btn-ghost { color: var(--on-navy); border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: var(--on-navy); }

.btn-outline { color: var(--text); border-color: var(--border-strong); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-hover); }

.btn-sm { padding: 8px 14px; font-size: .88rem; }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero, .page-hero {
    position: relative; overflow: hidden; color: var(--on-navy);
    background:
        radial-gradient(60% 80% at 85% 0%, rgba(99, 91, 255, .35), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(13, 148, 136, .18), transparent 60%),
        var(--navy);
}
.hero::after, .page-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent);
    opacity: .6;
}
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }

.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.hero h1, .page-hero h1 { color: #fff; font-weight: 700; letter-spacing: -0.025em; }
.hero h1 { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.4rem); }
.hero .lead, .page-hero .lead { margin-top: 18px; font-size: 1.15rem; color: var(--on-navy-2); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
    padding: 5px 12px; border-radius: 999px;
    font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    color: #c9c6ff; background: rgba(122, 115, 255, .16); border: 1px solid rgba(122, 115, 255, .32);
}

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--on-navy-2); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: #4fd6a3; }

.page-hero { padding: 64px 0 60px; }
.page-hero h1 { font-size: clamp(2rem, 2.6vw + 1rem, 2.9rem); max-width: 820px; }

.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump-links a {
    padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 500;
    color: var(--on-navy-2); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03);
}
.jump-links a:hover { color: #fff; border-color: rgba(255, 255, 255, .35); text-decoration: none; }

/* The worked example in the hero: a PIN block, step by step. */
.calc-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    overflow: hidden;
}
.calc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.calc-title { font-weight: 600; color: #fff; font-size: .95rem; }
.calc-tag { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #4fd6a3; background: rgba(79, 214, 163, .12); border-radius: 999px; padding: 3px 9px; }
.calc-body { padding: 8px 18px 6px; }
.calc-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .08); }
.calc-row:last-child { border-bottom: 0; }
.calc-step { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: .72rem; font-weight: 700; color: #c9c6ff; background: rgba(122, 115, 255, .2); }
.calc-label { color: var(--on-navy-2); font-size: .88rem; }
.calc-label small { display: block; color: var(--on-navy-3); font-size: .78rem; }
.calc-value { font-family: var(--mono); font-size: .92rem; color: var(--on-navy); letter-spacing: .03em; text-align: right; }
.calc-row.result .calc-value { color: #fff; font-weight: 700; background: rgba(122, 115, 255, .22); padding: 3px 8px; border-radius: 6px; }
.calc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: rgba(0, 0, 0, .18); font-size: .82rem; color: var(--on-navy-3); }
.calc-foot a { color: #c9c6ff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.calc-foot a .icon { width: 16px; height: 16px; }

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: 80px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tight { padding: 56px 0; }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: block; margin-bottom: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-hover); }
.section-head h2 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.2rem); }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 1.06rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    position: relative; display: flex; flex-direction: column; gap: 12px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: var(--shadow-sm); color: var(--text);
}
.section-alt .card { background: var(--surface-2); }
a.card { transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { text-decoration: none; border-color: var(--brand-soft-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 1.12rem; }
.card p { color: var(--text-2); font-size: .97rem; }
.card .more { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--brand-hover); }
.card .more .icon { width: 16px; height: 16px; }

.card-lg { padding: 32px; gap: 16px; }
.card-lg h3 { font-size: 1.4rem; }

.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--tile, var(--brand)); background: var(--tile-bg, var(--brand-soft)); }
.icon-tile .icon { width: 22px; height: 22px; }
.tile-indigo { --tile: var(--indigo); --tile-bg: var(--indigo-bg); }
.tile-emerald { --tile: var(--emerald); --tile-bg: var(--emerald-bg); }
.tile-sky { --tile: var(--sky); --tile-bg: var(--sky-bg); }
.tile-violet { --tile: var(--violet); --tile-bg: var(--violet-bg); }
.tile-teal { --tile: var(--teal); --tile-bg: var(--teal-bg); }
.tile-orange { --tile: var(--orange); --tile-bg: var(--orange-bg); }
.tile-amber { --tile: var(--amber); --tile-bg: var(--amber-bg); }
.tile-rose { --tile: var(--rose); --tile-bg: var(--rose-bg); }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .92rem; }
.link-list a { font-weight: 500; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; color: var(--text-2); font-size: .97rem; }
.check-list .icon { width: 20px; height: 20px; color: var(--emerald); margin-top: 2px; }

/* Tool lists (services page): name + one line. */
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tool-list a { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: var(--radius-sm); color: var(--text); }
.tool-list a:hover { background: var(--brand-soft); text-decoration: none; }
.tool-list strong { display: block; font-weight: 600; font-size: .97rem; }
.tool-list span { display: block; color: var(--text-2); font-size: .88rem; line-height: 1.5; }

.card-head { display: flex; align-items: center; gap: 14px; }

/* Chips (popular tools) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 500; font-size: .93rem;
    box-shadow: var(--shadow-sm);
}
.chip:hover { border-color: var(--brand); color: var(--brand-hover); text-decoration: none; }
.chip .icon { width: 16px; height: 16px; color: var(--brand-hover); }
.section-alt .chip { background: var(--surface-2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.stat strong { display: block; font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
.stat span { display: block; margin-top: 6px; color: var(--text-2); font-size: .92rem; }

/* Plans */
.tier { gap: 14px; }
.tier .tier-name { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.tier h3 { font-size: 1.3rem; }
.tier.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.tier.featured .tier-name { color: var(--brand-hover); }
.badge { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 3px 10px; border-radius: 999px; }

/* Split layout: text beside a card */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.prose p { color: var(--text-2); font-size: 1.04rem; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem); margin-bottom: 18px; }

.note {
    display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius);
    background: var(--amber-bg); color: var(--text); font-size: .93rem;
}
.note .icon { color: var(--amber); margin-top: 2px; }

/* Contact */
.contact-email {
    display: inline-block; margin: 4px 0 6px; font-size: clamp(1.25rem, 1.2vw + 1rem, 1.7rem); font-weight: 700;
    color: var(--text); word-break: break-all;
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.steps { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 8px; font-size: .97rem; }
.steps li::marker { color: var(--brand-hover); font-weight: 700; }

/* Call to action band */
.cta-band {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 40px; border-radius: 20px; color: #fff;
    background: radial-gradient(80% 120% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(135deg, #635bff, #4338ca);
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1vw + 1.1rem, 1.9rem); }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, .82); max-width: 560px; }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .4); }
.btn-white { background: #fff; color: #3730a3; }
.btn-white:hover { background: #eef0ff; color: #3730a3; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer { background: var(--navy); color: var(--on-navy-2); padding: 56px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer .brand { margin-bottom: 14px; }
.site-footer p { max-width: 320px; }
.site-footer .footer-title { color: var(--on-navy); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy-2); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--navy-line); color: var(--on-navy-3); font-size: .85rem; }

/* A heading styled one level down (e.g. an h2 inside a card). */
.h3 { font-size: 1.3rem; }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .section { padding: 56px 0; }
    .hero { padding: 48px 0 60px; }
    .page-hero { padding: 44px 0 40px; }
    .grid-2, .grid-3, .split { grid-template-columns: 1fr; }
    .split { gap: 32px; }
    .cta-band { padding: 28px 22px; }
    .card-lg { padding: 24px; }
}

@media (max-width: 520px) {
    .wrap { padding: 0 16px; }
    .grid-4, .stats, .footer-grid { grid-template-columns: 1fr; }
    .brand-sub { display: none; }
    .hero-actions .btn, .cta-band .btn { flex: 1 1 auto; }
    .calc-row { grid-template-columns: 22px 1fr; }
    .calc-value { grid-column: 2; text-align: left; font-size: .86rem; }
}

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