/* The Late Stage 50 — built on the Investing Platform's own design kit (src/components/backbone/kit/tokens.ts):
   glass recipes G1–G6 byte-for-byte, the 24/28 px card frames with permanent shadows, Geist display type over Inter,
   the ledger rows, the eyebrow grammar, the gold gradient. Apple's Materials guidance applied: glass only on the floating
   control layer (header, dock, the list controls island); content uses standard materials. Motion is Apple's grammar as
   read from apple.com: cubic-bezier(.4,0,.6,1) state changes, cubic-bezier(.28,.11,.32,1) entrances, 240/320 ms, 8 px
   slides, 20–40 ms stagger, opacity + transform only. */
:root {
  --forest: #163029; --forest-deep: #10231E; --card-dark: #0E1A17;
  --gold: #DBC7A2; --gold-2: #C2A866; --gold-ink: #8C7140;
  --cream: #F5F1E6; --paper: #FAF8F4; --white: #fff;
  --ink: #163029; --ink-70: rgba(22,48,41,.7); --ink-60: rgba(22,48,41,.6); --ink-12: rgba(22,48,41,.12);
  --w70: rgba(255,255,255,.7); --w86: rgba(255,255,255,.86); --w14: rgba(255,255,255,.14); --w04: rgba(255,255,255,.04);
  --ease: cubic-bezier(.4,0,.6,1); --ease-in: cubic-bezier(.28,.11,.32,1); --d1: 240ms; --d2: 320ms;
  --r: 24px; --max: 1120px; --gn-h: 64px; --gn-inset: 12px; --dock-h: 56px;
  --dark-band: radial-gradient(120% 60% at 50% 0%, #17322a, #0e1b17 55%, #0a1411);
  --gold-grad: linear-gradient(180deg, #DBC7A2, #C2A866);
  --shadow-dark: 0 24px 60px rgba(0,0,0,.35); --shadow-light: 0 24px 60px rgba(0,0,0,.25);
  --font-display: Geist, Inter, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #163029; } /* the canvas — what Safari tints its bar with and what shows on pull-down — is the hero's forest, never white (Addy, 18 Oct 2026) */
/* The document colour Safari paints its bars with is <html> BLENDED WITH <body> (WebKit LocalFrameView::documentBackgroundColor →
   pageExtendedBackgroundColor → underPageBackgroundColor, iOS 26's scroll-pocket and edge colour). An opaque white body made that
   white; the body is transparent and <main> carries the white instead (18 Oct 2026). */
body { margin: 0; overflow-x: clip; background: transparent; color: var(--ink); font: 400 16px/26px Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
main { background: var(--white); display: flow-root; } /* the content column's white lives here, not on the body (see the body rule); flow-root keeps a last child's margin inside main — without it 14 px escaped above the footer on profiles at ≥640 px (Coding Council, Sonnet seat, 18 Oct 2026) */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- type (§0.7) ---------- */
.eyebrow { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-70); }
.eyebrow.gold, .dark .eyebrow { color: var(--gold); }
.eyebrow a:hover { color: #fff; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 32px; letter-spacing: -.01em; text-wrap: balance; }
.statement { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 36px; letter-spacing: -.02em; text-wrap: balance; }
.body { font-size: 16px; line-height: 26px; }
.fine { font-size: 14px; line-height: 22px; }
.muted { color: var(--ink-70); }
.dark .muted { color: var(--w70); }

/* ---------- buttons (the platform's) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; border: 0; cursor: pointer; transition: transform var(--d1) var(--ease), box-shadow var(--d1) var(--ease), background-color var(--d1) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold-grad); color: var(--forest); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 20px rgba(0,0,0,.18); }
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 28px rgba(0,0,0,.22); }
.btn-g1 { background: rgba(255,255,255,.12); color: #fff; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.35); }
.btn-g1:hover { background: rgba(255,255,255,.16); }
.btn-dark { background: var(--forest); color: #fff; box-shadow: 0 8px 20px rgba(22,48,41,.18); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-gold-line { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(219,199,162,.7); }
.btn-gold-line:hover { background: rgba(219,199,162,.12); }
/* header contact: the 1800 number and Contact us (Addy 19 Oct, after the platform's header) */
.gn-acts { display: flex; align-items: center; gap: 10px; }
.gn-tel { display: none; align-items: center; gap: 6px; height: 40px; padding: 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.9); white-space: nowrap; }
.gn-tel:hover { color: var(--gold); }
.gn-contact { height: 40px; width: 40px; padding: 0; border-radius: 999px; }
.gn-contact span { display: none; }
.gn-contact svg { width: 17px; height: 17px; }
@media (min-width: 1024px) {
  .gn-contact { width: auto; padding: 0 16px; gap: 8px; }
  .gn-contact svg { display: none; }
  .gn-contact span { display: inline; }
  .gn-tel { display: inline-flex; }
  .gn-tel span { display: none; }
}
@media (min-width: 1280px) { .gn-tel span { display: inline; } }
.contact-dlg { width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: auto; }
.contact-dlg::backdrop { background: rgba(10,20,17,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.contact-in { padding: 28px 24px 24px; display: grid; gap: 14px; outline: none; }
.contact-in .h2 { margin: -6px 0 2px; font-size: 28px; line-height: 34px; }
.contact-x { position: absolute; top: 12px; right: 12px; margin: 0; }
.contact-close { width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgba(22,48,41,.06); font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.contact-call { gap: 8px; }
.contact-or { position: relative; margin: 2px 0; text-align: center; font-size: 13px; color: var(--ink-70); }
.contact-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ink-12); }
.contact-or span { position: relative; padding: 0 10px; background: #fff; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink-70); }
.contact-form label em { font-style: normal; font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(22,48,41,.18); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 84px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: transparent; }
.contact-form [aria-invalid="true"] { border-color: #b4372f; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-legal { margin: 2px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-70); }
.contact-legal a { color: var(--ink); text-decoration: underline; }
.contact-err { margin: 0; font-size: 14px; color: #b4372f; }
.contact-done h3 { margin: 0 0 6px; font-size: 20px; }
.contact-done p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-70); }
.contact-done a { color: var(--gold-ink); font-weight: 600; }
.btn-block { width: 100%; }

/* ---------- the floating glass header (1:1 the platform's) ---------- */
.gn { position: fixed; top: var(--gn-inset); left: var(--gn-inset); right: var(--gn-inset); z-index: 50; }
.gn-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--gn-h); padding: 0 14px 0 18px; border-radius: 20px; background: rgba(25,40,36,.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.35); transition: height var(--d1) var(--ease); }
.gn[data-compact="true"] .gn-bar { height: 56px; }
.gn-logo img { height: 38px; width: auto; transition: height var(--d1) var(--ease); }
.gn[data-compact="true"] .gn-logo img { height: 32px; }
.gn-nav { display: none; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.35); }
.gn-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 15px; color: rgba(255,255,255,.72); transition: background-color var(--d1) var(--ease), color var(--d1) var(--ease); }
.gn-nav a:hover { background: rgba(255,255,255,.10); color: #fff; }
.gn-nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; font-weight: 500; box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.gn .btn { height: 40px; padding: 0 16px; font-size: 14px; }
/* phones: the round Contact button beside 'Investing Platform' (after the base rules above, so these win) */
@media (max-width: 1023px) { .gn-bar { gap: 10px; } .gn-acts { gap: 6px; } .gn-contact { width: 38px; height: 38px; } .gn-acts .btn-gold { padding: 0 14px; } }
@media (max-width: 389px) { .gn-logo img, .gn[data-compact="true"] .gn-logo img { height: 32px; } }
@media (max-width: 359px) { .gn-contact { display: none; } } /* 320 px phones: no room; the footer's phone number stays */
/* desktop: logo | the page links, centred | the number, Contact us, Investing Platform */
@media (min-width: 1024px) { .gn-bar { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); } .gn-acts { justify-self: end; } }
.gn-logo { display: flex; align-items: center; height: 44px; }

/* ---------- the dock (the platform's bottom-nav pill, G3) — phones and tablets ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(65px + max(16px, min(env(safe-area-inset-bottom, 0px), 34px))); pointer-events: none; }
.dock-pill { position: absolute; left: 16px; right: 16px; margin: 0 auto; bottom: max(16px, min(env(safe-area-inset-bottom, 0px), 34px)); height: var(--dock-h); max-width: 560px; padding: 0 8px; border-radius: 9999px; pointer-events: auto; display: flex; align-items: center; background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px rgba(22,48,41,.18), 0 0 0 1px rgba(255,255,255,.5); transform-origin: 50% 100%; transition: transform 260ms cubic-bezier(.2,.8,.2,1); }
.dock[data-compact="true"] .dock-pill { transform: scale(.92) translateY(4px); }
.dock-pill a { flex: 1; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 9999px; font-size: 13px; font-weight: 500; color: var(--ink-70); transition: color 200ms, background-color 200ms; }
.dock-pill a[aria-current="page"] { color: var(--forest); background: rgba(22,48,41,.10); font-weight: 600; }

/* ---------- bands ---------- */
.band { position: relative; }
.band.dark { background: var(--dark-band); color: #fff; }
.band.light { background: var(--white); }
.band.cream { background: linear-gradient(180deg, #FBF8F1, #F3EDE0); }
.band-in { padding-top: 56px; padding-bottom: 56px; }
.section-head { display: grid; gap: 10px; max-width: 720px; }
.section-head .body { color: var(--ink-70); margin: 0; }
.dark .section-head .body { color: var(--w70); }

/* ---------- hero: the platform's dark hero; the marks drifting behind ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #163029; padding: calc(48px + var(--gn-inset) + var(--gn-h)) 0 40px; } /* runs up behind the floating header; the band's own colour is FLAT: WebKit's bar-colour sampler (PageColorSampler.cpp) hit-tests the top row and rejects any element whose background has an image layer — a gradient counts — so the gradient lives on ::before, starting below the sampled strip (18 Oct 2026) */
.hero::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; bottom: 0; z-index: -1; background: var(--dark-band); -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 32px); mask-image: linear-gradient(to bottom, transparent 0, #000 32px); pointer-events: none; }
.hero-small { padding-bottom: 40px; }
.field { position: absolute; top: 24px; /* the marks are <img>s: kept below the row Safari samples (18 Oct 2026) */ left: 0; right: 0; height: 620px; z-index: 0; pointer-events: none; -webkit-mask-image: radial-gradient(80% 60% at 50% 42%, transparent 42%, #000 72%); mask-image: radial-gradient(80% 60% at 50% 42%, transparent 42%, #000 72%); }
.tile { position: absolute; width: var(--s, 40px); height: var(--s, 40px); border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(255,255,255,.10), 0 10px 24px rgba(0,0,0,.3); opacity: .55; animation: drift var(--dur, 12s) ease-in-out infinite alternate; animation-delay: var(--delay, 0s); }
.tile img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; opacity: .9; }
.tile:not([data-col="0"]), .tile[data-row="1"], .tile[data-row="2"], .tile[data-row="6"], .tile[data-row="7"], .tile[data-row="8"], .tile[data-row="9"] { display: none; }
@keyframes drift { from { transform: translateY(0) } to { transform: translateY(-10px) } }
.hero-in { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.hero h1 { margin: 10px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 50px; letter-spacing: -.025em; color: #fff; }
.hero-small h1 { font-size: 34px; line-height: 40px; }
.hero .statement { margin: 14px auto 0; max-width: 34ch; color: var(--w86); font-weight: 300; font-size: 20px; line-height: 30px; }
.hero-small .statement { font-size: 18px; line-height: 28px; max-width: 56ch; }
.hero .statement a { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 0; }
.info-pill { display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 0; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 13px; line-height: 18px; color: var(--w86); text-align: left; background: rgba(255,255,255,.12); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(255,255,255,.14), 0 8px 24px rgba(0,0,0,.35); }
.info-pill svg { flex: 0 0 auto; width: 16px; height: 16px; }
.hero-stats { display: grid; grid-template-columns: 1fr; gap: 0; margin: 32px auto 0; max-width: 760px; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-stats b { font-family: var(--font-display); font-weight: 300; font-size: 30px; line-height: 1.1; color: #fff; }
.hero-stats b.is-gold { color: var(--gold); }
.hero-stats span { font-size: 11px; line-height: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); text-align: right; }

/* ---------- the top three: the platform's Late Stage card, recipe for recipe ---------- */
.podium { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 16px; padding: 40px 20px 8px; }
.ls-card { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--card-dark); color: #fff; box-shadow: var(--shadow-dark); transition: transform 300ms var(--ease); }
@media (hover: hover) { .ls-card:hover { transform: translateY(-2px); } }
.ls-card .g6 { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(90% 70% at 50% 28%, color-mix(in srgb, var(--tint, #2a5a48) 38%, transparent), transparent 72%), var(--card-dark); }
.ls-card .banner { position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center; padding-bottom: 18%; background: radial-gradient(70% 80% at 50% 40%, color-mix(in srgb, var(--tint, #2a5a48) 48%, #0E1A17), #0E1A17 95%); }
.ls-card .banner { container-type: inline-size; }
/* the mark clears the rank tag (top-left, ~143 px wide): it moves right just enough, and on narrow cards it also shrinks (Addy, 19 Oct) */
.ls-card .banner .mark { --s: clamp(52px, calc(100cqw - 171px), 88px); width: var(--s); height: var(--s); border-radius: calc(var(--s) * .25); translate: max(0px, calc(155px - 50cqw + var(--s) / 2)) 0; }
.ls-card .banner .mark img { width: 100%; height: 100%; }
.ls-card .rank-tag { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--gold); color: var(--forest); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ls-card .plate { position: relative; display: flex; flex: 1; flex-direction: column; gap: 14px; margin-top: -14%; padding: 24px; border-radius: 20px 20px 0 0; background: rgba(25,40,36,.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.ls-card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 28px; letter-spacing: -.01em; }
.ls-card .meta { margin: 2px 0 0; font-size: 14px; color: var(--w70); }
.pill-ws { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 0 0 1px rgba(255,255,255,.14); width: max-content; }
.hero-fig { display: grid; gap: 2px; margin: 0; padding: 4px 0 0; }
.hero-fig dt { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .06em; color: var(--w70); }
.hero-fig dd { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 36px; line-height: 42px; font-variant-numeric: tabular-nums; color: #fff; }
.ledger { margin: 0; display: grid; }
.ledger > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--w14); }
.ledger > div:last-child { border-bottom: 0; }
.ledger dt { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--w70); flex: 0 0 auto; }
.ledger dd { margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; color: #fff; min-width: 0; }
.ledger dd.is-gold { color: var(--gold); }
.ledger dd .muted { font-weight: 400; font-size: 13px; color: var(--w70); margin-left: 4px; }
.ledger dd .tag { vertical-align: 1px; margin-left: 4px; }
.ls-card .fine { color: var(--w70); margin: 0; }
.ls-card .cta { margin-top: auto; padding-top: 4px; }

/* marks */
.mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--ink-12), 0 4px 12px rgba(22,48,41,.08); overflow: hidden; flex: 0 0 auto; }
.mark img { width: 100%; height: 100%; object-fit: cover; }
.mark.is-initial { font-family: var(--font-display); font-weight: 400; font-size: 16px; color: var(--ink); background: var(--cream); }
.ls-card .mark, .hero .mark { background: rgba(255,255,255,.95); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 1px rgba(255,255,255,.18), 0 10px 24px rgba(0,0,0,.3); }
.mark-lg { width: 52px; height: 52px; border-radius: 14px; vertical-align: middle; }
.mark-lg img { width: 100%; height: 100%; }

/* ---------- the ranking (light band): a light card, the controls floating above it ---------- */
.ranking { padding: 48px 0 56px; }
.list-card { position: relative; margin-top: 24px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--ink-12), var(--shadow-light); padding: 8px 8px 12px; }
.controls-sentinel { height: 1px; }
.controls { position: sticky; top: calc(var(--gn-inset) + var(--gn-h) + 10px); z-index: 40; margin: 0 4px 6px; padding: 6px; border-radius: 999px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px rgba(22,48,41,.18), 0 0 0 1px rgba(255,255,255,.5); transition: box-shadow var(--d1) var(--ease); }
.controls[data-stuck="true"] { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 14px 36px rgba(22,48,41,.24), 0 0 0 1px rgba(255,255,255,.55); }
.seg { position: relative; display: inline-flex; flex: 0 0 auto; padding: 3px; border-radius: 999px; background: rgba(22,48,41,.08); }
.seg button { position: relative; z-index: 1; height: 40px; padding: 0 14px; border: 0; background: transparent; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-70); cursor: pointer; transition: color var(--d1) var(--ease); }
.seg button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.seg-ind { position: absolute; top: 3px; left: 3px; height: 40px; width: 84px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(22,48,41,.18), 0 0 0 1px rgba(22,48,41,.06); transition: transform var(--d1) var(--ease), width var(--d1) var(--ease); }
.filters { display: flex; gap: 6px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 2px 24px 2px 2px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: 0 0 auto; height: 40px; padding: 0 13px; border-radius: 999px; border: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-70); cursor: pointer; transition: background-color var(--d1) var(--ease), color var(--d1) var(--ease); }
.filters button:hover { background: rgba(22,48,41,.06); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--forest); color: var(--cream); }
.sector-pick { position: relative; display: none; flex: 1 1 auto; min-width: 0; }
.sector-pick select { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid rgba(22,48,41,.16); background: #fff; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); box-shadow: 0 1px 2px rgba(22,48,41,.06); cursor: pointer; text-overflow: ellipsis; }
.sector-pick select:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.sector-pick svg { position: absolute; right: 15px; top: 50%; width: 12px; height: 8px; margin-top: -4px; color: var(--ink-70); pointer-events: none; }
/* the sectors are a dropdown at every width (Addy 20 Oct: the chip bar scrolled and hid sectors on desktop too) */
.controls .filters { display: none; } .sector-pick { display: block; }
@media (min-width: 640px) { .sector-pick { flex: 0 1 340px; } }
/* under 360 px the two controls do not fit side by side: two rows, each full width */
@media (max-width: 359px) { .controls { flex-wrap: wrap; border-radius: 26px; } .controls .seg { flex: 1 1 100%; } .controls .seg button { flex: 1 1 0; } .sector-pick { flex: 1 1 100%; } }
.rows-head { display: none; grid-template-columns: 56px 44px minmax(0,1fr) 180px 130px 96px 28px; column-gap: 16px; padding: 10px 16px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60); border-bottom: 1px solid var(--ink-12); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { border-bottom: 1px solid var(--ink-12); transition: opacity 160ms var(--ease); }
.row:last-child { border-bottom: 0; }
.row.is-hiding { opacity: 0; }
.row-sum { all: unset; box-sizing: border-box; display: grid; width: 100%; cursor: pointer; align-items: center; column-gap: 12px; row-gap: 6px; padding: 14px 10px; border-radius: 16px; grid-template-columns: 26px 40px minmax(0,1fr) 16px; grid-template-areas: "rank mark name chev" "rank mark rev chev" "rank mark growth src"; transition: background-color 160ms var(--ease); }
.row-sum:hover { background: rgba(22,48,41,.035); }
.row-sum:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -2px; }
.r-rank { grid-area: rank; font-family: var(--font-display); font-weight: 300; font-size: 17px; color: var(--ink-60); align-self: start; height: 40px; display: flex; align-items: center; font-variant-numeric: tabular-nums; } /* centred on the 40 px mark beside it (Addy 19 Oct) */
.r-mark { grid-area: mark; align-self: start; display: flex; }
.r-name { grid-area: name; min-width: 0; }
.r-name b { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.r-meta { display: block; margin-top: 1px; font-size: 14px; line-height: 20px; color: var(--ink-70); }
.pill { display: flex; width: max-content; align-items: center; margin: 5px 0 1px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--forest); white-space: nowrap; }
.r-rev { grid-area: rev; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.r-rev b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 24px; line-height: 28px; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-rev small, .r-growth small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-70); white-space: nowrap; }
.r-growth { grid-area: growth; display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.r-growth b { font-size: 15px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-growth.is-gold b { color: var(--gold-ink); background: rgba(219,199,162,.32); padding: 0 9px; border-radius: 999px; }
.r-growth.is-none b { color: var(--ink-60); font-weight: 500; }
.r-src { grid-area: src; justify-self: end; align-self: center; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); background: rgba(22,48,41,.07); white-space: nowrap; }
.tag-rep { color: var(--gold-ink); background: rgba(219,199,162,.32); }
.ls-card .tag { color: var(--w86); background: rgba(255,255,255,.12); }
.ls-card .tag-rep { color: var(--gold); background: rgba(219,199,162,.18); }
.r-chev { grid-area: chev; justify-self: end; align-self: start; margin-top: 10px; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-60); border-bottom: 1.5px solid var(--ink-60); transform: rotate(45deg) translate(-2px,-2px); transition: transform var(--d1) var(--ease); }
.row.open .r-chev { transform: rotate(225deg) translate(-2px,-2px); }
.row-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d2) var(--ease); }
.row.open .row-detail { grid-template-rows: 1fr; }
.row-detail-in { min-height: 0; overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity var(--d1) var(--ease), transform var(--d2) var(--ease-in); }
.row.open .row-detail-in { opacity: 1; transform: none; transition: none; } /* opens at once (Addy 19 Oct); closing still fades */
.rd { padding: 2px 10px 20px; display: grid; gap: 14px; }
.rd-desc { margin: 0 0 6px; font-size: 15px; line-height: 24px; color: var(--ink); max-width: 70ch; }
.ledger.light > div { border-color: var(--ink-12); padding: 10px 0; }
.ledger.light dt { color: var(--ink-70); }
.ledger.light dd { color: var(--ink); font-weight: 600; font-size: 15px; }
.ledger.light dd .muted { color: var(--ink-70); }
.ledger.light a { color: var(--gold-ink); font-weight: 600; }
.rd-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mark.sm { width: 32px; height: 32px; border-radius: 9px; }
/* the source register: each company with its mark (Addy 19 Oct: the page "looks so plain and boring") */
.src-co { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.src-co .mark.sm { width: 28px; height: 28px; border-radius: 8px; }
/* the opened row's title bar: the company, and the way to its full profile (Addy's pick D, 19 Oct) */
.rd-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 4px 0 14px; border-bottom: 1px solid var(--ink-12); }
.rd-title-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rd-title-name b { display: block; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.rd-title-meta { display: block; font-size: 14px; line-height: 20px; color: var(--ink-70); }
.rd-title .btn { flex: 0 0 auto; }
@media (max-width: 639px) { .rd-title-meta { display: none; } }
.empty { padding: 24px 12px; color: var(--ink-70); }
/* the list's key: how to read a figure, and where the method and the sources live (Addy 20 Oct: "looks like an after thought") */
.list-key { margin: 12px -8px -12px; padding: 24px 20px 22px; border-radius: 0 0 28px 28px; background: var(--paper); box-shadow: inset 0 1px 0 var(--ink-12); display: grid; gap: 20px; }
.lk-h { margin: 0 0 14px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-60); }
.lk-grid { margin: 0; display: grid; gap: 12px; }
.lk-grid > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; column-gap: 12px; }
.lk-grid dt { display: flex; }
.lk-grid dd { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-70); }
.lk-plus { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; font-family: var(--font-display); font-size: 17px; font-weight: 400; line-height: 1; color: var(--ink); background: rgba(22,48,41,.07); }
.lk-links { display: flex; flex-wrap: wrap; gap: 10px; }
.lk-links .btn { flex: 1 1 auto; }
.btn-ink-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(22,48,41,.22); }
.btn-ink-line:hover { background: rgba(22,48,41,.04); }
@media (min-width: 1024px) {
  .list-key { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; padding: 26px 28px 26px; }
  .lk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
  .lk-grid > div { grid-template-columns: minmax(0, 1fr); row-gap: 10px; align-items: start; }
  .lk-links { flex-direction: column; flex-wrap: nowrap; }
}

/* ---------- references (the platform's SourceLink: 11 px, muted, arrow; a note left and the source right) ---------- */
.ledger > .led-row { display: block; padding: 10px 0; border-bottom: 1px solid var(--w14); }
.ledger.light > .led-row { border-color: var(--ink-12); }
.ledger > .led-row:last-child { border-bottom: 0; }
.led-main { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.led-main dt { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--w70); flex: 0 0 auto; }
.led-main dd { margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; color: #fff; min-width: 0; overflow-wrap: anywhere; }
.ledger.light .led-main dt { color: var(--ink-70); }
.ledger.light .led-main dd { color: var(--ink); font-size: 15px; }
.led-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-top: 2px; }
.led-sub .note { font-size: 12px; line-height: 18px; color: var(--w70); max-width: 60ch; }
.ledger.light .led-sub .note { color: var(--ink-70); }
.src { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; line-height: 16px; font-weight: 500; color: rgba(255,255,255,.6); text-underline-offset: 2px; margin-left: auto; text-align: right; max-width: 100%; }
.src svg { flex: 0 0 auto; }
.src:hover { color: #fff; text-decoration: underline; }
.ledger.light .src, .list-card .src, .card .src { color: var(--ink-60); }
.ledger.light .src:hover, .card .src:hover { color: var(--ink); }
.src-n { display: inline-grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; font-size: 9.5px; font-weight: 600; background: rgba(255,255,255,.14); color: inherit; }
.ledger.light .src-n, .card .src-n { background: rgba(22,48,41,.1); }
.quote { font-weight: 400; font-style: italic; color: var(--ink-70); }
.refs-wrap { padding-top: 8px; padding-bottom: 64px; }
.refs { list-style: none; margin: 20px 0 16px; padding: 0; display: grid; gap: 0; max-width: 860px; }
.refs li { display: grid; grid-template-columns: 28px 1fr; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--ink-12); font-size: 14px; line-height: 20px; }
.refs li:last-child { border-bottom: 0; }
.refs .num { color: var(--ink-60); font-family: var(--font-display); font-weight: 300; }
.refs a { color: var(--ink); font-weight: 600; }
.refs a:hover { color: var(--gold-ink); }
.refs-url { grid-column: 2; font-size: 12px; color: var(--ink-60); overflow-wrap: anywhere; }
.card-market { grid-column: 1 / -1; }

/* ---------- why: the platform's dark standards cards ---------- */
.std-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.std-card { border-radius: var(--r); padding: 24px; border: 1px solid var(--w14); background: var(--w04); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.std-card b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 22px; color: var(--gold); }
.std-card h3 { margin: 10px 0 6px; font-size: 18px; line-height: 26px; font-weight: 600; color: #fff; }
.std-card p { margin: 0; font-size: 15px; line-height: 24px; color: var(--w70); }
.section-lede { margin: 14px 0 0; max-width: 68ch; font-size: 17px; line-height: 28px; color: var(--w70); }
.std-foot-note { margin: 24px 0 0; max-width: 76ch; font-size: 15px; line-height: 24px; color: var(--w70); }
.std-foot-note a { color: var(--gold); font-weight: 600; }
.std-foot { margin: 28px 0 0; }
.section-head-c { margin: 0 auto; text-align: center; justify-items: center; }
/* desktop: the heading on the left, its paragraph on the right, so the head spans the full width (Addy 20 Oct: "this empty space on the right on desktop, can we use all of it") */
@media (min-width: 1024px) {
  .section-head:not(.section-head-c) { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
  .section-head:not(.section-head-c) > .eyebrow { grid-column: 1; grid-row: 1; }
  .section-head:not(.section-head-c) > .h2 { grid-column: 1; grid-row: 2; }
  .section-head:not(.section-head-c) > .body, .section-head:not(.section-head-c) > .section-lede { grid-column: 2; grid-row: 1 / 3; margin: 0; max-width: none; }
}
.std-foot-c { text-align: center; }

/* ---------- cta: the platform's mission card ---------- */
.cta-card { margin: 0 auto; max-width: 960px; border-radius: 28px; padding: 44px 24px; text-align: center; background: linear-gradient(180deg, #fff, #FBF9F4); box-shadow: 0 0 0 1px var(--ink-12), var(--shadow-light); }
.cta-card .statement { margin: 12px auto 0; max-width: 24ch; }
.cta-card .body { margin: 14px auto 0; max-width: 56ch; color: var(--ink-70); }
.cta-card .rule { width: 36px; height: 1px; margin: 22px auto; background: var(--gold); }

/* ---------- profile ---------- */
.profile-hero .hero-in { text-align: left; max-width: none; }
.profile-hero h1 { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.profile-hero .statement, .profile-hero .hero-stats { margin-left: 0; margin-right: 0; }
.profile-hero .hero-cta { justify-content: flex-start; }
.profile-grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.card { border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--ink-12), var(--shadow-light); padding: 24px; min-width: 0; }
.profile-grid > *, .list-card, .ls-card, .rd, .ledger, .led-row, .led-main, .led-sub { min-width: 0; }
.led-main dd, .led-sub .note { overflow-wrap: anywhere; }
.card .h2 { margin-bottom: 12px; }
.card-dark { background: var(--card-dark); color: #fff; box-shadow: var(--shadow-dark); display: grid; gap: 12px; justify-items: start; }
.card-dark .body { color: var(--w70); margin: 0; }
.profile-nav { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ink-70); }

/* ---------- prose + tables (methodology, sources, watchlist) ---------- */
.prose { padding: 32px 0 64px; }
.prose-in { max-width: 76ch; }
.prose h2 { margin: 36px 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 32px; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16px; line-height: 26px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--gold-ink); font-weight: 600; }
.log { list-style: none; padding: 0; }
.log .num { display: inline-block; min-width: 104px; color: var(--ink-60); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 10px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60); border-bottom: 1px solid var(--ink-12); }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--ink-12); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl a { color: var(--gold-ink); font-weight: 600; }
.card:has(.tbl) { padding: 6px 10px; overflow-x: auto; }
.tbl-card { margin: 12px 0; }
/* ---------- methodology: chapters as white glass sheets over soft colour, a glass rail beside them on desktop
   (Addy's pick, option B "Frosted rail", 20 Oct 2026 — glass here by his ask, beyond the floating control layer) ---------- */
.prose-ch { position: relative; isolation: isolate; overflow: clip; padding: 48px 0 96px; background: #f3f1ea; }
.prose-ch::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(40% 30% at 12% 8%, rgba(219,199,162,.7), transparent 70%),
  radial-gradient(36% 28% at 88% 30%, rgba(150,190,170,.55), transparent 70%),
  radial-gradient(40% 30% at 20% 70%, rgba(190,205,225,.55), transparent 70%),
  radial-gradient(36% 30% at 85% 92%, rgba(219,199,162,.5), transparent 70%); filter: blur(30px); }
.prose-ch .prose-in { max-width: var(--max); }
.m-toc { display: none; }
.m-col { display: grid; gap: 18px; min-width: 0; }
.m-sec { scroll-margin-top: 110px; padding: 30px 34px 28px; border-radius: 26px; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(22,48,41,.07), 0 18px 44px rgba(22,48,41,.10); }
.m-hd { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.m-n { font: 600 12px/1 Inter, sans-serif; letter-spacing: .12em; color: var(--gold-ink); }
.prose-ch h2, .prose-ch h2:first-child { margin: 0; font-size: 26px; line-height: 32px; }
.prose-ch p, .prose-ch li { color: rgba(22,48,41,.78); }
.prose-ch .m-sec > :last-child { margin-bottom: 0; }
.prose-ch .tbl-card { background: rgba(255,255,255,.7); }
@media (max-width: 639px) { .prose-ch { padding: 28px 0 72px; } .m-sec { padding: 24px 20px 22px; border-radius: 22px; } .prose-ch h2, .prose-ch h2:first-child { font-size: 22px; line-height: 28px; } }
@media (min-width: 1024px) {
  .m-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
  .m-toc { display: block; position: sticky; top: calc(var(--gn-inset) + var(--gn-h) + 24px); padding: 18px 10px 12px; border-radius: 24px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(22,48,41,.07), 0 18px 44px rgba(22,48,41,.10); }
  .m-toc-h { margin: 0 12px 8px; font: 600 11px/16px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-60); }
  .m-toc a { display: flex; gap: 10px; align-items: center; min-height: 40px; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 18px; font-weight: 500; color: var(--ink-70); transition: background-color var(--d1) var(--ease), color var(--d1) var(--ease); }
  .m-toc a span { flex: 0 0 auto; font: 600 11px/1 Inter, sans-serif; letter-spacing: .08em; color: var(--ink-60); }
  .m-toc a:hover { background: rgba(22,48,41,.05); color: var(--ink); }
  .m-toc a.on { background: var(--forest); color: #fff; } .m-toc a.on span { color: var(--gold); }
}
@media (max-width: 639px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { padding: 10px 4px 12px; border-bottom: 1px solid var(--ink-12); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 10px; padding: 3px 0; border: 0; overflow-wrap: anywhere; }
  .tbl td::before { content: attr(data-label); font-size: 11px; line-height: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-60); }
  .tbl td.num { font-variant-numeric: tabular-nums; }
  .tbl-src td:nth-child(6) { max-width: none; }
}
.tbl-src td:nth-child(6) { max-width: 260px; overflow-wrap: anywhere; }
.h-graduated { margin: 32px 0 8px; }
/* the watchlist: each company's mark, why it is watched (sourced) and why it is not ranked (Addy 20 Oct: "right now its a raw list") */
.tbl-watch th:nth-child(1) { width: 250px; } .tbl-watch th:nth-child(3) { width: 240px; }
.tbl-watch td { padding: 16px 12px; }
.wl-co .src-co { align-items: flex-start; } .wl-co .mark.sm { margin-top: 2px; }
.wl-co b { display: block; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ink); }
.wl-co small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-60); }
.wl-why p { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink); }
.wl-why .wl-src { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.tbl .wl-src a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 18px; font-weight: 500; color: var(--gold-ink); }
.wl-src a svg { flex: 0 0 auto; }
.wl-not { font-size: 13px; line-height: 20px; color: var(--ink-70); }
@media (max-width: 639px) {
  .tbl-watch tr { padding: 14px 4px 16px; }
  .tbl-watch td.wl-co { display: block; padding-bottom: 8px; } .tbl-watch td.wl-co::before { display: none; }
  .tbl-watch td.wl-why, .tbl-watch td.wl-not { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 4px 0; }
}

/* ---------- the platform's disclaimer, verbatim ---------- */
/* Footer — the platform's FooterDisclaimer (dark variant), class for class: footer px-6 py-12 pb-24 lg:pb-12 bg #192824 text-white/80 ·
   inner max-w-6xl px-4 sm:px-6 lg:px-8 xl:px-12 2xl:px-16 · columns flex-col gap-10 mb-10 (sm: row, items-start, justify-between, each
   column text-center) · h4 text-sm/600/tracking-wide white · address space-y-1.5 text-sm, note italic opacity-60 · email text-sm underline
   offset-2 white/80 · phone text-sm/500 with a 14px lucide mark · Connect icons w-7 gap-5 white/70 · rule border-white/10 pt-6 · paragraphs
   space-y-2.5 text-xs leading-relaxed white/55 · links mt-5 gap-x-5 gap-y-2 text-xs underline white/60 · copyright mt-4 text-xs white/45.
   Tap targets reach 40px through padding that a matching negative margin cancels, so the drawing stays the platform's. */
.legal { background: #192824; color: rgba(255,255,255,.8); padding: 48px 24px calc(var(--dock-h) + 56px); font-size: 14px; line-height: 20px; }
.legal-in { max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.legal-cols { display: flex; flex-direction: column; gap: 40px; margin-bottom: 40px; }
.legal-col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.legal-col h4 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .025em; color: #fff; }
.legal-addr { display: grid; gap: 6px; }
.legal-addr p { margin: 0; }
.legal-appt { font-style: italic; opacity: .6; }
.legal-mail { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; overflow-wrap: anywhere; padding: 10px 0; margin: -10px 0; transition: color 200ms, text-decoration-thickness 200ms; }
.legal-mail:hover { color: #fff; text-decoration-thickness: 2px; }
.legal-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: rgba(255,255,255,.8); padding: 10px 0; margin: -10px 0; transition: color 200ms; }
.legal-tel svg { width: 14px; height: 14px; flex-shrink: 0; }
.legal-tel:hover { color: #fff; }
.legal-social { display: flex; align-items: center; gap: 20px; }
.legal-social a { display: inline-flex; color: rgba(255,255,255,.7); padding: 6px; margin: -6px; transition: color 200ms; }
.legal-social a:hover { color: #fff; }
.legal-social svg { width: 28px; height: 28px; }
.legal-rule { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.legal-body { display: grid; gap: 10px; font-size: 12px; line-height: 19.5px; color: rgba(255,255,255,.55); }
.legal-body p { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.legal-links a { font-size: 12px; line-height: 16px; color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color 200ms; }
.legal-links a:hover { color: #fff; }
.legal-copy { margin: 16px 0 0; font-size: 12px; line-height: 16px; color: rgba(255,255,255,.45); }
.legal-edition { margin-top: 4px; }
@media (min-width: 640px) {
  .legal-in { padding: 0 24px; }
  .legal-cols { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .legal-col { align-items: center; text-align: center; }
}
@media (min-width: 1024px) { .legal { padding-bottom: 48px; } .legal-in { padding: 0 32px; } }
@media (min-width: 1280px) { .legal-in { padding: 0 48px; } }
@media (min-width: 1536px) { .legal-in { padding: 0 64px; } }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(12px); }
.rv.in { opacity: 1; transform: none; transition: opacity var(--d2) var(--ease-in), transform var(--d2) var(--ease-in); transition-delay: calc(var(--i, 0) * 40ms); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 240ms var(--ease) both vt-out; }
::view-transition-new(root) { animation: 320ms var(--ease-in) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .tile { animation: none; } *, ::before, ::after { transition-duration: 1ms !important; animation-duration: 1ms !important; } }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
  .hero { padding: calc(72px + var(--gn-inset) + var(--gn-h)) 0 48px; }
  .hero h1 { font-size: 64px; line-height: 70px; }
  .hero-small h1 { font-size: 44px; line-height: 50px; }
  .hero .statement { font-size: 22px; line-height: 32px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .hero-stats > div { display: block; text-align: center; padding: 8px 20px; border-bottom: 0; border-left: 1px solid rgba(255,255,255,.14); }
  .hero-stats > div:first-child { border-left: 0; }
  .hero-stats b { display: block; font-size: 40px; }
  .hero-stats span { display: block; margin-top: 6px; text-align: center; }
  .profile-hero .hero-stats > div { text-align: left; }
  .profile-hero .hero-stats span { text-align: left; }
  .field { -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, transparent 28%, #000 62%); mask-image: radial-gradient(70% 70% at 50% 45%, transparent 28%, #000 62%); }
  .field { height: 640px; }
  .tile[data-row], .tile[data-col] { display: grid; }
  .tile[data-col="2"], .tile[data-col="3"] { display: none; }
  .podium { gap: 20px; padding: 48px 24px 8px; max-width: 600px; } /* one column until the cards are wide enough for three (Addy 19 Oct: at 768 px they clipped) */
  .std-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid .card-dark { grid-column: 1 / -1; }
  .cta-card { padding: 56px 40px; }
  .h2 { font-size: 32px; line-height: 40px; }
  .statement { font-size: 40px; line-height: 50px; }
  .band-in { padding-top: 72px; padding-bottom: 72px; }
}
@media (min-width: 1024px) {
  .podium { grid-template-columns: repeat(3, 1fr); max-width: var(--max); }
  body { padding-bottom: 0; }
  .gn-nav { display: inline-flex; }
  .dock { display: none; }
  .hero { padding: calc(88px + var(--gn-inset) + var(--gn-h)) 0 56px; }
  .hero h1 { font-size: 76px; line-height: 82px; }
  .field { height: 660px; }
  .tile[data-col="2"], .tile[data-col="3"] { display: grid; }
  .ls-card { border-radius: 28px; }
  .ls-card .plate { padding: 28px; }
  .rows-head { display: grid; }
  .seg button, .filters button, .seg-ind { height: 34px; }
  .row-sum { grid-template-columns: 56px 44px minmax(0,1fr) 180px 130px 96px 28px; grid-template-areas: "rank mark name rev growth src chev"; column-gap: 16px; padding: 16px; }
  .r-rev { display: block; text-align: right; }
  .r-chev { align-self: center; margin-top: 0; }
  .r-rank { align-self: center; font-size: 20px; }
  .r-mark { align-self: center; }
  .r-growth { display: block; text-align: right; }
  .r-growth b { font-size: 16px; }
  .r-growth.is-gold b { display: inline-block; }
  .r-src { justify-self: start; }
  .rd { padding-left: 132px; padding-right: 132px; }
  .rd-actions { flex-direction: column; align-items: stretch; }
  .std-grid { grid-template-columns: repeat(5, 1fr); }
  .std-grid-fit { grid-template-columns: repeat(var(--n, 5), 1fr); }
  .profile-grid { grid-template-columns: 1.2fr 1fr; }
  .legal { padding-bottom: 48px; }
}

/* Motion graphics — one card per company (site/motion/<slug>.js), the Investing Platform's Late Stage frame: fixed height
   (380 / 460) so nothing moves while a module loads, light card tinted toward the company's colour, eyebrow + headline
   top-left, an "Illustration…" note bottom-left. */
.mg-slot { position: relative; height: 380px; margin: 4px 0 16px; border-radius: 24px; background: linear-gradient(135deg, #fff, #faf8f4); box-shadow: 0 0 0 1px var(--ink-12); }
.profile-motion { grid-column: 1 / -1; }
.profile-motion .mg-slot { margin: 0; }
/* desktop: the graphic fills the profile hero's right half (Addy, 19 Oct: "this empty space is crap"); below 1024 px it stays
   at the top of the band. The hidden copy is display:none, so it never intersects and never mounts. */
.profile-motion-side { display: none; }
@media (min-width: 1024px) {
  .profile-motion-band { display: none; }
  .profile-hero .hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
  .profile-hero h1 { flex-wrap: nowrap; font-size: clamp(44px, 4.2vw, 64px); line-height: 1.08; }
  .profile-hero h1 .mark { flex: 0 0 auto; }
  .profile-hero .hero-in > :not(.hero-side) { grid-column: 1; }
  .profile-hero .hero-side { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
  .profile-motion-side { display: block; }
  .profile-motion-side .mg-slot { height: 460px; }
}
/* from 1180 px the graphic column is fixed at 540 px: under every module's wide breakpoint (560 / 600 / 640), so each draws
   its card layout, the one checked at 470-560 px in this column (its wide layout is built for ~1000 px and crops at 640) */
@media (min-width: 1180px) { .profile-hero .hero-in { grid-template-columns: minmax(0, 1fr) 540px; } }
.mg-card { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #fff 0%, #fff 52%, color-mix(in srgb, var(--mg-tint, #DBC7A2) 14%, #fff) 100%); box-shadow: 0 0 0 1px var(--ink-12), 0 1px 2px rgba(22,48,41,.05); }
.mg-card.mg-dark { background: linear-gradient(135deg, #0f1412 0%, #121a17 60%, color-mix(in srgb, var(--mg-tint, #DBC7A2) 18%, #0f1412) 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.mg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.mg-head { position: absolute; left: 20px; top: 20px; right: 20px; z-index: 2; pointer-events: none; }
.mg-eyebrow { margin: 0 0 6px; font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(22,48,41,.58); }
.mg-title { margin: 0; max-width: 16ch; font-family: Inter, system-ui, sans-serif; font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; } /* the platform's Late Stage graphic headline: text-2xl/3xl semibold tracking-tight */
.mg-title.mg-quote { max-width: 24ch; font-size: 20px; line-height: 27px; text-indent: -.42em; }
.mg-by { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: rgba(22,48,41,.58); }
.mg-note { position: absolute; left: 20px; right: 20px; bottom: 14px; z-index: 2; margin: 0; font-size: 11px; line-height: 15px; color: rgba(22,48,41,.55); pointer-events: none; }
.mg-dark .mg-eyebrow, .mg-dark .mg-by, .mg-dark .mg-note { color: rgba(255,255,255,.62); }
.mg-dark .mg-title { color: #fff; }
.mg-stripe .mg-title { font-family: Inter, system-ui, sans-serif; font-weight: 600; max-width: 16ch; letter-spacing: -.02em; }
@media (prefers-reduced-motion: reduce) { .mg-card { animation: none; } }
@media (min-width: 640px) {
  .mg-slot { height: 460px; }
  .mg-head { left: 28px; top: 28px; right: 28px; }
  .mg-title { font-size: 30px; line-height: 36px; max-width: 18ch; }
  .mg-title.mg-quote { font-size: 24px; line-height: 32px; }
  .mg-note { left: 28px; right: 28px; bottom: 18px; }
}
@media (min-width: 1024px) { .row-detail-in > .mg-slot { margin-left: 132px; margin-right: 16px; } }

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