
/* ============================================================
   AMILLI — shared design system (Robinhood-styled fintech)
   ============================================================ */
:root {
  --bg: #f6f7f9;
  --bg-2: #eef0f3;
  --surface: #ffffff;
  --surface-ink: #0b0d0f;
  --line: #e7eaee;
  --line-2: #dde1e7;

  --green: #00c805;
  --green-ink: #00873a;
  --green-deep: #006f30;
  --green-soft: #e8f9ea;
  --green-glow: rgba(0,200,5,0.18);

  --red: #ff5000;
  --red-text: #c23e00;  /* small-text red: 4.9:1 on white (--red is 3.28:1, AA fail) */
  --red-soft: #ffeee6;
  --amber: #ff9e00;
  --amber-soft: #fff3e0;
  --gold: #c29e6e;

  --ink: #11161b;
  --ink-2: #3a434c;
  --muted: #6b7480;
  --faint: #676f7a; /* darkened from #9aa3ad for WCAG 1.4.3 contrast */

  --shadow-sm: 0 1px 2px rgba(13,18,23,0.04), 0 1px 3px rgba(13,18,23,0.05);
  --shadow: 0 2px 6px rgba(13,18,23,0.05), 0 8px 24px rgba(13,18,23,0.06);
  --shadow-lg: 0 12px 40px rgba(13,18,23,0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --max-w: 1240px;
  --gutter: clamp(18px, 4vw, 40px);

  --sans: 'Hanken Grotesk', sans-serif;
  --display: 'Bricolage Grotesque', sans-serif;
  --mono: 'Spline Sans Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-size: 15px; line-height: 1.55; overflow-x: hidden;
}
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.pos { color: var(--green-ink); }
.neg { color: var(--red-text); }
img { max-width: 100%; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(246,247,249,0.82);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); height: 64px;
  display: flex; align-items: center; gap: 22px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display);
  font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--ink); }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--green);
  display: grid; place-items: center; box-shadow: 0 2px 8px var(--green-glow); flex-shrink: 0; }
.logo-mark svg { width: 15px; height: 15px; }
.nav-links { display: flex; gap: 2px; margin-left: 6px; }
.nav-links a { padding: 8px 12px; border-radius: var(--radius-pill); font-weight: 600;
  font-size: 13.5px; color: var(--ink-2); transition: background .15s, color .15s; white-space: nowrap; }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-links a.active { background: var(--surface-ink); color: #fff; }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn { font-family: var(--sans); font-weight: 700; font-size: 14px; padding: 10px 20px;
  border-radius: var(--radius-pill); border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s, background .15s, color .15s, border-color .15s;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.btn-primary { background: var(--green); color: #042b06; box-shadow: 0 2px 10px var(--green-glow); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--green-glow); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-dark { background: var(--surface-ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; }

/* ---------- LIVE TAPE ---------- */
.tape { background: var(--surface-ink); color: #cfd6dd; height: 38px; display: flex;
  align-items: center; overflow: hidden; font-family: var(--mono); font-size: 12.5px; }
.tape-label { background: var(--green); color: #042b06; height: 100%; display: flex; align-items: center;
  gap: 7px; padding: 0 16px; font-family: var(--sans); font-weight: 800; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase; flex-shrink: 0; }
.tape-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #042b06; animation: pulse 1.6s infinite; }
.tape-label.closed { background: #2a2f36; color: #cfd6dd; }
.tape-label.closed .dot { background: #8b95a0; animation: none; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.tape-track { display: flex; gap: 34px; white-space: nowrap; padding-left: 34px; animation: scroll 70s linear infinite; flex-shrink: 0; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tape-track .sym { color: #fff; font-weight: 600; margin-right: 7px; }
.tape .up { color: #46e36a; } .tape .down { color: #ff8a5c; } .tape .flat { color: #8b95a0; }

/* ---------- SECTION SCAFFOLD ---------- */
section { padding: clamp(48px, 7vw, 88px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.eyebrow.muted { color: var(--muted); } .eyebrow.muted::before { background: var(--muted); }
h1.title, h2.title { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.02; letter-spacing: -0.035em; color: var(--ink); margin-bottom: 16px; }
h1.title .g, h2.title .g { color: var(--green-ink); }
.lede { font-size: clamp(16px,1.4vw,18px); color: var(--ink-2); max-width: 62ch; line-height: 1.6; }
.center { text-align: center; } .center .lede, .center h1.title, .center h2.title { margin-left: auto; margin-right: auto; }

/* ---------- PAGE HERO (interior) ---------- */
.page-hero { padding: clamp(40px,6vw,72px) 0 clamp(28px,4vw,40px); }
.breadcrumb { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 18px; letter-spacing: .02em; }
.breadcrumb a, .crumb a { display: inline-block; padding: 8px 0; margin: -8px 0; } /* 30px+ tap target, no layout shift */
.breadcrumb a:hover { color: var(--green-ink); }
.breadcrumb .sep { margin: 0 8px; color: var(--faint); }
h1.page-h { font-family: var(--display); font-weight: 800; font-size: clamp(38px,5.6vw,66px);
  line-height: .98; letter-spacing: -0.045em; color: var(--ink); margin-bottom: 18px; }
h1.page-h .g { color: var(--green-ink); }
h1.page-h .strike { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 4px; color: var(--faint); }

/* ---------- HOME HERO ---------- */
.hero { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(36px,5vw,56px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface);
  border: 1px solid var(--line); padding: 7px 8px 7px 14px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.pill .tag { background: var(--green-soft); color: var(--green-deep); padding: 3px 11px; border-radius: var(--radius-pill); font-weight: 700; font-size: 12.5px; }
h1.hero-h { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6.2vw, 74px);
  line-height: 0.98; letter-spacing: -0.045em; color: var(--ink); margin-bottom: 22px; }
h1.hero-h .g { color: var(--green-ink); }
h1.hero-h .strike { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 4px; color: var(--faint); }
.hero-sub { font-size: clamp(16px,1.5vw,19px); color: var(--ink-2); max-width: 50ch; line-height: 1.6; margin-bottom: 30px; }
.hero-sub b { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.trust span b { color: var(--ink); margin-left: 5px; }

/* chart card */
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cc-head { padding: 20px 22px 12px; display: flex; justify-content: space-between; align-items: flex-start; }
.cc-label { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
/* ============================================================
   SIGN-AWARE NUMERIC COLOUR
   ============================================================
   .pc-big, .pc-vs .spread, .br, .alpha-cell .v and .cta-perf .cell .v were all
   unconditional `color: var(--green-ink)`, while the JavaScript that wrote the
   numbers set no sign class. So EVERY negative figure rendered green. On a
   performance page that is not cosmetic: the real 5-year window trails the
   S&P 500 by 4,464 bps and was painted as a win, with only a small
   down-triangle glyph disagreeing.

   Rule for anything numeric from here on: the BASE is neutral ink, and .pos /
   .neg carry the colour, set from the sign by amilliSetSign() in amilli.js and
   baked into the HTML fallbacks. An unclassed value is therefore merely
   uncoloured rather than confidently wrong, and zero is neutral, not a win.
   ============================================================ */
.cc-big { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.cc-big.pos { color: var(--green-ink); }
.cc-big.neg { color: var(--red-text); }
.cc-chg { font-weight: 700; font-size: 14px; margin-top: 8px; color: var(--ink); }
.cc-chg .spread { font-weight: 800; margin-left: 8px; }
.cc-chg .spread.pos { color: var(--green-ink); }
.cc-chg .spread.neg { color: var(--red-text); }
.cc-chg .vs { color: var(--muted); font-weight: 600; margin-left: 10px; }
.live-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--green-deep); background: var(--green-soft); padding: 5px 10px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .06em; }
.live-chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
.cc-chart svg { display: block; width: 100%; height: auto; }
.cc-stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.cc-stat { padding: 14px 18px; border-right: 1px solid var(--line); }
.cc-stat:last-child { border-right: none; }
.cc-stat .l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 3px; }
.cc-stat .v { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.watch { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 8px 4px; }
.watch-row { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; align-items: center; padding: 11px 18px; border-radius: var(--radius-sm); transition: background .12s; }
.watch-row:hover { background: var(--bg-2); }
.watch-row .s { font-weight: 700; font-size: 14px; }
.watch-row .n { color: var(--muted); font-size: 13px; }
.watch-row .p { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.watch-row .c { text-align: right; font-weight: 700; font-size: 13px; min-width: 64px; font-variant-numeric: tabular-nums; }

/* ---------- PERFORMANCE ---------- */
.perf-tabs { display: inline-flex; background: var(--bg-2); border-radius: var(--radius-pill); padding: 5px; margin: 28px 0 24px; }
.perf-tab { font-family: var(--sans); font-weight: 700; font-size: 13.5px; padding: 9px 20px; border-radius: var(--radius-pill); border: none; background: transparent; color: var(--muted); cursor: pointer; transition: all .15s; }
.perf-tab:hover { color: var(--ink); }
.perf-tab.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.perf-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 32px; }
.perf-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .14s, box-shadow .16s, border-color .16s; }
.perf-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.perf-card.active { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), var(--shadow); }
.pc-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.pc-win { font-family: var(--mono); font-size: 10.5px; color: var(--faint); margin: 5px 0 16px; letter-spacing: .02em; }
.pc-big { font-family: var(--display); font-size: clamp(34px,4vw,46px); font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.pc-big.pos { color: var(--green-ink); }
.pc-big.neg { color: var(--red-text); }
.pc-vs { padding-top: 13px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.pc-vs .spread { color: var(--ink); font-weight: 800; font-family: var(--display); font-size: 15px; }
.pc-vs .spread.pos { color: var(--green-ink); }
.pc-vs .spread.neg { color: var(--red-text); }
.bench-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.bench-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 10px; }
.bench-head h2 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.bench-window { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.bench-window strong { color: var(--ink); }
table.bench { width: 100%; border-collapse: collapse; font-size: 14px; }
table.bench th { text-align: left; padding: 12px 24px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
table.bench th.right { text-align: right; }
table.bench td { padding: 15px 24px; border-bottom: 1px solid var(--line); }
table.bench tr:last-child td { border-bottom: none; }
table.bench tr.you { background: linear-gradient(90deg, var(--green-soft), rgba(232,249,234,0)); }
table.bench tr.you td { font-weight: 700; }
.bn { font-weight: 600; color: var(--ink); }
.bn .tag { display: inline-block; margin-left: 9px; font-family: var(--mono); font-size: 10px; font-weight: 700; background: var(--green); color: #042b06; padding: 2px 8px; border-radius: var(--radius-pill); letter-spacing: .04em; }
.br { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.br.pos { color: var(--green-ink); }
.br.neg { color: var(--red-text); }
.bbar-cell { width: 34%; }
.bbar { height: 9px; border-radius: var(--radius-pill); background: var(--bg-2); overflow: hidden; }
.bbar .fill { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, #7fe39a, var(--green)); transition: width .6s cubic-bezier(.4,0,.2,1); }
tr.you .bbar .fill { background: linear-gradient(90deg, var(--green), var(--green-deep)); }
.bspread { text-align: right; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.bspread.up { color: var(--green-ink); } .bspread.dn { color: var(--red-text); }
.alpha-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 18px; }
.alpha-cell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.alpha-cell .l { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.alpha-cell .v { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-top: 5px; }
.alpha-cell .v.pos { color: var(--green-ink); }
.alpha-cell .v.neg { color: var(--red-text); }
.alpha-cell .v.ink { color: var(--ink); }
.disclosure { font-family: var(--mono); font-size: 10.5px; color: var(--faint); line-height: 1.7; margin-top: 22px; letter-spacing: .01em; }
.disclosure strong { color: var(--muted); }

/* ---------- METRIC GRID ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.metric .l { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.metric .v { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); margin: 6px 0 4px; }
.metric .v.g { color: var(--green-ink); } .metric .v.r { color: var(--red); }
.metric .d { font-size: 12.5px; color: var(--muted); }

/* ---------- HEATMAP (monthly returns) ---------- */
.heatmap-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow-x: auto; }
table.heatmap { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 720px; }
table.heatmap th, table.heatmap td { padding: 10px 8px; text-align: center; font-variant-numeric: tabular-nums; }
table.heatmap thead th { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
table.heatmap tbody th { text-align: left; font-weight: 700; color: var(--ink); padding-left: 18px; }
table.heatmap td { font-weight: 700; border-radius: 6px; color: #06381a; }
table.heatmap td.yr { font-family: var(--display); font-weight: 700; color: var(--green-ink); background: none; }

/* ---------- CAPABILITIES / cards ---------- */
.caps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .14s, box-shadow .16s; display: flex; flex-direction: column; }
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cap-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cap-no { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: .06em; }
.chip { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 11px; border-radius: var(--radius-pill); background: var(--green-soft); color: var(--green-deep); }
.chip.amber { background: var(--amber-soft); color: #9a5b00; }
.cap h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 9px; }
.cap h3 .g { color: var(--green-ink); }
.cap p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
.meter { margin-bottom: 8px; }
.meter-row { display: grid; grid-template-columns: 56px 1fr 44px; gap: 10px; align-items: center; margin-bottom: 7px; }
.meter-row .ml { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 600; }
.meter-bar { height: 7px; border-radius: var(--radius-pill); background: var(--bg-2); overflow: hidden; }
.meter-bar .mf { height: 100%; border-radius: var(--radius-pill); background: var(--green); }
.meter-bar .mf.alt { background: var(--ink-2); }
.meter-row .mv { font-family: var(--mono); font-size: 11px; color: var(--ink); font-weight: 700; text-align: right; }
.cap-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; }
.cap-foot .l { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.cap-foot .v { color: var(--ink); font-weight: 700; }
.cap-link { margin-top: 14px; font-weight: 700; font-size: 13.5px; color: var(--green-ink); display: inline-flex; align-items: center; gap: 6px; }
.cap-link:hover { gap: 10px; }

/* ---------- STORY / dark band ---------- */
.dark { background: var(--surface-ink); color: #e9edf1; }
.dark .eyebrow { color: #46e36a; } .dark .eyebrow::before { background: var(--green); }
.dark h1.title, .dark h2.title { color: #fff; } .dark h1.title .g, .dark h2.title .g { color: #46e36a; }
.dark .lede { color: #b9c1cb; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.pull { font-family: var(--display); font-size: clamp(26px,3vw,40px); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; color: #fff; }
.pull .g { color: #46e36a; }
.pull-attr { margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8b95a0; padding-left: 16px; border-left: 2px solid var(--green); }
.pull-attr b { color: #fff; }
.dark .body h2 { font-family: var(--display); font-size: clamp(26px,3.4vw,40px); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; }
.dark .body h2 .g { color: #46e36a; }
.dark .body p { color: #b9c1cb; font-size: 16px; line-height: 1.7; margin-bottom: 16px; max-width: 56ch; }
.dark .body p b { color: #fff; font-weight: 700; }
.story-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 30px; }
.ss { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 18px; }
.ss .v { font-family: var(--display); font-size: 28px; font-weight: 700; color: #46e36a; letter-spacing: -0.02em; line-height: 1; }
.ss .l { font-size: 11px; color: #8b95a0; text-transform: uppercase; letter-spacing: .1em; margin-top: 7px; font-weight: 600; }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -30px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--green); }
.tl-date { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--green-ink); letter-spacing: .04em; margin-bottom: 5px; }
.tl-item h4 { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.tl-item p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 60ch; }

/* ---------- CUSTODY ---------- */
.ctrl { display: flex; flex-direction: column; gap: 14px; }
.ctrl-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 38px 1fr auto; gap: 16px; align-items: start; transition: transform .12s, box-shadow .15s; }
.ctrl-item:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.ctrl-no { width: 30px; height: 30px; border-radius: 9px; background: var(--green-soft); color: var(--green-deep); font-family: var(--mono); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.ctrl-item h4 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.ctrl-item p { color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.ctrl-status { font-size: 11px; font-weight: 700; color: var(--green-deep); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.ctrl-status .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.vcard .vt { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.own-bar { height: 40px; border-radius: var(--radius-sm); background: var(--green); display: grid; place-items: center; color: #042b06; font-weight: 800; font-size: 14px; letter-spacing: .04em; margin-bottom: 12px; }
.own-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; }
.own-labels b { color: var(--green-ink); }
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack-row { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--bg-2); font-weight: 600; font-size: 14px; }
.stack-row .si { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.revoke { display: flex; align-items: baseline; justify-content: space-between; }
.revoke .big { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--green-ink); letter-spacing: -0.03em; line-height: 1; }
.revoke .lab { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-top: 4px; }
.revoke .r { text-align: right; }
.revoke .r .t { color: var(--green-deep); font-weight: 700; font-size: 13px; }
.revoke .r .s { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }

/* ---------- PLATFORMS ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pf { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; transition: transform .14s, box-shadow .16s; }
.pf:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pf-top { display: flex; justify-content: space-between; align-items: flex-start; }
.pf-name { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.pf-seg { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: var(--radius-pill); }
.pf-seg.inst { background: var(--green-soft); color: var(--green-deep); }
.pf-seg.ret { background: var(--amber-soft); color: #9a5b00; }
.pf-meta { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.pf-status { font-size: 12px; font-weight: 700; color: var(--green-deep); display: inline-flex; align-items: center; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.pf-status .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }

/* ---------- ECON PULSE ---------- */
.stance-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.stance-banner { background: rgba(255,160,0,0.07); border: 1px solid rgba(255,160,0,0.25); border-left: 4px solid var(--amber); border-radius: var(--radius); padding: 24px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.stance-light { width: 22px; height: 22px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 16px var(--amber); animation: pulse 2s infinite; }
.stance-banner .sl { font-size: 11px; color: #8b95a0; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.stance-banner .sv { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--amber); letter-spacing: -0.01em; margin-top: 3px; }
.stance-banner .sc { text-align: right; font-family: var(--mono); font-size: 13px; color: var(--amber); font-weight: 600; }
.stance-banner .sc small { display: block; color: #8b95a0; font-size: 10px; letter-spacing: .08em; margin-top: 3px; text-transform: uppercase; }
.gauge { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 22px 24px; }
.gauge-t { display: flex; justify-content: space-between; font-size: 11.5px; color: #8b95a0; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 14px; }
.gauge-t b { color: #fff; }
.gbar { height: 32px; border-radius: var(--radius-sm); display: flex; overflow: hidden; position: relative; }
.gbar .s { height: 100%; }
.gbar .s.r { background: #ff5000; } .gbar .s.y { background: var(--amber); } .gbar .s.g { background: var(--green); }
.gmark { position: absolute; top: -5px; bottom: -5px; width: 3px; background: #fff; border-radius: 2px; box-shadow: 0 0 8px #fff; }
.gmark::after { content: '▼'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 9px; }
.glabels { display: flex; justify-content: space-between; font-size: 9.5px; color: #8b95a0; text-transform: uppercase; letter-spacing: .08em; margin-top: 9px; font-weight: 600; }
.subidx { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 22px; }
.subrow { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 14px 16px; }
.subrow .n { font-weight: 700; font-size: 13px; color: #fff; }
.subrow .v { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ld { width: 9px; height: 9px; border-radius: 50%; }
.ld.g { background: var(--green); box-shadow: 0 0 7px var(--green); }
.ld.y { background: var(--amber); box-shadow: 0 0 7px var(--amber); }
.ld.r { background: #ff5000; box-shadow: 0 0 7px #ff5000; }
.subrow .v.g { color: #46e36a; } .subrow .v.y { color: var(--amber); } .subrow .v.r { color: #ff8a5c; }
.ind-panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 18px; }
.ind-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ind-head .no { font-family: var(--mono); background: var(--surface-ink); color: #fff; padding: 3px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; }
.ind-head .nm { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.ind-head .ds { color: var(--muted); font-size: 13px; }
.ind-head .ct { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--green-deep); background: var(--green-soft); padding: 4px 11px; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .05em; }
.ind-primer { padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--bg); }
.ind-primer h2 { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 5px; letter-spacing: -0.01em; }
.ind-primer p { color: var(--ink-2); font-size: 14px; line-height: 1.55; max-width: 70ch; }
table.ind { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--ink); }
table.ind th { text-align: left; padding: 11px 24px; font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--line); }
table.ind th.r { text-align: right; } table.ind th.c { text-align: center; }
table.ind td { padding: 14px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.ind tr:last-child td { border-bottom: none; }
table.ind tr:hover { background: var(--bg); }
.il-cell { width: 30px; text-align: center; }
.il { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.il.g { background: var(--green); box-shadow: 0 0 9px var(--green-glow); }
.il.y { background: var(--amber); box-shadow: 0 0 9px rgba(255,158,0,.3); }
.il.r { background: #ff5000; box-shadow: 0 0 9px rgba(255,80,0,.3); }
.in-name { font-weight: 700; font-size: 14.5px; }
.in-code { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 2px; letter-spacing: .02em; }
.in-val { text-align: right; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.in-chg { text-align: right; font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.in-chg.up { color: var(--green-ink); } .in-chg.down { color: var(--red-text); } .in-chg.flat { color: var(--muted); }
.in-stance { text-align: center; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.in-stance.g { color: var(--green-ink); } .in-stance.y { color: #9a5b00; } .in-stance.r { color: var(--red-text); }
.in-take { color: var(--ink-2); font-size: 13px; line-height: 1.5; max-width: 340px; }
.in-take b { color: var(--ink); font-weight: 700; }
.sect-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 20px 24px; }
.sc-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.sc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sc-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.sc-perf { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--green-ink); letter-spacing: -0.02em; margin-bottom: 10px; }
.sc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.sc-foot .code { font-family: var(--mono); color: var(--muted); font-weight: 600; }
.sc-foot .stn { font-weight: 800; }
.sc-foot .stn.g { color: var(--green-ink); } .sc-foot .stn.y { color: #9a5b00; } .sc-foot .stn.r { color: var(--red-text); }
.pos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pos-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.pos-card .pt { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.pos-card.g .pt { color: var(--green-ink); } .pos-card.y .pt { color: #9a5b00; } .pos-card.r .pt { color: var(--red); }
.pos-card .pt .ar { font-size: 16px; }
.pos-card h3 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--ink); }
.pos-card p { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }

/* ---------- OPTIONS / strategy ---------- */
.strat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.strat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .14s, box-shadow .16s; }
.strat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strat-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.strat h3 { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.strat .risk { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 11px; border-radius: var(--radius-pill); }
.risk.low { background: var(--green-soft); color: var(--green-deep); }
.risk.mid { background: var(--amber-soft); color: #9a5b00; }
.risk.high { background: var(--red-soft); color: #b5380a; }
.strat p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.payoff { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 18px; }
.payoff svg { display: block; width: 100%; height: auto; }
.strat-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.strat-stats .st { text-align: center; }
.strat-stats .st .l { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.strat-stats .st .v { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--ink); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-size: 24px; font-weight: 400; color: var(--green-ink); flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 70ch; }

/* ---------- STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.step .n { width: 38px; height: 38px; border-radius: 11px; background: var(--surface-ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; display: grid; place-items: center; margin-bottom: 16px; }
.step h4 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 7px; }
.step p { color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }

/* ---------- FORM / onboarding ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.field input, .field select { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg-control { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.seg-opt { padding: 13px; text-align: center; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .14s; background: var(--surface); }
.seg-opt:hover { border-color: var(--ink); }
.seg-opt.sel { border-color: var(--green); background: var(--green-soft); color: var(--green-deep); }

/* ---------- CTA ---------- */
.cta-perf { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; max-width: 760px; margin: 0 auto 34px; }
.cta-perf .cell { flex: 1; min-width: 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.cta-perf .cell .l { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cta-perf .cell .v { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; margin: 5px 0 2px; }
.cta-perf .cell .v.pos { color: var(--green-ink); }
.cta-perf .cell .v.neg { color: var(--red-text); }
.cta-perf .cell .s { font-size: 11px; color: var(--muted); }
.cta-band h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px,5.2vw,60px); line-height: 1; letter-spacing: -0.04em; max-width: 16ch; margin: 0 auto 16px; }
.cta-band h2 .g { color: var(--green-ink); }
.cta-band p { font-size: clamp(16px,1.4vw,18px); color: var(--ink-2); max-width: 50ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer { background: var(--surface-ink); color: #b9c1cb; padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -0.03em; margin-bottom: 14px; }
.foot-tag { font-size: 14px; line-height: 1.6; max-width: 280px; margin-bottom: 18px; }
.foot-aum { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8b95a0; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.12); }
.foot-aum b { color: #46e36a; margin-left: 6px; }
.foot-col h2 { font-family: inherit; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #8b95a0; font-weight: 700; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; padding: 6px 0; color: #b9c1cb; transition: color .12s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; padding: 22px 0; font-size: 12px; color: #8b95a0; flex-wrap: wrap; gap: 10px; }
.foot-bottom .ops { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom .ops .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* ---------- UTILITIES ---------- */
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt40 { margin-top: 40px; }
.section-tight { padding-top: clamp(20px,3vw,32px); }

.reveal { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
/* prevent any horizontal overflow / right-side gap on phones */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { min-width: 0; }
img, svg, video { max-width: 100%; height: auto; }

/* nav: links + action buttons share one collapsible container */
.nav-collapse { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: space-between; margin-left: 24px; }

@media (max-width: 1024px) {
  .hero-grid, .split, .stance-grid { grid-template-columns: 1fr; gap: 32px; }
  .caps, .pf-grid, .pos-grid, .perf-grid, .strat-grid { grid-template-columns: repeat(2,1fr); }
  .metric-grid, .steps { grid-template-columns: repeat(2,1fr); }
  .sect-grid { grid-template-columns: repeat(3,1fr); }
  .subidx { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* tablet + mobile: collapse the whole nav into a burger menu */
@media (max-width: 900px) {
  .nav-collapse { display: none; }
  .nav-burger { display: inline-flex; flex-direction: column; margin-left: auto; padding: 10px; }
  .nav-mobile-open .nav-collapse {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 18px; box-shadow: var(--shadow);
    max-height: calc(100dvh - 64px); overflow-y: auto;
  }
  .nav-mobile-open .nav-links { display: flex; flex-direction: column; gap: 2px; margin: 0; }
  .nav-mobile-open .nav-links a { padding: 13px 12px; font-size: 16px; border-radius: var(--radius-sm); }
  .nav-mobile-open .nav-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
  .nav-mobile-open .nav-cta .btn { width: 100%; justify-content: center; min-height: 46px; }
}

/* wide data tables scroll horizontally instead of breaking the page */
@media (max-width: 760px) {
  .bench-wrap, .heatmap-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.bench { min-width: 460px; }
}

@media (max-width: 680px) {
  .caps, .pf-grid, .pos-grid, .perf-grid, .strat-grid, .alpha-strip, .cta-perf, .metric-grid, .steps { grid-template-columns: 1fr; }
  .sect-grid, .subidx { grid-template-columns: repeat(2,1fr); }
  .field-row { grid-template-columns: 1fr; }
  table.ind th.hide, table.ind td.hide { display: none; }
  table.ind th, table.ind td { padding: 12px 14px; }
  .ind-head, .ind-primer, .sect-grid { padding-left: 16px; padding-right: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .watch-row { grid-template-columns: 50px 1fr auto; } .watch-row .p { display: none; }
  .stance-banner { grid-template-columns: auto 1fr; }
  .stance-banner .sc { grid-column: 1 / -1; text-align: left; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.1); }
  .form-card { padding: 22px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .tape { font-size: 12px; height: 36px; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  /* honor the user's motion preference: hold the ticker still (WCAG 2.2.2) */
  .tape-track { animation: none !important; }
}

.page { display:none; }
.page.active-page { display:block; }


/* ============================================================
   SHOPIFY COMMERCE STYLES (product / cart / collection / forms)
   ============================================================ */

.page-wrap{max-width:var(--max-w);margin:0 auto;padding:clamp(40px,6vw,72px) var(--gutter)}
.crumb{font-family:var(--mono);font-size:12px;color:var(--muted);margin-bottom:18px}
.crumb a:hover{color:var(--green-ink)}

/* Product */
.product{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.product-media{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;position:sticky;top:88px}
.product-media img{display:block;width:100%;height:auto}
.product-media .ph{aspect-ratio:4/3;display:grid;place-items:center;background:linear-gradient(135deg,#e8f9ea,#f6f7f9)}
.p-eyebrow{font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--green-ink);margin-bottom:14px;display:inline-flex;align-items:center;gap:9px}
.p-eyebrow::before{content:'';width:22px;height:2px;background:var(--green);border-radius:2px}
.product h1{font-family:var(--display);font-weight:800;font-size:clamp(30px,4vw,48px);line-height:1.02;letter-spacing:-0.04em;margin-bottom:14px}
.p-price{font-family:var(--display);font-size:34px;font-weight:700;color:var(--green-ink);letter-spacing:-0.02em}
.p-price .per{font-family:var(--sans);font-size:15px;font-weight:600;color:var(--muted);margin-left:6px}
.p-price .compare{font-size:18px;color:var(--faint);text-decoration:line-through;margin-left:12px;font-weight:600}
.p-desc{color:var(--ink-2);font-size:15.5px;line-height:1.7;margin:20px 0}
.p-desc ul{padding-left:1.2em;margin:12px 0}.p-desc li{margin:.4em 0}
.p-form{margin-top:24px;display:flex;flex-direction:column;gap:14px}
.p-selling-plans{display:flex;flex-direction:column;gap:10px}
.plan-opt{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border:1.5px solid var(--line-2);border-radius:var(--radius-sm);cursor:pointer;transition:all .14s;background:var(--surface);font-weight:600}
.plan-opt:hover{border-color:var(--ink)}
.plan-opt.sel{border-color:var(--green);background:var(--green-soft)}
.plan-opt .save{font-size:11px;font-weight:700;color:var(--green-deep);background:#fff;border:1px solid var(--green);padding:3px 9px;border-radius:var(--radius-pill)}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line-2);border-radius:var(--radius-pill);overflow:hidden;width:fit-content}
.qty button{border:none;background:none;width:40px;height:42px;font-size:20px;cursor:pointer;color:var(--ink)}
.qty input{width:46px;text-align:center;border:none;font-family:var(--mono);font-size:15px;font-weight:700;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none}
.p-trust{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted);font-weight:600;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.p-trust b{color:var(--ink)}

/* Collection grid */
.coll-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.prod-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;display:flex;flex-direction:column;transition:transform .14s,box-shadow .16s}
.prod-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.prod-card .pc-media{aspect-ratio:4/3;background:linear-gradient(135deg,#e8f9ea,#f6f7f9);overflow:hidden}
.prod-card .pc-media img{width:100%;height:100%;object-fit:cover}
.prod-card .pc-in{padding:20px;display:flex;flex-direction:column;flex-grow:1}
.prod-card h2{font-family:var(--display);font-size:19px;font-weight:700;letter-spacing:-0.02em;margin-bottom:6px}
.prod-card .pc-pr{font-family:var(--display);font-weight:700;color:var(--green-ink);font-size:20px;margin-top:auto;padding-top:12px}
.prod-card-pro{position:relative;border-color:var(--green);box-shadow:0 10px 30px var(--green-glow)}
.prod-card-pro .pc-flag{position:absolute;top:12px;right:12px;z-index:2;background:var(--green);color:#042b06;font-family:var(--sans);font-size:11px;font-weight:800;letter-spacing:.04em;padding:5px 11px;border-radius:var(--radius-pill);text-transform:uppercase}

/* Cart */
.cart-line{display:grid;grid-template-columns:72px 1fr auto auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}
.cart-line .ci-img{width:72px;height:72px;border-radius:var(--radius-sm);background:var(--bg-2);overflow:hidden}
.cart-line .ci-img img{width:100%;height:100%;object-fit:cover}
.cart-summary{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:24px;margin-top:24px;max-width:380px;margin-left:auto}
.cart-summary .row{display:flex;justify-content:space-between;padding:8px 0;font-size:15px}
.cart-summary .total{font-family:var(--display);font-size:22px;font-weight:700;border-top:1px solid var(--line);margin-top:8px;padding-top:14px}

/* Generic form (lead form / contact) */
.form-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:30px;max-width:560px;margin:0 auto}
.field{margin-bottom:18px}
.field label{display:block;font-size:12.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:7px}
.field input,.field select,.field textarea{width:100%;padding:13px 15px;border:1.5px solid var(--line-2);border-radius:var(--radius-sm);font-family:var(--sans);font-size:15px;color:var(--ink);background:var(--surface);transition:border-color .15s,box-shadow .15s}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px var(--green-glow)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.embed-wrap{border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow-sm);background:var(--surface)}
.embed-wrap iframe{display:block;width:100%;border:0}

/* Page / article content */
.rte{color:var(--ink-2);font-size:16px;line-height:1.75;max-width:760px}
.rte>*+*{margin-top:1.1em}
.rte h2{font-family:var(--display);font-weight:700;font-size:1.7em;letter-spacing:-0.02em;color:var(--ink);margin-top:1.3em}
.rte a{color:var(--green-ink);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.rte ul,.rte ol{padding-left:1.4em}
.shopify-section{position:relative}

@media(max-width:900px){.product{grid-template-columns:1fr;gap:28px}.product-media{position:static}.coll-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.coll-grid{grid-template-columns:1fr}.field-row{grid-template-columns:1fr}.cart-line{grid-template-columns:60px 1fr auto}}

/* ============================================================
   FIXES: live tape stacking, skip-link, back-to-top, footer cols
   ============================================================ */
/* (2) Make the "LIVE" badge fully opaque and above the scrolling tickers */
.tape { position: relative; }
.tape-label { position: relative; z-index: 3; box-shadow: 6px 0 10px -4px rgba(11,13,15,0.6); }
.tape-track { position: relative; z-index: 1; }

/* (5) Hide the accessibility skip-link until it's focused by keyboard */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--surface-ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; z-index: 999; }
.skip-link:focus { left: 0; }

/* (6) Back-to-top button */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #042b06; border: none; cursor: pointer; box-shadow: 0 6px 18px var(--green-glow);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease; z-index: 95; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* (7) Footer is now 3 columns, prefilled */
.foot-grid { grid-template-columns: 1.6fr 1fr 1fr; }
@media (max-width: 760px){ .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .foot-grid { grid-template-columns: 1fr; } }

/* per-metric "last updated" dates + full management name */
.in-upd { color: var(--muted); font-weight: 500; opacity: .8; }
.sc-upd { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .02em; }
.watch-asof { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .02em; text-align: right; }
.bench-note { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.perf-asof { margin: 14px 0 4px; font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: .01em; }
.perf-asof strong { color: var(--ink-2); font-weight: 700; }
.logo-sub { font-weight: 500; color: var(--muted); font-size: .60em; letter-spacing: .02em; margin-left: 7px; }
@media (max-width: 560px){ .logo-sub { display: none; } }

/* ============================================================
   AUTH PAGES (login / register / recover) — split-screen, branded
   ============================================================ */
.auth-shell { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 64px); }
.auth-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px,4vw,52px); background: radial-gradient(120% 100% at 0% 0%, #0f1722 0%, #0a0d11 55%, #070a0d 100%); color: #fff; }
.auth-hero-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,200,5,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,200,5,0.06) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(120% 90% at 100% 100%, #000 0%, transparent 70%); mask-image: radial-gradient(120% 90% at 100% 100%, #000 0%, transparent 70%); }
.auth-hero > * { position: relative; z-index: 1; }
.auth-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800;
  font-size: 21px; letter-spacing: -0.03em; color: #fff; text-decoration: none; }
.auth-logo .logo-mark { width: 30px; height: 30px; }
.auth-logo-sub { font-family: var(--sans); font-weight: 600; font-size: 12px; color: #8b95a0; margin-left: -3px; align-self: flex-end; padding-bottom: 3px; }
.auth-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  text-transform: uppercase; color: #cfe9d3; background: rgba(0,200,5,0.10); border: 1px solid rgba(0,200,5,0.25);
  padding: 7px 13px; border-radius: var(--radius-pill); margin-bottom: 22px; }
.auth-pill .d, .auth-hero-foot .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: authpulse 1.6s infinite; }
@keyframes authpulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.auth-hero-h { font-family: var(--display); font-size: clamp(30px,3.6vw,46px); font-weight: 800; line-height: 1.04;
  letter-spacing: -0.03em; margin-bottom: 18px; }
.auth-hero-h .g { color: var(--green); }
.auth-hero-p { color: #b9c1cb; font-size: 15px; line-height: 1.6; max-width: 46ch; }
.auth-stats { display: flex; gap: 30px; margin-top: 30px; }
.auth-stats .as .v { font-family: var(--display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.auth-stats .as .v.g { color: var(--green); }
.auth-stats .as .l { font-size: 11px; color: #8b95a0; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }
.auth-checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.auth-checks li { position: relative; padding-left: 28px; color: #d3dae1; font-size: 14.5px; line-height: 1.4; }
.auth-checks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(0,200,5,0.15); color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.auth-hero-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono);
  font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #8b95a0; margin-top: 28px; }
.auth-hero-foot .ops { display: inline-flex; align-items: center; gap: 8px; color: #cfe9d3; }
.auth-panel { display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(28px,5vw,64px) var(--gutter); background: var(--bg); }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px,4vw,38px); }
.auth-mark-sm { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-ink); font-weight: 600; margin-bottom: 12px; }
.auth-h { font-family: var(--display); font-size: clamp(24px,4vw,30px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; line-height: 1.5; }
.auth-card .field { margin-bottom: 16px; }
.auth-card .field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.auth-card .field input { width: 100%; }
.auth-mini { margin-top: 14px; font-size: 13.5px; text-align: center; }
.auth-mini a { color: var(--green-ink); font-weight: 600; }
.auth-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--green-ink); font-weight: 700; }
.auth-error { background: rgba(255,80,0,0.08); border: 1px solid rgba(255,80,0,0.25); color: #b23600;
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; }
.auth-note { background: rgba(0,135,58,0.08); border: 1px solid rgba(0,135,58,0.25); color: var(--green-ink);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; }
.auth-legal { text-align: center; color: var(--muted); font-family: var(--mono); font-size: 11px;
  letter-spacing: .03em; margin-top: 22px; max-width: 400px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; min-height: 0; }
  .auth-hero { padding: 32px 24px 36px; }
  .auth-stats { gap: 22px; }
  .auth-panel { padding: 36px 20px 48px; }
}

/* ============================================================
   STICKY FOOTER — no empty space below footer on short pages / iPhone
   ============================================================ */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main#MainContent { flex: 1 0 auto; }
footer { flex-shrink: 0; }

/* ============================================================
   PLANS PAGE — three-tier cards + comparison table
   ============================================================ */
.plans-wrap { padding: clamp(40px,6vw,72px) 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-featured { border-color: var(--green); box-shadow: 0 10px 30px var(--green-glow); }
.plan-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--green); color: #042b06; font-family: var(--sans); font-weight: 800; font-size: 10.5px;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: var(--radius-pill); }
.plan-name { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.plan-exec { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 10px 0 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line); }
.plan-exec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.exec-advice { color: #6b7480; background: var(--bg-2); }
.exec-you { color: var(--green-ink); background: rgba(0,135,58,0.08); border-color: rgba(0,135,58,0.2); }
.exec-we { color: #b23600; background: rgba(255,80,0,0.07); border-color: rgba(255,80,0,0.2); }
.plan-price { font-family: var(--display); font-size: 38px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-cadence { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-note { font-size: 12.5px; color: var(--green-ink); font-weight: 600; margin-top: 6px; }
.plan-tagline { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 14px 0 0; }
.plan-features { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-ink); font-weight: 800; }
.plan-cta { margin-top: 24px; width: 100%; justify-content: center; }
.plan-card > .plan-cta, .plan-card > .plan-buy { margin-top: auto; }
.plan-buy { margin: 0; }
.plan-buy .plan-cta { margin-top: 24px; }

.compare { margin-top: clamp(40px,6vw,64px); }
.compare-h { font-family: var(--display); font-size: clamp(22px,3vw,30px); font-weight: 800; letter-spacing: -0.02em; text-align: center; margin-bottom: 22px; }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-family: var(--display); font-size: 16px; font-weight: 700; }
.compare-table td:first-child, .compare-table th:first-child { color: var(--muted); font-weight: 600; }
.compare-table .cc-pro { background: rgba(0,200,5,0.05); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-foot { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* ============================================================
   BOOKING PAGE (Consult → Google Calendar)
   ============================================================ */
.book-wrap { padding: clamp(40px,6vw,72px) 0; }
.book-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: 900px; margin-left: auto; margin-right: auto; }
.bstep { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.bstep .bnum { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #042b06;
  font-family: var(--display); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.bstep b { display: block; font-family: var(--display); font-size: 15px; margin-bottom: 2px; }
.bstep p { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 0; }
.embed-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.embed-wrap iframe { display: block; width: 100%; border: 0; }
.embed-empty { display: grid; place-items: center; min-height: 360px; text-align: center; padding: 32px; color: var(--muted); }
.book-empty-h { font-family: var(--display); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.book-fallback { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.book-fallback a { color: var(--green-ink); font-weight: 600; }
@media (max-width: 760px){ .book-steps { grid-template-columns: 1fr; } }

/* Branded product covers (inline SVG fallback when no product image) */
.amilli-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.ci-img { overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-2); }
.ci-img .amilli-cover { aspect-ratio: 1 / 1; }
.product-media .amilli-cover { aspect-ratio: 4 / 3; }
.pc-media .amilli-cover { aspect-ratio: 3 / 2; }

/* Plans disclosures */
.plan-disclosures { max-width: 820px; margin: 28px auto 0; padding: 22px 24px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius); }
.plan-disclosures .eyebrow { margin-bottom: 12px; }
.disc-notes { margin: 0 0 12px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.disc-notes li { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.disc-notes sup { color: var(--green-ink); font-weight: 800; margin-right: 5px; }
.disc-tiers { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0 0 10px; }
.disc-tiers b { color: var(--ink); }
.disc-general { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.disc-extra { font-size: 11.5px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; }

/* ============================================================
   CART — one-click remove, instant steppers, empty cart
   ============================================================ */
.cart-line { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line .ci-img { display: block; }
.ci-info { display: flex; flex-direction: column; gap: 3px; }
.ci-title { font-weight: 700; color: var(--ink); }
.ci-title:hover { color: var(--green-ink); }
.ci-plan { font-size: 12.5px; color: var(--green-ink); font-weight: 700; }
.ci-variant { font-size: 12.5px; color: var(--muted); }
.ci-remove { display: inline-flex; align-items: center; gap: 3px; align-self: flex-start; margin-top: 4px;
  font-size: 12.5px; color: var(--muted); font-weight: 600; }
.ci-remove:hover { color: var(--red, #ff5000); }
.ci-qty { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--line-2); border-radius: var(--radius-pill); padding: 2px; }
.ci-qty .qstep { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1; }
.ci-qty .qstep:hover { background: var(--bg-2); color: var(--green-ink); }
.ci-qty .qval { min-width: 28px; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 15px; }
.ci-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.cart-continue { font-size: 13px; color: var(--muted); font-weight: 600; }
.cart-continue:hover { color: var(--ink); }
.cart-empty { font-size: 13px; color: var(--muted); font-weight: 600; }
.cart-empty:hover { color: var(--red, #ff5000); }
.cart-empty-state { text-align: center; padding: 40px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 60px 1fr; row-gap: 10px; }
  .cart-line .ci-qty { grid-column: 2; justify-self: start; }
  .cart-line .ci-price { grid-column: 2; justify-self: start; }
}

/* Collection (Plans) card CTA */
.prod-card .pc-in { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.pc-cta { align-self: flex-start; margin-top: 6px; padding: 9px 18px; font-size: 14px; }
.prod-card { display: flex; flex-direction: column; }

/* ============================================================
   U.S. SENATE DISCLOSURE WATCH (Market Pulse, dark section)
   ============================================================ */
.senate-watch { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; }
.sw-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.sw-meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  color: #8b95a0; white-space: nowrap; padding-bottom: 6px; }
.sw-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sw-empty { grid-column: 1 / -1; padding: 26px; text-align: center; color: #8b95a0;
  font-size: 14px; border: 1px dashed rgba(255,255,255,0.12); border-radius: var(--radius-sm); }
.sw-sen { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); padding: 14px 16px; }
.sw-sen-top { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.sw-sen-name { font-family: var(--display); font-weight: 700; font-size: 16px; color: #fff; letter-spacing: -0.01em; }
.sw-chamber { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #8b95a0; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-pill); padding: 3px 8px; white-space: nowrap; }
.sw-trades { display: flex; flex-direction: column; gap: 6px; }
.sw-trade { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 10px;
  padding: 7px 8px; border-radius: 8px; text-decoration: none; color: #d3dae1; position: relative;
  transition: background .12s; }
a.sw-trade:hover { background: rgba(255,255,255,0.05); }
.sw-tk { font-family: var(--mono); font-weight: 700; font-size: 13px; color: #fff; }
.sw-co { font-size: 12px; color: #8b95a0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-ty { font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--radius-pill); white-space: nowrap; }
.sw-ty.buy  { background: rgba(0,200,5,0.16);  color: #00c805; }
.sw-ty.sell { background: rgba(255,77,79,0.16); color: #ff7a7c; }
.sw-ty.flat { background: rgba(255,255,255,0.10); color: #b9c1cb; }
.sw-amt { font-family: var(--mono); font-size: 12px; font-weight: 600; color: #e8edf2; white-space: nowrap; }
.sw-dt { font-family: var(--mono); font-size: 11px; color: #8b95a0; white-space: nowrap; }
.sw-go { position: absolute; right: 6px; top: 6px; font-size: 10px; color: #8b95a0; opacity: 0; transition: opacity .12s; }
a.sw-trade:hover .sw-go { opacity: 1; }
@media (max-width: 820px){
  .sw-list { grid-template-columns: 1fr; }
  .sw-trade { grid-template-columns: auto 1fr auto; row-gap: 2px; }
  .sw-amt, .sw-dt { grid-column: span 1; }
  .sw-co { display: none; }
}

/* ============================================================
   BULL AI — Managed Intelligence
   Dedicated page hero + homepage teaser.
   Extends the theme's dark / auth-grid / green-glow language.
   ============================================================ */

/* ---- Dedicated page hero band ---- */
.bull { position: relative; overflow: hidden; color: #e9edf1;
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(0,200,5,0.12), transparent 60%),
    radial-gradient(760px 620px at 6% 115%, rgba(70,227,106,0.10), transparent 58%),
    radial-gradient(120% 100% at 0% 0%, #0f1722 0%, #0a0d11 55%, #070a0d 100%); }
.bull::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,200,5,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,5,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 35%, #000 0%, transparent 75%);
          mask-image: radial-gradient(120% 95% at 50% 35%, #000 0%, transparent 75%); }
.bull .bull-aura { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; z-index: 0; pointer-events: none; will-change: transform; }
.bull .bull-aura.a1 { width: 40vw; height: 40vw; left: 60%; top: -20%; background: radial-gradient(circle, rgba(0,200,5,.55), transparent 65%); animation: bullDrift 24s ease-in-out infinite; }
.bull .bull-aura.a2 { width: 34vw; height: 34vw; left: -12%; top: 45%; background: radial-gradient(circle, rgba(70,227,106,.45), transparent 68%); animation: bullDrift 30s ease-in-out infinite reverse; }
.bull .wrap { position: relative; z-index: 1; }
@keyframes bullDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-5%,4%) scale(1.08); } }

.bull-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px,5vw,64px); align-items: center; }
.bull-badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #cfe9d3; background: rgba(0,200,5,0.10); border: 1px solid rgba(0,200,5,0.28); padding: 7px 13px; border-radius: var(--radius-pill); margin-bottom: 24px; }
.bull-badge .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.8s infinite; }
.bull-title { font-family: var(--display); font-weight: 800; font-size: clamp(52px,8vw,104px); line-height: .92; letter-spacing: -0.05em; color: #fff; margin: 0; }
.bull-title .ai { background: linear-gradient(105deg, #46e36a, #00c805 58%, #8ff0a5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 26px rgba(0,200,5,0.5)); }
.bull-tagline { font-family: var(--display); font-weight: 600; font-size: clamp(20px,2.8vw,30px); letter-spacing: -0.01em; color: #fff; margin: 12px 0 0; }
.bull-tagline em { font-style: normal; color: #46e36a; }
.bull-rule { height: 2px; width: 120px; margin: 24px 0 26px; background: linear-gradient(90deg, #00c805, #46e36a, transparent); border-radius: 2px; box-shadow: 0 0 18px rgba(0,200,5,0.5); }
.bull-lede { font-size: clamp(15px,1.4vw,17px); color: #b9c1cb; max-width: 52ch; line-height: 1.65; }
.bull-lede b { color: #fff; font-weight: 700; }
.bull-props { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.bull-props li { position: relative; padding-left: 30px; min-height: 20px; }
.bull-props li::before { content: '\2713'; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,200,5,0.15); color: #46e36a; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.bull-props b { font-family: var(--display); font-weight: 700; font-size: 15.5px; color: #fff; letter-spacing: -0.01em; }
.bull-props span { display: block; color: #8b95a0; font-size: 13.5px; line-height: 1.5; margin-top: 2px; }

.bull-card { position: relative; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); padding: clamp(24px,3vw,34px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.7), 0 0 60px -20px rgba(0,200,5,0.25); }
.bull-card::before { content: ''; position: absolute; inset: -1px; border-radius: var(--radius); padding: 1px; pointer-events: none; background: linear-gradient(140deg, rgba(0,200,5,0.55), rgba(70,227,106,0.35), transparent 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bull-card h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: #fff; margin: 0 0 8px; }
.bull-card .bull-lead { font-size: 14px; color: #8b95a0; margin: 0 0 22px; line-height: 1.5; }
.bull-field { margin-bottom: 15px; }
.bull-field label { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8b95a0; margin-bottom: 8px; }
.bull-field input { width: 100%; padding: 13px 15px; font-family: var(--sans); font-size: 15px; color: #fff; background: rgba(0,0,0,0.35); border: 1.5px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s, background .15s; }
.bull-field input::placeholder { color: #5b656d; }
.bull-field input:focus { outline: none; border-color: var(--green); background: rgba(0,0,0,0.5); box-shadow: 0 0 0 3px rgba(0,200,5,0.18); }
.bull-submit { width: 100%; margin-top: 6px; justify-content: center; }
.bull-error { color: #ff8a5c; font-family: var(--mono); font-size: 12px; min-height: 15px; margin: 9px 2px 0; }
.bull-micro { font-size: 11.5px; color: #6b7480; line-height: 1.5; margin: 15px 2px 0; }
.bull-success { display: none; text-align: center; padding: 18px 8px 8px; }
.bull-success.show { display: block; }
.bull-success .ring { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #46e36a; border: 1px solid rgba(0,200,5,0.4); background: rgba(0,200,5,0.08); box-shadow: 0 0 34px -6px rgba(0,200,5,0.5); }
.bull-success h2 { font-family: var(--display); font-weight: 700; font-size: 23px; color: #fff; margin: 0 0 8px; }
.bull-success p { font-size: 14px; color: #8b95a0; margin: 0 auto; max-width: 300px; line-height: 1.5; }
.bull-disc { font-family: var(--mono); font-size: 10.5px; color: #5b656d; line-height: 1.7; margin-top: 22px; max-width: 64ch; }

/* ---- Homepage teaser → links to /pages/bull-ai ---- */
.bull-teaser { position: relative; overflow: hidden; color: #e9edf1; padding: clamp(26px,4vw,42px) 0;
  background:
    radial-gradient(680px 300px at 88% 50%, rgba(0,200,5,0.16), transparent 62%),
    radial-gradient(140% 160% at 0% 0%, #0f1722, #0a0d11 60%, #070a0d); }
.bull-teaser::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,200,5,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,200,5,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(130% 130% at 85% 50%, #000 0%, transparent 72%);
          mask-image: radial-gradient(130% 130% at 85% 50%, #000 0%, transparent 72%); }
.bull-teaser .wrap { position: relative; z-index: 1; }
.bull-teaser-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.bull-teaser-main { display: flex; flex-direction: column; gap: 7px; min-width: 260px; flex: 1; }
.bull-teaser-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #cfe9d3; background: rgba(0,200,5,0.10); border: 1px solid rgba(0,200,5,0.28); padding: 6px 12px; border-radius: var(--radius-pill); }
.bull-teaser-badge .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 9px var(--green); animation: pulse 1.8s infinite; }
.bull-teaser h2 { font-family: var(--display); font-weight: 800; font-size: clamp(22px,3vw,34px); line-height: 1.05; letter-spacing: -0.03em; color: #fff; margin: 4px 0 0; }
.bull-teaser h2 .ai { background: linear-gradient(105deg, #46e36a, #00c805 58%, #8ff0a5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bull-teaser p { color: #9aa6b0; font-size: 14px; margin: 0; max-width: 54ch; line-height: 1.5; }
.bull-teaser-cta { flex-shrink: 0; }
@media (max-width: 1024px) { .bull-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 760px) { .bull-teaser-row { flex-direction: column; align-items: flex-start; } .bull-teaser-cta .btn { width: 100%; justify-content: center; } }
@media (max-width: 680px) { .bull-title { font-size: clamp(46px,15vw,64px); } }

/* ============================================================
   Review-pass additions (a11y + UX) — Aug 2026
   ============================================================ */

/* screen-reader-only text */
.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; }

/* visible keyboard focus everywhere, incl. dark sections */
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 2px; border-radius: 4px; } /* #006f30: 5.7:1 on white (the brand #00c805 was 2.3:1) */
.dark :focus-visible, .bull :focus-visible, .tape :focus-visible { outline-color: #46e36a; }

/* current-page indicator in the nav */
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--green); }

/* mobile nav backdrop */
.nav-backdrop { position: fixed; inset: 0; background: rgba(13,18,23,0.45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
.nav { position: relative; z-index: 50; }

/* staleness notice for the quarterly feed */
.feed-stale { font-family: var(--mono); font-size: 11px; color: #b5380a; background: #fff3ec; border: 1px solid #ffd9c4; border-radius: 8px; padding: 8px 12px; margin: 10px auto 0; max-width: 640px; }

/* scrollable table wrappers: keyboard focus + edge fade cue */
.compare-scroll, .heatmap-wrap, .bench-wrap { position: relative; }
.compare-scroll::after, .heatmap-wrap::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; pointer-events: none;
  background: linear-gradient(to left, rgba(255,255,255,0.95), rgba(255,255,255,0)); opacity: 0;
}
@media (max-width: 860px) {
  .compare-scroll::after, .heatmap-wrap::after { opacity: 1; }
  .compare-table th:first-child, .compare-table td:first-child {
    position: sticky; left: 0; background: var(--surface, #fff); z-index: 2; box-shadow: 2px 0 0 rgba(13,18,23,0.06);
  }
  /* shorten the closed-market tape label on small screens */
  .tape-label { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
}

/* fade the tape edge behind the label so quotes don't clip hard */
.tape { position: relative; }
.tape-label { position: relative; z-index: 2; }
.tape-label::after { content:""; position:absolute; left:100%; top:0; bottom:0; width:26px; background: linear-gradient(to right, rgba(11,13,15,0.9), rgba(11,13,15,0)); pointer-events:none; }

/* market-pulse summary chips: guaranteed gap between label and value */
.subidx .subrow { gap: 10px; }
.subidx .subrow .n { margin-right: 8px; }

/* footer legal line */
.foot-legal { font-family: var(--mono); font-size: 10.5px; color: #8b95a0; line-height: 1.7; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* homepage one-line performance disclaimer */
.perf-mini-disc { font-family: var(--mono); font-size: 10.5px; color: var(--faint); text-align: center; margin-top: 14px; }
.dark .perf-mini-disc, .dark .foot-legal { color: #8b95a0; }


/* ============================================================
   [hidden] MUST WIN
   ============================================================
   The HTML `hidden` attribute is only a UA stylesheet `display:none`, so ANY
   explicit display rule beats it. .cc-stats sets display:grid, which meant
   markup shipped as `<div class="cc-stats" hidden>` stayed fully visible and
   the "all three stats or none" gate in amilli.js silently did nothing.
   This rule is deliberately !important: nothing should ever out-specify an
   explicit instruction to hide an element. */
[hidden] { display: none !important; }

/* ============================================================
   FEED STATUS CHIP — three states, never colour alone
   ============================================================
   Text changes with the state as well as colour, because a red/green dot is
   not a signal for a colour-blind reader and carries nothing at all to a
   screen reader. The "connecting" state exists so the first second of every
   visit does not show a red failure chip, which is what taught people to
   ignore it. */
.feed-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono);
  font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px;
  border-radius: var(--radius-pill); background: var(--green-soft); color: var(--green-ink);
  border: 1px solid rgba(0,135,58,.22); }
.feed-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: 0 0 auto; }
.feed-chip.is-off { background: #fff0e8; color: var(--red-text); border-color: rgba(194,62,0,.24); }
.feed-chip.is-wait { background: var(--bg-2); color: var(--muted); border-color: var(--line);
  animation: fcPulse 1.4s ease-in-out infinite; }
@keyframes fcPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .feed-chip.is-wait { animation: none; } }

/* The hero pill states an as-of date rather than claiming "Live". A composite
   return published monthly is never a live quote, and a green LIVE pill beside
   it both overstated the data and contradicted the feed chip. */
.live-chip.is-asof { background: var(--bg-2); color: var(--muted); border-color: var(--line); }
.live-chip.is-asof .d { background: var(--muted); animation: none; }

/* ============================================================
   HYDRATION GATE (added v5) — hold live numbers until the feed
   resolves, so a visitor never sees a baked value swap to a feed
   value (the "flicker"). While html.feed-pending, every feed-driven
   number is masked by a neutral shimmer. On the first successful
   render we remove the class and the real values fade in together.
   No-JS crawlers never get the class, so the baked HTML numbers stay
   in the source for SEO.
   ============================================================ */
html.feed-pending .cc-big, html.feed-pending .cc-chg, html.feed-pending .cc-chg *,
html.feed-pending .pc-big, html.feed-pending .pc-vs, html.feed-pending .pc-vs *,
html.feed-pending .cta-perf .cell .v, html.feed-pending .cta-perf .cell .s,
html.feed-pending .alpha-cell .v, html.feed-pending .gauge-t b, html.feed-pending .js-asof,
html.feed-pending .tape-label, html.feed-pending .tape-label *,
html.feed-pending #benchBody td, html.feed-pending table.ind .in-val,
html.feed-pending table.ind .in-chg, html.feed-pending .sc-perf {
  color: transparent !important; text-shadow: none !important;
}
/* shimmer only on the block-level number holders */
html.feed-pending .cc-big, html.feed-pending .pc-big, html.feed-pending .cta-perf .cell .v,
html.feed-pending .cta-perf .cell .s, html.feed-pending .alpha-cell .v,
html.feed-pending .gauge-t b, html.feed-pending .js-asof {
  background-image: linear-gradient(100deg, rgba(140,149,160,.16) 30%, rgba(140,149,160,.32) 50%, rgba(140,149,160,.16) 70%);
  background-size: 200% 100%; border-radius: 6px; animation: amSk 1.15s ease-in-out infinite;
}
/* neutralise the tape label bg so it doesn't flash green→grey before the clock settles */
html.feed-pending .tape-label { background: #2a2f36 !important; }
@keyframes amSk { to { background-position: -200% 0; } }
html.feed-ready .cc-big, html.feed-ready .pc-big, html.feed-ready .cc-chg,
html.feed-ready .cta-perf .cell .v, html.feed-ready .alpha-cell .v {
  animation: amFade .28s ease both;
}
@keyframes amFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce){
  html.feed-pending .cc-big, html.feed-pending .pc-big, html.feed-pending .cta-perf .cell .v,
  html.feed-pending .cta-perf .cell .s, html.feed-pending .alpha-cell .v,
  html.feed-pending .gauge-t b, html.feed-pending .js-asof { animation: none !important; }
  html.feed-ready .cc-big, html.feed-ready .pc-big, html.feed-ready .cc-chg,
  html.feed-ready .cta-perf .cell .v, html.feed-ready .alpha-cell .v { animation: none !important; }
}

/* ============================================================
   TICKER MARQUEE FIX (added v5) — the -50% loop stalled on iOS
   Safari because it animated a percentage transform on a non-
   composited layer. Force GPU compositing with translate3d +
   will-change, define an explicit from/to, and move the leading
   gap off the animated element so the -50% loop stays seamless.
   ============================================================ */
.tape-track { padding-left: 0; will-change: transform; backface-visibility: hidden; }
.tape-track > span:first-child { margin-left: 34px; }
@keyframes scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce){ .tape-track { animation: none !important; } }

/* ============================================================
   MOBILE FOOTER (added v5) — the four stacked columns + generous
   gaps made the footer tower on phones. Tighten spacing on small
   screens; keep the sticky-footer fill (100dvh) for short pages.
   ============================================================ */
@media (max-width: 600px){
  footer { padding-top: 30px; }
  .foot-grid { gap: 18px 22px; padding-bottom: 22px; }
  .foot-brand { margin-bottom: 8px; }
  .foot-tag { margin-bottom: 12px; max-width: none; }
  .foot-aum { padding-top: 12px; }
  .foot-col h2 { margin-bottom: 8px; }
  .foot-col a { padding: 4px 0; }
  .foot-bottom { padding: 16px 0; }
}

/* ============================================================
   STICKY FOOTER FIX (v6) — pin the footer to the bottom of the
   flex column with an auto top margin. iOS Safari does not reliably
   grow a flex child (main) sized only by the container's min-height,
   which left page-background space BELOW the footer on short pages.
   margin-top:auto is honored reliably, so any slack sits above the
   footer, never below it.
   ============================================================ */
footer { margin-top: auto; }
/* fine-print links keep a comfortable tap target on touch screens without changing layout */
@media (max-width: 720px) { footer a, .foot a { display: inline-block; padding: 6px 0; margin: -6px 0; } }
/* required-field marker */
.field label .req { color: var(--red-text); font-weight: 700; }
.field-note { font-size: 12px; color: var(--muted); margin: 2px 0 14px; }
