/* ============================================================
   LANDING PAGE STYLES — Story 29.15
   Dark theme, query-led positioning. Nav/footer/mobile-menu live
   in base_public.html; this file styles landing-specific sections
   only. --brand-* variables are defined in base_public.html
   <style>.
   Story 59.3: every text rule sits on the 12-step ladder from
   docs/design/tokens.md with an explicit px line height (no
   unit-less line heights in this file), weights capped at 600,
   Geist Mono on the ledger and query pills.
   Story 59.4: composition moved onto the E2 contract
   (docs/design/landing-e2-reference.html) under the EXISTING
   pinned class names (D1): hero on the 1200 wrap with a framed/
   cropped video, the strip inside the hero carrying #how, SVG
   trust icons, hairline 96px section rhythm on the neutral
   ladder, one panel grammar (--light/--dark mats), tabular-nums,
   7/5 section heads, E2 plan treatment, everything left-aligned.
   Story 63.10 (CAP-8/CAP-9): the video and the four-step strip are
   gone; the hero shows three framed product screenshots; every
   picture follows the device (dark/light) through <picture>; light
   mode is the token block under prefers-color-scheme: light (this
   page only); the phone (<= 575.98px) follows the approved Stitch
   phone landing, in its own media block at the end of this file.
   Rule 7 note: one stylesheet for the public landing page,
   ordered as the page reads, ~1660 lines by design.
   ============================================================ */

body.landing-page {
  font-variant-numeric: tabular-nums; /* Story 59.4 AC8 (E2 line 42) */
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  body.landing-page { color-scheme: light; }
}

/* Story 59.4 (measured in-session): tabular-nums widens the ch unit —
   60ch went 576 -> 716px — which breaks the 59.3 60ch lead contract.
   Prose leads keep proportional figures; the ledger, prices and stat
   values inherit tabular-nums from the body rule above. */
body.landing-page .hero-sub,
body.landing-page .section-sub,
body.landing-page .pricing-sub,
body.landing-page .txn-story-body,
body.landing-page .dashboard-showcase-body,
body.landing-page .feature-text p,
body.landing-page .final-cta-sub,
body.landing-page .overlapping-grid > div > p {
  font-variant-numeric: normal;
}

body.landing-page .landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

body.landing-page a {
  text-decoration: none;
}

/* ========== SECTION RHYTHM (Story 59.4 AC6 / D18) ==========
   Hairline between sections on the epic's 96px beat. The hero is
   its own composition (padding 0); the showcase's top edge is
   already drawn by the trust bar's bottom hairline. */
body.landing-page main > section {
  border-top: 1px solid var(--brand-border);
  padding: 96px 0;
}

body.landing-page section.hero {
  border-top: 0;
  padding: 0;
}

body.landing-page section.dashboard-showcase {
  border-top: 0;
}

body.landing-page .founder-section {
  padding: 80px 0 96px;
}

@media (max-width: 768px) {
  body.landing-page main > section {
    padding: 80px 0;
  }
  body.landing-page .founder-section {
    padding: 80px 0;
  }
}

/* ========== 2. HERO SECTION ========== */
body.landing-page .hero {
  background: var(--brand-body-bg);
  /* Story 59.7 AC6 (critique P1): #fff broke the mood.md "never pure
     white" rule; --brand-text-primary #F1F5F9 is the mandated value */
  color: var(--brand-text-primary);
  display: block; /* Story 59.4 AC3 */
  overflow: hidden;
}

/* Story 59.3 AC5/D2: E2's 11/13 column split. Story 59.4 AC3: the
   1400px wrap goes to E2's own 1200 — the >=1200 text column is
   (1200 - 48 - 48) x 11/24 = 506px, so the 59.3 h1 table holds. */
body.landing-page .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

body.landing-page .hero-text {
  /* Story 59.2 AC8: header is 76px tall once the nav CTA is 44px; 96px top
     padding keeps the badge >= 16px clear of it at every width */
  padding: 96px 0 40px;
  z-index: 2;
}

/* Story 63.10 (CAP-9): the product-UI hero (design-test-2026-10/img/
   hero-dark.png / hero-light.png): three real app screenshots stacked
   in framed cards, top-aligned with the text column. */
body.landing-page .hero-inner {
  align-items: start;
}

body.landing-page .hero-shots {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 96px 0 64px;
}

body.landing-page .hero-shot {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-top: var(--brand-card-edge-width) solid var(--brand-card-edge-color);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--brand-card-shadow);
}

body.landing-page .hero-shot picture,
body.landing-page .hero-shot img {
  display: block;
}

body.landing-page .hero-shot img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--brand-body-bg);
}

/* Story 59.4 AC3: E2 underlined eyebrow (59.3 D4 deferred this here) */
body.landing-page .hero-badge {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: var(--brand-tracking-label);
  text-transform: uppercase;
  color: var(--brand-text-secondary);
  border: 0;
  border-bottom: 1px solid var(--brand-border);
  padding: 4px 0;
  border-radius: 0;
  background: none;
  margin-bottom: 32px;
}

body.landing-page .hero h1 {
  font-size: 72px;
  font-weight: 600;
  line-height: 72px;
  letter-spacing: -0.04em;
  text-wrap: initial; /* Story 59.3 AC5: `balance` is what split "Stop" from "guessing." in E */
  margin-bottom: 20px;
  color: var(--brand-text-primary); /* Story 59.7 AC6 (critique P1): was #fff */
}

body.landing-page .hero h1 .line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  body.landing-page .hero h1 {
    font-size: 60px;
    line-height: 60px;
  }
}

@media (max-width: 480px) {
  body.landing-page .hero h1 {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -0.03em;
  }
}

body.landing-page .hero-sub {
  font-size: 18px;
  color: var(--brand-text-secondary);
  line-height: 28px;
  margin-bottom: 32px;
  max-width: 60ch;
}

body.landing-page .hero .btn-cta {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-on-accent); /* Story 59.9 D3 (never pure white on dark); Story 63.10: the on-accent token (white in light mode) */
  border: none;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--brand-motion-dur) var(--brand-motion-ease); /* Story 59.5 AC5 */
  text-decoration: none;
}

body.landing-page .hero .btn-cta:hover {
  background: var(--brand-accent-hover);
}

/* Story 60.9: hero and final-CTA carry a quiet lead-magnet button beside the filled one */
body.landing-page .hero-actions,
body.landing-page .final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Story 63.10 (Brian 2026-11-16, option B): the two buttons in a pair are the
   same height, 56px (border included), the filled one's height, at every
   width. The phone rule further down still makes them full width. */
body.landing-page .hero-actions > a,
body.landing-page .final-cta-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 56px;
}

body.landing-page .hero-micro {
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-muted); /* Story 59.2 AC1: old slate literal was 4.41:1 on black */
  margin-top: 16px;
}

@media (max-width: 991px) {
  body.landing-page .hero-inner {
    grid-template-columns: 1fr;
  }
  body.landing-page .hero-text {
    width: 100%;
    padding: 96px 0 32px; /* Story 59.2 AC8; Story 59.4 AC8: no centring — E2 never centres */
  }
  body.landing-page .hero-shots {
    padding: 0 0 64px;
  }
}

/* The approved product hero keeps its two columns through the 768px tablet. */
@media (min-width: 768px) and (max-width: 991px) {
  body.landing-page .hero-inner {
    grid-template-columns: minmax(0, 14fr) minmax(0, 10fr);
    gap: 24px;
  }
  body.landing-page .hero-shots { padding-top: 96px; }
}

@media (max-width: 576px) {
  body.landing-page .hero-text {
    padding: 96px 0 24px; /* Story 59.2 AC8 */
  }
}

/* ========== 3. TRUST BAR (Story 59.4 AC5: E2 .trust) ========== */
body.landing-page .trust-bar {
  background: var(--brand-trust-bar-bg);
  padding: 16px 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

body.landing-page .trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-secondary);
  font-weight: 500;
}

body.landing-page .trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.landing-page .trust-bar-item svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* ========== SHARED SECTION STYLES ========== */
/* Story 59.4 AC8: everything left-aligns, as in E2 */
body.landing-page .section-headline {
  font-size: 36px;
  font-weight: 600;
  color: var(--brand-text-primary);
  text-align: left;
  letter-spacing: -0.025em;
  line-height: 40px;
  margin: 0;
  max-width: 720px;
}

body.landing-page .section-sub {
  text-align: left;
  font-size: 18px;
  color: var(--brand-text-secondary);
  max-width: 60ch;
  margin: 0;
  line-height: 28px;
}

/* Story 59.4 AC8: E2 section heads — 7/5 grid, stacked, single */
body.landing-page .section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

body.landing-page .section-head--stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 720px;
}

body.landing-page .section-head-single {
  max-width: 720px;
  margin-bottom: 48px;
}

@media (max-width: 991px) {
  body.landing-page .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== 5. TRANSACTION vs STORY SECTION ========== */
body.landing-page .txn-story-section {
  background: var(--brand-alt-bg);
}

body.landing-page .txn-story-body {
  text-align: left;
  font-size: 18px;
  color: var(--brand-text-secondary);
  line-height: 28px;
  max-width: 60ch;
  margin: 0;
}

body.landing-page .txn-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-label);
  margin-bottom: 16px;
  text-align: left;
}

body.landing-page .txn-label.bad { color: var(--brand-loss-text); } /* Story 59.7 AC6 (critique P2-4): one loss red for text */
body.landing-page .txn-label.good { color: var(--brand-success); }

/* Story 59.4 AC8: E2 .txn — radius 12, elevated head row, hint */
body.landing-page .txn-list-mock {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px; /* Story 59.2 AC2: 13px for tabular figures (CRITIQUE-A P1-5) */
}

body.landing-page .txn-list-header {
  display: grid;
  /* Story 59.2 AC2: date column 72 -> 80px so "01/15/26" fits at 13px.
     Story 59.3 AC7: credit column 65 -> 70px for Geist Mono advances. */
  grid-template-columns: 80px 80px 50px 45px 55px 70px;
  background: var(--brand-surface-elevated);
  border-bottom: 1px solid var(--brand-border);
}

body.landing-page .txn-list-header span {
  padding: 8px 6px;
  font-weight: 500;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--brand-text-secondary);
  border-right: 1px solid var(--brand-border);
  white-space: nowrap;
  overflow: hidden;
  font-size: 13px;
  line-height: 20px;
}

body.landing-page .txn-list-row {
  display: grid;
  grid-template-columns: 80px 80px 50px 45px 55px 70px; /* Story 59.2 AC2 / 59.3 AC7 */
  border-bottom: 1px solid var(--brand-border);
}

body.landing-page .txn-list-row span {
  padding: 5px 6px;
  border-right: 1px solid var(--brand-border);
  white-space: nowrap;
  overflow: hidden;
  color: var(--brand-text-secondary);
  font-size: 13px;
  line-height: 20px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Story 59.7 AC6: --brand-loss #EF4444 measures 4.38:1 on the
   #1F1F1F card (13px text needs 4.5) — Lighthouse color-contrast.
   --brand-loss-text #F87171 measures 5.96:1 on the same card. */
body.landing-page .txn-list-row .loss { color: var(--brand-loss-text); }
body.landing-page .txn-list-row .gain { color: var(--brand-success); }

body.landing-page .txn-scroll-hint {
  background: var(--brand-surface-elevated);
  text-align: center;
  padding: 12px;
  color: var(--brand-text-muted);
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 768px) {
  body.landing-page .txn-list-header,
  body.landing-page .txn-list-row {
    /* Story 59.2 AC2: date column 65 -> 72px, symbol 70 -> 72px ("SPY C580"
       clipped 1px at 70). Story 59.3 AC7: credit 60 -> 64px for Geist Mono;
       343px grid in the 350px content box */
    grid-template-columns: 72px 72px 45px 40px 50px 64px;
  }
  body.landing-page .txn-list-header span,
  body.landing-page .txn-list-row span {
    font-size: 12px; /* Story 59.3 D5: 12/20 mobile — the second verbatim exception */
    line-height: 20px;
  }
}

/* ========== DASHBOARD SHOWCASE ========== */
body.landing-page .dashboard-showcase {
  background: var(--brand-alt-bg); /* Story 59.4 AC6: E2 surface sequence */
}

body.landing-page .dashboard-showcase-body {
  text-align: left;
  font-size: 18px;
  color: var(--brand-text-secondary);
  line-height: 28px;
  max-width: 60ch;
  margin: 0;
}

/* Story 59.4 AC7: E2 .frame.showcase-frame — hairline, radius 16, no centring */
body.landing-page .dashboard-showcase-frame {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--brand-card-shadow);
  max-width: 1100px;
  margin-left: 0;
}

body.landing-page .dashboard-showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== BROKERAGE STRIP + PRODUCT GRID ========== */
body.landing-page .txn-brokerage-strip {
  max-width: 720px;
  margin: 0 0 24px; /* Story 59.4 AC8: left-aligned like E2 .txn-strip */
}

body.landing-page .txn-transition {
  text-align: left;
  margin: 24px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Story 59.4: follows the left-aligned strip */
  gap: 10px;
}

body.landing-page .txn-transition-arrow {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0), var(--brand-accent));
  position: relative;
}

body.landing-page .txn-transition-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand-accent);
  border-bottom: 2px solid var(--brand-accent);
}

body.landing-page .txn-transition-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-label);
  color: var(--brand-success);
}

body.landing-page .txn-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

body.landing-page .txn-product-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Story 59.4 AC7: one panel grammar — E2 .card / .card-cap / .shot */
body.landing-page .txn-product-card {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.landing-page .txn-product-grid > .txn-product-card {
  height: 100%;
}

body.landing-page .txn-product-card__caption {
  padding: 16px; /* E2 .card-cap: no divider */
}

body.landing-page .txn-product-card__caption-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-label);
  color: var(--brand-accent-text); /* Story 59.2 AC9: accent-for-text token */
  margin-bottom: 4px;
}

body.landing-page .txn-product-card__caption-title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--brand-text-primary);
  margin-bottom: 2px;
}

body.landing-page .txn-product-card__caption-body {
  font-size: 14px;
  color: var(--brand-text-secondary);
  line-height: 20px;
}

/* E2 .shot: no bare white slabs — every wrap carries the --shot frame */
body.landing-page .txn-product-card__image-wrap {
  overflow: hidden;
  padding: 0;
  background: none;
  flex: 1;
}

body.landing-page .txn-product-card__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Story 63.10: one theme-following frame replaces the --light / --dark
   mats; every picture is a dark or light capture matching the page. */
body.landing-page .txn-product-card__image-wrap--shot {
  padding: 12px;
  background: var(--brand-card-bg);
}

body.landing-page .txn-product-card__image-wrap picture {
  display: block;
}

body.landing-page .txn-product-card__image-wrap--shot img {
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  background: var(--brand-body-bg);
}

@media (max-width: 900px) {
  body.landing-page .txn-product-grid { grid-template-columns: 1fr; }
}

/* ========== 6. FEATURES SECTIONS ========== */
/* Story 59.4 AC6: explicit surfaces per E2's sequence (D8) */
body.landing-page .feature-section {
  background: var(--brand-body-bg);
}

body.landing-page .feature-section.alt {
  background: var(--brand-alt-bg);
}

/* D8: the "Ask a question" section keeps its alt class for the 55.x/29.15
   selectors but sits on body-black in E2's sequence (both classes in the
   selector so this outranks the .alt rule above) */
body.landing-page .feature-section.feature-section--ask {
  background: var(--brand-body-bg);
}

/* Story 59.4 AC7: E2 .split — 5/7 grid, mirror reversed to 7/5 */
body.landing-page .feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}

body.landing-page .mechanics-mirror .feature-inner {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

body.landing-page .feature-text h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--brand-text-primary);
  letter-spacing: -0.02em;
  line-height: 36px;
  margin-bottom: 16px;
}

body.landing-page .feature-text p {
  font-size: 18px;
  color: var(--brand-text-secondary);
  line-height: 28px;
  max-width: 60ch;
  margin-bottom: 20px;
}

body.landing-page .feature-text .footnote {
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-secondary);
  /* Story 59.7 AC6: opacity .7 composited #94A3B8 to 4.31:1 on #000
     (14px needs 4.5) — Lighthouse color-contrast. First fix .75 passed
     on #000 (4.84) but STILL failed on the .alt section's #181818
     (4.43, axe post-deploy). .82 passes BOTH: 5.66 on #000, 5.07 on
     #181818 — footnotes render on both grounds. */
  opacity: 0.82;
  font-style: italic;
}

/* Mechanics Mirror — subordinate benefit list (plain copy, not a stat grid) */
body.landing-page .mirror-benefits {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

body.landing-page .mirror-benefits li {
  font-size: 16px;
  color: var(--brand-text-secondary);
  line-height: 24px;
  padding: 12px 0; /* Story 59.4: E2 .benefits rhythm */
  border-top: 1px solid var(--brand-border);
}

body.landing-page .mirror-benefits li:first-child {
  border-top: none;
}

body.landing-page .mirror-benefits li strong {
  color: var(--brand-text-primary);
  font-weight: 600;
}

/* Two stacked Mirror screenshots share the visual column; the second
   card steps in 48px (E2 .mirror-visual) */
body.landing-page .mechanics-mirror .feature-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

body.landing-page .mechanics-mirror .feature-visual .txn-product-card:nth-child(2) {
  margin-left: 48px;
}

/* Live Market-Context Capture — benefit beat under the chart card */
body.landing-page .live-capture .feature-visual .mirror-benefits {
  margin-top: 24px;
}

@media (max-width: 991px) {
  body.landing-page .feature-inner,
  body.landing-page .mechanics-mirror .feature-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Story 59.4 AC7: on one column the mirror leads with the message
     (E2 .split.rev .visual { order: 2 }) */
  body.landing-page .mechanics-mirror--reversed .feature-visual {
    order: 2;
  }
  body.landing-page .mechanics-mirror .feature-visual .txn-product-card:nth-child(2) {
    margin-left: 0;
  }
}

/* Story 59.4 AC8: E2 .pill */
body.landing-page .query-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

body.landing-page .query-pill {
  display: inline-block;
  padding: 8px 12px;
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  font-size: 13px;
  line-height: 20px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--brand-text-primary);
  font-weight: 400;
}

/* Story 59.4 AC7: E2 .stats — 3-col rows with 1px gutters */
body.landing-page .dashboard-mock {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--brand-card-shadow);
}

body.landing-page .dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--brand-border);
}

body.landing-page .dashboard-stats + .dashboard-stats {
  border-top: 1px solid var(--brand-border);
}

body.landing-page .dashboard-stat {
  background: var(--brand-card-bg);
  padding: 24px;
}

body.landing-page .dashboard-stat-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--brand-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--brand-tracking-label);
  margin-bottom: 4px;
}

body.landing-page .dashboard-stat-value {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: var(--brand-text-primary);
}

body.landing-page .dashboard-stat-value.green { color: var(--brand-success); }
body.landing-page .dashboard-stat-value.blue { color: var(--brand-accent-text); } /* Story 59.2 AC9 */
body.landing-page .dashboard-stat-value.red { color: var(--brand-loss-text); } /* Story 59.4 D1 (E2 .stat-value.red); 59.7 AC6 (critique P2-4): one loss red for text */

@media (max-width: 768px) {
  body.landing-page .feature-text h2 { font-size: 24px; line-height: 32px; }
  body.landing-page .section-headline { font-size: 30px; line-height: 36px; }
  body.landing-page .dashboard-stats { grid-template-columns: 1fr; }
}

/* ========== 8. DATABENTO SECTION ========== */
body.landing-page .databento-section {
  background: var(--brand-alt-bg); /* Story 59.4 AC6 */
}

/* Story 59.4 AC7: E2 .compare — 5/7 grid */
body.landing-page .databento-compare {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}

body.landing-page .databento-card {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Story 59.4 D10-class treatment: outline, not a fat border */
body.landing-page .databento-card.premium {
  outline: 1px solid var(--brand-accent);
  outline-offset: -1px;
}

/* E2 .card-head: name and tag on one row */
body.landing-page .databento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

body.landing-page .databento-card-header h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: var(--brand-text-primary);
  margin: 0;
}

body.landing-page .databento-card-header .tag {
  display: inline-block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
}

body.landing-page .tag.included { background: rgba(16, 185, 129, 0.12); color: var(--brand-success); }
body.landing-page .tag.optional { background: rgba(37, 99, 235, 0.14); color: var(--brand-accent-text); } /* Story 59.2 AC9 */

body.landing-page .databento-footnote {
  text-align: left; /* Story 59.4 AC8 */
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-secondary);
  font-style: italic;
  margin-top: 24px;
}

@media (max-width: 991px) {
  body.landing-page .databento-compare { grid-template-columns: 1fr; }
}

/* ========== FREE-REPORT STRIPS (Story 60-20) ==========
   Two full-width bands: one line of copy + the quiet free-report button.
   A short band, not a full section, so it sits inside the 96px rhythm. */
body.landing-page main > section.free-report-strip {
  background: var(--brand-alt-bg);
  padding: 32px 0;
}

body.landing-page .free-report-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

body.landing-page .free-report-strip-copy {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  color: var(--brand-text-primary);
}

@media (max-width: 768px) {
  body.landing-page main > section.free-report-strip {
    padding: 24px 0;
  }
  body.landing-page .free-report-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== 9. FOUNDER SOCIAL PROOF ========== */
body.landing-page .founder-section {
  background: var(--brand-card-bg); /* Story 59.4 AC6: E2 puts the founder on the card surface */
  text-align: left; /* Story 59.4 AC8 */
}

/* Story 59.4 AC8/D9: E2 .quote, upright, plus the FR5 accent rule */
body.landing-page .founder-quote {
  font-size: 30px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.02em;
  color: var(--brand-hero-text);
  line-height: 36px;
  max-width: 680px;
  margin: 0 0 24px;
  border-left: 2px solid var(--brand-accent);
  padding-left: 24px;
}

body.landing-page .founder-attr {
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-muted); /* Story 59.2 AC1/D3: one muted token for disclosures */
  font-weight: 600;
}

@media (max-width: 768px) {
  body.landing-page .founder-quote { font-size: 24px; line-height: 32px; }
}

/* ========== 10. PRICING (Story 59.4 AC9: E2 .plans/.plan) ========== */
body.landing-page .pricing-section {
  background: var(--brand-alt-bg);
}

body.landing-page .pricing-sub {
  text-align: left;
  font-size: 18px;
  color: var(--brand-text-secondary);
  max-width: 60ch;
  margin: 0;
  line-height: 28px;
}

body.landing-page .pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
}

body.landing-page .pricing-card {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Story 59.4 D10: emphasis by outline + surface; outline never moves
   layout, so the three rows stay on one y */
body.landing-page .pricing-card.featured {
  background: var(--brand-surface-elevated);
  outline: 1px solid var(--brand-accent);
  outline-offset: -1px;
}

/* Story 59.4 AC9: in-flow chip on every card (E2 .plan-badge) */
body.landing-page .pricing-badge {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: var(--brand-tracking-label);
  text-transform: uppercase;
  color: var(--brand-accent-text);
  height: 16px;
  margin-bottom: 8px;
}

body.landing-page .pricing-tier {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--brand-text-secondary);
  text-transform: none;
  letter-spacing: normal;
  height: 20px;
  margin: 0;
}

body.landing-page .pricing-price {
  font-size: 48px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--brand-text-primary);
  margin: 8px 0 4px;
  height: 48px;
}

body.landing-page .pricing-price span {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--brand-text-secondary);
}

body.landing-page .pricing-queries {
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-secondary);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--brand-border);
  height: 45px;
  box-sizing: content-box;
}

/* Story 59.4 AC9: the feature list renders ONCE under the grid
   (CHANGES-E #24) with E2's check SVGs — the ::before glyph is gone */
body.landing-page .pricing-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin: 32px 0 0;
  max-width: 960px;
  padding: 0;
}

body.landing-page .pricing-features li {
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-secondary);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.landing-page .pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--brand-success);
  flex: none;
}

body.landing-page .btn-primary {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--brand-on-accent); /* Story 59.9 D3 (never pure white on dark); Story 63.10: on-accent token */
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--brand-motion-dur) var(--brand-motion-ease), transform var(--brand-motion-dur) var(--brand-motion-ease); /* Story 59.5 AC5 */
}

body.landing-page .btn-primary:hover {
  background: var(--brand-accent-hover);
  transform: translateY(-1px);
}

/* Story 59.4 AC9: both plan buttons on E2 .btn metrics so their boxes match */
body.landing-page .pricing-card a { width: 100%; }

body.landing-page .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--brand-border);
  color: var(--brand-text-primary);
  background: var(--brand-surface-elevated);
  cursor: pointer;
  transition: background var(--brand-motion-dur) var(--brand-motion-ease); /* Story 59.5 AC5 */
}

body.landing-page .btn-outline:hover {
  background: var(--brand-surface-hover);
}

body.landing-page .btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--brand-on-accent); /* Story 59.9 D3 (never pure white on dark); Story 63.10: on-accent token */
  background: var(--brand-accent);
  cursor: pointer;
  transition: background var(--brand-motion-dur) var(--brand-motion-ease); /* Story 59.5 AC5 */
}

body.landing-page .btn-solid:hover {
  background: var(--brand-accent-hover);
}

@media (max-width: 991px) {
  body.landing-page .pricing-cards { grid-template-columns: 1fr; }
}

/* Story 58.3: founding price cards (State A). Strike sits ABOVE the price
   at every width — side-by-side wraps at the ~264px card content width.
   Story 59.4 AC9: fixed-height rows relax to auto for the taller block
   (24 + 4 + 48 = 76 on all three cards in State A). */
body.landing-page .pricing-price.founding { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: auto; min-height: 48px; }
body.landing-page .pricing-was { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: normal; color: var(--brand-text-muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }
/* .founding anchor: must outrank the base `.pricing-price span` (0,2,2) rule */
body.landing-page .pricing-price.founding .pricing-now { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.03em; color: var(--brand-text-primary); white-space: nowrap; }
body.landing-page .pricing-price.founding .pricing-now span { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: normal; color: var(--brand-text-secondary); }
body.landing-page .pricing-founding { font-size: 14px; line-height: 20px; letter-spacing: normal; color: var(--brand-text-secondary); margin: 4px 0 8px; }

body.landing-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ========== 12. FINAL CTA ========== */
body.landing-page .final-cta {
  background: var(--brand-body-bg); /* Story 59.4 AC6 */
  text-align: left; /* Story 59.4 AC8 */
}

body.landing-page .final-cta h2 {
  font-size: 48px;
  line-height: 48px;
  font-weight: 600;
  color: var(--brand-hero-text);
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 680px;
}

body.landing-page .final-cta-sub {
  font-size: 18px;
  line-height: 28px;
  color: var(--brand-text-secondary);
  max-width: 60ch;
  margin: 0 0 36px;
}

body.landing-page .final-cta-micro {
  font-size: 14px;
  line-height: 20px;
  color: var(--brand-text-muted); /* Story 59.2 AC1: .6 alpha slate was 3.38:1 */
  margin-top: 16px;
}

@media (max-width: 768px) {
  body.landing-page .final-cta h2 { font-size: 36px; line-height: 40px; }
}

/* ========== BROWSER FRAME MOCKUP (Story 59.4 AC7: E2 .browser) ========== */
body.landing-page .browser-frame {
  background: var(--brand-card-bg);
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--brand-card-shadow);
}

/* D13: the -48px bleed only where the wrap margin can absorb it */
@media (min-width: 1300px) {
  body.landing-page .browser-frame { margin-right: -48px; }
}

body.landing-page .browser-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--brand-surface-elevated);
}

/* Story 59.4 AC7: one grey — a chrome, not a traffic light */
body.landing-page .browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-surface-hover);
}

/* ========== OVERLAPPING POSITIONS GRID (E2 .overlap-grid) ========== */
body.landing-page .overlapping-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: start;
}

/* E2 .card.pull: the right-column card steps down */
body.landing-page .overlapping-grid > .txn-product-card {
  margin-top: 48px;
}

/* the left column's card + body copy (inline styles moved here, T3) */
body.landing-page .overlapping-grid > div > .txn-product-card {
  margin-bottom: 24px;
}

body.landing-page .overlapping-grid > div > p {
  font-size: 18px;
  color: var(--brand-text-secondary);
  line-height: 28px;
  max-width: 60ch;
}

@media (max-width: 991px) {
  body.landing-page .overlapping-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  body.landing-page .overlapping-grid > .txn-product-card {
    margin-top: 0;
  }
}

/* ========== SECTION ANCHOR SCROLL OFFSET ========== */
/* Story 59.4 AC1 (corrected in-session): scroll-padding-top and
   scroll-margin-top are ADDITIVE — 96 + 96 landed anchors at 192px,
   falsified by measurement. E2 uses only html scroll-padding-top: 96
   (its line 37), which base_public.html now sets; the per-id
   scroll-margin rule is deleted so anchors land at 96. */

/* tastytrade logo — inline in body copy at text size.
 * Used once in the hero (line 20 of landing.html) for the brand moment; all
 * other mentions use plain lowercase text "tastytrade" per brand styling. */
.tt-logo-inline {
  height: 1em;
  width: auto;
  vertical-align: -0.15em;
  display: inline-block;
}

/* Story 59.5 AC1: E2 reveals (UX-DR2). Entrance motion keeps E2's 900ms
   curve (D1); no will-change (D3: ~22 wrappers would pin ~22 compositing
   layers for the page lifetime — Chromium promotes during the transition
   on its own). Transition durations here are the AC5 exception (reveal
   rule). */
body.landing-page .reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(12px);
  transition: opacity var(--brand-reveal-dur) var(--brand-reveal-ease), transform var(--brand-reveal-dur) var(--brand-reveal-ease), filter var(--brand-reveal-dur) var(--brand-reveal-ease); /* Story 59.5 AC5 exception: AC1 reveal rule */
}

body.landing-page .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Story 59.5 D11: delays only between distinct blocks, never on siblings
   a test compares (D2) */
body.landing-page .reveal[data-delay="1"] { transition-delay: 120ms; }
body.landing-page .reveal[data-delay="2"] { transition-delay: 240ms; }
body.landing-page .reveal[data-delay="3"] { transition-delay: 360ms; }

/* Story 59.5 AC3: CSS layer of the two-layer reduced-motion collapse
   (the script layer skips the observer and adds .in) */
@media (prefers-reduced-motion: reduce) {
  body.landing-page .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* Story 63.10: the hero video (and the 2026-09-14 "no control" note that
   went with it) is gone; the hero is the product-UI composition above. */

/* ========== LIGHT MODE (Story 63.10, CAP-8) ==========
   The light token block lives with the dark tokens in base_public.html
   (scoped to body.landing-page); this file stays free of raw hexes
   (Story 59.9 AC4). */

/* ========== SYNCED TRADE (phone only, Story 63.10) ========== */
body.landing-page .synced-trade {
  display: none;
}

body.landing-page .synced-trade-title {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
}

/* ========== PHONE (Story 63.10: the approved Stitch phone landing) ==========
   design-test-2026-10/stitch-mobile/landing-part1..4 and the approved
   phone mockup v2 (mobile-mockups/screens/landing.html): the order
   hero, Ask, dashboard, synced trade + trust lines, transaction story,
   then the rest as on desktop (Brian 2026-10-21/22); every product card
   is a real screenshot in a rounded frame; full-width 48px buttons;
   nothing under 14px; taps 44px. Every phone rule lives in this block. */
@media (max-width: 575.98px) {
  body.landing-page .public-main {
    display: flex;
    flex-direction: column;
  }
  body.landing-page .public-main > * { order: 10; }
  body.landing-page .public-main > .hero { order: 1; }
  body.landing-page .public-main > .feature-section--ask { order: 2; }
  body.landing-page .public-main > .dashboard-showcase { order: 3; }
  body.landing-page .public-main > .synced-trade { order: 4; display: block; }
  body.landing-page .public-main > .trust-bar { order: 5; }
  body.landing-page .public-main > .txn-story-section { order: 6; }

  body.landing-page .landing-container,
  body.landing-page .hero-inner { padding: 0 16px; }
  body.landing-page main > section { padding: 40px 0; }
  body.landing-page section.hero { padding: 0; }
  body.landing-page main > section.dashboard-showcase,
  body.landing-page main > section.synced-trade { border-top: 1px solid var(--brand-border); }

  /* ---- type: the Stitch phone ladder, nothing under 14px ---- */
  body.landing-page .section-headline,
  body.landing-page .feature-text h2,
  body.landing-page .synced-trade-title {
    font-size: 24px;
    line-height: 32px;
  }
  body.landing-page .section-head,
  body.landing-page .section-head-single { margin-bottom: 24px; gap: 12px; }
  body.landing-page .txn-story-body,
  body.landing-page .dashboard-showcase-body,
  body.landing-page .section-sub,
  body.landing-page .pricing-sub,
  body.landing-page .feature-text p,
  body.landing-page .overlapping-grid > div > p,
  body.landing-page .synced-trade-body,
  body.landing-page .final-cta-sub {
    font-size: 16px;
    line-height: 24px;
  }
  body.landing-page .feature-text .footnote,
  body.landing-page .databento-footnote,
  body.landing-page .hero-micro,
  body.landing-page .final-cta-micro,
  body.landing-page .founder-attr {
    font-size: 14px;
    line-height: 20px;
  }
  /* the uppercase label idiom: 12px on desktop, the Stitch eyebrow (mono 14) here */
  body.landing-page .txn-product-card__caption-label,
  body.landing-page .txn-label,
  body.landing-page .txn-transition-label,
  body.landing-page .dashboard-stat-label,
  body.landing-page .synced-trade-eyebrow,
  body.landing-page .feature-section--ask .footnote {
    font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
  }
  body.landing-page .synced-trade-eyebrow,
  body.landing-page .feature-section--ask .footnote {
    color: var(--brand-accent-text);
    font-style: normal;
    opacity: 1;
    margin: 0 0 8px;
  }
  body.landing-page .txn-scroll-hint,
  body.landing-page .databento-card-header .tag,
  body.landing-page .pricing-badge,
  body.landing-page .pricing-founding,
  body.landing-page .pricing-queries,
  body.landing-page .pricing-features li {
    font-size: 14px;
    line-height: 20px;
  }

  /* ---- buttons: full width, 48px; one filled primary per viewport ---- */
  body.landing-page main .btn-cta,
  body.landing-page main .btn-outline,
  body.landing-page main .btn-primary,
  body.landing-page main .btn-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    text-align: center;
  }
  body.landing-page .hero-actions,
  body.landing-page .final-cta-actions {
    display: grid;
    gap: 12px;
  }

  /* ---- hero: text and buttons, no picture ---- */
  body.landing-page .hero-shots { display: none; }
  body.landing-page .hero-text { padding: 96px 0 28px; }
  body.landing-page .hero-badge {
    display: flex;
    align-items: baseline;
    gap: 10px;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    background: var(--brand-card-bg);
    padding: 8px 14px;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
  }
  body.landing-page .hero-badge::before {
    content: '';
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-accent);
    transform: translateY(-1px);
  }
  body.landing-page .hero h1 { margin-bottom: 16px; }
  body.landing-page .hero h1 .line + .line { color: var(--brand-accent-text); }
  body.landing-page .hero-sub { margin-bottom: 24px; }

  /* ---- Ask: the "every plan" line is the eyebrow; pills are stacked rows ---- */
  body.landing-page .feature-section--ask .feature-text {
    display: flex;
    flex-direction: column;
  }
  body.landing-page .feature-section--ask .footnote { order: -1; }
  body.landing-page .query-pills {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
  }
  body.landing-page .query-pills > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
  }
  body.landing-page .query-pills > span::after {
    content: '\2192';
    flex: none;
    color: var(--brand-accent-text);
  }
  body.landing-page .query-pills > span:first-child { border-color: var(--brand-accent); }
  body.landing-page .feature-inner,
  body.landing-page .mechanics-mirror .feature-inner { gap: 24px; }
  body.landing-page .browser-frame {
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  body.landing-page .browser-titlebar { display: none; }

  /* ---- every product picture: a rounded frame, blue hairline and glow ---- */
  body.landing-page .txn-product-card,
  body.landing-page .databento-card {
    background: none;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }
  body.landing-page .databento-card.premium { outline: 0; }
  body.landing-page .txn-product-card__caption { padding: 0 0 10px; }
  body.landing-page .txn-product-card__caption-title {
    font-size: 18px;
    line-height: 28px;
  }
  body.landing-page .txn-product-card__caption-body {
    font-size: 14px;
    line-height: 20px;
  }
  body.landing-page .databento-card-header { padding: 0 0 10px; flex-wrap: wrap; gap: 8px; }
  body.landing-page .txn-product-card__image-wrap--shot,
  body.landing-page .dashboard-showcase-frame {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
    border-radius: 0;
  }
  body.landing-page .txn-product-card__image-wrap--shot img,
  body.landing-page .dashboard-showcase-frame img,
  body.landing-page .landing-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--brand-shot-edge);
    box-shadow: 0 0 0 4px var(--brand-shot-ring), 0 18px 48px -12px var(--brand-shot-glow);
    background: var(--brand-card-bg);
  }
  body.landing-page .txn-product-grid,
  body.landing-page .txn-product-stack,
  body.landing-page .mechanics-mirror .feature-visual,
  body.landing-page .databento-compare { gap: 32px; }
  body.landing-page .overlapping-grid > div > .txn-product-card { margin-bottom: 20px; }

  /* ---- synced trade: three captions, the picture, then the trust lines ---- */
  body.landing-page main > section.synced-trade { padding: 40px 0 24px; }
  body.landing-page .synced-trade-title {
    font-weight: 600;
    color: var(--brand-text-primary);
    margin: 0 0 10px;
  }
  body.landing-page .synced-trade-body {
    color: var(--brand-text-secondary);
    margin: 0 0 20px;
  }
  body.landing-page .landing-shot picture { display: block; }

  /* ---- trust lines: stacked cards with an icon tile ---- */
  body.landing-page .trust-bar {
    background: none;
    border: 0;
    padding: 0 0 40px;
  }
  body.landing-page .trust-bar-inner {
    display: grid;
    gap: 12px;
    font-size: 16px;
    line-height: 24px;
    color: var(--brand-text-primary);
  }
  body.landing-page .trust-bar-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--brand-card-bg);
    border: 1px solid var(--brand-border);
    border-radius: 14px;
  }
  body.landing-page .trust-bar-item svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--brand-accent-text);
  }

  /* ---- the brokerage list: stacked fill rows, every value 14px ---- */
  body.landing-page .txn-brokerage-strip { max-width: none; }
  /* the column heads stay in the page for screen readers (each row
     repeats them visually as Qty / Price / Credit): clipped away, but
     still a 6-column row whose cells fit their words */
  body.landing-page .txn-list-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    clip-path: inset(50%);
    grid-template-columns: repeat(6, max-content);
    pointer-events: none;
  }
  body.landing-page .txn-list-header span { font-size: 14px; }
  body.landing-page .txn-list-mock { position: relative; }
  body.landing-page .txn-list-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "date sym type" "qty price credit";
    gap: 2px 12px;
    padding: 10px 14px;
  }
  body.landing-page .txn-list-row span {
    border-right: 0;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
  }
  body.landing-page .txn-list-row span:nth-child(1) { grid-area: date; color: var(--brand-text-primary); }
  body.landing-page .txn-list-row span:nth-child(2) { grid-area: sym; color: var(--brand-text-primary); }
  body.landing-page .txn-list-row span:nth-child(3) { grid-area: type; text-align: right; }
  body.landing-page .txn-list-row span:nth-child(4) { grid-area: qty; }
  body.landing-page .txn-list-row span:nth-child(5) { grid-area: price; }
  body.landing-page .txn-list-row span:nth-child(6) { grid-area: credit; text-align: right; }
  body.landing-page .txn-list-row span:nth-child(4)::before { content: 'Qty: '; }
  body.landing-page .txn-list-row span:nth-child(5)::before { content: 'Price: '; }
  body.landing-page .txn-list-row span:nth-child(6)::before { content: 'Credit: '; color: var(--brand-text-secondary); }
  body.landing-page .txn-scroll-hint { text-align: left; padding: 12px 14px; }
  body.landing-page .txn-transition { margin: 20px 0 24px; }

  /* ---- strategy figures: 2 x 3 stat tiles in the same order ---- */
  body.landing-page .dashboard-mock {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  body.landing-page .dashboard-stats { display: contents; }
  body.landing-page .dashboard-stat {
    background: var(--brand-card-bg);
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 12px 14px;
  }
  body.landing-page .dashboard-stat-value {
    font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
  }

  /* ---- lists, quote, strips, final ---- */
  body.landing-page .mirror-benefits li { font-size: 16px; line-height: 24px; }
  body.landing-page .founder-quote { font-size: 20px; line-height: 28px; padding-left: 16px; }
  body.landing-page main > section.free-report-strip { padding: 24px 0; }
  body.landing-page .free-report-strip-inner {
    align-items: stretch;
    background: var(--brand-card-bg);
    border: 1px solid var(--brand-shot-edge);
    border-radius: 18px;
    padding: 20px 16px;
  }
  body.landing-page .free-report-strip-copy { font-size: 20px; line-height: 28px; }
  body.landing-page .final-cta h2 { font-size: 30px; line-height: 36px; }

  /* ---- chrome (this page only): the logo mark at 14px, footer links 44px ---- */
  body.landing-page .logo-box { font-size: 14px; line-height: 20px; }
  body.landing-page .nav-logo { min-height: 44px; }
  body.landing-page .footer-links a { min-width: 44px; justify-content: center; }
  body.landing-page .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    line-height: 20px;
  }
  body.landing-page .footer-bottom { font-size: 14px; line-height: 20px; }
}
