/* ==========================================================================
   ScopeLock marketing site
   1. Fonts and tokens  2. Base  3. Layout  4. Buttons and links
   5. Header and footer 6. Home page  7. How it works  8. Shared components
   9. Utilities and motion
   ========================================================================== */

/* 1. Fonts and tokens ------------------------------------------------------ */
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Sans Condensed";
    src: url("../fonts/ibm-plex-sans-condensed-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    /* "Site ledger": ink navy on warm paper, hi-vis amber for the one main action. */
    --ink: #0f1b2d;
    --ink-soft: #2a374c;
    --muted: #42506a;
    --paper: #f6f5f1;
    --white: #ffffff;
    --line: #e2e4e9;
    --line-strong: #d3d7de;
    --field: #a9b0bc;
    --amber: #f2a900;
    --amber-ink: #6b4e00;
    --amber-wash: #fdf3d6;
    --green: #1e7a46;
    --green-ink: #1e5a36;
    --green-wash: #e3f2e8;
    --grey-wash: #e6e8ec;
    --navy-line: #2b3a52;
    --on-navy-muted: #c5cdd9;

    --font-display: "IBM Plex Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

    --step-title: clamp(2rem, 1.4rem + 2.6vw, 3rem);
    --step-hero: clamp(2.75rem, 1.6rem + 5vw, 4.75rem);
    --space-section: clamp(4rem, 3rem + 4vw, 6rem);

    --container: 75rem;
    --gutter: clamp(1rem, 0.5rem + 2vw, 1.5rem);
    --radius: 12px;
    --radius-l: 16px;
    --shadow: 0 24px 48px -24px rgb(15 27 45 / 0.35);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 5.5rem;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.2; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
img, svg { display: block; max-width: 100%; }

a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--muted); }

/* Navy ring on light backgrounds; amber on the dark bands (section 8). */
:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

main:focus { outline: none; }

.num { font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.is-strong { font-weight: 600; }
.is-waiting { color: var(--amber-ink); }

/* 3. Layout ---------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow { max-width: 54rem; }

.section { padding-block: var(--space-section); }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--navy { background: var(--ink); color: var(--paper); }

.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 1rem 2.5rem;
}

.section-intro { max-width: 47.5rem; }

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--step-title);
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.section-title--wide { max-width: 47.5rem; }

.eyebrow {
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-ink);
}

.lead { margin-top: 1.25rem; color: var(--ink-soft); max-width: 40em; }
.lead--on-dark { color: var(--on-navy-muted); }

.fine-print { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); }

.split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem 4.5rem;
}

.split--top { align-items: flex-start; }
.split--reverse { flex-wrap: wrap-reverse; }
.split > * { min-width: 0; }
.split__intro { flex: 1 1 24rem; }
.split__intro--narrow { flex-basis: 18rem; }
.split__media { flex: 1 1 26rem; display: flex; justify-content: center; }

/* 4. Buttons and links ----------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border: 1.5px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--small { font-size: 0.9375rem; padding-inline: 1.1rem; border-radius: 10px; }
.btn--large { min-height: 3.25rem; padding-inline: 1.5rem; }

.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: #ffbf2e; color: var(--ink); }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--outline-light { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }

/* Store not live yet: looks like the button it will become, but isn't a link. */
.btn--static { cursor: default; }
.btn--static.btn--primary:hover { background: var(--amber); }
.btn--static.btn--outline:hover { background: transparent; color: var(--ink); }
.btn--static.btn--outline-light:hover { background: transparent; color: var(--paper); }

.store-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.text-link {
    display: inline-block;
    padding: 0.5rem 0 0.15rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--amber);
}

.text-link:hover { color: var(--ink); border-color: var(--ink); }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
}

.skip-link:focus { top: 1rem; color: var(--white); }

/* 5. Header and footer ----------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    min-height: 4.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 2.75rem;
    color: var(--ink);
    text-decoration: none;
}

.brand:hover { color: var(--ink); }

.brand__mark {
    display: grid;
    place-items: center;
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 8px;
    background: var(--ink);
    color: var(--amber);
}

.brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.375rem;
    letter-spacing: -0.01em;
}

/* Shown by site.js (which removes [hidden]) on small screens only. */
.nav-toggle:not([hidden]) { display: inline-flex; }

.nav-toggle {
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.5rem;
}

.primary-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    list-style: none;
    font-size: 0.9375rem;
    font-weight: 500;
}

.primary-nav__list a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.primary-nav__list a:hover { color: var(--ink); border-color: var(--line-strong); }
.primary-nav__list a[aria-current="page"] { border-color: var(--amber); }

/* With script, small screens get a menu button; without it the links simply wrap. */
@media (max-width: 59.99rem) {
    .js .primary-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.5rem 0 1.25rem;
    }
    .js .primary-nav.is-open { display: flex; }
    .js .primary-nav__list { flex-direction: column; font-size: 1.0625rem; }
    .js .primary-nav__list li + li { border-top: 1px solid var(--line); }
}

@media (min-width: 60rem) {
    .nav-toggle { display: none !important; }
}

.site-footer { padding-block: 2.5rem 3rem; font-size: 0.875rem; color: var(--muted); }

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.site-footer__address { margin-top: 0.25rem; }

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    list-style: none;
}

.site-footer__links a { display: inline-block; padding-block: 0.4rem; color: var(--muted); }
.site-footer__links a:hover { color: var(--ink); }

/* 6. Home page ------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) clamp(4rem, 3rem + 4vw, 5.5rem); }

.hero__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3.5rem;
}

.hero__text { flex: 1 1 28rem; min-width: 0; }
.hero__visual { flex: 1 1 24rem; min-width: 0; position: relative; display: flex; justify-content: center; padding-bottom: 2.5rem; }

.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--step-hero);
    line-height: 1;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.hero__lead { margin-top: 1.5rem; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); color: var(--ink-soft); max-width: 34em; }
.hero__actions { margin-top: 2rem; }
.hero__note { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }

.phone {
    width: 21.25rem;
    max-width: 100%;
    padding: 0.75rem;
    border-radius: 2.5rem;
    background: var(--ink);
    box-shadow: 0 30px 60px -20px rgb(15 27 45 / 0.45);
}

.phone__screen {
    padding: 1.375rem 1rem 1.125rem;
    border-radius: 1.875rem;
    background: var(--paper);
    font-size: 0.8125rem;
    overflow: hidden;
}

.phone__title { text-align: center; font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.875rem; }

.money-card {
    padding: 0.875rem;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
}

.money-card__head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); }

.money-card__rows {
    margin-top: 0.625rem;
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 0.3rem;
}

.money-card__rows dt { color: var(--muted); }
.money-card__rows dt.is-waiting { color: var(--amber-ink); }
.money-card__rows dd { font-family: var(--font-mono); font-weight: 500; }

.money-card__total {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 600;
}

.money-card__total span:last-child { font-family: var(--font-mono); font-size: 1.1875rem; }

.mini-timeline { margin-top: 0.875rem; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.mini-timeline li { display: flex; gap: 0.625rem; }
.mini-timeline li > span:last-child { flex: 1; min-width: 0; }
.mini-timeline__row { display: flex; justify-content: space-between; gap: 0.4rem; font-weight: 600; }
.mini-timeline__meta { display: block; font-size: 0.72rem; color: var(--muted); }
.mini-timeline__meta.is-waiting { color: var(--amber-ink); }

.dot { flex: none; width: 0.7rem; height: 0.7rem; margin-top: 0.25rem; border-radius: 50%; }
.dot--approved { background: var(--green); }
.dot--waiting { background: var(--white); border: 2px solid #c98c00; }

.phone__actions { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; font-weight: 600; }
.phone__actions span { display: grid; place-items: center; height: 2.5rem; border-radius: 10px; border: 1px solid var(--ink); }
.phone__actions span:last-child { background: var(--amber); border-color: var(--amber); }

.approval-toast {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 15.5rem;
    max-width: 70%;
    padding: 0.875rem 1rem;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 16px 32px -14px rgb(15 27 45 / 0.35);
    font-size: 0.8rem;
    color: var(--muted);
}

/* Too little room on phones to overlap the mock-up without hiding its buttons. */
@media (max-width: 47.99rem) {
    .hero__visual { flex-direction: column; align-items: center; padding-bottom: 0; }
    .approval-toast { position: static; width: 100%; max-width: 21.25rem; margin-top: 1rem; }
}

.approval-toast__title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--green-ink); }
.approval-toast .tick { width: 18px; height: 18px; color: var(--green); }

.status {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status--approved { background: var(--green-wash); color: var(--green-ink); }
.status--waiting { background: var(--amber-wash); color: var(--amber-ink); }
.status--info { background: var(--grey-wash); color: var(--ink-soft); }

.problem-list { flex: 1 1 30rem; list-style: none; display: flex; flex-direction: column; }

.problem-list li {
    display: flex;
    gap: 1.25rem;
    align-items: baseline;
    padding-block: 1.25rem;
    border-top: 1px solid var(--navy-line);
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    font-weight: 500;
}

.problem-list li:last-child { border-bottom: 1px solid var(--navy-line); }

.problem-list__who {
    flex: none;
    width: 5.5rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    text-transform: uppercase;
    color: var(--amber);
}

.steps {
    margin-top: 3rem;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    border-top: 2px solid var(--ink);
}

.step { padding: 1.75rem 1.5rem 1.75rem 0; }
.step h3 { margin: 0.6rem 0 0.5rem; font-size: 1.3125rem; }
.step p { color: var(--muted); font-size: 1rem; }
.step__number { font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem; color: var(--amber-ink); }

@media (min-width: 48rem) {
    .step + .step { padding-left: 1.5rem; border-left: 1px solid var(--line-strong); }
}

@media (max-width: 47.99rem) {
    .step + .step { border-top: 1px solid var(--line-strong); }
}

.approval-page {
    width: 100%;
    max-width: 28.75rem;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: var(--shadow);
    font-size: 0.875rem;
}

.approval-page__head { display: flex; align-items: center; gap: 0.625rem; padding: 0.875rem 1.25rem; border-bottom: 1px solid var(--line); }
.approval-page__logo { display: grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 6px; background: #2e4a3a; color: var(--white); font-size: 0.8125rem; font-weight: 700; }
.approval-page__business { font-weight: 600; font-size: 0.9375rem; }
.approval-page__ref { margin-left: auto; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); text-transform: uppercase; }
.approval-page__body { padding: 1.25rem; }
.approval-page__intro { font-size: 0.8125rem; color: var(--muted); }
.approval-page__title { margin-top: 0.375rem; font-size: 1.25rem; font-weight: 600; }
.approval-page__rows { margin-top: 0.875rem; display: grid; grid-template-columns: 1fr auto; row-gap: 0.375rem; }
.approval-page__rows dt { color: var(--muted); }
.approval-page__rows dt.is-strong { color: var(--ink); }
.approval-page__label { margin-top: 1rem; font-size: 0.8125rem; font-weight: 600; }
.approval-page__input { margin-top: 0.375rem; display: flex; align-items: center; height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--field); border-radius: 8px; font-size: 0.9375rem; }
.approval-page__agree { margin-top: 0.625rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; }
.approval-page__box { display: grid; place-items: center; width: 1.125rem; height: 1.125rem; border-radius: 4px; background: var(--ink); color: var(--white); }
.approval-page__box .tick { width: 12px; height: 12px; }
.approval-page__buttons { margin-top: 0.875rem; display: grid; grid-template-columns: 2fr 1fr; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem; }
.approval-page__buttons span { display: grid; place-items: center; height: 2.875rem; border-radius: 10px; border: 1px solid var(--field); }
.approval-page__buttons span:first-child { background: var(--ink); border-color: var(--ink); color: var(--white); }
.approval-page__foot { padding: 0.625rem 1.25rem; background: var(--paper); font-size: 0.75rem; color: var(--muted); }

.check-list { margin-top: 1.5rem; list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; }
.check-list .tick { flex: none; margin-top: 0.125rem; color: var(--green); }

.point-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
    gap: 2.5rem 3.5rem;
}

.point-grid h3 { margin-bottom: 0.5rem; }
.point-grid p { color: var(--muted); font-size: 1rem; }

.calc {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
}

.calc__inputs {
    flex: 1 1 20rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem;
    border-radius: var(--radius-l);
    background: var(--white);
    border: 1px solid var(--line);
}

.calc__detail { flex: 2 1 32rem; min-width: 0; }

.stepper__label { font-weight: 600; }
.stepper__row { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.75rem; }

.stepper__button {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    border: 1px solid var(--field);
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 1.375rem;
    line-height: 1;
    cursor: pointer;
}

.stepper__button:hover { border-color: var(--ink); }
.stepper__button:disabled { opacity: 0.4; cursor: not-allowed; }

.stepper__value {
    min-width: 4rem;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.625rem;
}

.calc__result {
    margin-top: auto;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    font-size: 0.9375rem;
}

.calc__result-label { color: var(--on-navy-muted); font-size: 0.875rem; }
.calc__result-value { margin-block: 0.15rem 0.4rem; font-family: var(--font-mono); font-weight: 600; font-size: 2.75rem; line-height: 1.1; color: var(--amber); }

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-l);
    border: 1px solid var(--line);
    background: var(--white);
}

.table-wrap--spaced { margin-top: 2.25rem; }

.calc-table, .data-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.calc-table { min-width: 32rem; }
.data-table { min-width: 47.5rem; }

.calc-table caption { padding: 1.125rem 1.25rem 0.375rem; text-align: left; font-weight: 600; }
.calc-table th, .calc-table td, .data-table th, .data-table td { padding: 0.875rem 0.75rem; text-align: left; vertical-align: top; }
.calc-table tr > :first-child, .data-table tr > :first-child { padding-left: 1.25rem; }
.calc-table tr > :last-child, .data-table tr > :last-child { padding-right: 1.25rem; }
.calc-table thead th, .data-table thead th { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.data-table thead th { background: var(--paper); }
.calc-table tbody tr, .data-table tbody tr { border-top: 1px solid var(--line); }
.calc-table tbody th { font-weight: 500; }
.calc-table tfoot tr { border-top: 2px solid var(--ink); font-weight: 600; }
.calc-table td.num, .calc-table th.num, .data-table .num { text-align: right; white-space: nowrap; }
.data-table td.num:first-child { text-align: left; }
.calc-table__task { display: block; }
.calc-table__how { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--muted); }
.calc-table__saved { color: var(--green-ink); font-weight: 600; }

.feature-list {
    flex: 2 1 35rem;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr));
    column-gap: 3rem;
}

.feature-list--wide { margin-top: 2.25rem; }
.feature-list > div { padding-block: 1.125rem; border-top: 1px solid var(--line-strong); }
.feature-list dt { font-weight: 600; }
.feature-list dd { margin-top: 0.25rem; color: var(--muted); font-size: 1rem; }

.audience {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
    gap: 2rem;
}

.audience > div { padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.audience h3 { margin-bottom: 0.5rem; }
.audience p { color: var(--muted); font-size: 1rem; }

.price-cards {
    margin-top: 2.5rem;
    max-width: 51rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
    gap: 1.5rem;
}

.price-card { padding: 1.75rem; border-radius: var(--radius-l); border: 1px solid var(--line-strong); }
.price-card--strong { border: 2px solid var(--ink); }
.price-card h3 { font-size: 1.0625rem; }
.price-card__price { margin-top: 0.5rem; font-family: var(--font-mono); font-weight: 600; font-size: 2.5rem; }
.price-card__price span { font-size: 1rem; font-weight: 500; color: var(--muted); }

.pricing-soon {
    margin-top: 2rem;
    display: inline-block;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--amber-wash);
    color: var(--amber-ink);
    font-weight: 600;
}

.faq { margin-top: 2rem; }
.faq details { padding-block: 1.125rem; border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }

.faq summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    min-height: 2rem;
    font-size: 1.1875rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-size: 1.25rem; color: var(--amber-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.625rem; color: var(--muted); }

.cta-band { background: var(--ink); color: var(--paper); padding-block: clamp(4rem, 3rem + 3vw, 5.5rem); }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band__title { max-width: 40rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.125rem, 1.5rem + 2.5vw, 3.5rem); line-height: 1.02; text-wrap: balance; }
.cta-band .lead { margin-top: 1rem; }

/* 7. How it works ---------------------------------------------------------- */
.page-intro { padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) 3.5rem; }
.page-intro--status { padding-bottom: var(--space-section); }
.page-intro--status .btn { margin: 1.75rem 1.25rem 0 0; }

.page-intro__title {
    max-width: 56rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.page-intro__lead { margin-top: 1.5rem; max-width: 46em; font-size: 1.1875rem; color: var(--ink-soft); }

.stage-nav ol { margin-top: 2.25rem; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.stage-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--field);
    font-size: 0.875rem;
    text-decoration: none;
}

.stage-nav a:hover { border-color: var(--ink); color: var(--ink); }
.stage-nav .num { color: var(--amber-ink); }

.stages { padding-bottom: 2.5rem; }

.stage {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3.5rem;
    padding-block: 3rem;
    border-top: 2px solid var(--ink);
}

.stage__summary { flex: 1 1 16rem; min-width: 0; }
.stage__summary > p { color: var(--muted); font-size: 1rem; }
.stage__number { font-family: var(--font-mono); font-weight: 600; font-size: 0.9375rem; text-transform: uppercase; color: var(--amber-ink); }
.stage__title { margin-block: 0.5rem 0.75rem; font-family: var(--font-display); font-weight: 700; font-size: 2.125rem; line-height: 1.08; }

.stage__time {
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    font-size: 0.9375rem;
}

.stage__time dl { margin-top: 0.375rem; display: grid; grid-template-columns: 1fr auto; row-gap: 0.25rem; }
.stage__time-head, .stage__time-note { font-size: 0.8125rem; color: var(--muted); }
.stage__time-note { margin-top: 0.375rem; }

.stage__columns {
    flex: 3 1 37.5rem;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
    gap: 1.5rem;
}

.stage__column {
    padding: 1.25rem;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--line);
}

.stage__column h3 {
    margin-bottom: 0.625rem;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.stage__column ul { padding-left: 1.125rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.97rem; }
.stage__column--record { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.stage__column--record h3 { color: var(--amber); }

.sum-card { flex: 1 1 26rem; min-width: 0; padding: 1.75rem; border-radius: var(--radius-l); background: var(--ink); color: var(--paper); }
.sum-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.sum-table th, .sum-table td { padding: 0.4rem 0; text-align: left; font-weight: 400; }
.sum-table td { padding-left: 1.5rem; }
.sum-table .num { text-align: right; white-space: nowrap; }
.sum-table thead th { font-size: 0.8125rem; color: var(--on-navy-muted); }
.sum-table tfoot th, .sum-table tfoot td { padding-top: 0.75rem; border-top: 1px solid var(--navy-line); font-weight: 600; }
.sum-table__win { color: var(--amber); }

/* 8. Shared components ----------------------------------------------------- */
.section--navy :focus-visible, .cta-band :focus-visible, .calc__result :focus-visible, .sum-card :focus-visible { outline-color: var(--amber); }

/* 9. Utilities and motion -------------------------------------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

@media print {
    .site-header, .cta-band, .store-buttons, .stepper__button { display: none !important; }
    body { background: #fff; }
}
