/* =============================================================================
   Tenderobot — Frontpage design system  ("Editorial briefing")
   Bespoke stylesheet. NO Tailwind. Component classes only (BEM-ish).
   Aesthetic: paper-warm intelligence dossier — hairline rules, stamped mono
   labels, folio numerals, serif display headlines, one signal-red accent.
   -----------------------------------------------------------------------------
   Table of contents
     1. Design tokens (:root)
     2. Reset + base
     3. Typography
     4. Layout primitives (.container, .section, .section__head)
     5. Motif kit (.eyebrow .stamp .folio .rule-top .doc-card .tick-list
                   .btn .chip .is-active + helpers)
     6. Keyframes + reduced-motion
   ========================================================================== */


/* 1. DESIGN TOKENS ========================================================== */
:root {
    /* --- Paper & ink palette --- */
    --paper: #FAF7F1;
    --paper-raise: #FFF;
    --paper-tint: #F1EBDF;
    --ink: #1B2437;
    --ink-soft: #4A5468;
    --ink-faint: #8A8FA3;
    --rule: #DCD4C4;
    --rule-strong: #1B2437;

    /* --- Accent (signal red) + semantic go (green) --- */
    --accent: #C2401F;
    --accent-deep: #9E3218;
    --accent-wash: #F7E7DF;
    --go: #256C4F;
    --go-wash: #E4EFE7;

    /* --- Font families --- */
    --font-display: "Piazzolla", Georgia, "Times New Roman", serif;
    --font-body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    /* --- Type scale (fluid) --- */
    --fs-display-1: clamp(2.75rem, 6vw, 4.5rem);
    --fs-display-2: clamp(2.1rem, 4.2vw, 3.25rem);
    --fs-display-3: clamp(1.6rem, 2.6vw, 2.25rem);
    --fs-lead: clamp(1.2rem, 1.8vw, 1.4rem);
    --fs-body: 1.0625rem;
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;
    --fs-eyebrow: 0.75rem;

    /* --- Line heights --- */
    --lh-display-1: 1.05;
    --lh-display-2: 1.12;
    --lh-display-3: 1.2;
    --lh-body: 1.65;

    /* --- Letter spacing --- */
    --ls-display-1: -0.015em;
    --ls-eyebrow: 0.14em;
    --ls-mono: 0.06em;

    /* --- Spacing scale (0.25rem rhythm) --- */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* --- Rhythm & layout --- */
    --section-y: clamp(4.5rem, 10vw, 8rem);
    --container: 72rem;
    --container-pad: clamp(1.25rem, 4vw, 2rem);
    --header-h: 4.25rem;

    /* --- Radii (sharp, small) --- */
    --r-xs: 2px;
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;

    /* --- Shadows (soft, paper-flat) --- */
    --shadow-card: 0 1px 2px rgba(27, 36, 55, 0.04), 0 6px 20px rgba(27, 36, 55, 0.06);
    --shadow-float: 0 4px 12px rgba(27, 36, 55, 0.08), 0 18px 48px rgba(27, 36, 55, 0.12);

    /* --- Motion --- */
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --dur: 170ms;
}


/* 2. RESET + BASE =========================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--accent-wash);
    color: var(--accent-deep);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--r-xs);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}


/* 3. TYPOGRAPHY ============================================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    text-wrap: balance;
}

h1 {
    font-size: var(--fs-display-1);
    line-height: var(--lh-display-1);
    letter-spacing: var(--ls-display-1);
    font-weight: 700;
}

h2 {
    font-size: var(--fs-display-2);
    line-height: var(--lh-display-2);
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--fs-display-3);
    line-height: var(--lh-display-3);
}

p {
    text-wrap: pretty;
}

.lead {
    font-family: var(--font-body);
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: var(--ink-soft);
    font-weight: 400;
}

a {
    color: var(--ink);
    text-decoration: none;
    transition: color var(--dur) var(--ease-out);
}

a:hover {
    color: var(--accent);
}

/* 4. LAYOUT PRIMITIVES ====================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section {
    padding-block: var(--section-y);
}

.section--tint {
    background: var(--paper-tint);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.section--ink {
    background: var(--ink);
    color: var(--paper);
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 {
    color: var(--paper);
}

.section--ink .lead {
    color: color-mix(in srgb, var(--paper) 72%, transparent);
}

/* Section header block: eyebrow + heading + optional lead over a top rule */
.section__head {
    max-width: 46rem;
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head .lead {
    margin-top: var(--sp-5);
}

.section__head h2 {
    margin-top: var(--sp-4);
}


/* 5. MOTIF KIT ============================================================== */

/* 5.1 Eyebrow — mono kicker with a short leading rule */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-mono);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    line-height: 1;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: var(--accent);
    flex: none;
}

.section__head--center .eyebrow {
    justify-content: center;
}

.section--ink .eyebrow {
    color: color-mix(in srgb, var(--accent) 82%, var(--paper));
}

.section--ink .eyebrow::before {
    background: currentColor;
}

/* 5.2 Stamp — bordered mono label, dossier "stamped" feel */
.stamp {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 0.4em 0.75em;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-xs);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1;
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    color: var(--ink);
    background: transparent;
}

.stamp--accent {
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(-2deg);
}

/* 5.3 Folio — outsized margin numeral (document folio) */
.folio {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--ink-faint);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

/* 5.4 Rule-top — 2px strong bar used above section heads */
.rule-top {
    border: 0;
    border-top: 2px solid var(--rule-strong);
    width: 3rem;
    margin: 0 0 var(--sp-6);
    height: 0;
}

.section__head--center .rule-top {
    margin-inline: auto;
}

.section--ink .rule-top {
    border-top-color: var(--paper);
}

/* 5.5 Doc-card — hairline-ruled paper panel */
.doc-card {
    background: var(--paper-raise);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--dur) var(--ease-out),
        transform var(--dur) var(--ease-out),
        border-color var(--dur) var(--ease-out);
}

.doc-card--hover:hover {
    box-shadow: var(--shadow-float);
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--rule) 60%, var(--ink-faint));
}

/* 5.6 Tick-list — hairline rows with yes/no verdict markers */
.tick-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tick-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding-block: var(--sp-3);
    border-top: 1px solid var(--rule);
    color: var(--ink-soft);
}

.tick-list__item:first-child {
    border-top: 0;
}

.tick-list__item::before {
    flex: none;
    font-family: var(--font-mono);
    font-weight: 600;
    line-height: 1.5;
    width: 1.25rem;
    text-align: center;
}

.tick-list__item--yes {
    color: var(--ink);
}

.tick-list__item--yes::before {
    content: "\2713"; /* ✓ */
    color: var(--go);
}

.tick-list__item--no {
    color: var(--ink-faint);
}

.tick-list__item--no::before {
    content: "\2715"; /* ✕ */
    color: var(--ink-faint);
}

/* 5.7 Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.8em 1.6em;
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--dur) var(--ease-out),
        border-color var(--dur) var(--ease-out),
        color var(--dur) var(--ease-out),
        transform var(--dur) var(--ease-out);
}

.btn:hover {
    color: inherit;
}

.btn:active {
    transform: translateY(1px);
}

.btn--sm {
    padding: 0.6em 1.15em;
    font-size: var(--fs-xs);
}

.btn--accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper-raise);
}

.btn--accent:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    color: var(--paper-raise);
}

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

.btn--ghost:hover {
    background: var(--ink);
    color: var(--paper);
}

.section--ink .btn--ghost {
    border-color: var(--paper);
    color: var(--paper);
}

.section--ink .btn--ghost:hover {
    background: var(--paper);
    color: var(--ink);
}

/* 5.8 Chip — small bordered mono tag */
.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 0.3em 0.6em;
    border: 1px solid var(--rule);
    border-radius: var(--r-xs);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 400;
    line-height: 1;
    letter-spacing: var(--ls-mono);
    color: var(--ink-soft);
    background: var(--paper-raise);
}

/* 5.9 Active-state hook (styled per component in later tasks) */
.is-active {
    /* intentional shared hook — Alpine toggles this class */
}

/* 5.10 Utilities */
[x-cloak] {
    display: none !important;
}

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


/* -----------------------------------------------------------------------------
   HEADER  (_header.html)
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rule);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    height: var(--header-h);
}

/* Offset the first section so fixed header doesn't overlap content */
.page-offset {
    padding-top: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    flex: none;
}

.brand__logo {
    height: 36px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-8);
}

.site-nav__link {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    font-weight: 400;
    letter-spacing: var(--ls-mono);
    color: var(--ink-soft);
    position: relative;
    padding-block: 0.25rem;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease-out);
}

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

.site-nav__link:hover::after {
    transform: scaleX(1);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex: none;
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 1.15rem;
    height: 1.5px;
    margin-inline: auto;
    background: var(--ink);
    transition: transform var(--dur) var(--ease-out),
        opacity var(--dur) var(--ease-out);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
    display: none;
}

@media (max-width: 768px) {
    .site-nav,
    .site-header__actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-drawer {
        display: block;
        position: absolute;
        inset: var(--header-h) 0 auto 0;
        background: var(--paper);
        border-bottom: 1px solid var(--rule);
        box-shadow: var(--shadow-card);
    }

    .nav-drawer__link {
        display: block;
        padding: var(--sp-4) var(--container-pad);
        border-top: 1px solid var(--rule);
        font-family: var(--font-mono);
        font-size: var(--fs-sm);
        letter-spacing: var(--ls-mono);
        color: var(--ink-soft);
    }

    .nav-drawer__link:first-child {
        border-top: 0;
    }

    .nav-drawer__actions {
        display: flex;
        flex-direction: column;
        gap: var(--sp-3);
        padding: var(--sp-5) var(--container-pad);
        border-top: 1px solid var(--rule);
    }

    .nav-drawer__actions .btn {
        width: 100%;
    }
}


/* -----------------------------------------------------------------------------
   FOOTER  (_footer.html)
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--paper-tint);
    border-top: 1px solid var(--rule);
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    padding-bottom: var(--sp-8);
    border-bottom: 1px solid var(--rule);
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

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

.site-footer__logo {
    width: auto;
    height: 28px;
    flex: none;
}

.site-footer__tagline {
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    max-width: 22rem;
}

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-6);
}

.site-footer__link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink-soft);
}

.site-footer__link:hover {
    color: var(--accent);
}

.site-footer__mail {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    letter-spacing: var(--ls-mono);
    color: var(--ink-soft);
}

.site-footer__mail:hover {
    color: var(--accent);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-top: var(--sp-6);
}

.site-footer__copy {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}


/* -----------------------------------------------------------------------------
   SECTION MODIFIER — slim band (compact trust bar etc.)  [Task 2]
   -------------------------------------------------------------------------- */
.section--slim {
    padding-block: calc(var(--section-y) * 0.5);
}


/* -----------------------------------------------------------------------------
   HERO  (_hero.html)  [Task 2]
   -------------------------------------------------------------------------- */
.hero {
    /* header offset already handled by .page-offset — trim the top */
    padding-top: clamp(2.5rem, 6vw, 4.5rem);
    text-align: center;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__lede {
    max-width: 56rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__stamp {
    margin-bottom: var(--sp-6);
}

.hero__title {
    font-size: var(--fs-display-1);
    margin-bottom: var(--sp-6);
}

.hero__title span {
    display: block;
}

.hero__title-accent {
    color: var(--accent);
    font-style: italic;
    font-weight: 600;
}

.hero__lead {
    max-width: 46rem;
    margin-bottom: var(--sp-8);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-5);
}

.hero__micro {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}

.hero__micro-sep {
    color: var(--rule);
}


/* 5.x Demo player — restyled as a document folder  [Task 2] */
.demo-doc {
    width: 100%;
    max-width: 64rem;
    margin: clamp(3rem, 6vw, 4.5rem) auto 0;
    text-align: center;
}

.demo-doc__caption {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: var(--sp-5);
}

/* Segmented mono toggle */
.seg {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    padding: 3px;
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    background: var(--paper-raise);
    margin-bottom: var(--sp-6);
}

.seg-btn {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0.55em 1.1em;
    border-radius: var(--r-xs);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    color: var(--ink-soft);
    cursor: pointer;
    transition: background-color var(--dur) var(--ease-out),
        color var(--dur) var(--ease-out);
}

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

.seg-btn.is-active {
    background: var(--ink);
    color: var(--paper);
}

/* Folder frame */
.demo-doc__frame {
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--paper-raise);
    box-shadow: var(--shadow-float);
    text-align: left;
}

.demo-doc__chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: 0.6rem 0.9rem;
    background: var(--ink);
    border-bottom: 1px solid var(--rule-strong);
}

.demo-doc__file {
    display: inline-flex;
    align-items: center;
    padding: 0.35em 0.7em;
    border-radius: var(--r-xs) var(--r-xs) 0 0;
    background: color-mix(in srgb, var(--paper) 14%, transparent);
    border-bottom: 2px solid var(--accent);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--paper);
}

.demo-doc__play {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--paper) 34%, transparent);
    border-radius: var(--r-xs);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    line-height: 1;
    color: var(--paper);
    cursor: pointer;
    transition: background-color var(--dur) var(--ease-out),
        border-color var(--dur) var(--ease-out);
}

.demo-doc__play:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.demo-doc__stage {
    position: relative;
    background: var(--paper-tint);
}

.demo-doc__video {
    width: 100%;
    height: auto;
    display: block;
}

.demo-doc__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
}

.demo-doc__bar {
    height: 100%;
    width: 0;
    background: var(--accent);
    transition: width 200ms linear;
}


/* -----------------------------------------------------------------------------
   TRUST BAR  (_trust_bar.html)  [Task 2]
   -------------------------------------------------------------------------- */
.trust-bar__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-8);
}

.trust-bar__eyebrow {
    color: var(--ink-soft);
}

.trust-bar__eyebrow::before {
    background: var(--ink-faint);
}

.trust-bar__models {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(1.75rem, 5vw, 3.5rem);
}

.trust-bar__model {
    display: inline-flex;
}

.trust-bar__model img {
    height: 28px;
    width: auto;
    filter: grayscale(1) opacity(0.55);
    transition: filter var(--dur) var(--ease-out);
}

.trust-bar__model:hover img {
    filter: grayscale(0) opacity(1);
}

/* Wire ticker */
.marquee {
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    overflow: hidden;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding-block: var(--sp-4);
    display: flex;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    flex: none;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    padding-right: clamp(1.25rem, 3vw, 2.25rem);
    white-space: nowrap;
    animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee__term {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--ink-soft);
}

.marquee__sep {
    color: var(--accent);
    font-family: var(--font-mono);
}


/* -----------------------------------------------------------------------------
   PAIN POINTS  (_pain_points.html)  [Task 3]
   -------------------------------------------------------------------------- */
.pain__head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Hanging folio numeral above the section head */
.pain__folio,
.workflow__folio {
    display: block;
    margin-bottom: var(--sp-4);
}

.pain__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (max-width: 768px) {
    .pain__grid {
        grid-template-columns: 1fr;
    }
}

.pain__card {
    border-left: 3px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.pain__index {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1;
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}

.pain__title {
    color: var(--ink);
}

.pain__body {
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--fs-sm);
}


/* -----------------------------------------------------------------------------
   BEFORE / AFTER LEDGER  (_before_after.html)  [Task 3]
   -------------------------------------------------------------------------- */
.ba__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

@media (max-width: 860px) {
    .ba__inner {
        grid-template-columns: 1fr;
    }
}

.ba__col {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border-radius: var(--r-md);
}

/* Left column: flat, muted panel on the tinted section */
.ba__col--before {
    border: 1px solid var(--rule);
    background: transparent;
}

/* Header zone — kept equal-height so the two lists start on the same line */
.ba__label--before,
.ba__after-head {
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    margin-bottom: var(--sp-5);
}

.ba__after-head {
    justify-content: space-between;
    gap: var(--sp-4);
}

.ba__after-head .ba__label {
    margin: 0;
}

.ba__label--before {
    color: var(--ink-faint);
}

.ba__label--before::before {
    background: var(--ink-faint);
}

.ba__stamp {
    flex: none;
}

/* Fixed row height so the mirror aligns row-by-row across both columns */
/* TODO(frontpage, 2026-07-13): min-height 5rem fits 2-line rows; verify longer de/es translations don't wrap to 3 lines and desync the ledger mirror; acceptance: all 5 locales keep row alignment at 1280px */
.ba__list .tick-list__item {
    align-items: center;
    min-height: 5rem;
    font-size: var(--fs-sm);
}

@media (max-width: 860px) {
    .ba__list .tick-list__item {
        min-height: 0;
    }
}


/* -----------------------------------------------------------------------------
   WORKFLOW TIMELINE  (_workflow.html)  [Task 3]
   -------------------------------------------------------------------------- */
.workflow__head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.workflow__rail {
    --rail-w: clamp(3rem, 6vw, 4.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Continuous hairline rail behind the numerals */
.workflow__rail::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: calc(var(--rail-w) / 2);
    width: 1px;
    background: var(--rule);
}

.workflow__step {
    position: relative;
    display: grid;
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.75rem);
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.workflow__step:last-child {
    padding-bottom: 0;
}

/* Outsized mono numeral riding the rail, paper-masked to break the line */
.workflow__num {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    position: relative;
    z-index: 1;
    padding-block: var(--sp-2);
    background: var(--paper);
    font-family: var(--font-mono);
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink-faint);
    font-variant-numeric: tabular-nums;
}

.workflow__body {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0.25rem;
}

.workflow__title {
    margin-bottom: var(--sp-3);
}

.workflow__text {
    margin-bottom: var(--sp-4);
    max-width: 40rem;
    color: var(--ink-soft);
    font-size: var(--fs-sm);
}

.workflow__thumb {
    grid-column: 2;
    grid-row: 2;
    margin-top: var(--sp-5);
    padding: 6px;
    align-self: start;
}

.workflow__thumb img {
    width: 100%;
    border-radius: var(--r-xs);
}

@media (min-width: 960px) {
    .workflow__step {
        grid-template-columns: var(--rail-w) minmax(0, 1fr) minmax(0, 22rem);
        align-items: start;
    }

    .workflow__thumb {
        grid-column: 3;
        grid-row: 1;
        margin-top: 0;
    }
}


/* -----------------------------------------------------------------------------
   FEATURES TOUR  (_features_tour.html)  [Task 4]
   -------------------------------------------------------------------------- */
.ftour__head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.ftour__folio {
    display: block;
    margin-bottom: var(--sp-4);
}

/* Layout: stacked on mobile, TOC + stage grid on desktop */
.ftour__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 960px) {
    .ftour__layout {
        grid-template-columns: 320px 1fr;
        align-items: start;
    }
}

/* --- Index: horizontal scrollable pill row (mobile default) --- */
.ftour__index {
    list-style: none;
    margin: 0;
    padding: 0 0 var(--sp-2);
    display: flex;
    gap: var(--sp-2);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.ftour__index::-webkit-scrollbar {
    display: none;
}

.ftour__row {
    flex: none;
}

.ftour__rowbtn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    width: 100%;
    padding: 0.55em 0.9em;
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    background: var(--paper-raise);
    cursor: pointer;
    text-align: left;
    white-space: nowrap;
    transition: color var(--dur) var(--ease-out),
        background-color var(--dur) var(--ease-out),
        border-color var(--dur) var(--ease-out);
}

.ftour__rownum {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}

.ftour__rowtitle {
    font-size: var(--fs-sm);
    color: var(--ink-soft);
}

/* Active pill (mobile): inverted */
.ftour__row.is-active .ftour__rowbtn {
    background: var(--ink);
    border-color: var(--ink);
}

.ftour__row.is-active .ftour__rownum {
    color: color-mix(in srgb, var(--paper) 70%, transparent);
}

.ftour__row.is-active .ftour__rowtitle {
    color: var(--paper);
}

/* --- Index: vertical table-of-contents (desktop) --- */
@media (min-width: 960px) {
    .ftour__index {
        display: block;
        overflow: visible;
        padding-bottom: 0;
    }

    .ftour__row {
        border-top: 1px solid var(--rule);
    }

    .ftour__row:first-child {
        border-top: 0;
    }

    .ftour__rowbtn {
        border: 0;
        border-left: 3px solid transparent;
        border-radius: 0;
        background: transparent;
        padding: var(--sp-4);
        gap: var(--sp-4);
    }

    .ftour__row.is-active .ftour__rowbtn {
        background: transparent;
        border-left-color: var(--accent);
    }

    .ftour__row.is-active .ftour__rownum {
        color: var(--accent);
    }

    .ftour__row.is-active .ftour__rowtitle {
        font-family: var(--font-display);
        font-style: italic;
        font-size: var(--fs-body);
        color: var(--ink);
    }

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

/* --- Stage --- */
.ftour__card {
    padding: 0;
    overflow: hidden;
}

.ftour__caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
}

.ftour__caption-title {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ftour__caption-meta {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    flex: none;
}

.ftour__caption-index {
    color: color-mix(in srgb, var(--paper) 60%, transparent);
    font-variant-numeric: tabular-nums;
}

.ftour__pause {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent);
    border-radius: var(--r-xs);
    background: transparent;
    color: var(--paper);
    font-size: 0.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease-out);
}

.ftour__pause:hover {
    background: color-mix(in srgb, var(--paper) 15%, transparent);
}

.ftour__frame {
    position: relative;
    background: var(--paper-tint);
}

.ftour__shot {
    width: 100%;
    height: auto;
    display: block;
}

.ftour__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: color-mix(in srgb, var(--ink) 12%, transparent);
}

.ftour__bar {
    height: 100%;
    background: var(--accent);
    transition: width 75ms linear;
}

.ftour__desc {
    margin-top: var(--sp-5);
}

.ftour__desc-title {
    font-size: var(--fs-display-3);
    margin-bottom: var(--sp-3);
}

.ftour__desc-body {
    max-width: 46rem;
    color: var(--ink-soft);
    font-size: var(--fs-sm);
}


/* -----------------------------------------------------------------------------
   RECLAMATION  (_reclamation.html)  [Task 4]
   -------------------------------------------------------------------------- */
.recl__head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.recl__folio {
    display: block;
    margin-bottom: var(--sp-4);
}

.recl__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

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

@media (max-width: 640px) {
    .recl__grid {
        grid-template-columns: 1fr;
    }
}

.recl__card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.recl__index {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}

.recl__icon {
    display: inline-flex;
    color: var(--accent);
}

.recl__icon svg {
    width: 2rem;
    height: 2rem;
}

.recl__title {
    font-size: 1.1875rem;
    line-height: 1.25;
    color: var(--ink);
}

.recl__body {
    margin: 0;
    color: var(--ink-soft);
    font-size: var(--fs-sm);
}


/* -----------------------------------------------------------------------------
   MARKET STATS  (_market_stats.html)  [Task 5]
   -------------------------------------------------------------------------- */
.stats__quote-block {
    max-width: 52rem;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

.stats__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: var(--fs-display-3);
    line-height: 1.35;
    color: var(--ink);
    text-wrap: pretty;
}

.stats__quote-attr {
    margin-top: var(--sp-6);
}

.stats__quote-attr .rule-top {
    margin-bottom: var(--sp-4);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stats__col {
    padding-inline: var(--sp-6);
    border-left: 1px solid var(--rule);
}

.stats__col:first-child {
    padding-left: 0;
    border-left: 0;
}

.stats__num {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
}

.stats__cap {
    margin: var(--sp-3) 0 0;
    color: var(--ink-soft);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

@media (max-width: 860px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: var(--sp-8);
    }

    .stats__col:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .stats__col:nth-child(n+3) {
        border-top: 1px solid var(--rule);
        padding-top: var(--sp-6);
    }
}

@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr;
    }

    .stats__col {
        padding-left: 0;
        border-left: 0;
    }

    .stats__col:not(:first-child) {
        border-top: 1px solid var(--rule);
        padding-top: var(--sp-6);
    }
}


/* -----------------------------------------------------------------------------
   SECURITY  (_security.html)  [Task 5] — the page's single dark inversion
   -------------------------------------------------------------------------- */
.security {
    position: relative;
    overflow: hidden;
}

/* Folio reads too dark against the ink background elsewhere — lighten it here */
.section--ink .folio {
    color: color-mix(in srgb, var(--paper) 34%, transparent);
}

.security__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-10);
    position: relative;
    z-index: 1;
}

@media (min-width: 900px) {
    .security__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: var(--sp-16);
        align-items: start;
    }
}

.security__col--text .lead {
    margin-top: var(--sp-5);
}

.security__col--list {
    padding-top: var(--sp-2);
}

@media (min-width: 900px) {
    .security__col--list {
        padding-top: clamp(3.5rem, 7vw, 5.5rem);
    }
}

/* Light-on-dark tick-list variant */
.tick-list--inverse .tick-list__item {
    border-top-color: color-mix(in srgb, var(--paper) 16%, transparent);
    color: color-mix(in srgb, var(--paper) 86%, transparent);
}

.tick-list--inverse .tick-list__item:first-child {
    border-top: 0;
}

.tick-list--inverse .tick-list__item--yes::before {
    color: color-mix(in srgb, var(--go) 55%, var(--paper) 45%);
}

.security__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

/* Inverse chip variant — mono, uppercase, low-fill on ink */
.chip--inverse {
    text-transform: uppercase;
    border-color: color-mix(in srgb, var(--paper) 30%, transparent);
    color: var(--paper);
    background: color-mix(in srgb, var(--paper) 8%, transparent);
}

/* Decorative watermark stamp — very low-contrast, purely typographic */
.stamp--watermark {
    position: absolute;
    right: -1.5rem;
    bottom: -2.5rem;
    padding: 0;
    border: 0;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 600;
    line-height: 1;
    color: color-mix(in srgb, var(--paper) 6%, transparent);
    transform: rotate(-8deg);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}


/* -----------------------------------------------------------------------------
   COMPARISON TABLE  (_comparison.html)  [Task 5]
   -------------------------------------------------------------------------- */
.table-scroll {
    width: 100%;
}

.cmp__table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.cmp__th {
    text-align: left;
    padding: var(--sp-4) var(--sp-5);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: var(--ls-mono);
    text-transform: uppercase;
    color: var(--ink-soft);
    border-bottom: 2px solid var(--rule-strong);
}

.cmp__th--manual,
.cmp__th--robot,
.cmp__cell--manual,
.cmp__cell--robot {
    text-align: center;
}

.cmp__th--robot {
    font-family: var(--font-display);
    text-transform: none;
    vertical-align: middle;
}

.cmp__robot-name {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: var(--sp-2);
}

.cmp__stamp {
    font-size: 0.6875rem;
}

.cmp__feature {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--rule);
    vertical-align: top;
    text-align: left;
    font-weight: 400;
}

.cmp__feature-title {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--ink);
    font-size: var(--fs-sm);
}

.cmp__feature-desc {
    display: block;
    margin-top: var(--sp-1);
    color: var(--ink-soft);
    font-size: var(--fs-xs);
    font-weight: 400;
}

.cmp__cell {
    padding: var(--sp-4) var(--sp-5);
    border-top: 1px solid var(--rule);
    font-size: 1.15rem;
    line-height: 1;
}

.cmp__cell--manual {
    color: var(--ink-faint);
}

.cmp__cell--robot {
    color: var(--go);
    font-weight: 600;
}

/* Tenderobot column raised: paper-raise fill + hairline border running down the table */
.cmp__th--robot,
.cmp__cell--robot {
    background: var(--paper-raise);
    border-left: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
}

.cmp__th--robot {
    border-top: 1px solid var(--rule);
}

tbody tr:last-child .cmp__cell--robot {
    border-bottom: 1px solid var(--rule);
}

@media (max-width: 720px) {
    .table-scroll {
        overflow-x: auto;
    }

    .cmp__table {
        min-width: 640px;
    }

    .cmp__th--feature,
    .cmp__feature {
        position: sticky;
        left: 0;
        background: var(--paper);
        z-index: 2;
    }
}


/* -----------------------------------------------------------------------------
   PRICING  (_pricing.html)  [Task 6]
   -------------------------------------------------------------------------- */
.pricing__body {
    margin-top: var(--sp-12);
}

/* Trial banner — full-width doc-card strip above the toggle, accent left rule */
.pricing__trial {
    display: flex;
    align-items: center;
    gap: var(--sp-6);
    padding: var(--sp-5) var(--sp-6);
    margin-bottom: var(--sp-8);
    border-left: 3px solid var(--accent);
}

.pricing__trial-copy {
    flex: 1;
    color: var(--ink-soft);
    font-size: var(--fs-sm);
}

@media (max-width: 720px) {
    .pricing__trial {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--sp-4);
    }

    .pricing__trial .btn {
        width: 100%;
    }
}

.pricing__toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-10);
}

.chip--go {
    border-color: var(--go);
    color: var(--go);
    background: var(--go-wash);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-8);
    align-items: start;
}

@media (max-width: 900px) {
    .pricing__grid {
        grid-template-columns: 1fr;
    }

    .pricing__card--featured {
        transform: none;
    }
}

.pricing__card {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
    position: relative;
}

.pricing__card--featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-float);
    transform: translateY(-0.75rem);
}

.pricing__stamp {
    position: absolute;
    top: -0.9rem;
    right: 1.5rem;
}

.pricing__card-head {
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--rule);
}

.pricing__tier {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--ls-mono);
    color: var(--ink-soft);
    margin-bottom: var(--sp-3);
}

.pricing__price {
    display: flex;
    align-items: baseline;
    gap: 0.15em;
}

.pricing__currency {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--ink-soft);
}

.pricing__amount {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 3.25rem);
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.pricing__period {
    font-family: var(--font-mono);
    font-size: var(--fs-sm);
    color: var(--ink-faint);
    margin-left: 0.1em;
}

.pricing__note {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--ink-faint);
    min-height: 1.2em;
    margin-top: var(--sp-2);
}

.pricing__desc {
    color: var(--ink-soft);
    font-size: var(--fs-sm);
    margin-top: var(--sp-3);
}

.pricing__cta {
    width: 100%;
}

.pricing__includes {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}

.pricing__assurance {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-2) var(--sp-6);
    padding: 0;
    margin-top: var(--sp-12);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}

.pricing__assurance li {
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.pricing__assurance li::before {
    content: "\2713"; /* ✓ */
    color: var(--go);
}


/* -----------------------------------------------------------------------------
   FAQ  (_faq.html)  [Task 6]
   -------------------------------------------------------------------------- */
.faq__list {
    max-width: 46rem;
    margin-inline: auto;
    margin-top: var(--sp-12);
}

.faq__group {
    margin-top: var(--sp-10);
}

.faq__group:first-child {
    margin-top: 0;
}

.faq__group-label {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--ls-mono);
    color: var(--accent);
    padding-bottom: var(--sp-3);
    margin-bottom: var(--sp-2);
    border-bottom: 1px solid var(--rule);
}

.faq__item {
    border-top: 1px solid var(--rule);
}

.faq__item:first-child {
    border-top: 0;
}

.faq__q {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    width: 100%;
    padding-block: var(--sp-5);
    background: transparent;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--ink);
}

.faq__q-index {
    flex: none;
    width: 1.75rem;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--ink-faint);
}

.faq__q-text {
    flex: 1;
    font-size: var(--fs-body);
}

.faq__chevron {
    flex: none;
    width: 0.55rem;
    height: 0.55rem;
    margin-right: var(--sp-1);
    border-right: 1.5px solid var(--ink-soft);
    border-bottom: 1.5px solid var(--ink-soft);
    transform: rotate(45deg);
    transition: transform var(--dur) var(--ease-out);
}

.faq__chevron.is-active {
    transform: rotate(225deg);
}

.faq__a {
    padding: 0 0 var(--sp-5) calc(1.75rem + var(--sp-4));
    color: var(--ink-soft);
}

.faq__more {
    text-align: center;
    margin-top: var(--sp-12);
    color: var(--ink-soft);
}

.faq__more-link {
    margin-left: var(--sp-2);
    color: var(--accent);
    font-weight: 600;
}

.faq__more-link:hover {
    color: var(--accent-deep);
}


/* -----------------------------------------------------------------------------
   CLOSING CTA  (_cta.html)  [Task 6]
   -------------------------------------------------------------------------- */
.cta {
    border-top: 3px solid var(--rule-strong);
    text-align: center;
}

.cta__inner {
    max-width: 44rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__title {
    margin-bottom: var(--sp-5);
}

.cta__title-accent {
    color: var(--accent);
}

.cta__lead {
    max-width: 38rem;
    margin-bottom: var(--sp-8);
}

.cta__btn {
    margin-bottom: var(--sp-6);
}

.cta__micro {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}

.cta__micro-sep {
    color: var(--rule);
}


/* 6. KEYFRAMES + REDUCED MOTION ============================================ */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    [class*="marquee"] {
        animation: none !important;
    }
}


/* -----------------------------------------------------------------------------
   REQUEST-ACCESS FORM  (register.html, register_thanks.html)
   -------------------------------------------------------------------------- */
.register {
    text-align: center;
}

.register__inner {
    max-width: 34rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.register__stamp {
    margin-bottom: var(--sp-5);
}

.register__lead {
    margin: var(--sp-4) 0 var(--sp-8);
}

.register-card {
    width: 100%;
    text-align: left;
}

.register-thanks__actions {
    margin-top: var(--sp-4);
}

/* Field stack: label + control, error underneath */
.form-field {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
}

.form-field__label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    color: var(--ink-soft);
}

.form-field__optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink-faint);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--paper-raise);
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    padding: 0.7em 0.9em;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--ink);
    transition: border-color var(--dur) var(--ease-out),
        box-shadow var(--dur) var(--ease-out);
}

.form-field textarea {
    resize: vertical;
    min-height: 6rem;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-wash);
}

.form-field--invalid input,
.form-field--invalid select,
.form-field--invalid textarea {
    border-color: var(--accent);
}

.form-field__error {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    color: var(--accent-deep);
}

.form-errors {
    margin-bottom: var(--sp-5);
    padding: var(--sp-3) var(--sp-4);
    border: 1px solid var(--accent);
    border-radius: var(--r-sm);
    background: var(--accent-wash);
    color: var(--accent-deep);
    font-size: var(--fs-sm);
}

/* Honeypot wrapper — visually hidden but NOT display:none (some bots skip
   display:none/visibility:hidden fields when deciding what to fill in). */
.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-submit {
    width: 100%;
    margin-top: var(--sp-2);
}

.form-footnote {
    margin-top: var(--sp-4);
    text-align: center;
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    letter-spacing: var(--ls-mono);
    color: var(--ink-faint);
}
