/* ==========================================================================
   VoipXDialer — Design System  ·  "Technical Light"
   --------------------------------------------------------------------------
   Light, white-first canvas using the brand palette from voipxdialer.org:
   #3C6FF4 primary blue, #D7FC6F lime accent, Inter.

   What makes it distinct rather than stock SaaS: a monospace technical voice
   for every label and metric, an asymmetric bento composition instead of
   uniform card rows, hairline engineering-grid detailing, and a live coverage
   ticker. Dark panels appear only as deliberate punctuation.

   Contrast audited to WCAG 2.1 AA; ratios noted where they drove a choice.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* -- Brand blue -------------------------------------------------------
       #3C6FF4 is only 4.40:1 on white, so it is used for fills, icons and
       large type. Small text and button labels use --brand-600 (5.64:1). */
    --brand-50:  #F2F6FF;
    --brand-100: #D6E0FD;
    --brand-200: #B4C6FB;
    --brand-300: #8AA8F8;
    --brand-400: #5F88F6;
    --brand:     #3C6FF4;
    --brand-600: #2B5CE0;
    --brand-700: #2149BC;
    --brand-800: #1A3A96;
    --brand-900: #12275F;
    --brand-ink: #0B1B3F;

    /* -- Lime accent ------------------------------------------------------
       Very high luminance: always pairs with near-black text (15.9:1).
       White on lime is 1.2:1 and is never permitted. */
    --lime-100: #F4FEE0;
    --lime-200: #E7FDBE;
    --lime:     #D7FC6F;
    --lime-600: #C4F548;
    --lime-700: #8FBE18;   /* 4.6:1 on white — safe for small lime-ish text */
    --lime-ink: #16250A;

    /* -- Neutrals ---------------------------------------------------------- */
    --ink:       #0B1220;   /* headings — 18.4:1 */
    --ink-2:     #454C5A;   /* body      — 8.6:1  */
    --ink-3:     #646B7A;   /* secondary — 5.4:1  */
    --ink-faint: #9AA1AE;   /* decorative / large text only */
    --rule:      #E3E7EE;
    --rule-soft: #EFF2F6;
    --paper:     #FFFFFF;
    --paper-2:   #F6F7F9;
    --paper-3:   #FAFBFD;

    /* -- Status ------------------------------------------------------------ */
    --ok:      #0E8A54;
    --ok-bg:   #ECFDF3;
    --warn:    #B45309;
    --bad:     #C42B2B;
    --bad-bg:  #FEF2F2;

    /* -- Type -------------------------------------------------------------- */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
            'Helvetica Neue', Arial, sans-serif;
    /* Telecom runs on precise numbers — mono carries every label and metric. */
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono',
            Menlo, Consolas, monospace;

    --fs-xs:   0.8125rem;
    --fs-sm:   0.875rem;
    --fs-base: 1rem;
    --fs-md:   clamp(1.0625rem, 0.3vw + 1rem, 1.125rem);
    --fs-lg:   clamp(1.125rem, 0.5vw + 1.02rem, 1.25rem);
    --fs-xl:   clamp(1.25rem, 0.7vw + 1.1rem, 1.5rem);
    --fs-2xl:  clamp(1.5rem, 1.1vw + 1.25rem, 1.875rem);
    --fs-3xl:  clamp(1.75rem, 1.9vw + 1.32rem, 2.5rem);
    --fs-4xl:  clamp(2.05rem, 3.1vw + 1.4rem, 3.125rem);
    --fs-5xl:  clamp(2.5rem, 4.6vw + 1.4rem, 4.125rem);

    --lh-tight: 1.06;
    --lh-snug:  1.22;
    --lh-base:  1.66;

    /* -- Space -------------------------------------------------------------- */
    --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
    --s-5: 1.25rem; --s-6: 1.5rem;  --s-8: 2rem;    --s-10: 2.5rem;
    --s-12: 3rem;   --s-16: 4rem;   --s-20: 5rem;   --s-24: 6rem;
    --section-y: clamp(4rem, 7vw, 7rem);

    /* -- Shape — squarer than typical SaaS, reads as engineered ------------ */
    --r-xs: 3px;  --r-sm: 6px;  --r-md: 10px;
    --r-lg: 14px; --r-xl: 20px; --r-full: 999px;

    /* -- Elevation ---------------------------------------------------------- */
    --sh-xs:   0 1px 2px rgba(11, 18, 32, .05);
    --sh-sm:   0 2px 6px rgba(11, 18, 32, .05), 0 1px 2px rgba(11, 18, 32, .04);
    --sh-md:   0 8px 24px rgba(11, 18, 32, .07), 0 2px 6px rgba(11, 18, 32, .04);
    --sh-lg:   0 20px 52px rgba(11, 18, 32, .10), 0 4px 12px rgba(11, 18, 32, .05);
    --sh-brand:0 10px 28px rgba(43, 92, 224, .26);
    --sh-lime: 0 10px 28px rgba(143, 190, 24, .24);

    /* -- Motion ------------------------------------------------------------- */
    --t-fast: 130ms;
    --t-base: 220ms;
    --t-slow: 400ms;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --container: 1240px;
    --header-h: 72px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
    /* `clip`, not `hidden`: the off-canvas mobile drawer sits outside the
       viewport and would otherwise create a horizontal scrollbar. `hidden`
       would fix that too, but it makes html/body a scroll container and
       breaks `position: sticky` on the header. */
    overflow-x: clip;
}

body {
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--ink-2);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    font-weight: 700;
    line-height: var(--lh-snug);
    letter-spacing: -0.025em;
    text-wrap: balance;
}
h1 { font-size: var(--fs-5xl); line-height: var(--lh-tight); letter-spacing: -0.04em; }
h2 { font-size: var(--fs-4xl); letter-spacing: -0.032em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

p { text-wrap: pretty; }

a { color: var(--brand-600); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-700); }

ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
strong, b { font-weight: 700; color: var(--ink); }

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}
:focus:not(:focus-visible) { outline: none; }
::selection { background: var(--lime); color: var(--lime-ink); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    padding: var(--s-3) var(--s-5);
    background: var(--ink); color: #fff;
    font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--s-6);
}
.container--narrow { max-width: 820px; }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 4.5vw, 4.5rem); }
.section--grey { background: var(--paper-2); }
.section--soft { background: var(--paper-3); }
.section--tint {
    background:
        radial-gradient(760px 380px at 88% 0%, rgba(215, 252, 111, .22), transparent 62%),
        linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}

/* Inverted panel — deliberate punctuation, not the default. */
.section--ink {
    background:
        radial-gradient(820px 420px at 84% -10%, rgba(60, 111, 244, .30), transparent 62%),
        var(--brand-ink);
    color: rgba(255, 255, 255, .74);
}
.section--ink h1, .section--ink h2, .section--ink h3,
.section--ink h4, .section--ink strong, .section--ink b { color: #fff; }
.section--ink p { color: rgba(255, 255, 255, .74); }
/* :not(.btn) is load-bearing — `.section--ink a` (0,1,1) otherwise outranks
   `.btn--accent` (0,1,0) and repaints button labels lime-on-lime. */
.section--ink a:not(.btn) { color: var(--lime); }
.section--ink a:not(.btn):hover { color: var(--lime-600); }

/* Faint blueprint grid overlay for hero-ish sections. */
.gridlines::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(11, 18, 32, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 18, 32, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(880px 560px at 50% 8%, #000 8%, transparent 76%);
    -webkit-mask-image: radial-gradient(880px 560px at 50% 8%, #000 8%, transparent 76%);
    pointer-events: none;
}
.section--ink.gridlines::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
}

.grid { display: grid; gap: var(--s-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   4. Technical voice — labels, indices, metrics
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 5px 12px 5px 9px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-sm);
    font-family: var(--mono);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-700);
}
.eyebrow .icon { width: 14px; height: 14px; color: var(--brand); }
.eyebrow--lime { background: var(--lime-100); border-color: var(--lime-200); color: #4E6B0B; }
.eyebrow--lime .icon { color: var(--lime-700); }
.section--ink .eyebrow {
    background: rgba(215, 252, 111, .10);
    border-color: rgba(215, 252, 111, .30);
    color: var(--lime);
}
.section--ink .eyebrow .icon { color: var(--lime); }

.section-index {
    display: block;
    margin-bottom: var(--s-4);
    font-family: var(--mono);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: .14em;
    color: var(--brand-300);
}
.section--ink .section-index { color: rgba(215, 252, 111, .55); }

.section-head { position: relative; max-width: 760px; margin-bottom: var(--s-12); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: var(--s-5); }
.section-head h2 { margin-bottom: var(--s-4); }
.section-head p { font-size: var(--fs-lg); color: var(--ink-3); }
.section--ink .section-head p { color: rgba(255, 255, 255, .70); }

/* Mono + tabular figures for every number on the site. */
.mono, .plate__value, .plan__amount, .panel-row__value,
.console__stat b, .bento-card__num, .step::before, .region__count {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    --py: .8125rem;
    --px: 1.375rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    min-height: 46px;
    padding: var(--py) var(--px);
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.005em;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--t-base) var(--ease),
                border-color var(--t-base) var(--ease),
                color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease),
                transform var(--t-fast) var(--ease);
}
.btn .icon { width: 17px; height: 17px; flex: none; transition: transform var(--t-base) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn:hover .icon:last-child { transform: translateX(3px); }

/* Blue fill uses --brand-600 so the white label clears 4.5:1. */
.btn--primary {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
    box-shadow: var(--sh-brand);
}
.btn--primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* Lime fill always carries near-black text (15.9:1). */
.btn--accent {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--lime-ink);
    box-shadow: var(--sh-lime);
}
.btn--accent:hover { background: var(--lime-600); border-color: var(--lime-600); color: var(--lime-ink); }

.btn--ghost { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.btn--ghost:hover { background: var(--brand-50); border-color: var(--brand); color: var(--brand-700); }

.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; border-color: #000; color: var(--lime); }

.btn--ghost-light {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: var(--lime); color: var(--lime); }

/* A plain ghost button dropped into an inverted section would inherit the dark
   label colour and disappear — restyle it for the dark ground. */
.section--ink .btn--ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
}
.section--ink .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--lime); color: var(--lime); }

.btn--white { background: #fff; border-color: #fff; color: var(--brand-700); }
.btn--white:hover { background: var(--brand-50); color: var(--brand-800); }

.btn--sm { --py: .5625rem; --px: 1rem; min-height: 40px; font-size: var(--fs-xs); }
.btn--lg { --py: 1.0625rem; --px: 1.875rem; min-height: 54px; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row--center { justify-content: center; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-family: var(--mono);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform var(--t-base) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--lime); }

/* --------------------------------------------------------------------------
   6. Top bar
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--brand-ink);
    font-family: var(--mono);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, .70);
}
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-4); min-height: 40px; flex-wrap: wrap;
}
.topbar__note { display: flex; align-items: center; gap: var(--s-2); letter-spacing: .02em; }
.topbar__pulse {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 0 rgba(215, 252, 111, .7);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    70%  { box-shadow: 0 0 0 7px rgba(215, 252, 111, 0); }
    100% { box-shadow: 0 0 0 0 rgba(215, 252, 111, 0); }
}
.topbar__links { display: flex; align-items: center; gap: var(--s-6); }
.topbar__link { display: inline-flex; align-items: center; gap: var(--s-2); color: rgba(255, 255, 255, .78); }
.topbar__link:hover { color: var(--lime); }
.topbar__link .icon { width: 14px; height: 14px; color: var(--lime); }

@media (max-width: 880px) { .topbar__note { display: none; } .topbar__inner { justify-content: center; } }
@media (max-width: 520px) { .topbar__links { gap: var(--s-4); font-size: .75rem; } }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--rule-soft);
    transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.site-header.is-stuck { background: rgba(255, 255, 255, .96); box-shadow: var(--sh-md); }
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-6); min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: var(--s-3); flex: none; }
.brand__mark { width: 38px; height: 38px; border-radius: var(--r-md); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.125rem; font-weight: 800; color: var(--ink); letter-spacing: -0.035em; }
.brand__name-x { color: var(--brand); }
.brand__tag {
    font-family: var(--mono);
    font-size: .625rem; font-weight: 500;
    color: var(--ink-3);
    letter-spacing: .12em; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    font-size: var(--fs-sm); font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__link.is-active { color: var(--brand-700); }
.nav__link .icon { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease); }

.nav__item { position: relative; }
.nav__item.has-dropdown:hover .nav__link .icon,
.nav__item.has-dropdown.is-open .nav__link .icon { transform: rotate(180deg); }

.nav__cta { display: flex; align-items: center; gap: var(--s-2); }

.dropdown {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: min(660px, 92vw);
    padding: var(--s-3);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out), visibility var(--t-base);
}
.nav__item.has-dropdown:hover .dropdown,
.nav__item.has-dropdown:focus-within .dropdown,
.nav__item.has-dropdown.is-open .dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown__item {
    display: flex; align-items: flex-start; gap: var(--s-3);
    padding: var(--s-3);
    border-radius: var(--r-md);
    transition: background var(--t-fast) var(--ease);
}
.dropdown__item:hover { background: var(--brand-50); }
.dropdown__icon {
    display: grid; place-items: center;
    width: 36px; height: 36px; flex: none;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-sm);
    color: var(--brand-600);
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.dropdown__item:hover .dropdown__icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.dropdown__icon .icon { width: 18px; height: 18px; }
.dropdown__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dropdown__text strong { font-size: var(--fs-sm); font-weight: 650; color: var(--ink); }
.dropdown__text small { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.45; }
.dropdown__all {
    display: flex; align-items: center; justify-content: center; gap: var(--s-2);
    margin-top: var(--s-2); padding-top: var(--s-3);
    border-top: 1px solid var(--rule-soft);
    font-family: var(--mono); font-size: var(--fs-xs);
    text-transform: uppercase; letter-spacing: .04em;
}
.dropdown__all .icon { width: 15px; height: 15px; transition: transform var(--t-base) var(--ease); }
.dropdown__all:hover .icon { transform: translateX(4px); }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border-radius: var(--r-sm);
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
    .nav { gap: var(--s-3); }
    .nav__link { padding: 8px 9px; font-size: var(--fs-xs); }
    .brand__tag { display: none; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: flex; }
    .nav {
        position: fixed; inset: 0 0 0 auto; z-index: 120;
        width: min(380px, 90vw);
        flex-direction: column; align-items: stretch; gap: 0;
        padding: var(--s-6) var(--s-5) var(--s-10);
        background: #fff;
        border-left: 1px solid var(--rule);
        box-shadow: -24px 0 70px rgba(11, 18, 32, .16);
        overflow-y: auto;
        transform: translateX(100%); visibility: hidden;
        transition: transform var(--t-slow) var(--ease-out), visibility var(--t-slow);
    }
    .nav.is-open { transform: translateX(0); visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 2px; margin-top: var(--s-10); }
    .nav__link { padding: 13px 14px; font-size: var(--fs-base); justify-content: space-between; }
    .nav__cta { flex-direction: column; margin-top: var(--s-6); }
    .nav__cta .btn { width: 100%; }
    .dropdown {
        position: static; transform: none; width: 100%;
        max-height: 0; padding: 0; border: 0; box-shadow: none;
        opacity: 1; visibility: visible; overflow: hidden;
        transition: max-height var(--t-slow) var(--ease);
    }
    .nav__item.has-dropdown.is-open .dropdown { max-height: 680px; padding: var(--s-2) 0 var(--s-3); transform: none; }
    .dropdown__grid { grid-template-columns: 1fr; }
    .nav-backdrop {
        position: fixed; inset: 0; z-index: 110;
        background: rgba(11, 18, 32, .5);
        opacity: 0; visibility: hidden;
        transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
    }
    .nav-backdrop.is-visible { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-block: clamp(3.5rem, 6vw, 6rem) clamp(4rem, 7vw, 6.5rem);
    background:
        radial-gradient(900px 480px at 82% -12%, rgba(60, 111, 244, .16), transparent 60%),
        radial-gradient(680px 400px at 4% 100%, rgba(215, 252, 111, .30), transparent 62%),
        linear-gradient(180deg, #FBFCFF 0%, #FFFFFF 62%);
    border-bottom: 1px solid var(--rule-soft);
    overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero__eyebrow { margin-bottom: var(--s-6); }
.hero__title { margin-bottom: var(--s-6); }
.hero__title .hl { position: relative; color: var(--brand-700); white-space: nowrap; }
.hero__title .hl::after {
    content: '';
    position: absolute; left: -3px; right: -3px; bottom: .05em;
    height: .32em;
    background: var(--lime);
    border-radius: 2px;
    z-index: -1;
}

.hero__lead {
    max-width: 54ch;
    margin-bottom: var(--s-8);
    font-size: var(--fs-lg);
    color: var(--ink-3);
}
.hero__actions { margin-bottom: var(--s-8); }

.hero__proof {
    display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
    padding-top: var(--s-6);
    border-top: 1px solid var(--rule);
}
.hero__proof li {
    display: flex; align-items: center; gap: var(--s-2);
    font-family: var(--mono);
    font-size: var(--fs-xs);
    color: var(--ink-2);
}
.hero__proof .icon {
    width: 18px; height: 18px; padding: 2px;
    background: var(--lime); border-radius: 50%;
    color: var(--lime-ink); stroke-width: 3;
}

/* -- Live console mock ---------------------------------------------------- */
.hero__visual { position: relative; }

.console {
    position: relative;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    overflow: hidden;
}
.console__bar {
    display: flex; align-items: center; gap: var(--s-2);
    padding: var(--s-3) var(--s-4);
    background: var(--paper-2);
    border-bottom: 1px solid var(--rule);
}
.console__dot { width: 9px; height: 9px; border-radius: 50%; background: #D8DCE3; }
.console__dot:nth-child(1) { background: #FF6058; }
.console__dot:nth-child(2) { background: #FFBD2E; }
.console__dot:nth-child(3) { background: #28CA42; }
.console__title {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: var(--s-2);
    font-family: var(--mono); font-size: .6875rem; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-3);
}
.console__title::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--ok); box-shadow: 0 0 7px rgba(14, 138, 84, .6);
}
.console__body { padding: var(--s-5); display: grid; gap: var(--s-4); }

.console__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.console__stat {
    padding: var(--s-3) var(--s-4);
    background: var(--paper-3);
    border: 1px solid var(--rule-soft);
    border-radius: var(--r-sm);
}
.console__stat b { display: block; font-size: var(--fs-xl); font-weight: 700; color: var(--ink); line-height: 1.15; }
.console__stat span {
    font-family: var(--mono); font-size: .625rem; font-weight: 500;
    color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em;
}

.console__row {
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-3);
    border: 1px solid var(--rule-soft);
    border-radius: var(--r-sm);
}
.console__avatar {
    display: grid; place-items: center;
    width: 32px; height: 32px; flex: none;
    border-radius: var(--r-xs);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-700);
    font-family: var(--mono); font-size: .6875rem; font-weight: 700;
}
.console__meta { min-width: 0; flex: 1; }
.console__meta b { display: block; font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink); letter-spacing: -0.01em; }
.console__meta span { font-size: .6875rem; color: var(--ink-3); }
.console__badge {
    padding: 3px 9px; border-radius: var(--r-xs);
    font-family: var(--mono); font-size: .625rem; font-weight: 500;
    letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.console__badge--live  { background: var(--ok-bg); color: var(--ok); border: 1px solid #B7E9CD; }
.console__badge--wait  { background: var(--lime-100); color: #4E6B0B; border: 1px solid var(--lime-200); }
.console__badge--queue { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }

.console__wave { display: flex; align-items: flex-end; gap: 3px; height: 46px; }
.console__wave i {
    flex: 1;
    background: linear-gradient(180deg, var(--brand-300), var(--brand));
    border-radius: 1px;
    animation: wave 1.5s ease-in-out infinite;
}
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }

.hero__float {
    position: absolute;
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-3) var(--s-4);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
    animation: float 5.5s ease-in-out infinite;
}
.hero__float--a { top: -22px; left: -28px; }
.hero__float--b { bottom: -24px; right: -22px; animation-delay: 1.6s; }
.hero__float .icon { width: 19px; height: 19px; color: var(--brand-600); }
.hero__float b { display: block; font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink); }
.hero__float span { font-size: .6875rem; color: var(--ink-3); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1000px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { order: -1; max-width: 560px; margin-inline: auto; width: 100%; }
    .hero__float--a { left: -6px; }
    .hero__float--b { right: -6px; }
}
@media (max-width: 560px) {
    .hero__float { display: none; }
    .console__stats { grid-template-columns: 1fr 1fr; }
    .console__stat:last-child { display: none; }
}

/* --------------------------------------------------------------------------
   9. Coverage ticker
   -------------------------------------------------------------------------- */
.ticker {
    position: relative;
    padding-block: var(--s-4);
    background: var(--paper-2);
    border-bottom: 1px solid var(--rule);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker__track { display: flex; width: max-content; gap: var(--s-8); animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
    display: inline-flex; align-items: center; gap: var(--s-2);
    font-family: var(--mono); font-size: var(--fs-xs);
    color: var(--ink-3); white-space: nowrap;
}
.ticker__item b { color: var(--brand-700); font-weight: 500; }
.ticker__flag { font-size: 1.2em; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   10. Trust strip
   -------------------------------------------------------------------------- */
.trust { padding-block: var(--s-10); background: var(--paper-3); border-bottom: 1px solid var(--rule-soft); }
.trust__label {
    margin-bottom: var(--s-6); text-align: center;
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
}
.trust__row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--s-5) clamp(1.5rem, 4vw, 3.25rem);
}
.trust__item {
    display: flex; align-items: center; gap: var(--s-2);
    font-family: var(--mono); font-size: var(--fs-sm); font-weight: 500;
    color: var(--ink-2); letter-spacing: -0.01em;
    opacity: .72;
    transition: opacity var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.trust__item:hover { opacity: 1; color: var(--brand-700); }
.trust__item .icon { width: 19px; height: 19px; color: var(--brand); }

/* --------------------------------------------------------------------------
   11. Bento grid — asymmetric service composition
   -------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s-4); }
.bento > * { grid-column: span 2; }
.bento > .bento--wide { grid-column: span 3; }
/* Full-width closing panel: absorbs the orphan when the item count would
   otherwise leave a single card stranded on the last row. */
.bento > .bento--full { grid-column: 1 / -1; }

/* The full-width panel reads horizontally rather than as a stretched card.
   Doubled class (0,2,0) so it outranks `.bento-card`'s flex-direction:column. */
.bento-card.bento--full { flex-direction: row; align-items: center; gap: var(--s-6); }
.bento-card.bento--full .bento-card__head { margin-bottom: 0; flex: none; }
.bento-card.bento--full .bento-card__body { flex: 1; min-width: 0; }
.bento-card.bento--full h3 { margin-bottom: var(--s-2); }
.bento-card.bento--full p { flex: 0 1 auto; }
.bento-card.bento--full .bento-card__meta {
    margin-top: 0; padding-top: 0; border-top: 0;
    flex: none; justify-content: flex-end;
}

@media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(4, 1fr); }
    .bento > * { grid-column: span 2; }
    .bento > .bento--wide, .bento > .bento--full { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
    .bento-card.bento--full { flex-direction: column; align-items: stretch; gap: 0; }
    .bento-card.bento--full .bento-card__head { margin-bottom: var(--s-5); }
    .bento-card.bento--full .bento-card__meta {
        margin-top: var(--s-5); padding-top: var(--s-5);
        border-top: 1px dashed var(--rule); justify-content: flex-start;
    }
}
@media (max-width: 640px) {
    .bento { grid-template-columns: 1fr; }
    .bento > *, .bento > .bento--wide, .bento > .bento--full { grid-column: span 1; }
}

.bento-card {
    position: relative;
    display: flex; flex-direction: column;
    padding: var(--s-6);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease),
                transform var(--t-base) var(--ease-out);
}
.bento-card::before {
    /* Blueprint grid revealed on hover */
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(60, 111, 244, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60, 111, 244, .055) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0;
    transition: opacity var(--t-slow) var(--ease);
    pointer-events: none;
}
.bento-card:hover { border-color: var(--brand); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.bento-card:hover::before { opacity: 1; }
.bento-card > * { position: relative; z-index: 1; }

.bento-card__head {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: var(--s-4); margin-bottom: var(--s-5);
}
.bento-card__num { font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; color: var(--brand-300); }
.bento-card__icon {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-md);
    color: var(--brand-600);
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.bento-card__icon .icon { width: 23px; height: 23px; }
.bento-card:hover .bento-card__icon { background: var(--brand); border-color: var(--brand); color: #fff; }

.bento-card__body { display: flex; flex-direction: column; flex: 1; }
.bento-card h3 { margin-bottom: var(--s-3); font-size: var(--fs-lg); }
.bento-card h3 a { color: inherit; }
.bento-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.bento-card:hover h3 a { color: var(--brand-700); }
.bento-card p { flex: 1; font-size: var(--fs-sm); color: var(--ink-3); }

.bento-card__meta {
    display: flex; flex-wrap: wrap; gap: var(--s-2);
    margin-top: var(--s-5); padding-top: var(--s-5);
    border-top: 1px dashed var(--rule);
}
.chip {
    padding: 3px 9px;
    background: var(--paper-2);
    border: 1px solid var(--rule-soft);
    border-radius: var(--r-xs);
    font-family: var(--mono); font-size: .6875rem; font-weight: 500;
    color: var(--ink-3); white-space: nowrap;
}
.bento-card:hover .chip { border-color: var(--brand-100); color: var(--brand-700); }

/* Featured panel — lime inversion, the loudest thing on the page. */
.bento-card--feature { background: var(--lime); border-color: var(--lime); }
.bento-card--feature::before {
    background-image:
        linear-gradient(rgba(22, 37, 10, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 37, 10, .07) 1px, transparent 1px);
    opacity: 1;
}
.bento-card--feature:hover { background: var(--lime-600); border-color: var(--lime-600); box-shadow: var(--sh-lime); }
.bento-card--feature h3, .bento-card--feature:hover h3 a { color: var(--lime-ink); }
.bento-card--feature p { color: rgba(22, 37, 10, .78); }
.bento-card--feature .bento-card__num { color: rgba(22, 37, 10, .55); }
.bento-card--feature .bento-card__icon {
    background: rgba(22, 37, 10, .10); border-color: rgba(22, 37, 10, .22); color: var(--lime-ink);
}
.bento-card--feature:hover .bento-card__icon { background: var(--lime-ink); border-color: var(--lime-ink); color: var(--lime); }
.bento-card--feature .bento-card__meta { border-top-color: rgba(22, 37, 10, .24); }
.bento-card--feature .chip { background: rgba(22, 37, 10, .07); border-color: rgba(22, 37, 10, .18); color: rgba(22, 37, 10, .82); }
.bento-card--feature:hover .chip { border-color: rgba(22, 37, 10, .35); color: var(--lime-ink); }
.bento-card--feature .link-arrow { color: var(--lime-ink); }

/* --------------------------------------------------------------------------
   12. Feature rows
   -------------------------------------------------------------------------- */
.feature {
    display: flex; gap: var(--s-4);
    padding: var(--s-5);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.feature:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.feature__icon {
    display: grid; place-items: center;
    width: 40px; height: 40px; flex: none;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-sm);
    color: var(--brand-600);
}
.feature__icon .icon { width: 20px; height: 20px; }
.feature h3 { margin-bottom: 6px; font-size: var(--fs-md); }
.feature p { font-size: var(--fs-sm); color: var(--ink-3); }

.section--ink .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--ink .feature:hover { border-color: rgba(215, 252, 111, .45); box-shadow: none; }
.section--ink .feature__icon { background: rgba(215, 252, 111, .12); border-color: rgba(215, 252, 111, .26); color: var(--lime); }
.section--ink .feature p { color: rgba(255, 255, 255, .70); }

/* --------------------------------------------------------------------------
   13. Metric plates
   -------------------------------------------------------------------------- */
.plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.plate {
    position: relative;
    padding: var(--s-6);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.plate:hover { border-color: var(--brand-200); box-shadow: var(--sh-md); }
.plate__label {
    display: block; margin-bottom: var(--s-5);
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.plate__value { display: block; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1; color: var(--brand-700); }
.plate__note { display: block; margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--ink-3); }
/* display:block is required — height is ignored on an inline <span>, which
   lets the inner fill escape the track and paint over the section. */
.plate__bar {
    display: block;
    width: 100%;
    height: 3px;
    margin-top: var(--s-5);
    background: var(--rule-soft);
    border-radius: 2px;
    overflow: hidden;
}
.plate__bar i { display: block; height: 3px; background: var(--lime); border-radius: 2px; }

.section--ink .plate { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--ink .plate:hover { border-color: rgba(215, 252, 111, .45); box-shadow: none; }
.section--ink .plate__label { color: rgba(255, 255, 255, .50); }
.section--ink .plate__value { color: var(--lime); }
.section--ink .plate__note { color: rgba(255, 255, 255, .68); }
.section--ink .plate__bar { background: rgba(255, 255, 255, .12); }

@media (max-width: 900px) { .plates { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plates { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   14. Split rows
   -------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.split + .split { margin-top: clamp(3rem, 6vw, 5.5rem); }
.split--reverse .split__media { order: -1; }
.split h2 { margin-bottom: var(--s-4); font-size: var(--fs-3xl); }
.split__lead { margin-bottom: var(--s-6); font-size: var(--fs-md); color: var(--ink-3); }
.section--ink .split__lead { color: rgba(255, 255, 255, .70); }

.checklist { display: grid; gap: var(--s-3); margin-bottom: var(--s-8); }
.checklist li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); color: var(--ink-2); }
.checklist .icon {
    width: 19px; height: 19px; flex: none; margin-top: 2px; padding: 2px;
    background: var(--lime); border-radius: 50%;
    color: var(--lime-ink); stroke-width: 3;
}
.section--ink .checklist li { color: rgba(255, 255, 255, .80); }

.split__media {
    position: relative;
    padding: var(--s-5);
    background: linear-gradient(150deg, var(--brand-50), #fff 70%);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
}
.section--ink .split__media { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }

.split__panel { display: grid; gap: var(--s-2); }
.panel-row {
    display: flex; align-items: center; gap: var(--s-3);
    padding: var(--s-4);
    background: #fff;
    border: 1px solid var(--rule-soft);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-xs);
    transition: border-color var(--t-base) var(--ease);
}
.panel-row:hover { border-color: var(--brand-200); }
.panel-row__icon {
    display: grid; place-items: center;
    width: 36px; height: 36px; flex: none;
    border-radius: var(--r-xs);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-600);
}
.panel-row__icon .icon { width: 18px; height: 18px; }
.panel-row b { display: block; font-size: var(--fs-sm); color: var(--ink); }
.panel-row span { font-size: var(--fs-xs); color: var(--ink-3); }
.panel-row__value { margin-left: auto; font-size: var(--fs-md); font-weight: 700; color: var(--brand-700); }

.section--ink .panel-row { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--ink .panel-row b { color: #fff; }
.section--ink .panel-row span { color: rgba(255, 255, 255, .55); }
.section--ink .panel-row__icon { background: rgba(215, 252, 111, .12); border-color: rgba(215, 252, 111, .26); color: var(--lime); }
.section--ink .panel-row__value { color: var(--lime); }

@media (max-width: 920px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split__media { order: 0; }
}

/* --------------------------------------------------------------------------
   15. Process rail
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); counter-reset: step; }
.step {
    position: relative;
    padding: var(--s-6);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.step:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: var(--s-4);
    font-size: var(--fs-xl); font-weight: 700;
    color: var(--brand);
}
.step h3 { margin-bottom: var(--s-2); font-size: var(--fs-md); }
.step p { font-size: var(--fs-sm); color: var(--ink-3); }

.section--ink .step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--ink .step:hover { border-color: rgba(215, 252, 111, .45); box-shadow: none; }
.section--ink .step::before { color: var(--lime); }
.section--ink .step p { color: rgba(255, 255, 255, .70); }

@media (max-width: 920px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   16. Pricing
   -------------------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); align-items: start; }
.plan {
    position: relative;
    display: flex; flex-direction: column;
    padding: var(--s-8) var(--s-6);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.plan:hover { box-shadow: var(--sh-md); }
.plan--featured { border: 2px solid var(--brand); box-shadow: var(--sh-lg); }
.plan__flag {
    position: absolute; top: -11px; left: var(--s-6);
    padding: 4px 12px;
    background: var(--lime);
    border-radius: var(--r-xs);
    font-family: var(--mono); font-size: .625rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--lime-ink); white-space: nowrap;
}
.plan__audience {
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3);
}
.plan__name { margin-top: var(--s-2); font-size: var(--fs-lg); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: var(--s-5) 0 var(--s-1); }
.plan__amount { font-size: clamp(2.25rem, 3.4vw, 2.75rem); font-weight: 700; color: var(--ink); line-height: 1; }
.plan__unit { font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-3); }
.plan__desc { margin-bottom: var(--s-6); font-size: var(--fs-sm); color: var(--ink-3); }
.plan__features {
    display: grid; gap: var(--s-3);
    margin-bottom: var(--s-8); padding-top: var(--s-6);
    border-top: 1px dashed var(--rule);
}
.plan__features li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); }
.plan__features .icon { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand-600); stroke-width: 2.8; }
.plan--featured .plan__features .icon { color: var(--lime-700); }
.plan__cta { margin-top: auto; }

@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* --------------------------------------------------------------------------
   17. Testimonials
   -------------------------------------------------------------------------- */
.quote {
    display: flex; flex-direction: column;
    padding: var(--s-6);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
}
.quote:hover { border-color: var(--brand-200); box-shadow: var(--sh-md); transform: translateY(-3px); }
.quote__stars { display: flex; gap: 2px; margin-bottom: var(--s-4); }
.quote__stars .icon { width: 15px; height: 15px; color: var(--lime-700); fill: var(--lime); stroke-width: 1.2; }
.quote__text { flex: 1; margin-bottom: var(--s-6); font-size: var(--fs-sm); color: var(--ink-2); }
.quote__person { display: flex; align-items: center; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--rule-soft); }
.quote__avatar {
    display: grid; place-items: center;
    width: 40px; height: 40px; flex: none;
    border-radius: var(--r-sm);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-700);
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 700;
}
.quote__person b { display: block; font-size: var(--fs-sm); color: var(--ink); }
.quote__person span { font-family: var(--mono); font-size: .6875rem; color: var(--ink-3); }

.section--ink .quote { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--ink .quote:hover { border-color: rgba(215, 252, 111, .45); box-shadow: none; }
.section--ink .quote__text { color: rgba(255, 255, 255, .82); }
.section--ink .quote__person { border-top-color: rgba(255, 255, 255, .12); }
.section--ink .quote__person span { color: rgba(255, 255, 255, .55); }
.section--ink .quote__avatar { background: rgba(215, 252, 111, .12); border-color: rgba(215, 252, 111, .3); color: var(--lime); }
.section--ink .quote__stars .icon { color: var(--lime); fill: var(--lime); }

/* --------------------------------------------------------------------------
   18. Accordion
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: var(--s-2); }
.acc {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.acc.is-open { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.acc__q {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-4); width: 100%; min-height: 44px;
    padding: var(--s-5);
    text-align: left; font-size: var(--fs-md); font-weight: 650;
    color: var(--ink);
}
.acc__q:hover { color: var(--brand-700); }
.acc__sign {
    display: grid; place-items: center;
    width: 28px; height: 28px; flex: none;
    border-radius: var(--r-xs);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    color: var(--brand-600);
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.acc__sign .icon { width: 16px; height: 16px; }
.acc.is-open .acc__sign { background: var(--brand); border-color: var(--brand); color: #fff; transform: rotate(180deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 var(--s-5) var(--s-5); font-size: var(--fs-sm); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   19. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(600px 320px at 90% 10%, rgba(215, 252, 111, .26), transparent 62%),
        linear-gradient(125deg, var(--brand-800) 0%, var(--brand-600) 55%, var(--brand) 100%);
    border-radius: var(--r-xl);
    color: rgba(255, 255, 255, .86);
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}
.cta-band::after {
    content: '';
    position: absolute; right: -80px; bottom: -110px;
    width: 320px; height: 320px;
    border: 42px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none;
}
.cta-band__inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-8); flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: var(--s-3); color: #fff; font-size: var(--fs-3xl); }
.cta-band p { max-width: 56ch; font-size: var(--fs-md); }

@media (max-width: 860px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* --------------------------------------------------------------------------
   20. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding-block: clamp(2.5rem, 5vw, 4.25rem) clamp(3rem, 5vw, 4.75rem);
    background:
        radial-gradient(700px 360px at 92% -20%, rgba(60, 111, 244, .14), transparent 60%),
        radial-gradient(520px 300px at 2% 110%, rgba(215, 252, 111, .26), transparent 60%),
        var(--paper-3);
    border-bottom: 1px solid var(--rule-soft);
    overflow: hidden;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__inner { max-width: 840px; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero h1 { margin-bottom: var(--s-4); font-size: var(--fs-4xl); }
.page-hero__lead { font-size: var(--fs-lg); color: var(--ink-3); max-width: 62ch; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero .eyebrow { margin-bottom: var(--s-5); }
.page-hero .btn-row { margin-top: var(--s-8); }

.crumbs { margin-bottom: var(--s-5); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-family: var(--mono); font-size: var(--fs-xs); }
.crumbs li { display: flex; align-items: center; gap: var(--s-2); color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: '/'; color: var(--rule); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--brand-600); }
.crumbs [aria-current] { color: var(--ink); }

/* --------------------------------------------------------------------------
   21. Prose
   -------------------------------------------------------------------------- */
.prose { max-width: 72ch; font-size: var(--fs-md); color: var(--ink-2); }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { margin-top: var(--s-12); font-size: var(--fs-2xl); }
.prose h3 { margin-top: var(--s-10); font-size: var(--fs-xl); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s-4); }
.prose ul, .prose ol { display: grid; gap: var(--s-3); padding-left: var(--s-6); }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose li::marker { color: var(--brand); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
    padding: var(--s-5) var(--s-6);
    background: var(--brand-50);
    border-left: 3px solid var(--brand);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: var(--s-3) var(--s-4); border: 1px solid var(--rule); text-align: left; }
.prose th {
    background: var(--paper-2); color: var(--ink);
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    text-transform: uppercase; letter-spacing: .04em;
}
.prose code {
    padding: 2px 6px;
    background: var(--paper-2); border: 1px solid var(--rule);
    border-radius: var(--r-xs);
    font-family: var(--mono); font-size: .875em; color: var(--brand-700);
}
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: var(--s-10); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   22. Spec table
   -------------------------------------------------------------------------- */
.spec { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; }
.spec__row {
    display: grid; grid-template-columns: 220px 1fr; gap: var(--s-4);
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--rule-soft);
}
.spec__row:last-child { border-bottom: 0; }
.spec__row:nth-child(odd) { background: var(--paper-3); }
.spec__row dt {
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3);
}
.spec__row dd { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
@media (max-width: 620px) { .spec__row { grid-template-columns: 1fr; gap: var(--s-1); } }

/* --------------------------------------------------------------------------
   23. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s-5); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: var(--s-2); }
.field__label {
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
}
.field__req { color: var(--bad); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-3); }

.input, .textarea, .select {
    width: 100%; min-height: 48px;
    padding: .8125rem var(--s-4);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    color: var(--ink);
    transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--brand-200); }
.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(60, 111, 244, .16);
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.select {
    appearance: none; padding-right: var(--s-10);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23646B7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right var(--s-4) center;
}

.field.has-error .input, .field.has-error .textarea, .field.has-error .select {
    border-color: var(--bad); background: var(--bad-bg);
}
.field__error { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--bad); }

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

.alert {
    display: flex; align-items: flex-start; gap: var(--s-3);
    padding: var(--s-4) var(--s-5);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
}
.alert .icon { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert--error { background: var(--bad-bg); border: 1px solid #F5C2C2; color: #8A1F1F; }
.alert--success { background: var(--ok-bg); border: 1px solid #B7E9CD; color: #04663C; }
.alert__list { margin-top: var(--s-2); display: grid; gap: 4px; }
.alert__list li { list-style: disc; margin-left: var(--s-4); }

.form__consent { font-size: var(--fs-xs); color: var(--ink-3); }

.contact-cards { display: grid; gap: var(--s-3); }
.contact-card {
    display: flex; align-items: flex-start; gap: var(--s-4);
    padding: var(--s-5);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.contact-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.contact-card__icon {
    display: grid; place-items: center;
    width: 44px; height: 44px; flex: none;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-sm);
    color: var(--brand-600);
}
.contact-card h3 {
    margin-bottom: 5px;
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.contact-card a, .contact-card address {
    font-size: var(--fs-md); font-weight: 650; color: var(--ink);
    font-style: normal; line-height: 1.45;
}
.contact-card a:hover { color: var(--brand-600); }
.contact-card small { display: block; margin-top: 5px; font-size: var(--fs-xs); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   24. Coverage table
   -------------------------------------------------------------------------- */
.region + .region { margin-top: var(--s-12); }
.region__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: var(--s-4); margin-bottom: var(--s-5);
    padding-bottom: var(--s-3);
    border-bottom: 2px solid var(--rule);
}
.region__head h2 { font-size: var(--fs-xl); }
.region__count { font-size: var(--fs-xs); color: var(--ink-3); }

.cov-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.cov-table th, .cov-table td { padding: var(--s-3) var(--s-4); text-align: left; border-bottom: 1px solid var(--rule-soft); }
.cov-table th {
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.cov-table tbody tr { transition: background var(--t-fast) var(--ease); }
.cov-table tbody tr:hover { background: var(--brand-50); }
.cov-table td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
.cov-table td:nth-child(2) { font-family: var(--mono); color: var(--ink-3); }
.cov-flag { margin-right: var(--s-2); font-size: 1.1em; }
.tick { color: var(--ok); }
.cross { color: var(--rule); }
.tick .icon { width: 17px; height: 17px; stroke-width: 2.8; }

/* --------------------------------------------------------------------------
   25. Blog
   -------------------------------------------------------------------------- */
.post-card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
}
.post-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.post-card__top {
    position: relative;
    display: grid; place-items: center;
    height: 128px;
    background: linear-gradient(135deg, var(--brand-700), var(--brand));
    color: rgba(255, 255, 255, .28);
    border-bottom: 1px solid var(--rule);
}
.post-card__top::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 20px 20px;
}
.post-card__top .icon { width: 46px; height: 46px; position: relative; }
.post-card__cat {
    position: absolute; top: var(--s-4); left: var(--s-4); z-index: 1;
    padding: 4px 10px;
    background: var(--lime);
    border-radius: var(--r-xs);
    font-family: var(--mono); font-size: .625rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--lime-ink);
}
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-5); }
.post-card h3 { margin-bottom: var(--s-3); font-size: var(--fs-md); }
.post-card h3 a { color: inherit; }
.post-card h3 a::after { content: ''; position: absolute; inset: 0; }
.post-card:hover h3 a { color: var(--brand-700); }
.post-card p { flex: 1; margin-bottom: var(--s-5); font-size: var(--fs-sm); color: var(--ink-3); }
.post-card__meta {
    display: flex; align-items: center; gap: var(--s-3);
    padding-top: var(--s-4);
    border-top: 1px solid var(--rule-soft);
    font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-3);
}
.post-card__meta .icon { width: 13px; height: 13px; }

.article__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5);
    margin-top: var(--s-5);
    font-family: var(--mono); font-size: var(--fs-xs); color: var(--ink-3);
}
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta .icon { width: 15px; height: 15px; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: var(--s-4); }
.sidebar__card { padding: var(--s-5); background: var(--paper-3); border: 1px solid var(--rule); border-radius: var(--r-md); }
.sidebar__card h3 { margin-bottom: var(--s-4); font-size: var(--fs-md); }
.sidebar__links { display: grid; gap: var(--s-2); }
.sidebar__links a { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.sidebar__links a:hover { color: var(--brand-600); }
.sidebar__links .icon { width: 15px; height: 15px; color: var(--brand); flex: none; }
@media (max-width: 920px) { .article-layout { grid-template-columns: 1fr; } .sidebar { position: static; } }

.pagination { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-12); }
.pagination .page-item .page-link {
    display: grid; place-items: center;
    min-width: 44px; height: 44px; padding-inline: var(--s-3);
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    font-family: var(--mono); font-size: var(--fs-sm);
    color: var(--ink-2);
}
.pagination .page-item.active .page-link { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pagination .page-item.disabled .page-link { opacity: .45; pointer-events: none; }
.pagination .page-link:hover { border-color: var(--brand); color: var(--brand-700); }

/* --------------------------------------------------------------------------
   26. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-ink); color: rgba(255, 255, 255, .68); }
.footer__grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr;
    gap: clamp(2rem, 3vw, 3.5rem) var(--s-8);
    padding-block: clamp(3rem, 5vw, 4.5rem);
}
.brand--footer { margin-bottom: var(--s-5); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__name-x { color: var(--lime); }
.brand--footer .brand__tag { color: rgba(255, 255, 255, .5); }

.footer__blurb { margin-bottom: var(--s-6); font-size: var(--fs-sm); max-width: 42ch; }
.footer__contact { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }
.footer__contact li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); }
.footer__contact .icon { color: var(--lime); flex: none; margin-top: 3px; }
.footer__contact a, .footer__contact address { color: rgba(255, 255, 255, .78); font-style: normal; }
.footer__contact a:hover { color: var(--lime); }

.footer__social { display: flex; gap: var(--s-2); }
.footer__social a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-sm);
    color: rgba(255, 255, 255, .8);
    transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.footer__social a:hover { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }

.footer__heading {
    margin-bottom: var(--s-5);
    font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
    color: rgba(255, 255, 255, .5); letter-spacing: .1em; text-transform: uppercase;
}
.footer__links { display: grid; gap: var(--s-3); }
.footer__links a {
    font-size: var(--fs-sm); color: rgba(255, 255, 255, .68);
    transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.footer__links a:hover { color: var(--lime); padding-left: 4px; }

.footer__col--cta .btn { margin-bottom: var(--s-3); }
.footer__cta-text { margin-bottom: var(--s-5); font-size: var(--fs-sm); }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, .10); }
.footer__bar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-4); flex-wrap: wrap;
    padding-block: var(--s-5);
    font-family: var(--mono); font-size: var(--fs-xs); color: rgba(255, 255, 255, .55);
}
.footer__bar-links { display: flex; gap: var(--s-5); }
.footer__bar-links a { color: rgba(255, 255, 255, .55); }
.footer__bar-links a:hover { color: var(--lime); }

@media (max-width: 1060px) {
    .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__col--cta { grid-column: 1 / -1; max-width: 440px; }
}
@media (max-width: 640px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__bar-inner { flex-direction: column; text-align: center; }
}

/* --------------------------------------------------------------------------
   27. Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); }
.mt-8 { margin-top: var(--s-8); } .mt-12 { margin-top: var(--s-12); }
.mx-auto { margin-inline: auto; }
.muted { color: var(--ink-3); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   28. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 540ms var(--ease-out), transform 540ms var(--ease-out); }
.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 60ms; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 120ms; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 180ms; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 240ms; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 300ms; }
.js .reveal-stagger.is-in > *:nth-child(7) { transition-delay: 360ms; }
.js .reveal-stagger.is-in > *:nth-child(8) { transition-delay: 420ms; }

/* --------------------------------------------------------------------------
   29. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
    .console__wave i { height: 55% !important; }
    .ticker__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; gap: var(--s-4); }
    .ticker { mask-image: none; -webkit-mask-image: none; }
}

@media print {
    .topbar, .site-header, .site-footer, .cta-band, .nav-toggle, .ticker { display: none !important; }
    body { color: #000; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* --------------------------------------------------------------------------
   30. Blog cover images
   -------------------------------------------------------------------------- */
.post-card__top img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow) var(--ease-out);
}
.post-card:hover .post-card__top img { transform: scale(1.04); }

/* The category pill must sit above the artwork. */
.post-card__cat { z-index: 2; }

/* Covers are 1200x630 (1.905:1) — reserve that ratio so nothing shifts on load. */
.article__cover {
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--paper-2);
}
.article__cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   31. US coverage chips
   -------------------------------------------------------------------------- */
/* Replaces the old flag emoji — `iso2` now holds state codes, where
   regional-indicator maths would render the wrong country's flag. */
.cov-state {
    display: inline-block;
    min-width: 30px;
    margin-right: var(--s-3);
    padding: 2px 6px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-xs);
    font-family: var(--mono);
    font-size: .6875rem;
    font-weight: 700;
    text-align: center;
    color: var(--brand-700);
}

.ticker__code {
    padding: 2px 6px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: var(--r-xs);
    font-size: .6875rem;
    font-weight: 700;
    color: var(--brand-700);
}
