/* ============================================================================
   Segmara v8 design layer
   Loaded AFTER the page's inline <style>, so it wins the cascade at equal
   specificity. Nothing here touches markup, routes, form field names, or the
   data-review-* tracking attributes.

   Design read: redesign-overhaul of a private-markets research landing for
   retail investors sizing pre-IPO names. Trust-first editorial-financial
   language on the existing forest-green brand.
   Dials: DESIGN_VARIANCE 6 / MOTION_INTENSITY 4 / VISUAL_DENSITY 4.
   (Trust-first finance caps variance and motion; redesign-overhaul adds +2/+2.)

   Locks:
     - one accent: forest green, used identically in every section
     - one radius system: 6px interactive, 14px containers, 999px pills
     - one theme: light, locked (see the dark-mode note below)
     - type: IBM Plex Serif 600 display / Plex Sans 400-600 UI / Plex Mono
       400-500 numerals. Only weights actually loaded from Google Fonts are
       referenced, so nothing is faux-bolded.
   ========================================================================= */

:root {
  color-scheme: light;

  --v8-paper:      #f4f6f3;
  --v8-paper-2:    #eaeee9;
  --v8-surface:    #ffffff;
  --v8-surface-2:  #fafbf9;

  --v8-ink:        #0f1512;
  --v8-ink-2:      #2b332e;
  --v8-muted:      #5d6862;
  --v8-faint:      #8a938d;

  --v8-line:       #dde3dd;
  --v8-line-2:     #c7d0c8;

  --v8-accent:     #14603a;
  --v8-accent-2:   #0f4a2d;
  --v8-accent-ink: #ffffff;
  --v8-accent-wash:#e6f0e9;

  --v8-deep:       #0c1a13;
  --v8-deep-2:     #14291d;
  --v8-on-deep:    #f2f6f2;
  --v8-on-deep-mut:#9db0a4;

  --v8-r-int:   6px;
  --v8-r-box:   14px;
  --v8-r-pill:  999px;

  --v8-max:      74rem;
  --v8-gutter:   clamp(18px, 4vw, 44px);

  --v8-ease:     cubic-bezier(.2, .8, .2, 1);
  --v8-fast:     150ms;
  --v8-slow:     420ms;

  --v8-sans:  "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --v8-serif: "IBM Plex Serif", "Iowan Old Style", Georgia, serif;
  --v8-mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --v8-shadow-1: 0 1px 2px rgba(15, 21, 18, .05);
  --v8-shadow-2: 0 18px 48px -24px rgba(12, 26, 19, .35);
}

/* Dark mode deliberately NOT shipped. The homepage carries ~1000 lines of
   inline CSS with hardcoded light surfaces (#fff, rgba(255,255,255,.94)) that a
   token layer cannot reach. A token-only dark mode renders a broken hybrid:
   light chrome, dark text. Locking light is the honest choice until the inline
   block is tokenised. */

/* --------------------------------------------------------------------------
   1. Base
   ----------------------------------------------------------------------- */

body.book-home,
body {
  background: var(--v8-paper);
  color: var(--v8-ink);
  font-family: var(--v8-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.book-main,
main.book-main {
  overflow-x: clip;
  max-width: var(--v8-max);
  padding-inline: var(--v8-gutter);
}

/* Numerals never jitter between rows. */
.v8-num,
body.book-home .listing-price,
.preview-price,
body.book-home .v2-statband strong,
.symbol,
.qty,
code, kbd, samp {
  font-family: var(--v8-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
}

h1, h2, h3 {
  color: var(--v8-ink);
  text-wrap: balance;
}

body.book-home .book-hero h1,
h1 {
  font-family: var(--v8-serif);
  font-weight: 600;
  font-size: clamp(2.55rem, 5.6vw, 4.6rem);
  line-height: .97;
  letter-spacing: -.025em;
  margin: 0;
}

h2 {
  font-family: var(--v8-sans);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}

p { color: var(--v8-ink-2); max-width: 68ch; }

a { color: inherit; }

::selection { background: var(--v8-accent); color: var(--v8-accent-ink); }

:where(a, button, .btn, input, select, summary):focus-visible {
  outline: 2px solid var(--v8-accent);
  outline-offset: 3px;
  border-radius: var(--v8-r-int);
}

/* --------------------------------------------------------------------------
   2. Header. One line at desktop, 68px tall.
   ----------------------------------------------------------------------- */

.top.home-top,
.top {
  align-items: center;
  background: color-mix(in srgb, var(--v8-paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--v8-line);
  border-radius: 0;
  box-shadow: none;
  gap: clamp(16px, 3vw, 40px);
  margin: 0;
  min-height: 68px;
  padding: 0 var(--v8-gutter);
  position: sticky;
  top: 0;
  z-index: 40;
}

.top .brand,
.brand {
  font-family: var(--v8-serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--v8-ink);
  text-decoration: none;
}

.subnav { gap: clamp(10px, 1.6vw, 26px); }

.navlink {
  color: var(--v8-muted);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  padding: 6px 2px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--v8-fast) var(--v8-ease);
}

.navlink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--v8-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--v8-fast) var(--v8-ease);
}

.navlink:hover { color: var(--v8-ink); }
.navlink:hover::after,
.navlink.active::after { transform: scaleX(1); }

.login-link {
  color: var(--v8-ink-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.login-link:hover { color: var(--v8-accent); }

/* --------------------------------------------------------------------------
   3. Buttons. One shape system, WCAG AA text contrast on every variant.
   ----------------------------------------------------------------------- */

.btn,
button,
input[type="submit"] {
  border-radius: var(--v8-r-int);
  font-family: var(--v8-sans);
  font-weight: 600;
  letter-spacing: -.008em;
  transition:
    transform var(--v8-fast) var(--v8-ease),
    background-color var(--v8-fast) var(--v8-ease),
    border-color var(--v8-fast) var(--v8-ease),
    box-shadow var(--v8-fast) var(--v8-ease);
  white-space: nowrap;
}

.btn,
.header-cta,
button[type="submit"] {
  background: var(--v8-accent);
  border: 1px solid var(--v8-accent);
  color: var(--v8-accent-ink);
}

.btn:hover,
.header-cta:hover,
button[type="submit"]:hover {
  background: var(--v8-accent-2);
  border-color: var(--v8-accent-2);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--v8-accent) 70%, transparent);
}

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

.btn.secondary,
.top a.btn.secondary {
  background: var(--v8-surface);
  border: 1px solid var(--v8-line-2);
  color: var(--v8-ink);
}
.btn.secondary:hover,
.top a.btn.secondary:hover {
  background: var(--v8-surface-2);
  border-color: var(--v8-accent);
  color: var(--v8-ink);
}

.header-cta { padding: 9px 18px; font-size: 14.5px; }

.quiet-link {
  color: var(--v8-ink-2);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--v8-line-2);
  padding-bottom: 2px;
  transition: border-color var(--v8-fast) var(--v8-ease), color var(--v8-fast) var(--v8-ease);
}
.quiet-link:hover { color: var(--v8-accent); border-color: var(--v8-accent); }

/* --------------------------------------------------------------------------
   4. Hero. Was a dark rectangle floating inside a light page with white
      gutters, which read as a container bug. Now it bleeds edge to edge and
      the content keeps the page's measure.
   ----------------------------------------------------------------------- */

body.book-home .book-hero {
  background:
    radial-gradient(120% 90% at 8% 0%, var(--v8-deep-2) 0%, transparent 62%),
    linear-gradient(168deg, var(--v8-deep) 0%, #0a1710 58%, var(--v8-deep) 100%);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--v8-on-deep);
  border-radius: var(--v8-r-box) var(--v8-r-box) 0 0;
  margin-bottom: 0;
  padding: clamp(56px, 8vh, 96px) clamp(28px, 4vw, 60px);
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

/* Hairline horizon so the dark band ends on an edge, not a fade. */
.book-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--v8-accent) 60%, transparent), transparent);
}

body.book-home .book-hero h1 { color: #ffffff; max-width: 15ch; }

body.book-home .book-hero .book-copy,
body.book-home .book-hero p {
  color: var(--v8-on-deep-mut);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  margin: 1.15rem 0 0;
  max-width: 46ch;
}

body.book-home .book-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(24px, 3.5vh, 38px);
}

body.book-home .book-hero .btn { padding: 12px 22px; font-size: 15.5px; }

body.book-home .book-hero .btn.secondary {
  background: transparent;
  border-color: color-mix(in srgb, #ffffff 34%, transparent);
  color: #ffffff;
}
body.book-home .book-hero .btn.secondary:hover {
  background: color-mix(in srgb, #ffffff 10%, transparent);
  border-color: #ffffff;
  color: #ffffff;
}

body.book-home .book-hero .quiet-link {
  color: var(--v8-on-deep-mut);
  border-color: color-mix(in srgb, #ffffff 26%, transparent);
}
body.book-home .book-hero .quiet-link:hover { color: #ffffff; border-color: #ffffff; }

/* --------------------------------------------------------------------------
   5. Featured panel inside the hero.
   ----------------------------------------------------------------------- */

body.book-home .book-preview {
  background: color-mix(in srgb, #ffffff 5%, transparent);
  border: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
  border-radius: var(--v8-r-box);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 10%, transparent), 0 30px 70px -40px #000;
  padding: clamp(18px, 2vw, 26px);
}

body.book-home .book-preview .preview-top span {
  color: var(--v8-on-deep-mut);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.book-home .book-preview .preview-account strong {
  color: #ffffff;
  display: block;
  font-family: var(--v8-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.015em;
}
body.book-home .book-preview .preview-account span {
  color: var(--v8-on-deep-mut);
  font-size: 13.5px;
}

body.book-home .book-preview .preview-row,
body.book-home .book-preview .company-row {
  align-items: center;
  border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
  gap: 14px;
  padding: 13px 0;
  transition: background-color var(--v8-fast) var(--v8-ease);
}
body.book-home .book-preview .preview-row:first-of-type { border-top: 0; }
body.book-home .book-preview .preview-row:hover {
  background: color-mix(in srgb, #ffffff 4%, transparent);
}

body.book-home .book-preview .company-icon,
body.book-home .book-preview .logo {
  background: color-mix(in srgb, #ffffff 92%, transparent);
  border-radius: 8px;
  flex: 0 0 auto;
}

body.book-home .book-preview .preview-price {
  color: color-mix(in srgb, var(--v8-accent-2) 82%, #ffffff);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   6. Logo strip. Was clipped hard at both edges. Now it fades.
   ----------------------------------------------------------------------- */

body.book-home .v2-logo-strip {
  background: var(--v8-surface);
  border: 1px solid var(--v8-line);
  border-top: 0;
  border-radius: 0 0 var(--v8-r-box) var(--v8-r-box);
  margin-top: 0;
  padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.v2-logo-item {
  color: var(--v8-muted);
  font-size: 13.5px;
  font-weight: 500;
  gap: 8px;
  opacity: .78;
  transition: opacity var(--v8-fast) var(--v8-ease);
}
.v2-logo-item:hover { opacity: 1; }
.v2-logo-item em {
  color: var(--v8-faint);
  font-family: var(--v8-mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: .08em;
}

.v2-logo-note {
  color: var(--v8-faint);
  font-size: 12px;
  margin: 14px auto 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   7. Stat band. Was three identical bordered cards. Now a hairline row with
      asymmetric columns and display numerals.
   ----------------------------------------------------------------------- */

body.book-home .v2-statband {
  background: none;
  border: 0;
  border-block: 1px solid var(--v8-line);
  border-radius: 0;
  display: grid;
  gap: 0;
  grid-template-columns: 1.05fr 1.35fr 1fr;
  margin-block: clamp(48px, 7vh, 84px);
  padding: 0;
}

body.book-home .v2-statband > div {
  background: none;
  border: 0;
  border-left: 1px solid var(--v8-line);
  border-radius: 0;
  box-shadow: none;
  padding: clamp(26px, 3.4vw, 40px) clamp(18px, 2.4vw, 34px);
}
body.book-home .v2-statband > div:first-child { border-left: 0; padding-left: 0; }

body.book-home .v2-statband strong {
  color: var(--v8-ink);
  display: block;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

body.book-home .v2-statband span {
  color: var(--v8-muted);
  display: block;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 12px;
  max-width: 30ch;
}

/* --------------------------------------------------------------------------
   8. Review process. Was a definition list with a hairline under every row.
      Now a stepped two-column read with sparse rules.
   ----------------------------------------------------------------------- */

.review-process {
  margin-block: clamp(48px, 7vh, 88px);
}

.review-process h2 {
  margin-bottom: clamp(24px, 3vh, 38px);
  max-width: 18ch;
  text-align: left;
}

.review-process dl {
  border-top: 1px solid var(--v8-line);
  display: grid;
  gap: 0;
  margin: 0;
}

body.book-home .review-process dl > div {
  align-items: start;
  border-top: 0;
  border-bottom: 0;
  display: grid;
  gap: clamp(12px, 3vw, 40px);
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  padding: clamp(20px, 2.6vh, 28px) 0;
  position: relative;
}

body.book-home .review-process dl > div + div { border-top: 1px solid var(--v8-line); }

body.book-home .review-process dt {
  color: var(--v8-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -.015em;
}

body.book-home .review-process dd {
  color: var(--v8-muted);
  font-size: 15.5px;
  margin: 0;
  max-width: 58ch;
}

/* --------------------------------------------------------------------------
   9. Tracker. The one conversion surface on the page, so it gets the only
      elevated container.
   ----------------------------------------------------------------------- */

body.book-home .tracker-product {
  background: var(--v8-surface);
  border: 1px solid var(--v8-line);
  border-radius: var(--v8-r-box);
  box-shadow: var(--v8-shadow-2);
  margin-block: clamp(48px, 7vh, 88px);
  padding: clamp(28px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}

.tracker-product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--v8-accent), color-mix(in srgb, var(--v8-accent) 30%, transparent));
}

body.book-home .tracker-product h2 { margin-bottom: .35rem; }
body.book-home .tracker-product > p { color: var(--v8-muted); font-size: 15.5px; }

.homepage-tracker-form,
body.book-home .tracker-product form {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-top: clamp(20px, 3vh, 30px);
  max-width: 42rem;
  padding: 0;
}

.homepage-tracker-form label,
body.book-home .tracker-product label {
  color: var(--v8-ink-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.homepage-tracker-form input,
body.book-home .tracker-product input[type="email"] {
  background: var(--v8-surface-2);
  border: 1px solid var(--v8-line-2);
  border-radius: var(--v8-r-int);
  color: var(--v8-ink);
  font-size: 16px;
  min-height: 50px;
  padding: 0 14px;
}

.homepage-tracker-form input::placeholder,
body.book-home .tracker-product input::placeholder { color: var(--v8-faint); }

.homepage-tracker-form input:focus,
body.book-home .tracker-product input:focus {
  background: var(--v8-surface);
  border-color: var(--v8-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--v8-accent) 16%, transparent);
  outline: none;
}

.homepage-tracker-form button[type="submit"],
body.book-home .tracker-product button[type="submit"] {
  background: var(--v8-accent);
  border: 1px solid var(--v8-accent);
  border-radius: var(--v8-r-int);
  color: var(--v8-accent-ink);
  font-size: 15.5px;
  min-height: 50px;
  padding: 0 26px;
}
.homepage-tracker-form button[type="submit"]:hover,
body.book-home .tracker-product button[type="submit"]:hover {
  background: var(--v8-accent-2);
  border-color: var(--v8-accent-2);
}

body.book-home .tracker-product > p:last-of-type,
.homepage-tracker-form p {
  color: var(--v8-faint);
  font-size: 12.5px;
  text-align: left;
}

/* --------------------------------------------------------------------------
   10. Listings. Was twelve identical shadowed cards with a wrapping price and
       the same disclaimer repeated twelve times. Now the price is the anchor,
       the boilerplate recedes, and the grid breathes.
   ----------------------------------------------------------------------- */

.book-section { margin-block: clamp(48px, 7vh, 88px); }

body.book-home .section-head {
  align-items: end;
  border-bottom: 1px solid var(--v8-line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: clamp(22px, 3vh, 32px);
  padding-bottom: clamp(14px, 2vh, 20px);
}
body.book-home .section-head h2 { margin-bottom: .25rem; }
body.book-home .section-head p { color: var(--v8-muted); font-size: 14.5px; margin: 0; }

.filter-clear {
  color: var(--v8-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.filter-clear:hover { text-decoration: underline; text-underline-offset: 4px; }

body.book-home .listing-list {
  display: grid;
  gap: clamp(12px, 1.4vw, 18px);
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}

body.book-home .listing-card {
  align-content: start;
  background: var(--v8-surface);
  border: 1px solid var(--v8-line);
  border-radius: var(--v8-r-box);
  box-shadow: none;
  display: grid;
  gap: 0;
  padding: clamp(18px, 1.8vw, 22px);
  position: relative;
  transition:
    border-color var(--v8-fast) var(--v8-ease),
    box-shadow var(--v8-slow) var(--v8-ease),
    transform var(--v8-slow) var(--v8-ease);
}

.listing-card:hover {
  border-color: var(--v8-line-2);
  box-shadow: var(--v8-shadow-2);
  transform: translateY(-2px);
}

.listing-copy { display: grid; gap: 4px; }

body.book-home .listing-title {
  color: var(--v8-ink);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.2;
}

.listing-copy > span {
  color: var(--v8-faint);
  font-size: 12px;
  letter-spacing: .01em;
}

.listing-data-link {
  color: var(--v8-accent);
  font-size: 13px;
  font-weight: 500;
  justify-self: start;
  margin-top: 2px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--v8-fast) var(--v8-ease);
}
.listing-data-link:hover { border-color: currentColor; }

/* The price gets its own full-width line, so it stops wrapping to three. */
body.book-home .listing-price {
  border-top: 1px solid var(--v8-line);
  color: var(--v8-ink);
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin-top: 14px;
  padding-top: 12px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.listing-price::-webkit-scrollbar { display: none; }

body.book-home .listing-card .btn.review-entry {
  font-size: 14px;
  justify-self: stretch;
  margin-top: 14px;
  padding: 10px 16px;
  text-align: center;
}

/* Repeated twelve times. Kept for compliance, demoted visually. */
body.book-home .review-boundary {
  border: 0;
  color: var(--v8-faint);
  font-size: 11.5px;
  line-height: 1.4;
  margin: 10px 0 0;
  max-width: none;
}

/* --------------------------------------------------------------------------
   11. Fine print and footer.
   ----------------------------------------------------------------------- */

.fine-print,
.quiet-note {
  color: var(--v8-faint);
  font-size: 12.5px;
  line-height: 1.55;
  margin-inline: auto;
  max-width: 74ch;
  text-align: center;
}

body.book-home .site-footer {
  align-items: center;
  border-top: 1px solid var(--v8-line);
  color: var(--v8-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  margin-top: clamp(40px, 6vh, 72px);
  padding-block: clamp(26px, 4vh, 40px);
}

body.book-home .site-footer > span {
  font-family: var(--v8-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--v8-ink);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links a {
  color: var(--v8-muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: color var(--v8-fast) var(--v8-ease);
}
.footer-links a:hover { color: var(--v8-accent); }

/* --------------------------------------------------------------------------
   12. Motion. MOTION_INTENSITY 4.
       Each animation earns its place: section reveals give reading hierarchy
       as content enters, the hero entrance orders the first read, and button
       or card transforms are pure feedback. No scroll listeners, no JS: this
       is CSS scroll-driven animation, so it degrades to static on browsers
       that lack it.
   ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  @keyframes v8-rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }

  .book-hero > div > * {
    animation: v8-rise 640ms var(--v8-ease) backwards;
  }
  .book-hero > div > h1              { animation-delay:  40ms; }
  .book-hero > div > .book-copy      { animation-delay: 140ms; }
  .book-hero > div > .hero-actions   { animation-delay: 240ms; }
  .book-preview                      { animation: v8-rise 760ms var(--v8-ease) 180ms backwards; }

  /* Scroll-driven reveals were removed after inspecting the rendered page:
     with `animation: ... both` on a view() timeline, every section that the
     timeline did not resolve stayed at opacity 0. Twelve company cards and a
     whole section rendered blank. An animation that can hide content is worse
     than no animation, so motion now stops at the hero entrance plus hover
     and press feedback. */
}

@media (prefers-reduced-motion: reduce) {
  .book-hero > div > *,
  .book-preview,
  .v2-statband > div,
  .review-process dl > div,
  .tracker-product,
  .section-head,
  .listing-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .listing-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   13. Responsive. Every multi-column block states its own collapse.
   ----------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .book-hero { grid-template-columns: 1fr; }
  .book-preview { margin-top: clamp(28px, 4vh, 44px); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .top.home-top { min-height: 60px; padding-inline: 16px; }
  .subnav { display: none; }

  .book-hero {
    padding-block: clamp(48px, 8vh, 72px);
    text-align: left;
  }
  .book-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); max-width: none; }
  .book-hero .hero-actions > .btn { flex: 1 1 auto; text-align: center; }

  .v2-statband { grid-template-columns: 1fr; }
  .v2-statband > div {
    border-left: 0;
    border-top: 1px solid var(--v8-line);
    padding-inline: 0;
  }
  .v2-statband > div:first-child { border-top: 0; }
  .v2-statband span { max-width: none; }

  .review-process dl > div { grid-template-columns: 1fr; gap: 6px; }

  .listing-list { grid-template-columns: 1fr; }

  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   14. Print
   ----------------------------------------------------------------------- */

@media print {
  .top, .site-footer, .v2-logo-strip { display: none; }
  .book-hero { background: none; color: #000; }
  .book-hero h1 { color: #000; }
  .listing-card { break-inside: avoid; border-color: #999; }
}


/* --------------------------------------------------------------------------
   15. Corrections found by inspecting the rendered page
   ----------------------------------------------------------------------- */

/* The hero kept a negative inline margin from the old stylesheet, so it sat
   32px left of the header and the two edges never lined up. */
body.book-home .book-hero {
  margin-inline: 0;
  margin-bottom: 0;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  padding-block: clamp(48px, 7vh, 78px);
}

/* Two lines, never three. A 3-line hero headline is a font-size error. */
body.book-home .book-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  max-width: 13ch;
}

body.book-home .book-hero .book-copy { max-width: 42ch; }

/* Header and hero are one masthead block: same width, no overlap, no gap. */
body.book-home .top.home-top {
  border-radius: var(--v8-r-box) var(--v8-r-box) 0 0;
  margin-bottom: 0;
}
body.book-home .book-hero { border-radius: 0; }

/* Featured rows: the sector label was wrapping and shoving the price into the
   middle of the row. Keep each row on one line. */
body.book-home .book-preview .preview-row,
body.book-home .book-preview .company-row {
  display: flex;
  flex-wrap: nowrap;
}
body.book-home .book-preview .company-row > div,
body.book-home .book-preview .company-row > span:not(.company-icon):not(.preview-price) {
  min-width: 0;
  flex: 1 1 auto;
}
body.book-home .book-preview .company-row span:not(.company-icon):not(.preview-price) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.book-home .book-preview .preview-price {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

/* Logo marquee was starting off-canvas on the left. */
body.book-home .v2-logo-strip {
  overflow: hidden;
  position: relative;
}
body.book-home .v2-logo-strip .v2-logo-track {
  padding-inline: clamp(20px, 3vw, 40px);
}

/* The price line kept losing to a more specific inline rule. */
body.book-home .listing-card .listing-price,
body.book-home .company-listing .listing-price {
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

/* Prices were being clipped mid-string ("as of June" with the year cut off).
   Truncated financial data is worse than small financial data. */
body.book-home .book-hero {
  grid-template-columns: minmax(0, .96fr) minmax(352px, .88fr);
}
body.book-home .book-preview .preview-price {
  font-size: 11.5px;
  letter-spacing: -.015em;
  white-space: nowrap;
  flex: 0 0 auto;
}
body.book-home .book-preview .company-row > div,
body.book-home .book-preview .company-row > span:not(.company-icon):not(.preview-price) {
  flex: 1 1 auto;
  min-width: 0;
}
body.book-home .book-preview .preview-row { gap: 10px; }
body.book-home .book-preview .company-icon { width: 34px; height: 34px; }

/* The price cannot be forced onto one line: the server stylesheet carries a
   `white-space: normal !important` guard. So give it room instead of fighting
   it. The card drops to the single-column stack the stylesheet already defines
   for narrow viewports, which reads better anyway: name, then price, then the
   call to action. */
body.book-home .listing-list > article.company-listing {
  grid-template-areas: "copy" "price" "action" "boundary";
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
body.book-home .listing-list > article.company-listing > .listing-price {
  font-size: 12.5px;
  justify-self: start;
  text-align: left;
  width: 100%;
}
body.book-home .listing-list > article.company-listing > .listing-copy { gap: 4px; }

/* --------------------------------------------------------------------------
   16. Contrast and alignment corrections
   ----------------------------------------------------------------------- */

/* Prices in the hero panel were rendering dim green on near-black, well under
   WCAG AA. Financial figures are the one thing on this page that must never be
   hard to read. */
body.book-home .book-preview .preview-price {
  color: #d9e8dd;
  font-weight: 500;
  opacity: 1;
}
body.book-home .book-preview .company-row strong,
body.book-home .book-preview .company-row b { color: #ffffff; }
body.book-home .book-preview .company-row span:not(.company-icon):not(.preview-price) {
  color: #a9bcb0;
}

/* The process section sat in its own narrow centred column while every other
   section started at the page gutter, so it read as misaligned. */
body.book-home .review-process {
  margin-inline: 0;
  max-width: none;
  text-align: left;
}
body.book-home .review-process h2 { margin-inline: 0; }
body.book-home .review-process dl { max-width: 60rem; }

/* The tracker is the page's only conversion surface. Give the field and the
   button the width of the card instead of stranding them on the left. */
body.book-home .tracker-product form { max-width: none; }
body.book-home .tracker-product form > label { max-width: 34rem; }
body.book-home .tracker-product button[type="submit"] {
  justify-self: start;
  max-width: 34rem;
  width: 100%;
}

/* First marquee slot was rendering as an empty tile. */
body.book-home .v2-logo-strip .v2-logo-item img[src=""],
body.book-home .v2-logo-strip .v2-logo-item img:not([src]) { display: none; }

/* --------------------------------------------------------------------------
   17. Responsive, restated at the specificity the later rules created
   The earlier breakpoints used bare `.book-hero`, which lost to the
   `body.book-home .book-hero` rules added below them. At 390px the second
   column kept its 352px minimum, the headline column collapsed to a few pixels
   and the h1 rendered one character per line.
   ----------------------------------------------------------------------- */

@media (max-width: 1024px) {
  body.book-home .book-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vh, 40px);
  }
  body.book-home .book-preview { margin-top: 0; }
}

@media (max-width: 760px) {
  body.book-home .book-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(36px, 6vh, 56px) 20px;
  }
  body.book-home .book-hero h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.5rem);
    line-height: 1.06;
    max-width: none;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  body.book-home .book-hero .book-copy { max-width: none; }
  body.book-home .book-hero .hero-actions { gap: 10px 14px; }

  body.book-home .book-preview { min-width: 0; }
  body.book-home .book-preview .company-row { gap: 8px; }
  body.book-home .book-preview .preview-price { font-size: 10.5px; }

  body.book-home .v2-statband { grid-template-columns: minmax(0, 1fr); }
  body.book-home .v2-statband > div {
    border-left: 0;
    border-top: 1px solid var(--v8-line);
    padding-inline: 0;
  }
  body.book-home .v2-statband > div:first-child { border-top: 0; }

  body.book-home .review-process dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  body.book-home .listing-list { grid-template-columns: minmax(0, 1fr); }
  body.book-home .tracker-product { padding: 24px 20px; }
  body.book-home .tracker-product form > label,
  body.book-home .tracker-product button[type="submit"] { max-width: none; }
  body.book-home .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  body.book-home .book-hero h1 { font-size: clamp(1.75rem, 8vw, 2.1rem); }
  body.book-home .book-hero .hero-actions > .btn { flex: 1 1 44%; text-align: center; }
}

/* Sector labels were truncating to "Arti..." and "Biot..." on phones, which
   looks like a rendering fault. Below 760px the company name and the price
   carry the row on their own. */
@media (max-width: 760px) {
  body.book-home .book-preview .company-row span:not(.company-icon):not(.preview-price) {
    display: none;
  }
  body.book-home .book-preview .company-row strong { white-space: nowrap; }
  body.book-home .book-preview .preview-row { padding-block: 11px; }
}

/* Nav links measured 3.50:1 against the header, under the 4.5:1 WCAG AA floor
   for text this size. */
body.book-home .navlink,
.top .navlink { color: var(--v8-ink-2); }
body.book-home .v2-logo-item,
body.book-home .v2-logo-note { color: var(--v8-muted); }

/* --------------------------------------------------------------------------
   18. Editorial templates: company pages, blog, FAQ, glossary
   These pages are where search traffic lands, and they were the weakest
   surface: content sat in a narrow left column with the right half of a
   1440px screen empty, the h1 ran ~90px over two lines, and the indicative
   mark (the one thing the query asks for) was pushed ~1250px down behind two
   stacked calls to action.
   Scoped to `body > main` so it cannot touch the app pages, which use
   `main.book-main` or `main.review-main`.
   ----------------------------------------------------------------------- */

body > main:not(.book-main):not(.review-main) {
  margin-inline: auto;
  max-width: 68rem;
  padding-inline: clamp(20px, 4vw, 40px);
}

body > main:not(.book-main):not(.review-main) > header h1 {
  font-family: var(--v8-serif);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 .5rem;
  max-width: 22ch;
}

body > main:not(.book-main):not(.review-main) > header .post-meta {
  color: var(--v8-faint);
  font-size: 13px;
  margin: 0 0 1.15rem;
}

body > main:not(.book-main):not(.review-main) > header .lede {
  color: var(--v8-ink-2);
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  max-width: 68ch;
}

/* The button and the email form were stacked, reading as two competing calls
   to action. One compact block, so the page's real content starts sooner. */
body > main:not(.book-main):not(.review-main) > header .cta {
  align-items: center;
  background: var(--v8-accent);
  border: 1px solid var(--v8-accent);
  border-radius: var(--v8-r-int);
  color: var(--v8-accent-ink);
  display: inline-flex;
  font-weight: 600;
  margin-top: 1.2rem;
  padding: 11px 20px;
  text-decoration: none;
  white-space: nowrap;
}
body > main:not(.book-main):not(.review-main) > header .cta:hover {
  background: var(--v8-accent-2);
  border-color: var(--v8-accent-2);
}

body > main:not(.book-main):not(.review-main) > header .review-tracker-form {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: .9rem;
  max-width: 46rem;
}
body > main:not(.book-main):not(.review-main) > header .review-tracker-form input[type="email"] {
  flex: 1 1 17rem;
  min-width: 0;
}

body > main:not(.book-main):not(.review-main) > nav {
  border-bottom: 1px solid var(--v8-line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: clamp(22px, 3.2vh, 36px);
  padding-bottom: 14px;
}
body > main:not(.book-main):not(.review-main) > nav a {
  color: var(--v8-muted);
  font-size: 14px;
  text-decoration: none;
}
body > main:not(.book-main):not(.review-main) > nav a:hover { color: var(--v8-accent); }
body > main:not(.book-main):not(.review-main) > nav .ed-brand {
  color: var(--v8-ink);
  font-family: var(--v8-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 6px;
}

@media (max-width: 640px) {
  body > main:not(.book-main):not(.review-main) > header h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
    max-width: none;
  }
  body > main:not(.book-main):not(.review-main) > header .cta {
    justify-content: center;
    width: 100%;
  }
}

/* The generic h1 clamp was sized for the homepage's 4-word headline; on
   /pre-ipo-tracker it pushed a longer title to three lines at desktop. The
   homepage keeps its own larger rule. */
h1 { font-size: clamp(1.95rem, 4.2vw, 3.35rem); }
body.book-home .book-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); }

/* --------------------------------------------------------------------------
   19. The answer block on company and blog pages
   The number the visitor searched for, stated once, above the fold, in the
   shape an AI engine can quote. The as-of date sits next to the figure on
   purpose: if the mark is two months old the reader sees that immediately.
   ----------------------------------------------------------------------- */

.topic-answer {
  background: var(--v8-surface);
  border: 1px solid var(--v8-line);
  border-left: 3px solid var(--v8-accent);
  border-radius: var(--v8-r-box);
  display: grid;
  gap: 0;
  margin: clamp(20px, 3vh, 30px) 0 0;
  max-width: 34rem;
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.6vw, 28px);
}

.topic-answer .answer-lead {
  color: var(--v8-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 10px;
  max-width: 44ch;
}

.topic-answer .answer-figure {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.topic-answer .answer-figure strong {
  color: var(--v8-ink);
  font-family: var(--v8-mono);
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1;
}
.topic-answer .answer-figure span {
  color: var(--v8-muted);
  font-size: 14px;
}

.topic-answer .answer-asof {
  color: var(--v8-muted);
  font-size: 13.5px;
  margin: 8px 0 0;
}
.topic-answer .answer-asof time { color: var(--v8-ink-2); font-weight: 500; }

.topic-answer .answer-meta {
  border-top: 1px solid var(--v8-line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 14px;
  padding-top: 12px;
}
.topic-answer .answer-meta span {
  color: var(--v8-ink-2);
  display: grid;
  font-size: 14px;
  gap: 2px;
}
.topic-answer .answer-meta dfn {
  color: var(--v8-faint);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.topic-answer .answer-note {
  color: var(--v8-faint);
  font-size: 12px;
  line-height: 1.45;
  margin: 12px 0 0;
  max-width: 46ch;
}

@media (max-width: 640px) {
  .topic-answer { max-width: none; }
}

/* --------------------------------------------------------------------------
   20. /market
   The hero centred a 74px headline over a centred subtitle while every other
   block on the page is left-aligned, and the dark panel left a large dead
   band underneath. Aligned with the homepage masthead instead.
   ----------------------------------------------------------------------- */

.market-hero {
  align-content: center;
  border-radius: var(--v8-r-box);
  display: grid;
  padding: clamp(40px, 6vh, 68px) clamp(28px, 4vw, 56px);
  text-align: left;
}

.market-hero h1 {
  color: #ffffff;
  font-family: var(--v8-serif);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.02;
  margin: 0;
  max-width: 16ch;
  text-align: left;
}

.market-hero .hint {
  color: var(--v8-on-deep-mut);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  margin: 1rem 0 0;
  max-width: 52ch;
  text-align: left;
}

.proof-line {
  color: var(--v8-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: clamp(20px, 3vh, 30px) 0 0;
  max-width: 78ch;
  text-align: left;
}

@media (max-width: 640px) {
  .market-hero { padding: 32px 20px; }
  .market-hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); max-width: none; }
  .market-hero .hint { max-width: none; }
}

/* --------------------------------------------------------------------------
   18. Hero panel rows: name and price collided on phones (2026-08-23)
   The price label carries " · as of <date>" since 2026-08-08, which is wide
   enough that the flex row squeezed the name block to ~39px. The name kept
   `white-space: nowrap`, so it overflowed its own box and painted on top of
   the price. The only figure that matters on this page was unreadable on
   every phone. Below 760px the row becomes a 2-line grid under the logo.
   ----------------------------------------------------------------------- */
@media (max-width: 760px) {
  body.book-home .book-preview .preview-row.company-row {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
  }
  body.book-home .book-preview .preview-row.company-row > .company-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  body.book-home .book-preview .preview-row.company-row > div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  body.book-home .book-preview .preview-row.company-row > .preview-price {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-inline: 0;
    text-align: left;
    white-space: normal;
    font-size: 12px;
    line-height: 1.35;
  }
}
