/* ============================================================
   RegimeLens — site.css
   Visual system for RegimeLens: dark slate body,
   red primary buttons (4px radius), gold accent line, Inter,
   floating angled device screenshots, red radial glow bands,
   checkerboard corners. Inner "report" pages run light
   (body[data-theme="light"]); home, about and product pages run dark.
   ============================================================ */
:root {
  --bg: #2a2e39; --bg-2: #232733; --bg-3: #1c1f28; --card: #232733; --card-2: #2f3441;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.16);
  --text: #ffffff; --body: #c9cdd6; --muted: #9aa1b1;
  --red: #ca1f3d; --red-2: #e0284b; --red-deep: #7a1226; --gold: #e6b84a; --green: #22c55e;
  /* --red-2 is the display red: fills, rules, marks, anything 24px+ or non-text.
     It measures 2.71–3.59:1 on these card grounds and cannot reach 4.5:1 on any
     of them at body size — no red at that chroma can. So small text uses a
     derived tint instead, and the surfaces stay exactly as dark as they were. */
  --red-text: #ff9aa8;      /* ≥ 4.56:1 on every ground on this site, incl. the hero band */
  --fig-up: #4ade80;        /* figures need 7:1 — --up is 5.95:1 on --bg */
  --info-text: #7dc0ef;     /* --info is display only: it is 2.5:1 as text on white */
  --gold-num: #f0c866;      /* amber dark/light enough to carry a numeral */
  --muted-num: #b0b7c6;     /* --muted carries labels; a numeral needs this */
  --fig-down: #ffa39a;
  --muted-2: #b0b7c6;       /* --muted is 5.24:1 on --bg; figures and 10px labels use this */
  --gold-text: #e6b84a;     /* --gold is display only: 1.86:1 on white */
  --accent: #ca1f3d; --accent-2: #e6b84a; --up: #22c55e; --down: #ef4444; --warn: #e6b84a; --info: #5aa9e6; --surface: #232733;
  --c-price: #f4f6fa; --c-cpi: #5aa9e6; --c-ffr: #b39ddb; --c-gdelt: #22c55e; --c-acled: #e0284b; --c-cot: #f0a35e; --c-grey: #6b7280; --c-gold: #e6b84a;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, "Courier New", monospace;
  --max: 1200px; --r: 4px; --r-card: 8px; --nav-h: 76px;
  /* core.css hooks */
  --core-modal-bg: #232733; --core-modal-fg: #ffffff; --core-modal-border: rgba(255,255,255,.12);
  --core-accent: #ca1f3d; --core-up: #22c55e; --core-down: #ef4444; --core-warn: #e6b84a;
  --core-radius: 8px; --core-font: "Inter", system-ui, sans-serif;
}
body[data-theme="light"] {
  --bg: #ffffff; --bg-2: #f6f7f9; --bg-3: #eef0f3; --card: #ffffff; --card-2: #f6f7f9;
  --line: rgba(0,0,0,.09); --line-2: rgba(0,0,0,.16);
  --text: #1a1d26; --body: #3b404c; --muted: #656b7a; --surface: #ffffff;
  --red-text: #a80d2c; --fig-up: #0f7a37; --fig-down: #b3232c; --muted-2: #565c6b; --gold-text: #7a5600;
  --info-text: #175089; --muted-num: #494f5e; --gold-num: #6f4e00;
  --c-price: #1a1d26; --c-cpi: #2b7fc4; --c-gdelt: #16a34a; --c-grey: #a0a6b3; --c-ffr: #7e57c2;
  --core-modal-bg: #ffffff; --core-modal-fg: #1a1d26; --core-modal-border: rgba(0,0,0,.1);
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { background: var(--bg); color: var(--body); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--red-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--text); font-weight: 600; line-height: 1.15; margin: 0 0 .7rem; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
p.lead, .sub { font-size: 1.15rem; color: var(--body); }
b, strong { color: var(--text); font-weight: 600; }
code, kbd, pre, .mono, .num { font-family: var(--font-mono); }
code { font-size: .86em; color: var(--text); background: var(--card-2); padding: .08em .4em; border-radius: 4px; border: 1px solid var(--line); }
pre { background: #161922; color: #e6e8ee; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 1rem 1.15rem; overflow-x: auto; font-size: .82rem; line-height: 1.6; margin: 0 0 1.2rem; }
pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
kbd { font-size: .78em; border: 1px solid var(--line-2); border-bottom-width: 2px; padding: .05em .45em; border-radius: 4px; background: var(--card-2); color: var(--text); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.small { font-size: .875rem; } .muted { color: var(--muted); } .up { color: var(--fig-up); } .down { color: var(--fig-down); } .warn { color: var(--gold-text); } .gold { color: var(--gold-text); } .center { text-align: center; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.container.narrow { max-width: 860px; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.75rem}.mt-4{margin-top:2.5rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.75rem}
.grow { flex: 1; }
.hide { display: none !important; }
section { position: relative; }

/* ---- kickers, eyebrow, buttons ---- */
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.kicker i { width: 16px; height: 16px; border: 1.5px solid var(--red-2); border-radius: 3px; display: inline-block; position: relative; }
.kicker i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 6px; height: 6px; background: var(--red-2); border-radius: 1px; }
.eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.5rem; border-radius: var(--r); font: 600 .95rem/1.2 var(--font); background: var(--red); color: #fff; border: 1px solid var(--red); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--red-2); border-color: var(--red-2); text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { background: rgba(127,127,127,.12); border-color: var(--text); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1a1d26; } .btn.gold:hover { background: #f0c866; border-color: #f0c866; }
.btn.dark { background: var(--bg-3); border-color: var(--bg-3); color: #fff; }
.btn.sm { padding: .5rem 1rem; font-size: .86rem; } .btn.lg { padding: .95rem 2rem; font-size: 1.05rem; } .btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.lnk { color: var(--red-text); font-weight: 600; text-decoration: none; }
.lnk:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { background: transparent; border: 1px solid var(--line-2); color: var(--body); border-radius: 999px; padding: .35rem .9rem; font: 500 .82rem var(--font); cursor: pointer; }
.chip:hover { border-color: var(--text); color: var(--text); } .chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.seg button { background: transparent; border: 0; border-right: 1px solid var(--line-2); color: var(--body); font: 600 .85rem var(--font); padding: .5rem 1rem; cursor: pointer; }
.seg button:last-child { border-right: 0; } .seg button.active { background: var(--red); color: #fff; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 999px; background: rgba(202,31,61,.14); color: var(--red-text); border: 1px solid rgba(202,31,61,.35); }
.badge.gold { background: rgba(230,184,74,.14); color: var(--gold-text); border-color: rgba(230,184,74,.4); }
.badge.green { background: rgba(34,197,94,.14); color: var(--fig-up); border-color: rgba(34,197,94,.4); }
.badge.grey { background: rgba(127,127,127,.12); color: var(--muted-2); border-color: var(--line-2); }

/* ---- nav (sticky, dark hairline; light pages: white nav) ---- */
.nav { position: sticky; top: 0; z-index: 500; background: rgba(42,46,57,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body[data-theme="light"] .nav { background: rgba(255,255,255,.94); }
.nav__inner { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.nav__logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important; color: var(--text); }
.nav__logo svg { width: 40px; height: 40px; }
.nav__logo .wm { display: flex; flex-direction: column; line-height: 1; }
.nav__logo .wm b { font-size: 1.15rem; font-weight: 800; letter-spacing: .04em; color: var(--text); }
.nav__logo .wm span { font-size: .6rem; font-weight: 600; letter-spacing: .32em; color: var(--red-text); margin-top: .22rem; }
.nav__links { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav__links > li { position: relative; }
.nav__links > li > a, .nav__links > li > button { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .9rem; border: 0; background: none; color: var(--text); font: 600 .92rem var(--font); cursor: pointer; text-decoration: none; border-radius: 6px; }
.nav__links > li > a:hover, .nav__links > li > button:hover, .nav__links > li.open > button { background: rgba(127,127,127,.12); text-decoration: none; }
.nav__links > li > a.active { color: var(--red-text); }
.nav__links .chev { width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.nav__links .dd { position: absolute; top: 100%; left: 0; margin-top: 6px; min-width: 240px; background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.35); padding: .5rem; z-index: 20;
  /* Hover menus must forgive the diagonal. The 6px gap used to break the hover
     chain and display:none gave no grace period, so the menu snapped shut while
     the pointer was still travelling to it. */
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .14s ease .22s, transform .14s ease .22s, visibility 0s linear .36s; }
/* an invisible bridge across the gap, so the pointer never leaves the hover area */
.nav__links .dd::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__links li:hover > .dd, .nav__links li.open > .dd, .nav__links li:focus-within > .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s, 0s, 0s; }
.nav__links .dd a { display: block; padding: .55rem .8rem; border-radius: 6px; color: var(--text); font-weight: 500; font-size: .9rem; text-decoration: none; }
.nav__links .dd a small { display: block; color: var(--muted); font-size: .76rem; font-weight: 400; }
.nav__links .dd a:hover, .nav__links .dd a.active { background: rgba(202,31,61,.12); color: var(--red-text); }
.nav__right { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.nav__login { color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; }
.nav__toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 6px; background: none; cursor: pointer; position: relative; margin-left: auto; }
.nav__toggle i, .nav__toggle i::before, .nav__toggle i::after { position: absolute; left: 11px; width: 18px; height: 2px; background: var(--text); content: ""; transition: transform .2s; }
.nav__toggle i { top: 20px; } .nav__toggle i::before { top: -6px; left: 0; } .nav__toggle i::after { top: 6px; left: 0; }
.nav__cta-mobile { display: none; }

/* ---- hero (red radial glow, faint grid) ---- */
.hero { min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 5rem 1.5rem 4rem; position: relative; overflow: hidden; background:
  radial-gradient(60% 60% at 78% 30%, rgba(202,31,61,.55) 0%, rgba(202,31,61,.18) 35%, rgba(42,46,57,0) 70%),
  radial-gradient(40% 50% at 12% 80%, rgba(122,18,38,.5) 0%, rgba(42,46,57,0) 70%),
  var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%); pointer-events: none; }
.hero__inner { position: relative; max-width: 980px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.hero .sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--body); max-width: 720px; margin: 0 auto 2rem; }
.inline-form { display: flex; justify-content: center; gap: 0; max-width: 520px; margin: 0 auto; }
.inline-form input { flex: 1; min-width: 0; height: 50px; padding: 0 1rem; border: 1px solid #fff; border-right: 0; border-radius: var(--r) 0 0 var(--r); background: #fff; color: #1a1d26; font: 400 .95rem var(--font); }
.inline-form input:focus { outline: 2px solid var(--red-2); outline-offset: -2px; }
.inline-form .btn { height: 50px; border-radius: 0 var(--r) var(--r) 0; padding: 0 1.6rem; }
.hero .gold { display: block; margin-top: .9rem; font-size: .88rem; font-weight: 500; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .45rem; color: var(--body); font-size: .72rem; letter-spacing: .04em; text-decoration: none !important; }
.scroll-cue i { width: 20px; height: 32px; border: 1.5px solid var(--body); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--body); animation: ml-wheel 1.6s ease-in-out infinite; }
@keyframes ml-wheel { 0% { transform: translateY(0); opacity: 1 } 70% { transform: translateY(10px); opacity: 0 } 100% { opacity: 0 } }

/* ---- bands ---- */
.band { padding: 7rem 0; position: relative; }
.band.tight { padding: 4rem 0; }
.band.alt { background: var(--bg-2); }
.band.deep { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%); }
.band.red { background: radial-gradient(70% 90% at 90% 10%, rgba(202,31,61,.6) 0%, rgba(122,18,38,.25) 40%, rgba(35,39,51,0) 75%), var(--bg-2); overflow: hidden; }
.band.red-left { background: radial-gradient(60% 90% at 10% 20%, rgba(202,31,61,.55) 0%, rgba(122,18,38,.2) 40%, rgba(35,39,51,0) 75%), var(--bg-2); overflow: hidden; }
.band__head { text-align: center; max-width: 780px; margin: 0 auto 3.5rem; }
.band__head h2 { margin-bottom: .8rem; }
.band__head p { color: var(--body); font-size: 1.08rem; }
/* checkerboard fading corners */
.checker::after, .checker::before { content: ""; position: absolute; bottom: 0; width: 42%; height: 200px; pointer-events: none; background-image: linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%), linear-gradient(45deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.035) 75%); background-size: 80px 80px; background-position: 0 0, 40px 40px; }
.checker::before { left: 0; mask-image: linear-gradient(to top right, #000 20%, transparent 70%); }
.checker::after { right: 0; mask-image: linear-gradient(to top left, #000 20%, transparent 70%); }
body[data-theme="light"] .checker::after, body[data-theme="light"] .checker::before { background-image: linear-gradient(45deg, rgba(0,0,0,.05) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.05) 75%), linear-gradient(45deg, rgba(0,0,0,.05) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.05) 75%); }

/* ---- alternating 2-col blocks with floating device screenshots ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split.rev .split__text { order: 2; } .split.rev .split__media { order: 1; }
.split h2 { margin-bottom: 1.4rem; }
.leads { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--red); display: grid; gap: 1rem; }
.leads li { color: var(--body); font-size: 1.05rem; line-height: 1.5; }
.leads li b { color: var(--text); }
.split__media { position: relative; min-height: 340px; display: grid; place-items: center; perspective: 1400px; }
.split__media::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, rgba(202,31,61,.28), transparent); filter: blur(30px); }
.device { position: relative; background: #12151d; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4) inset; transform: rotateY(-16deg) rotateX(6deg) rotateZ(2deg); transform-style: preserve-3d; animation: ml-float 7s ease-in-out infinite; width: 100%; max-width: 560px; }
.device.flip { transform: rotateY(16deg) rotateX(6deg) rotateZ(-2deg); }
.device.phone { max-width: 300px; padding: 10px; border-radius: 26px; }
.device.flat { transform: none; animation: none; }
.device .screen { background: #0f1218; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.device.phone .screen { border-radius: 18px; }
.device .bar { display: flex; align-items: center; gap: .5rem; padding: .45rem .7rem; border-bottom: 1px solid rgba(255,255,255,.07); font: 600 10px/1 var(--font-mono); color: var(--muted-2); letter-spacing: .04em; }
.device .bar i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; display: inline-block; box-shadow: 14px 0 0 #e6b84a, 28px 0 0 #22c55e; margin-right: 26px; }
.device .bar .tag { margin-left: auto; color: var(--red-text); }
.device canvas.chart { height: 280px; }
.device.phone canvas.chart { height: 120px; }
.device .legend { display: flex; flex-wrap: wrap; gap: .3rem .8rem; padding: .45rem .7rem; font: 500 10px var(--font-mono); color: var(--muted-2); border-top: 1px solid rgba(255,255,255,.07); }
.device .legend i { width: 8px; height: 8px; display: inline-block; margin-right: .35rem; border-radius: 2px; vertical-align: middle; }
@keyframes ml-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0ms !important; transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
  .nav__links .dd { transition: visibility 0s linear .36s; }
  .device { animation: none; }
}
/* mini event feed inside the phone */
.feedlist { list-style: none; margin: 0; padding: .2rem 0; font-family: var(--font-mono); font-size: 10.5px; }
.feedlist li { display: grid; grid-template-columns: 44px 1fr 56px; gap: .3rem .5rem; align-items: center; padding: .45rem .7rem; border-bottom: 1px solid rgba(255,255,255,.06); color: #dfe3ea; }
.feedlist .src { font-weight: 700; letter-spacing: .06em; font-size: 9px; }
.feedlist .src.gdelt { color: var(--fig-up); } .feedlist .src.acled { color: var(--red-text); } .feedlist .src.fred { color: #7dc0ef; } .feedlist .src.cot { color: #f3b87e; }
.feedlist small { display: block; color: #7c8494; font-size: 9px; }
.feedlist canvas { height: 22px; width: 56px; }

/* ---- products tab switcher ---- */
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 1px solid var(--line-2); margin-bottom: 2.5rem; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font: 600 1rem var(--font); padding: .8rem 1.3rem; cursor: pointer; }
.tabs button:hover { color: var(--text); } .tabs button.active { color: var(--text); border-bottom-color: var(--red); }
.tabs.center { justify-content: center; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tab-panel.product { display: none; } .tab-panel.product.active { display: grid; }
.product__text h3 { font-size: 1.8rem; margin-bottom: .4rem; }
.product__text > p { color: var(--muted); margin-bottom: 1.8rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin-bottom: 2rem; }
.fgrid h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.fgrid p { font-size: .88rem; color: var(--muted); margin: 0; }
.cover { position: relative; }
.cover .cover__title { position: absolute; left: 1rem; right: 1rem; top: 1rem; font: 700 clamp(1rem, 1.6vw, 1.25rem)/1.25 var(--font); color: #fff; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.cover .cover__title small { display: block; font: 600 .68rem var(--font-mono); color: #e6b84a; letter-spacing: .1em; margin-bottom: .35rem; }

/* ---- memberships ---- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 900px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 2rem 1.8rem 1.6rem; display: flex; flex-direction: column; position: relative; }
.plan.pick { border-color: rgba(202,31,61,.55); box-shadow: 0 0 0 1px rgba(202,31,61,.3), 0 20px 60px rgba(0,0,0,.25); }
.plan .ribbon { position: absolute; top: -12px; right: 1.5rem; }
.plan h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.plan .aud { color: var(--muted); font-size: .9rem; min-height: 2.8em; margin-bottom: 1.2rem; }
.plan .price { color: var(--text); font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin: 0 0 .3rem; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: .3rem; }
.plan .terms { font-size: .82rem; color: var(--muted); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.plan .bt { font-weight: 600; color: var(--text); font-size: .92rem; margin-bottom: .6rem; }
.checks { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .55rem; flex: 1; }
.checks li { position: relative; padding-left: 1.8rem; font-size: .93rem; color: var(--body); }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--red); }
.checks li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 3px); width: 4px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.checks li.no { color: var(--muted); } .checks li.no::before { background: var(--line-2); } .checks li.no::after { border-color: var(--muted); width: 6px; height: 0; border-bottom: 2px solid var(--muted); border-right: 0; transform: none; top: calc(.2em + 7px); left: 5px; }
.plan .note { text-align: center; font-size: .76rem; color: var(--muted); margin: .8rem 0 0; }
.plans__note { text-align: center; color: var(--muted); margin-top: 2.5rem; font-size: .95rem; }
.pricing-toggle { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; background: var(--card-2); }
.pricing-toggle button { background: none; border: 0; border-radius: 999px; color: var(--body); font: 600 .88rem var(--font); padding: .45rem 1.1rem; cursor: pointer; }
.pricing-toggle button.active { background: var(--red); color: #fff; }

/* ---- research coverage ---- */
.coverage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.cov h3 { font-size: 1.7rem; line-height: 1.1; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--red); display: inline-block; }
.cov ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; color: var(--body); font-size: .95rem; }
.cov ul li::before { content: "— "; color: var(--red-text); }

/* ---- about band ---- */
.about-band { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.about-band h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.about-band p { font-size: 1.08rem; color: var(--text); }

/* ---- "See it working" demo band ---- */
.demo-shell { background: #0f1218; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.demo-shell__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; padding: .6rem .9rem; border-bottom: 1px solid rgba(255,255,255,.08); background: #12151d; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); }
.demo-shell__bar .sym { color: #fff; font-weight: 700; letter-spacing: .06em; padding-right: .7rem; border-right: 1px solid rgba(255,255,255,.12); }
.demo-shell__bar .ov { background: transparent; border: 1px solid rgba(255,255,255,.14); color: var(--muted-2); border-radius: 4px; padding: .25rem .6rem; font: 600 11px var(--font-mono); cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.demo-shell__bar .ov i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; opacity: .35; }
.demo-shell__bar .ov.on { color: #fff; border-color: rgba(255,255,255,.35); } .demo-shell__bar .ov.on i { opacity: 1; }
.demo-shell__bar .rng { margin-left: auto; display: inline-flex; border: 1px solid rgba(255,255,255,.14); border-radius: 4px; overflow: hidden; }
.demo-shell__bar .rng button { background: none; border: 0; color: var(--muted-2); font: 600 11px var(--font-mono); padding: .3rem .6rem; cursor: pointer; border-right: 1px solid rgba(255,255,255,.14); }
.demo-shell__bar .rng button:last-child { border-right: 0; } .demo-shell__bar .rng button.active { background: rgba(255,255,255,.12); color: #fff; }
.demo-shell .chart-wrap { padding: .5rem .4rem 0; }
.demo-shell canvas.chart { height: 420px; }
.demo-shell__foot { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: .55rem .9rem; border-top: 1px solid rgba(255,255,255,.08); font: 500 11px var(--font-mono); color: var(--muted-2); }
.demo-shell__foot b { color: #fff; font-weight: 600; }
.demo-shell__foot i { width: 8px; height: 8px; display: inline-block; border-radius: 2px; margin-right: .35rem; vertical-align: middle; }
.demo-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.demo-points h3 { margin-bottom: .3rem; font-size: 1.05rem; letter-spacing: -.02em; } .demo-points p { color: var(--muted); font-size: .92rem; margin: 0; }
.demo-points .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--red-deep); border: 1px solid var(--red-2); color: #fff; font: 700 .8rem var(--font-mono); margin-bottom: .7rem; }

/* ---- stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.stats > div { border-left: 2px solid var(--red); padding-left: 1rem; }
.stats b { display: block; color: var(--text); font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: .86rem; }

/* ---- cards / grids ---- */
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.6rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: .6rem; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two.wide-left { grid-template-columns: 1.2fr 1fr; } .two.wide-right { grid-template-columns: 1fr 1.2fr; }
.two.top { align-items: start; }
figure.photo { margin: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: .8rem; }
figure.photo figcaption { font-size: .78rem; color: var(--muted); padding: .6rem .2rem 0; font-family: var(--font-mono); line-height: 1.5; }
.note { border-left: 3px solid var(--red); background: rgba(202,31,61,.08); padding: .9rem 1.1rem; border-radius: 0 6px 6px 0; font-size: .93rem; margin: 1.2rem 0; }
.note.gold { border-color: var(--gold); background: rgba(230,184,74,.1); }
.note.green { border-color: var(--green); background: rgba(34,197,94,.1); }
.list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; }
.list li { padding-left: 1.4rem; position: relative; color: var(--body); }
.list li::before { content: "—"; position: absolute; left: 0; color: var(--red-text); }
blockquote.pull { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 3px solid var(--red); background: var(--card-2); color: var(--text); font-size: 1.25rem; font-weight: 500; line-height: 1.45; border-radius: 0 8px 8px 0; }
blockquote.pull cite { display: block; margin-top: .7rem; font-size: .85rem; color: var(--muted); font-style: normal; font-weight: 400; }

/* ---- tables ---- */
.article, .manual__body, .split__text, .product__text, .pf > div, .two > div, .teaser > div { min-width: 0; }
.tbl-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th, .tbl td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { color: var(--muted); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; background: var(--card-2); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl .us { background: rgba(202,31,61,.08); }
.tbl thead th.us { color: var(--red-text); }
.tbl .yes, .num.up { color: var(--fig-up); font-weight: 600; } .tbl .no { color: var(--fig-down); } .tbl .partial { color: var(--gold-text); }
body[data-theme="light"] .tbl .yes { color: #146c34; } body[data-theme="light"] .tbl .no { color: #a5171c; } body[data-theme="light"] .tbl .partial { color: #7a5f00; }
.tbl .down, .tbl .no, .num.down { color: var(--fig-down); }
body[data-theme="light"] .tbl .down { color: #b91c1c; }
.tbl tr.total th, .tbl tr.total td { border-top: 2px solid var(--line-2); color: var(--text); font-weight: 700; }
.tbl.compact th, .tbl.compact td { padding: .55rem .8rem; font-size: .86rem; }
.tbl .sticky { position: sticky; left: 0; background: var(--card); z-index: 1; }
.tbl thead .sticky { background: var(--card-2); }

/* ---- FAQ ---- */
.faq details { border: 1px solid var(--line-2); border-radius: var(--r-card); background: var(--card); margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; font-weight: 600; color: var(--text); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .8rem; font-size: 1.4rem; color: var(--red-text); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.2rem 1.1rem; color: var(--body); font-size: .95rem; }

/* ---- forms ---- */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
input[type=text], input[type=email], input[type=password], input[type=url], select, textarea { width: 100%; background: var(--card-2); color: var(--text); border: 1px solid var(--line-2); border-radius: var(--r); padding: .7rem .9rem; font: 400 .95rem var(--font); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(202,31,61,.55); outline-offset: -1px; }
textarea { min-height: 120px; resize: vertical; }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; vertical-align: middle; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; cursor: pointer; transition: .15s; }
.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .15s; }
.switch input:checked + span { background: var(--red); } .switch input:checked + span::after { transform: translateX(18px); }
/* Contact card: underline fields */
.contact-card { max-width: 620px; margin: 0 auto; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 2.6rem 2.4rem 2rem; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.contact-card h2 { text-align: center; font-size: 2rem; margin-bottom: .4rem; }
.contact-card .sub { text-align: center; font-size: .9rem; color: var(--muted); margin-bottom: 2rem; }
.contact-card input, .contact-card select, .contact-card textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: .9rem 0; color: var(--text); }
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus { outline: 0; border-bottom-color: var(--red); }
.contact-card select option { color: #1a1d26; }
.contact-card textarea { min-height: 90px; }
.contact-card .btn.block { margin-top: 1.6rem; }
.contact-card .alt { text-align: center; font-size: .8rem; color: var(--muted); margin: 1.4rem 0 0; }
.contact-card .alt b { color: var(--text); }

/* ---- repeat-hero CTA band ---- */
.cta-hero { text-align: center; padding: 8rem 0 9rem; }
.cta-hero h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.cta-hero .sub { max-width: 640px; margin: 0 auto 2rem; }
/* the CTA band paints a red glow behind this block — on the light pages that
   composites to a mid pink where --body is 3.93:1, so both lines use --text */
.cta-hero .sub, .cta-hero .fine { color: var(--text); }
.cta-hero .fine { font-size: .84rem; margin-top: .9rem; }

/* ---- footer (logo · two link columns · opt-in · socials · bottom bar) ---- */
/* the footer is dark on every page, light theme included, so it carries its
   own dark-safe ink rather than inheriting the light-theme tokens */
.footer {
  background: #1f232d; color: #c9cdd6; border-top: 1px solid rgba(255,255,255,.06); padding: 4rem 0 0;
  --red-text: #ff9aa8; --muted-2: #b0b7c6; --gold-text: #e6b84a; --body: #c9cdd6; --text: #ffffff;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer .nav__logo .wm b, .footer .nav__logo .wm span { color: #fff; } .footer .nav__logo .wm span { color: var(--red-text); }
.footer h2 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer .col a { display: block; color: #e6e8ee; font-weight: 500; font-size: .95rem; padding: .3rem 0; text-decoration: none; }
.footer .col a:hover { color: var(--red-text); }
.footer .optin h3 { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.footer .inline-form { max-width: 100%; margin: 0; }
.footer .inline-form input { background: #fff; border-color: #fff; height: 46px; } .footer .inline-form .btn { height: 46px; }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.06); color: #fff; }
.socials a:hover { background: var(--red); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.3rem 0; display: flex; flex-wrap: wrap; gap: .8rem 2rem; font-size: .82rem; color: var(--muted-2); }
.footer__bottom .links { display: flex; gap: 1.5rem; margin-left: auto; }
.footer__bottom a { color: #c9cdd6; text-decoration: none; } .footer__bottom a:hover { color: #fff; }
.footer .fine { font-size: .78rem; color: var(--muted-2); margin: .8rem 0 0; max-width: 420px; }

/* ---- inner page hero ---- */
.page-hero { text-align: center; padding: 4.5rem 0 3rem; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: .8rem; }
.page-hero .sub { max-width: 740px; margin: 0 auto; }
.page-hero.left { text-align: left; } .page-hero.left .sub { margin: 0; }
.page-hero.glow { background: radial-gradient(60% 80% at 80% 0%, rgba(202,31,61,.45) 0%, rgba(42,46,57,0) 70%), var(--bg); }

/* ---- features (Pro-style landing) ---- */
.feature-block { padding: 4.5rem 0; border-bottom: 1px solid var(--line); }
.feature-block:last-of-type { border-bottom: 0; }
.feature-block .no { font: 700 .8rem var(--font-mono); color: var(--red-text); letter-spacing: .1em; margin-bottom: .6rem; display: block; }

/* ---- weekly brief: Macro Report layout ---- */
.report-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.report { display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line-2); align-items: start; }
.report:last-child { border-bottom: 0; }
.report .cover { background: #12151d; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.report .cover canvas.chart { height: 130px; }
.report .cover .cover__title { font-size: .82rem; top: .7rem; left: .7rem; right: .7rem; }
.report .cover .cover__title small { font-size: .58rem; }
.report .date { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--muted-num); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .7rem; }
/* a posted date is a numeral: it takes --muted-num, not the label muted */
.date { color: var(--muted-num); }
.report .date::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--muted); border-radius: 50%; }
.report h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.report h3 a { color: var(--text); } .report h3 a:hover { color: var(--red-text); text-decoration: none; }
.report p { color: var(--body); font-size: .95rem; margin-bottom: .6rem; }
.report .by { font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.report.soon { opacity: .75; }
.sidecard { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.4rem; margin-bottom: 1.4rem; }
.sidecard h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.sidecard .stack { display: grid; gap: .6rem; }
.sidecard .stack input { background: var(--card); }
.sidecard .search { display: flex; gap: .4rem; } .sidecard .search input { flex: 1; }
.pop { display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.pop:last-child { border-bottom: 0; }
.pop canvas { height: 40px; width: 64px; background: #12151d; border-radius: 4px; }
.pop small { display: block; color: var(--muted-num); font-size: .72rem; } .pop a { color: var(--text); font-weight: 600; font-size: .86rem; line-height: 1.3; }
.cats { list-style: none; margin: 0; padding: 0; }
.cats li { border-bottom: 1px solid var(--line); }
.cats button { width: 100%; text-align: left; background: none; border: 0; color: var(--body); font: 500 .9rem var(--font); padding: .55rem .2rem; cursor: pointer; }
.cats button:hover, .cats button.active { color: var(--red-text); }
.chartbook { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.chartbook figure.photo canvas.chart { height: 180px; }
.chartbook figure.photo b { display: block; color: var(--text); font: 600 .9rem var(--font); padding: .6rem .2rem 0; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; } .crumbs a { color: var(--red-text); }

/* ---- post (article + sidebar) ---- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3.5rem; align-items: start; padding: 3rem 0 4rem; }
.post-side { position: sticky; top: calc(var(--nav-h) + 20px); }
.post-side .toc a { display: block; font-size: .86rem; color: var(--muted); padding: .3rem 0 .3rem .8rem; border-left: 2px solid var(--line); text-decoration: none; }
.post-side .toc a.active, .post-side .toc a:hover { color: var(--red-text); border-left-color: var(--red); }
.article { max-width: 760px; }
.article h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: .6rem 0 1rem; }
.article .standfirst { font-size: 1.15rem; color: var(--body); }
.article .byline { color: var(--muted); font-size: .88rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-2); margin-bottom: 2rem; }
.article h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; } .article h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.article p, .article li { font-size: 1.02rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.article figure.photo { margin: 1.8rem 0; }
.article .tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); background: rgba(202,31,61,.1); border-radius: 999px; padding: .2rem .6rem; margin: 0 .3rem .3rem 0; }
.author { display: flex; gap: 1rem; align-items: center; margin-top: 2.5rem; padding: 1.2rem; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-card); }
.author .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related a { display: block; background: var(--card-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1rem 1.1rem; text-decoration: none; }
.related a small { color: var(--muted-num); font-size: .78rem; } .related a h4 { margin: .3rem 0 0; color: var(--text); font-size: .98rem; }
.related a:hover h4 { color: var(--red-2); }
.disclaimer { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ---- manual / docs ---- */
.manual { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; align-items: start; padding: 3rem 0 4rem; }
.manual__index { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; font-size: .88rem; }
.manual__index .group { color: var(--text); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; margin: 1.1rem 0 .4rem; }
.manual__index a { display: block; color: var(--muted); padding: .3rem 0 .3rem .8rem; border-left: 2px solid var(--line); text-decoration: none; }
.manual__index a.active, .manual__index a:hover { color: var(--red-2); border-left-color: var(--red); }
.manual__body h2 { font-size: 1.5rem; margin: 2.6rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.manual__body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.5rem; }
.manual__body h2 .sec { font: 700 .78rem var(--font-mono); color: var(--red-text); margin-right: .7rem; vertical-align: middle; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 8px; background: var(--red); color: #fff; font: 700 .9rem var(--font-mono); display: grid; place-items: center; }
.steps.h { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps.h li { padding-left: 0; padding-top: 3rem; }
.steps li h3 { font-size: 1.1rem; margin-bottom: .3rem; }

/* ---- generic tab panels (account / legal) ---- */
[data-tabs] .tabs { margin-bottom: 1.8rem; }

/* ---- catalog listings ---- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.8rem; }
.listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.listing { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.3rem; display: flex; flex-direction: column; }
.listing h2 { font-size: 1.05rem; display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start; }
.listing .tier { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; white-space: nowrap; }
.listing .tier.free { background: rgba(34,197,94,.14); color: var(--green); } .listing .tier.prem { background: rgba(230,184,74,.14); color: var(--gold); }
.listing dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; font-size: .82rem; margin: .4rem 0 .7rem; }
.listing dt { color: var(--muted); } .listing dd { margin: 0; color: var(--body); }
.listing p { font-size: .88rem; color: var(--muted); flex: 1; }
.listing .foot { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; font-size: .88rem; }
.status-pill { display: inline-block; font-size: .72rem; font-weight: 600; border-radius: 999px; padding: .15rem .55rem; background: rgba(127,127,127,.12); color: var(--body); }
.status-pill.up { background: rgba(34,197,94,.14); color: var(--fig-up); }

/* ---- data connect ---- */
.dropzone { border: 2px dashed var(--line-2); border-radius: var(--r-card); padding: 2.2rem 1.5rem; text-align: center; cursor: pointer; display: grid; gap: .4rem; background: var(--card); }
.dropzone b { color: var(--text); font-size: 1.05rem; } .dropzone span { font-size: .85rem; color: var(--muted); }
.dropzone.over { border-color: var(--red); background: rgba(202,31,61,.08); }
.dropzone .lnk { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; }
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 1rem 0; }
.map-grid label, .key-grid label { display: grid; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.key-grid { display: grid; gap: 1rem; }
.key-grid fieldset { border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1rem 1.1rem; display: grid; gap: .7rem; background: var(--card); }
.key-grid legend { color: var(--text); font-weight: 600; font-size: .9rem; padding: 0 .4rem; }
.preview { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line-2); }
.kv-list { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .9rem; margin: 0 0 1rem; }
.kv-list dt { color: var(--muted); } .kv-list dd { margin: 0; color: var(--text); }
.supplement { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 2rem; margin-top: 2rem; }
.edition { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .5rem; }
.os-snippet { display: none; } .os-snippet.active { display: block; }

/* ---- changelog ---- */
.entry { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line-2); }
.entry .when b { display: block; color: var(--text); font-size: 1.3rem; }
.entry .when { color: var(--muted-num); font-size: .88rem; }
.entry .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.entry h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.entry h2.add { color: var(--fig-up); } .entry h2.fix { color: var(--info-text); } .entry h2.chg { color: var(--gold-text); }
.entry ul { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--body); display: grid; gap: .4rem; }

/* ---- about: team, timeline, beliefs ---- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.member { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.6rem; }
.member .avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-deep)); margin-bottom: 1rem; }
.member h3 { font-size: 1.15rem; margin-bottom: .1rem; }
.member .role { color: var(--red-2); font-size: .82rem; font-weight: 600; margin-bottom: .7rem; }
.member p { color: var(--muted); font-size: .9rem; margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 0; bottom: 0; width: 2px; background: var(--line-2); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 1rem 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 86px; top: 1.45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 3px solid var(--red); }
.timeline .yr { font: 700 1rem var(--font-mono); color: var(--text); text-align: right; }
.timeline .ev { color: var(--body); }
.timeline .ev b { color: var(--text); }
.timeline .ev small { display: block; color: var(--muted-num); font-size: .82rem; margin-top: .2rem; }
.beliefs { counter-reset: b; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.beliefs li { counter-increment: b; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.4rem 1.4rem 1.4rem 4rem; position: relative; }
.beliefs li::before { content: "0" counter(b); position: absolute; left: 1.3rem; top: 1.4rem; font: 700 .85rem var(--font-mono); color: var(--red-2); }
.beliefs li b { display: block; margin-bottom: .3rem; }
.beliefs li span { color: var(--muted); font-size: .92rem; }
.lenses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lens { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.6rem; border-top: 3px solid var(--red); }
.lens h3 { font-size: 1.1rem; } .lens p { font-size: .9rem; color: var(--muted); margin: 0; }
.lens .src { font: 600 .72rem var(--font-mono); color: var(--gold); letter-spacing: .06em; display: block; margin-bottom: .6rem; }

/* ---- model portfolios ---- */
.regime-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.regime-tabs button { background: var(--card); border: 1px solid var(--line-2); color: var(--body); border-radius: 999px; padding: .55rem 1.2rem; font: 600 .9rem var(--font); cursor: pointer; }
.regime-tabs button.active { background: var(--red); border-color: var(--red); color: #fff; }
.pf { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.pf figure.photo canvas.chart { height: 300px; }
.pf .rules { font-size: .9rem; color: var(--muted); }
.pf .rules b { color: var(--text); }
.regime-table td:first-child { color: var(--text); font-weight: 600; }
.regime-table th, .regime-table td { white-space: nowrap; }
.teaser { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.regime-now { display: inline-flex; align-items: center; gap: .6rem; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: .4rem 1rem .4rem .5rem; font-size: .88rem; color: var(--body); }
.regime-now i { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: inline-grid; place-items: center; color: #06280f; font-size: .7rem; font-weight: 700; }
.regime-now b { color: var(--text); }

/* ---- reveal on scroll ---- */
/* hidden only once the reveal script has confirmed it is there to un-hide it —
   a site.js that never arrives must not leave the page blank */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---- compare ---- */
.verdicts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.verdict { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.4rem; display: flex; flex-direction: column; }
.verdict h3 { font-size: 1.1rem; display: flex; justify-content: space-between; gap: .6rem; }
/* a competitor's price is a numeral: --gold-text is 6.7:1, this one clears 7 */
.verdict h3 span { font: 600 .74rem var(--font-mono); color: var(--gold-num); white-space: nowrap; }
.verdict dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; font-size: .82rem; margin: .4rem 0 .7rem; }
.verdict dt { color: var(--muted); } .verdict dd { margin: 0; color: var(--body); }
.verdict p { font-size: .9rem; color: var(--body); flex: 1; }

/* ---- shared modal / toast skin (core.css does the mechanics) ---- */
.modal .btn.danger { background: var(--down); border-color: var(--down); color: #fff; }
.demo-banner { display: none; }

/* ---- the analyst: standing instruction, its log, the zero-input answers ---- */
.agent-instr { background: var(--card); border: 1px solid var(--line-2); border-left: 3px solid var(--gold); border-radius: 0 var(--r-card) var(--r-card) 0; padding: 1.2rem 1.5rem; margin: 0 0 1.6rem; }
.agent-instr small { display: block; font: 700 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .45rem; }
.agent-instr q { color: var(--text); font-size: 1.15rem; font-weight: 500; line-height: 1.45; }
.agent-instr p { margin: .8rem 0 0; color: var(--muted); font-size: .9rem; }

.agent-log { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); }
.agent-log li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: .35rem .9rem; padding: .9rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.agent-log li:last-child { border-bottom: 0; }
.agent-log .tag { font: 700 10px/1.6 var(--font-mono); letter-spacing: .09em; color: var(--muted-2); }
.agent-log .tag.armed { color: var(--red-text); } .agent-log .tag.set { color: #e6b84a; } .agent-log .tag.none { color: var(--muted-2); }
.agent-log .what { color: #f1f3f7; font-size: 12.5px; line-height: 1.55; }
.agent-log .what b, .agent-log .what em { color: #fff; font-style: normal; font-weight: 700; }
.agent-log .why { grid-column: 2; color: var(--muted-2); font-size: 11.5px; line-height: 1.65; }
.agent-log .n { color: #fff; font-variant-numeric: tabular-nums; }

.answers { counter-reset: a; list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.answers li { counter-increment: a; position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 1.4rem 1.5rem 1.4rem 4rem; }
.answers li::before { content: "0" counter(a); position: absolute; left: 1.35rem; top: 1.55rem; font: 700 .85rem var(--font-mono); color: var(--red-2); }
.answers .q { display: block; color: var(--text); font-size: 1.08rem; font-weight: 600; margin-bottom: .35rem; }
.answers .did { color: var(--body); font-size: .93rem; margin: 0; }
.answers .cost { margin: .75rem 0 0; padding-left: .9rem; border-left: 2px solid var(--gold); color: var(--muted); font-size: .9rem; }
.answers .cost b { color: var(--gold); font-weight: 600; }
@media (min-width: 721px) { #analyst .two .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .coverage { grid-template-columns: repeat(2, 1fr); }
  .team, .lenses, .verdicts, .listings, .chartbook { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav__links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.5rem 2rem; overflow: auto; margin: 0; border-top: 1px solid var(--line); }
  .nav__links.open { display: flex; }
  .nav__links > li > a, .nav__links > li > button { width: 100%; justify-content: space-between; padding: .9rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links .chev { display: none; }
  .nav__links .dd { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 .6rem .6rem; min-width: 0; margin-top: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__links .dd::before { display: none; }
  .nav__links .dd a { padding: .55rem .4rem; }
  .nav__links .nav__cta-mobile { display: flex; gap: .8rem; padding-top: 1.2rem; }
  .nav__links .nav__cta-mobile .btn { flex: 1; }
  .nav__right .nav__login { display: none; }
  .nav__toggle { display: block; }
  .nav__right { margin-left: 0; }
  .split, .product, .two, .teaser, .two.wide-left, .two.wide-right, .about-band, .pf, .supplement, .report-layout, .post-layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .split.rev .split__text { order: 1; } .split.rev .split__media { order: 2; }
  .manual { grid-template-columns: minmax(0, 1fr); } .manual__index { position: static; max-height: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
  .post-side { position: static; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: .8rem; } .entry .cols { grid-template-columns: minmax(0, 1fr); }
  .demo-points, .steps.h { grid-template-columns: 1fr; }
  .band { padding: 5rem 0; }
}
@media (max-width: 720px) {
  .plans, .grid2, .grid3, .grid4, .coverage, .team, .lenses, .verdicts, .listings, .chartbook, .beliefs, .related, .fgrid, .map-grid { grid-template-columns: minmax(0, 1fr); }
  .report { grid-template-columns: minmax(0, 1fr); }
  .report { grid-template-columns: 1fr; } .report .cover canvas.chart { height: 150px; }
  .inline-form { flex-direction: column; gap: .6rem; }
  .inline-form input, .inline-form .btn { border-radius: var(--r); border-right: 1px solid #fff; width: 100%; }
  .hero { padding: 4rem 1.25rem 5rem; }
  .device { max-width: 100%; transform: rotateY(-8deg) rotateX(3deg); } .device.flip { transform: rotateY(8deg) rotateX(3deg); }
  .device canvas.chart { height: 200px; } .demo-shell canvas.chart { height: 300px; }
  .split__media { min-height: 0; }
  .timeline::before { left: 62px; } .timeline li { grid-template-columns: 50px 1fr; gap: 1.6rem; } .timeline li::before { left: 56px; } .timeline .yr { font-size: .9rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom .links { margin-left: 0; }
  .contact-card { padding: 2rem 1.3rem 1.6rem; }
  .cta-hero { padding: 5rem 0 6rem; }
  .stats b { font-size: 1.5rem; }
  .agent-log li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .agent-log .why { grid-column: 1; }
  .answers li { padding: 1.3rem 1.2rem 1.3rem 3.4rem; } .answers li::before { left: 1.1rem; }
  .manual__index { grid-template-columns: 1fr; }
  .tabs button { padding: .7rem .9rem; font-size: .9rem; }
  .actions .btn { width: 100%; }
}

/* ---------- keyboard focus ----------------------------------------------
   Nothing here removed the browser's own ring, so keyboard users were not
   stranded — but the default ring is dark-on-dark against this workspace and
   is hard to see. Same amber ring the terminal uses. */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
