/* =============================================================================
   Quofixa — Concept E
   Used by index.html, who-we-work-with.html and the privacy and terms
   pages. Self-contained: no Tailwind CDN or other stylesheet, so nothing
   compiles in the browser at load.

   Brand values (logo purple #6d28d9, checkmark green #10b981, wordmark navy
   #0d1b2a, paper neutrals) are defined here and nowhere else. Components
   only ever read the semantic tokens below; :root is the light theme and .dark
   (set on <html> before paint) is the dark one.

   Every text/background pair here was checked against WCAG 2.2 AA (4.5:1 body,
   3:1 large text and UI graphics) in both themes.
   ============================================================================= */

:root {
    color-scheme: light;

    --font-display: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Work Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Motion: one rhythm for the whole site. Exits run faster than entrances. */
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --dur-fast: 160ms;
    --dur: 320ms;
    --dur-slow: 700ms;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;

    /* Brand constants (same in both themes). */
    --brand-purple: #6d28d9;
    --brand-green: #10b981;
    --brand-navy: #0d1b2a;

    /* Light theme */
    --bg: #faf9fc;
    --surface: #ffffff;
    --surface-2: #f4f2f8;
    --line: #e9e6f1;
    --line-strong: #d9d4e6;
    --ink: #0d1b2a;
    --ink-2: #4a5566;
    --accent: #6d28d9;          /* purple text, icons, rings */
    --accent-soft: #ede9fe;
    --accent-ink: #5b21b6;      /* purple text on accent-soft */
    --btn: #6d28d9;
    --btn-hover: #5b21b6;
    --on-btn: #ffffff;
    --check: #059669;           /* green graphics: 3.8:1 on white */
    --check-text: #047857;      /* green text: 5.2:1 on bg */
    --check-soft: #ecfdf5;
    --focus: #6d28d9;
    /* The logo mark ("the Q") as a motif: full-strength and soft versions. */
    --q-ring: #6d28d9;
    --q-ring-soft: #e4dcfb;
    --q-check-soft: #b6f0d6;
    --qmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='112 40 800 800'%3E%3Ccircle cx='430' cy='425' r='255' fill='none' stroke='%236d28d9' stroke-width='92'/%3E%3Cpath d='M535 595L650 710L850 510' fill='none' stroke='%2310b981' stroke-width='92' stroke-linecap='square'/%3E%3C/svg%3E");
    --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06);
    --shadow: 0 1px 2px rgba(13, 27, 42, .05), 0 10px 28px -12px rgba(13, 27, 42, .16);
    --shadow-lg: 0 2px 4px rgba(13, 27, 42, .04), 0 30px 60px -24px rgba(46, 16, 101, .28);
}

.dark {
    color-scheme: dark;

    --bg: #070f18;
    --surface: #0f1d2e;
    --surface-2: #0b1622;
    --line: #1b2a3c;
    --line-strong: #2b3c51;
    --ink: #eef0f5;
    --ink-2: #a9b4c2;
    --accent: #a78bfa;
    --accent-soft: #1d1a3d;
    --accent-ink: #c4b5fd;
    --btn: #7c3aed;
    --btn-hover: #6d28d9;
    --on-btn: #ffffff;
    --check: #34d399;
    --check-text: #34d399;
    --check-soft: #0b2a24;
    --focus: #c4b5fd;
    --q-ring: #a78bfa;
    --q-ring-soft: #221c4a;
    --q-check-soft: #0f3b31;
    --qmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='112 40 800 800'%3E%3Ccircle cx='430' cy='425' r='255' fill='none' stroke='%23a78bfa' stroke-width='92'/%3E%3Cpath d='M535 595L650 710L850 510' fill='none' stroke='%2310b981' stroke-width='92' stroke-linecap='square'/%3E%3C/svg%3E");
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 60px -24px rgba(0, 0, 0, .75);
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--bg);
    /* Keeps anchored headings and keyboard focus clear of the pinned banner
       and nav. --top-h is their measured height, set by the script. */
    scroll-padding-top: calc(var(--top-h, 7.5rem) + 1rem);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex: none; }
::selection { background: var(--brand-green); color: #070f18; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
.on-color :focus-visible { outline-color: #ffffff; }
/* Light cards sitting inside a colour block go back to the theme's ring. */
.on-color .apply-card :focus-visible, .on-color .gate :focus-visible { outline-color: var(--focus); }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1rem; height: 1rem; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    padding: .75rem 1.1rem; border-radius: 999px;
    background: var(--btn); color: var(--on-btn); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Service-area notice above the nav. Pinned with it (see .site-top). */
.area-bar { background: var(--brand-purple); color: #ffffff; font-size: .875rem; line-height: 1.4; }
.dark .area-bar { background: #4c1d95; }
.area-bar .container { display: flex; align-items: center; justify-content: center; gap: .5rem; padding-block: .6rem; text-align: center; }
.area-bar .icon { width: 1rem; height: 1rem; color: #a7f3d0; }
.area-bar strong { font-weight: 600; }
@media (max-width: 479px) { .area-bar { font-size: .8125rem; } .area-bar .container { padding-block: .45rem; } }

/* =============================================================================
   Layout
   ============================================================================= */
.container {
    width: 100%;
    max-width: 76rem;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section--tint { background: var(--surface-2); }

/* Heading on the left, supporting paragraph on the right at desktop. */
.section-head { display: grid; gap: 1.25rem 4rem; align-items: end; }
@media (min-width: 1024px) {
    .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* =============================================================================
   Type
   ============================================================================= */
.h1, .h2, .h3, .statement, .wordmark {
    font-family: var(--font-display);
    text-wrap: balance;
}
.h1 {
    font-weight: 600;
    font-size: clamp(2.5rem, 3.4vw + 1rem, 3.85rem);
    line-height: 1.04;
    letter-spacing: -.038em;
}
.h2 {
    font-weight: 600;
    font-size: clamp(2.1rem, 2.8vw + 1.1rem, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.032em;
}
.h3 {
    font-weight: 600;
    font-size: clamp(1.3rem, .5vw + 1.15rem, 1.55rem);
    line-height: 1.18;
    letter-spacing: -.018em;
}
.statement {
    font-weight: 500;
    font-size: clamp(1.75rem, 2.2vw + 1rem, 2.85rem);
    line-height: 1.12;
    letter-spacing: -.028em;
    max-width: 22em;
}
.lede {
    font-size: clamp(1.125rem, .5vw + 1rem, 1.3125rem);
    line-height: 1.55;
    color: var(--ink-2);
    text-wrap: pretty;
    max-width: 36em;
}
.kicker {
    display: inline-flex; align-items: center; gap: .55rem;
    font-weight: 600; font-size: .9375rem; color: var(--accent);
}
.kicker::before {
    content: ""; width: 1.15em; height: 1.15em;
    background: var(--qmark) center / contain no-repeat;
}
/* Inline logo mark, e.g. beside "Through Quofixa". Decorative only. */
.qmark {
    display: inline-block; width: 1.15em; height: 1.15em; margin-right: .4em; vertical-align: -.22em;
    background: var(--qmark) center / contain no-repeat;
}
.muted { color: var(--ink-2); }
.accent { color: var(--accent); }
.small { font-size: .9375rem; }
.fine { font-size: .9375rem; color: var(--ink-2); max-width: 36em; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-thickness: 2.5px; }
.panel-copy .text-link { color: #c4b5fd; }

/* =============================================================================
   Buttons
   ============================================================================= */
.btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 3rem; padding: .7rem 1.4rem;
    border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
    transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease,
                color var(--dur-fast) ease, box-shadow var(--dur) var(--ease-out),
                transform var(--dur) var(--ease-out);
}
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--dur) var(--ease-spring); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: scale(.97); transition-duration: 90ms; }

.btn-primary { background: var(--btn); color: var(--on-btn); }
.btn-primary:hover { background: var(--btn-hover); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(109, 40, 217, .7); }
.btn-primary:active { transform: scale(.97); }

.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn-go { background: var(--brand-green); color: #070f18; }
.btn-go:hover { background: #34d399; transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(16, 185, 129, .8); }
.btn-go:active { transform: scale(.97); }

.btn-sm { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .9375rem; }

.icon-btn {
    display: inline-grid; place-items: center; flex: none;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    border: 1.5px solid var(--line-strong); color: var(--ink);
    transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, transform var(--dur) var(--ease-out);
}
.icon-btn:hover { border-color: var(--ink); background: var(--surface); }
.icon-btn:active { transform: scale(.94); }

/* =============================================================================
   Logo mark. The ring and the check draw themselves once on load.
   ============================================================================= */
.mark { width: 2rem; height: 2rem; }
.mark circle { stroke: var(--accent); }
.mark path { stroke: var(--brand-green); }
@media (prefers-reduced-motion: no-preference) {
    .js .mark-draw circle { stroke-dasharray: 1603; stroke-dashoffset: 1603; animation: draw 1s var(--ease-out) .15s forwards; }
    .js .mark-draw path { stroke-dasharray: 460; stroke-dashoffset: 460; animation: draw .55s var(--ease-out) .85s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.wordmark { font-weight: 700; font-size: 1.125rem; letter-spacing: .09em; color: var(--ink); }

/* The Q as artwork: large, faint, drawn in once when it scrolls into view
   ([data-draw] gets .is-in from the reveal observer). The ring starts where
   the check leaves it, so the whole mark reads as one pen stroke. */
.q-art { position: absolute; z-index: 0; pointer-events: none; overflow: visible; }
.q-art circle, .q-art path { fill: none; stroke-width: var(--q-stroke, 56px); }
.q-art circle { stroke: var(--q-ring-c, var(--q-ring-soft)); transform: rotate(58deg); transform-box: fill-box; transform-origin: center; }
.q-art path { stroke: var(--q-check-c, var(--q-check-soft)); stroke-linecap: square; stroke-linejoin: miter; }
@media (prefers-reduced-motion: no-preference) {
    .js [data-draw] circle, .js [data-draw] path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
    .js [data-draw] circle { transition: stroke-dashoffset 1.6s var(--ease-out) .2s; }
    .js [data-draw] path { transition: stroke-dashoffset .7s var(--ease-out) 1.25s; }
    .js [data-draw].is-in circle, .js [data-draw].is-in path { stroke-dashoffset: 0; }
}
.has-art { position: relative; overflow: clip; }
.has-art > .container { position: relative; z-index: 1; }

/* Small solid Q (gate numbers, the bout's last node, path tags). */
.q-solid circle, .q-solid path { fill: none; stroke-width: 80px; }
.q-solid circle { stroke: var(--q-ring); transition: fill .35s ease; }
.q-solid path { stroke: var(--brand-green); stroke-linecap: square; stroke-linejoin: miter; }

/* =============================================================================
   Nav
   ============================================================================= */
/* Banner + nav pinned as one block, so they never overlap or drift apart. */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-nav {
    position: relative;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) ease, box-shadow var(--dur) ease, background-color var(--dur) ease;
}
.site-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; border-radius: 8px; }
.nav-links { position: relative; display: none; align-items: center; gap: .25rem; }
@media (min-width: 1200px) { .nav-links { display: flex; } }
.nav-link {
    position: relative; z-index: 1;
    display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem .9rem;
    border-radius: 999px;
    font-weight: 500; font-size: .9375rem; color: var(--ink-2); white-space: nowrap;
    transition: color var(--dur-fast) ease;
}
.nav-link:hover, .nav-link[aria-current] { color: var(--ink); }
/* Pill that slides behind the link for the section in view. */
.nav-indicator {
    position: absolute; left: 0; top: 50%; z-index: 0;
    height: 2.5rem; width: 0; margin-top: -1.25rem;
    border-radius: 999px; background: var(--accent-soft);
    opacity: 0;
    transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity var(--dur) ease;
}
.nav-indicator.is-on { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.menu-btn { display: inline-grid; }
@media (min-width: 1200px) { .menu-btn { display: none; } }
@media (max-width: 359px) { .nav-actions .btn-sm { display: none; } }

/* Theme toggle: the icons swap with a turn. */
.theme-icons { position: relative; width: 1.25rem; height: 1.25rem; }
.theme-icons .icon { position: absolute; inset: 0; transition: transform .5s var(--ease-spring), opacity var(--dur) ease; }
.theme-icons .i-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.dark .theme-icons .i-sun { opacity: 1; transform: none; }
.dark .theme-icons .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }

/* Mobile menu: drops down from the nav; hidden from AT and focus when closed. */
.menu-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .25s var(--ease-out), visibility 0s linear .25s;
}
.menu-panel.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .35s var(--ease-out), visibility 0s; }
.menu-panel nav { display: grid; padding-block: .5rem 1rem; }
.menu-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 3.25rem; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 1.0625rem; }
.menu-panel a:last-child { border-bottom: 0; }
@media (min-width: 1200px) { .menu-panel { display: none; } }

/* View-transition theme switch: the new theme grows out of the toggle. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* =============================================================================
   Reveal on scroll
   Hidden only when JS runs and motion is welcome; a failsafe in the script
   reveals everything if the observer never fires.
   ============================================================================= */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0; transform: translateY(18px);
        transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
        transition-delay: calc(var(--i, 0) * 70ms);
    }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Headline words rise into place. The readable text sits in .sr-only; the
   animated copy is aria-hidden (built by the script). */
.split .w { display: inline-block; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; vertical-align: top; }
.split .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
    .js .split .w > span {
        transform: translateY(105%);
        transition: transform .8s var(--ease-out);
        transition-delay: calc(var(--w, 0) * 45ms + 80ms);
    }
    .js .split.is-in .w > span { transform: none; }
}

/* Green bar under the hero's last word, square-capped like the logo check. */
.underline { position: relative; white-space: nowrap; }
.underline::after {
    content: ""; position: absolute; left: .02em; right: .12em; bottom: -.02em; height: .1em;
    background: var(--brand-green); transform-origin: left center;
}
@media (prefers-reduced-motion: no-preference) {
    .js .underline::after { transform: scaleX(0); transition: transform .7s var(--ease-out) .85s; }
    .js .is-in .underline::after { transform: none; }
}

/* =============================================================================
   Hero
   ============================================================================= */
/* clip keeps the oversized Q from widening the page or spilling into the next section. */
.hero { position: relative; overflow: clip; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; gap: 5.5rem; align-items: center; }
/* The copy always paints above the Q, so the mark can never cover a button. */
.hero-grid > :first-child { position: relative; z-index: 2; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; } }
.hero .h1 { margin-top: 1.25rem; }
.hero .h1 .accent { display: block; color: var(--accent); }
.hero .lede { margin-top: 1.5rem; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.assurances { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .9375rem; color: var(--ink-2); }
.assurances li { display: inline-flex; align-items: center; gap: .45rem; }
.assurances .icon { width: 1.05rem; height: 1.05rem; color: var(--check); stroke-width: 2.5; }

/* The stage behind the demo: the full logo Q, large and faint. The ring sits
   around the card; the check breaks out past its lower right corner. The
   ring's centre is at 39.75% / 48.1% of the mark; the translate centres it on
   the card, nudged up so the whole check clears the bottom of the hero. */
.hero-stage { position: relative; width: 100%; max-width: 34rem; margin-inline: auto; }
.hero-stage > * { position: relative; z-index: 1; }
.hero-stage > .hero-q {
    position: absolute; z-index: 0; left: 50%; top: 50%; width: 157%; height: auto;
    transform: translate(-39.75%, -56%);
    --q-stroke: 48px;
}
/* Phones: the card fills the width, so the Q grows until its ring clears the
   card's top and bottom and the check shows under the lower right corner. */
@media (max-width: 639px) {
    .hero-stage > .hero-q { width: 190%; transform: translate(-41%, -54%); --q-stroke: 40px; }
}
.demo-note { margin-top: .9rem; font-size: .875rem; color: var(--ink-2); text-align: center; }

/* =============================================================================
   Lead feed (hero demo)
   ============================================================================= */
.feed {
    --row-h: 4rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 34rem; margin-inline: auto;
}
.feed-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem .6rem .6rem 1.25rem; border-bottom: 1px solid var(--line);
}
.feed-title { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .9375rem; }
.feed-title span { font-weight: 400; color: var(--ink-2); }
.live-dot { position: relative; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand-green); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand-green); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
    .feed.is-playing .live-dot::after { animation: ping 1.8s var(--ease-out) infinite; }
}
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.feed.is-paused .live-dot { background: var(--line-strong); }

.feed-toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    min-height: 2.75rem; padding: .4rem .9rem; border-radius: 999px;
    font-size: .875rem; font-weight: 600; color: var(--ink-2);
    transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.feed-toggle:hover { background: var(--surface-2); color: var(--ink); }
.feed-toggle .icon { width: .95rem; height: .95rem; }
.feed-toggle .i-play, .feed.is-paused .feed-toggle .i-pause { display: none; }
.feed.is-paused .feed-toggle .i-play { display: block; }
.feed.is-static .feed-toggle { display: none; }

.feed-list { position: relative; height: calc(var(--row-h) * 5); overflow: hidden; }
.lead {
    position: absolute; left: 0; right: 0; top: 0; height: var(--row-h);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem;
    padding: 0 1.25rem; border-bottom: 1px solid var(--line);
    background: var(--surface);
    transition: transform .55s var(--ease-out), opacity .3s ease, background-color .4s ease;
}
.lead-top { display: flex; align-items: baseline; gap: .55rem; white-space: nowrap; overflow: hidden; }
.lead-id { position: relative; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.lead-meta { font-size: .875rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.lead-status {
    display: flex; align-items: center; gap: .35rem; margin-top: .1rem;
    font-size: .8125rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lead-status .icon { width: .95rem; height: .95rem; stroke-width: 2.75; display: none; }
.lead-gates { display: flex; gap: .4rem; }
.lead-gates i {
    position: relative; width: .8rem; height: .8rem; border-radius: 50%;
    border: 2px solid var(--line-strong);
    transition: background-color .25s ease, border-color .25s ease, transform .35s var(--ease-spring);
}
.lead-gates i.is-checking { border-color: var(--accent); transform: scale(1.25); }
.lead-gates i.is-pass { border-color: var(--accent); background: var(--accent); }
.lead-gates i.is-fail { border-color: transparent; transform: scale(1.1); }
.lead-gates i.is-fail::before, .lead-gates i.is-fail::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; margin: -1px 0 0 -.4rem;
    background: var(--ink-2); border-radius: 2px; transform: rotate(45deg);
}
.lead-gates i.is-fail::after { transform: rotate(-45deg); }

/* Rejected: the ID is struck through, then the row slides out. */
.lead-id::after {
    content: ""; position: absolute; left: -2px; right: -2px; top: 55%; height: 2px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease-out);
}
.lead.is-rejected .lead-id::after { transform: scaleX(1); }
.lead.is-rejected .lead-id, .lead.is-rejected .lead-meta { color: var(--ink-2); }
.lead.is-leaving { opacity: 0; transition: transform .35s ease-in, opacity .3s ease-in; }

/* Passed: the row turns green and the check draws. */
.lead.is-passed { background: var(--check-soft); }
.lead.is-passed .lead-status { color: var(--check-text); font-weight: 600; }
.lead.is-passed .lead-status .icon { display: block; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .45s var(--ease-out) .1s forwards; }
.feed.is-static .lead.is-passed .lead-status .icon { animation: none; stroke-dashoffset: 0; }

.feed-foot { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; padding: .85rem 1.25rem; font-size: .875rem; color: var(--ink-2); }
.feed-foot b { display: inline-block; min-width: 2ch; margin-left: .3rem; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.feed-foot .pass b { color: var(--check-text); }
@media (prefers-reduced-motion: no-preference) { .feed-foot b.tick { animation: tick .4s var(--ease-spring); } }
@keyframes tick { 40% { transform: translateY(-3px) scale(1.12); } }

@media (max-width: 480px) {
    .feed { --row-h: 3.75rem; }
    .lead, .feed-foot { padding-inline: 1rem; }
    .feed-head { padding-left: 1rem; }
    .lead-gates { gap: .3rem; }
}

/* =============================================================================
   The difference: comparison table
   Table semantics are restated with ARIA roles because the mobile layout
   switches the cells to display:block.
   ============================================================================= */
.quote {
    font-family: var(--font-display); font-weight: 500;
    font-size: clamp(1.2rem, .6vw + 1rem, 1.45rem); line-height: 1.4; letter-spacing: -.01em;
    color: var(--ink-2);
    padding-left: 1.25rem; border-left: 3px solid var(--accent);
    text-wrap: pretty;
}
.compare { width: 100%; margin-top: clamp(2.5rem, 5vw, 4rem); border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1.25rem 1.5rem; }
.compare thead th { padding-block: 1rem; font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.compare thead th:first-child { padding-left: 0; }
.compare thead th.us { color: var(--accent-ink); }
.compare tbody th { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.012em; padding-left: 0; width: 32%; }
.compare tbody tr > * { border-top: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.compare td.them { color: var(--ink-2); }
.compare td.us { background: var(--surface); font-weight: 500; }
.compare td.us, .compare th.us { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare thead th.us { background: var(--surface); border-top: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.compare tbody tr:last-child td.us { border-radius: 0 0 var(--radius) var(--radius); }
.compare .cell { display: flex; gap: .75rem; align-items: flex-start; }
.compare .badge { display: inline-grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; margin-top: .05rem; }
.compare .badge .icon { width: .9rem; height: .9rem; stroke-width: 2.75; }
.compare .them .badge { background: var(--surface-2); color: var(--ink-2); }
.compare .us .badge { background: var(--check-soft); color: var(--check); }
.compare .cell-label { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .js .compare .us .badge { transform: scale(0); transition: transform .45s var(--ease-spring); transition-delay: calc(var(--i, 0) * 70ms + .35s); }
    .js .compare tr.is-in .us .badge { transform: none; }
}
@media (max-width: 767px) {
    .compare thead { display: none; }
    .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
    .compare tbody tr { padding: 1.5rem 0; border-top: 1px solid var(--line); }
    .compare tbody tr:last-child { border-bottom: 1px solid var(--line); }
    .compare tbody tr > * { border: 0 !important; padding: 0; }
    .compare tbody th { width: auto; margin-bottom: 1rem; }
    .compare td.them { margin-bottom: .75rem; }
    .compare td.us { padding: 1rem; border-radius: var(--radius-sm) !important; border: 1px solid var(--line) !important; }
    .compare .cell-label { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink-2); margin-bottom: .15rem; }
    .compare .us .cell-label { color: var(--accent-ink); }
}
.difference-close { margin-top: clamp(3rem, 6vw, 5rem); }

/* =============================================================================
   Colour blocks
   ============================================================================= */
.block-purple { background: var(--brand-purple); color: #ffffff; }
.dark .block-purple { background: #4c1d95; }
.block-purple .lede { color: #ede9fe; }
.block-purple .hl { color: #a7f3d0; }
.block-purple > .q-art {
    width: 44rem; right: -11rem; top: -13rem;
    --q-stroke: 56px; --q-ring-c: rgba(255, 255, 255, .07); --q-check-c: rgba(167, 243, 208, .16);
}
@media (max-width: 767px) { .block-purple > .q-art { width: 26rem; right: -12rem; top: -9rem; } }

/* =============================================================================
   The standard: four gates
   ============================================================================= */
.gates { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); counter-reset: gate; }
@media (min-width: 768px) { .gates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .gates { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.gate {
    position: relative;
    display: flex; flex-direction: column;
    padding: 1.5rem; border-radius: var(--radius);
    background: var(--surface); color: var(--ink);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 22px 44px -24px rgba(20, 6, 60, .6);
}
.gate .h3 { margin-top: .9rem; }
.gate p { margin-top: .5rem; color: var(--ink-2); font-size: 1rem; }
/* Each gate number sits in the logo ring; when the gate lights up, the check
   is written in and the number becomes the Q. */
.gate-num {
    position: relative; display: block; flex: none;
    width: 3.6rem; height: 3.6rem; margin: -.38rem 0 0 -.08rem;
    transition: transform .5s var(--ease-spring);
}
.gate-num svg { width: 100%; height: 100%; overflow: visible; }
.gate-num > span {
    position: absolute; left: 39.75%; top: 48.1%; transform: translate(-50%, -50%);
    font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1; color: var(--accent-ink);
}
.gate.is-active .gate-num circle { fill: var(--accent-soft); }
.rejects { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.25rem; }
.rejects li {
    position: relative;
    padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line-strong);
    font-size: .8125rem; color: var(--ink-2); line-height: 1.3;
}
.rejects li::after {
    content: ""; position: absolute; left: .55rem; right: .55rem; top: 52%; height: 1.5px;
    background: var(--ink); transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
    .js .gate .gate-num { transform: scale(.85); }
    .js .gate.is-active .gate-num { transform: none; }
    .js .gate .gate-num path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; transition: stroke-dashoffset .45s var(--ease-out) .15s; }
    .js .gate.is-active .gate-num path { stroke-dashoffset: 0; }
    .js .rejects li::after { transform: scaleX(0); transition: transform .4s var(--ease-out); transition-delay: calc(var(--j, 0) * 110ms + .3s); }
    .js .gate.is-active .rejects li::after { transform: none; }
}
/* Connectors between gates at the four-across size; each fills after its gate. */
@media (min-width: 1100px) {
    .gate:not(:last-child)::after {
        content: ""; position: absolute;
        top: calc(1.5rem + 1.35rem - 1.5px); left: 100%; width: 1.5rem; height: 3px;
        background: #a7f3d0; transform-origin: left;
    }
    .js .gate:not(:last-child)::after { transform: scaleX(0); transition: transform .35s linear .45s; }
    .js .gate.is-active:not(:last-child)::after { transform: none; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
    .js .gate:not(:last-child)::after { transform: none; }
}
.standard-close { margin-top: clamp(3rem, 6vw, 5rem); }

/* =============================================================================
   Delivery: copy on the left, and on the right one passed lead fanning out to
   the five places it can go. The lines are an SVG stretched over the list's
   height; its branch ends sit at 10/30/50/70/90%, which is where the centres
   of the five equal-height rows land. Below 900px it's just the list.
   ============================================================================= */
.delivery { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 1200px) { .delivery { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.delivery-copy .lede { margin-top: 1.25rem; }
.delivery-copy .fine { margin-top: 1.25rem; }

.route { display: grid; max-width: 46rem; }
@media (min-width: 900px) {
    .route { grid-template-columns: minmax(0, 11rem) minmax(3rem, 1fr) minmax(0, 26rem); align-items: center; }
}
@media (min-width: 1200px) {
    .route { grid-template-columns: minmax(0, 11.5rem) minmax(3rem, 1fr) minmax(0, 22rem); }
}
.route-lead { display: none; }
@media (min-width: 900px) {
    .route-lead {
        position: relative; display: grid; gap: .15rem;
        padding: .9rem 1.1rem; border-radius: var(--radius);
        background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
    }
}
.route-lead-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .8125rem; font-weight: 600; color: var(--check-text); white-space: nowrap; }
.route-lead-status .icon { width: .9rem; height: .9rem; stroke-width: 2.75; }
.route-lead-id { margin-top: .3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.route-lead-meta { font-size: .875rem; color: var(--ink-2); white-space: nowrap; }
/* Port dots where the lines meet the cards. */
.route-lead::after, .dest::before {
    content: ""; position: absolute; top: 50%; width: .65rem; height: .65rem; margin-top: -.325rem;
    border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--surface-2);
}
.route-lead::after { right: -.325rem; }
.route-wire { display: none; }
@media (min-width: 900px) {
    /* Absolutely positioned so the drawing fills the row instead of sizing it. */
    .route-wire { display: block; position: relative; align-self: stretch; }
    .route-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
}
.route-lines path { fill: none; stroke-width: 2px; vector-effect: non-scaling-stroke; }
.route-lines .base { stroke: var(--line-strong); }
.route-lines .flow { stroke: var(--accent); stroke-width: 2.5px; }

.route-caption { margin-bottom: .75rem; font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
@media (min-width: 900px) { .route-caption { display: none; } }
.route-dests {
    display: grid; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .route-dests { grid-template-rows: repeat(5, 1fr); } }
.dest {
    position: relative;
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; align-items: center;
    padding: .8rem 1.1rem;
}
.dest + .dest { border-top: 1px solid var(--line); }
.dest::before { left: -.375rem; display: none; }
@media (min-width: 900px) { .dest::before { display: block; } }
.dest-icon {
    display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent-ink);
    transition: background-color .35s ease, color .35s ease;
}
.dest-icon .icon { width: 1.05rem; height: 1.05rem; }
.dest h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; letter-spacing: -.01em; }
.dest p { margin-top: .1rem; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
    .js .route .flow { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; transition: stroke-dashoffset .55s var(--ease-out); transition-delay: var(--d, 0s); }
    .js .route.is-playing .flow { stroke-dashoffset: 0; }
    .js .route .route-lead { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .6s var(--ease-out); }
    .js .route.is-playing .route-lead { opacity: 1; transform: none; }
    .js .route .dest::before { transform: scale(0); transition: transform .4s var(--ease-spring); transition-delay: var(--d, 0s); }
    .js .route.is-playing .dest::before { transform: none; }
}
/* On arrival each destination's icon fills, like a connection going live. */
.js .route.is-playing .dest-icon { background: var(--accent); color: var(--surface); transition-delay: calc(var(--d, 0s) + .2s); }

/* =============================================================================
   The working system: one punch vs the combination
   ============================================================================= */
.system-follow { margin-top: .75rem; color: var(--accent); }
.bout {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.bout-row { display: grid; gap: 1.25rem 2.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.bout-row + .bout-row { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .bout-row { grid-template-columns: 13rem minmax(0, 1fr); align-items: center; } }
.bout-label .small { margin-top: .2rem; color: var(--ink-2); }
.bout-row--combo .h3 { color: var(--accent); }
.bout-copy { color: var(--ink-2); max-width: 38em; }
@media (min-width: 900px) { .bout-copy { grid-column: 2; } }

.track { display: flex; align-items: center; min-height: 4.5rem; padding-bottom: 1.5rem; }
.node {
    position: relative; display: grid; place-items: center; flex: none;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent-ink);
}
.node .icon { width: 1.15rem; height: 1.15rem; }
.node-tag { position: absolute; top: calc(100% + .4rem); left: 50%; transform: translateX(-50%); font-size: .8125rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.node--dead { background: var(--surface-2); color: var(--ink-2); }
.node--q { background: none; }
.node--q svg { position: absolute; left: 50%; top: 50%; width: 3.65rem; height: 3.65rem; transform: translate(-39.75%, -48.1%); overflow: visible; }
.seg { position: relative; flex: 1; height: 3px; margin-inline: .35rem; border-radius: 3px; background: var(--line); overflow: hidden; }
.seg::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.seg--dead { background: none; border-top: 2px dashed var(--line-strong); height: 0; overflow: visible; }
.seg--dead::after { display: none; }
.pip { flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); margin-inline: .2rem; }
.track-end { flex: none; font-size: .875rem; color: var(--ink-2); padding-left: .5rem; }

@media (prefers-reduced-motion: no-preference) {
    .js .bout .node, .js .bout .pip { transform: scale(0); transition: transform .45s var(--ease-spring); transition-delay: var(--d, 0s); }
    .js .bout .node-tag, .js .bout .track-end { opacity: 0; transition: opacity .4s ease; transition-delay: var(--d, 0s); }
    .js .bout .seg::after { transform: scaleX(0); transition: transform .4s linear; transition-delay: var(--d, 0s); }
    .js .bout .seg--dead { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s ease-out; transition-delay: var(--d, 0s); }
    .js .bout.is-playing .node, .js .bout.is-playing .pip { transform: none; }
    .js .bout.is-playing .node-tag, .js .bout.is-playing .track-end { opacity: 1; }
    .js .bout.is-playing .seg::after { transform: none; }
    .js .bout.is-playing .seg--dead { clip-path: inset(0 0 0 0); }
    /* Resetting for a replay snaps back instantly. */
    .js .bout.is-resetting * { transition: none !important; }
}
.bout-foot { display: flex; justify-content: flex-end; padding: .5rem .75rem .75rem; border-top: 1px solid var(--line); }
.replay {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .4rem .9rem; border-radius: 999px;
    font-size: .875rem; font-weight: 600; color: var(--ink-2);
    transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.replay:hover { background: var(--surface-2); color: var(--ink); }
.replay .icon { width: 1rem; height: 1rem; transition: transform .5s var(--ease-out); }
.replay:hover .icon { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .bout-foot { display: none; } }

@media (max-width: 520px) {
    .node { width: 2.4rem; height: 2.4rem; }
    .node--q svg { width: 3.2rem; height: 3.2rem; }
    .track-end { font-size: .8125rem; max-width: 7.5rem; line-height: 1.3; }
    .pip--extra { display: none; }
}

.steps { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.step-n { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--accent); }
.step .h3 { margin-top: .6rem; }
.step p { margin-top: .4rem; color: var(--ink-2); font-size: 1rem; }
.timing { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .6rem; border-radius: 999px; background: var(--surface-2); font-size: .8125rem; color: var(--ink-2); white-space: nowrap; }
.timing .icon { width: .85rem; height: .85rem; }

.corner { display: grid; gap: 2rem 4rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-strong); }
@media (min-width: 1024px) { .corner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.corner-intro p { margin-top: .75rem; color: var(--ink-2); }
.corner-list { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .corner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.corner-list dt { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.0625rem; }
.corner-list dt .icon { color: var(--accent); }
.corner-list dd { margin-top: .45rem; color: var(--ink-2); font-size: 1rem; }
.system-fine { margin-top: 2.5rem; }

/* =============================================================================
   Guarantee
   ============================================================================= */
.guarantee-grid { display: grid; gap: 3rem 5rem; }
@media (min-width: 1024px) { .guarantee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.guarantee-grid .lede { margin-top: 1.5rem; }

.receipt {
    position: relative; max-width: 28rem; margin-top: 2.5rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 1.5rem 1.5rem 1.25rem;
    font-size: .9375rem;
}
.receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.receipt-head b { font-weight: 600; }
.receipt-head span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.receipt dl { margin-top: .5rem; }
.receipt dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line-strong); }
.receipt dl > div:last-child { border-bottom: 0; }
.receipt dt { color: var(--ink-2); }
.receipt dd { font-weight: 500; text-align: right; }
.struck { position: relative; color: var(--ink-2); }
.struck::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 1.5px; background: currentColor; transform-origin: left; }
.status {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .7rem; border-radius: 999px;
    font-size: .8125rem; font-weight: 600;
    background: var(--check-soft); color: var(--check-text);
}
.status .icon { width: .9rem; height: .9rem; stroke-width: 3; }
.credited-line { color: var(--check-text); font-weight: 600; }
/* Animated version: filed -> credited, the charge gets struck, the credit lands. */
.status-swap { position: relative; display: inline-grid; }
.status-swap > * { grid-area: 1 / 1; justify-self: end; }
.status--filed { background: var(--surface-2); color: var(--ink-2); visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
    .js .receipt .status--filed { visibility: visible; transition: opacity .25s ease, transform .3s var(--ease-out); }
    .js .receipt .status--credited { opacity: 0; transform: scale(.7); transition: opacity .3s ease .1s, transform .45s var(--ease-spring) .1s; }
    .js .receipt .status--credited .icon { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--ease-out) .35s; }
    .js .receipt .struck::after { transform: scaleX(0); transition: transform .45s var(--ease-out) .55s; }
    .js .receipt .credited-line { opacity: 0; transform: translateX(-6px); transition: opacity .4s ease .9s, transform .4s var(--ease-out) .9s; }
    .js .receipt.is-credited .status--filed { opacity: 0; transform: scale(.85); }
    .js .receipt.is-credited .status--credited { opacity: 1; transform: none; }
    .js .receipt.is-credited .status--credited .icon { stroke-dashoffset: 0; }
    .js .receipt.is-credited .struck::after { transform: none; }
    .js .receipt.is-credited .credited-line { opacity: 1; transform: none; }
}
.receipt-caption { margin-top: .9rem; font-size: .875rem; color: var(--ink-2); }

.points { border-top: 1px solid var(--line-strong); }
@media (min-width: 1024px) { .points { margin-top: 6.5rem; } }
.point { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.1rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line-strong); }
.point-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.point p { margin-top: .45rem; color: var(--ink-2); font-size: 1rem; }
.terms { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.75rem; font-size: .9375rem; font-weight: 500; }
.terms li { display: inline-flex; align-items: center; gap: .45rem; }
.terms .icon { width: 1.05rem; height: 1.05rem; color: var(--check); stroke-width: 2.5; }

/* =============================================================================
   Who it's for
   ============================================================================= */
.personas { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .personas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.persona {
    display: flex; flex-direction: column;
    padding: 1.75rem; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color var(--dur) ease;
}
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.persona:active { transform: translateY(-1px) scale(.99); }
.persona p { margin-top: .6rem; color: var(--ink-2); font-size: 1rem; }
.persona-go { display: inline-flex; align-items: center; gap: .7rem; margin-top: auto; padding-top: 1.75rem; font-weight: 600; font-size: .9375rem; color: var(--accent); }
.persona-go .ring {
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    border: 1.5px solid currentColor;
    transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}
.persona-go .icon { width: 1.05rem; height: 1.05rem; transition: transform var(--dur) var(--ease-spring); }
.persona:hover .persona-go .ring { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.persona:hover .persona-go .icon { transform: translateX(2px); }

/* =============================================================================
   Credibility + apply
   ============================================================================= */
.panel {
    --ink-on: #ffffff; --ink-on-2: #cdd5df;
    position: relative; overflow: hidden;
    border-radius: clamp(var(--radius), 3vw, 2.25rem);
    background: var(--brand-navy); color: var(--ink-on);
    padding: clamp(1.25rem, 5vw, 4.5rem);
}
.dark .panel { background: #1a0c45; --ink-on-2: #d6cff0; }
/* The Q's ring, cropped at the corner. Only the ring: the application card
   covers the spot where the check would land. */
.panel > .q-art {
    width: 40rem; right: -15rem; top: -16rem;
    --q-stroke: 60px; --q-ring-c: rgba(167, 139, 250, .14);
}
.panel > .q-art path { display: none; }
@media (max-width: 639px) { .panel > .q-art { width: 22rem; right: -10rem; top: -10rem; } }
.panel-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem 4.5rem; }
@media (min-width: 1024px) { .panel-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.panel .kicker { color: #c4b5fd; }
.panel .h2 { margin-top: 1rem; }
.panel-copy { margin-top: 1.75rem; color: var(--ink-on-2); max-width: 34em; }
.panel-copy p + p { margin-top: 1.1rem; }

.apply-card {
    background: var(--surface); color: var(--ink);
    border-radius: var(--radius-lg); padding: clamp(1.25rem, 3.5vw, 2.5rem);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.apply-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.apply-meta span:first-child { color: var(--accent-ink); font-weight: 600; }
.apply-card .h3 { margin-top: 1rem; font-size: clamp(1.45rem, 1vw + 1.15rem, 1.85rem); }
.apply-card > p { margin-top: .75rem; color: var(--ink-2); font-size: 1rem; }
.sheet { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.sheet > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.sheet dt { color: var(--ink-2); }
.sheet dd { font-weight: 500; }
@media (max-width: 479px) { .sheet > div { grid-template-columns: 1fr; gap: .1rem; } }
.apply-card .btn { margin-top: 1.75rem; width: 100%; white-space: normal; text-align: center; }
@media (min-width: 480px) { .apply-card .btn { width: auto; } }
.apply-card .fine { margin-top: .9rem; font-size: .875rem; }

/* =============================================================================
   Footer
   ============================================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: .9375rem; }
.footer-row { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 900px) { .footer-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand .mark { width: 1.85rem; height: 1.85rem; }
.footer-tag { display: block; font-size: .875rem; color: var(--ink-2); }
.footer-tag b { color: var(--check-text); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-weight: 500; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; transition: text-decoration-color var(--dur-fast) ease; }
.footer-links a:hover { text-decoration-color: currentColor; }
.footer-legal { font-size: .875rem; color: var(--ink-2); }

/* =============================================================================
   Who we work with (secondary page)
   ============================================================================= */
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem); }
/* The Q sits in the space right of the copy, which is held to 44rem. */
.page-head > .q-art { width: clamp(20rem, 34vw, 30rem); right: max(-3rem, calc(50% - 38rem)); top: 50%; transform: translateY(-50%); }
@media (max-width: 1023px) { .page-head > .q-art { display: none; } }
.page-head .h1 { margin-top: 1.25rem; max-width: 14em; }
.page-head .h1 .accent { color: var(--accent); }
@media (min-width: 1024px) { .page-head .h1, .page-head .lede { max-width: 44rem; } }
.jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.jump a {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .45rem 1rem .45rem .5rem;
    border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 500; font-size: .9375rem;
    transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, transform var(--dur) var(--ease-out);
}
.jump a:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-1px); }
.jump .n { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-family: var(--font-display); font-weight: 600; font-size: .875rem; }

.path { display: grid; gap: 2.5rem 5rem; }
@media (min-width: 1024px) { .path { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.path-tag { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; font-size: .9375rem; color: var(--accent); }
.path-tag .n { position: relative; display: block; width: 3.3rem; height: 3.3rem; margin: -.35rem -.5rem -.35rem -.08rem; }
.path-tag .n svg { width: 100%; height: 100%; overflow: visible; }
.path-tag .n > span { position: absolute; left: 39.75%; top: 48.1%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1; color: var(--accent-ink); }
.path .h2 { margin-top: 1.25rem; }
.path-story { margin-top: 1.5rem; color: var(--ink-2); max-width: 36em; }
.path-story p + p { margin-top: 1rem; }
.path-story .quote { margin-top: 1.75rem; color: var(--ink); }
.offers { border-top: 1px solid var(--line-strong); }
@media (min-width: 1024px) { .offers { margin-top: 5.5rem; } }
.offer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.offer-check { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; margin-top: .1rem; border-radius: 50%; background: var(--check-soft); color: var(--check); }
.offer-check .icon { width: .95rem; height: .95rem; stroke-width: 2.75; }
.offer h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.012em; }
.offer p { margin-top: .35rem; color: var(--ink-2); font-size: 1rem; }

.nofit { display: grid; gap: 2rem 4.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .nofit { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.nofit-list { border-top: 1px solid rgba(255, 255, 255, .3); }
.nofit-list li { display: grid; gap: .5rem 1.5rem; padding-block: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .3); }
@media (min-width: 640px) { .nofit-list li { grid-template-columns: 15rem minmax(0, 1fr); align-items: baseline; } }
.nofit-tag { position: relative; justify-self: start; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55); font-size: .875rem; font-weight: 500; white-space: nowrap; }
.nofit-tag .icon { width: .85rem; height: .85rem; stroke-width: 2.75; }

/* =============================================================================
   Email fallback. mailto: links only work with a default email app, so when
   the page doesn't lose focus shortly after one is clicked, this panel offers
   webmail compose links and a copy button instead. Built by concept-e.js.
   ============================================================================= */
.mail-help {
    position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem;
    max-width: 34rem; margin-inline: auto;
    padding: 1.1rem 1.25rem 1.25rem; border-radius: var(--radius);
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.mail-help[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .mail-help { animation: help-in .4s var(--ease-out); }
}
@keyframes help-in { from { opacity: 0; transform: translateY(16px); } }
.mail-help-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.mail-help-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.mail-help-title:focus { outline: none; }
.mail-help-text { margin-top: .3rem; font-size: .9375rem; color: var(--ink-2); }
.mail-help-close { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; margin: -.6rem -.6rem 0 0; border-radius: 50%; color: var(--ink-2); }
.mail-help-close:hover { background: var(--surface-2); color: var(--ink); }
.mail-help-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.mail-help-actions .btn { font-size: .875rem; }

/* =============================================================================
   Legal pages (privacy, terms): one readable column of ~70 characters, with a
   sticky "On this page" list beside it on desktop.
   ============================================================================= */
.legal-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.legal-head .h1 { margin-top: 1rem; }
.legal-head > .q-art { width: clamp(12rem, 18vw, 16rem); right: max(-2rem, calc(50% - 36rem)); }
.legal-updated { margin-top: 1rem; font-size: .9375rem; color: var(--ink-2); }
.legal-body { display: grid; gap: 2.5rem 4.5rem; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 7rem); }
@media (min-width: 1024px) { .legal-body { grid-template-columns: 15rem minmax(0, 40rem); } }

.toc { display: none; }
@media (min-width: 1024px) {
    .toc { display: block; position: sticky; top: calc(var(--top-h, 7.5rem) + 2rem); align-self: start; }
}
.toc > p { font-weight: 600; font-size: .875rem; color: var(--ink-2); }
.toc ol { margin-top: .75rem; border-left: 2px solid var(--line); }
.toc a {
    display: block; margin-left: -2px; padding: .4rem 0 .4rem 1rem;
    border-left: 2px solid transparent;
    font-size: .9375rem; line-height: 1.35; color: var(--ink-2);
    transition: color var(--dur-fast) ease, border-color var(--dur) var(--ease-out);
}
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--accent-ink); border-left-color: var(--accent); font-weight: 500; }

.summary { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--accent-soft); }
.summary .kicker { color: var(--accent-ink); }
.summary .kicker + p { margin-top: .5rem; line-height: 1.6; }

.legal h2 {
    margin-top: 2.75rem;
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(1.3rem, .5vw + 1.15rem, 1.55rem); line-height: 1.25; letter-spacing: -.015em;
    text-wrap: balance;
}
.legal p { margin-top: .9rem; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.legal strong { font-weight: 600; color: var(--ink); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.legal a:hover { text-decoration-thickness: 2.5px; }
.footer-links a[aria-current] { color: var(--accent); }

/* =============================================================================
   Reduced motion: final states, no transitions on decorative movement.
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
    .btn:hover, .persona:hover, .jump a:hover { transform: none; }
}
