/* EDGE Trading Desk: visual language after getnick.ai
   (white canvas, hairline frames, display sans + Manrope, pill buttons,
   electric blue + green CTA). Duplet is commercial, so Plus Jakarta Sans stands in. */

:root {
  --ink: #0b0b0d;
  --ink-2: #27272a;
  --body: #52525b;
  --muted: #71717a;
  --faint: #a1a1aa;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --soft: #f4f4f5;
  --soft-2: #fafafa;
  --white: #ffffff;

  --blue: #006be6;        /* getnick #0178ff, deepened for 4.5:1 with white text */
  --blue-hi: #0178ff;
  --blue-tint: rgba(1, 120, 255, .08);
  --green: #00873a;       /* getnick #00a63e, deepened for 4.5:1 */
  --green-hi: #00a63e;
  --green-tint: rgba(16, 185, 129, .12);
  --pos: #15803d;
  --neg: #dc2626;
  --neg-tint: rgba(220, 38, 38, .08);
  --amber: #9a4508;
  --amber-tint: rgba(245, 158, 11, .14);

  --f-display: "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --max: 1200px;
  --gut: 24px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* Hairline frame: page column bordered left/right, sections divided top */
.frame { position: relative; border-top: 1px solid var(--line); }
.frame::before, .frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
  left: max(var(--gut), calc(50% - var(--max) / 2 + var(--gut))); pointer-events: none; z-index: 1;
}
.frame::after { left: auto; right: max(var(--gut), calc(50% - var(--max) / 2 + var(--gut))); }
section.frame { padding: 96px 0; }
section.frame > .wrap { position: relative; z-index: 2; }
section.frame > .wrap > * { margin-left: 32px; margin-right: 32px; }

/* ---------- icons, buttons ---------- */
.ico { width: 16px; height: 16px; flex: none; }
.ico--ok { color: var(--green-hi); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); white-space: nowrap; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn .ico { transition: transform .18s var(--ease); }
.btn:hover .ico { transform: translateX(2px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 50px; padding: 0 26px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: #005acc; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 6px 20px -8px rgba(0, 135, 58, .55); }
.btn--green:hover { background: #00722f; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: #eef5ff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }

.link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 64px;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .brand { flex: none; }
.nav__in { display: flex; align-items: center; height: 100%; gap: 32px; padding: 0 calc(var(--gut) + 32px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand img { height: 26px; width: auto; }
.brand__desk { white-space: nowrap; font: 600 14px/1 var(--f-display); letter-spacing: -.01em; color: var(--ink); padding-left: 10px; border-left: 1px solid var(--line-2); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { white-space: nowrap; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--body); border-radius: 999px; transition: color .15s, background-color .15s; }
.nav__links a:hover { color: var(--ink); background: var(--soft); }
.nav__cta { margin-left: auto; display: flex; gap: 8px; }

/* ---------- type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); box-shadow: 0 0 0 4px var(--green-tint); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); } }
.kicker { font: 600 13px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.14; letter-spacing: -.025em; }
h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.lede { font-size: 17px; line-height: 1.65; color: var(--body); max-width: 46ch; }
.sub { font-size: 16.5px; line-height: 1.65; color: var(--body); max-width: 60ch; margin-top: 16px; }
.fine { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 20px; }
.muted { color: var(--faint); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.sample { display: inline-block; font: 700 10.5px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--amber); background: var(--amber-tint); padding: 4px 7px; border-radius: 5px; vertical-align: 2px; margin-right: 6px; }

/* ---------- hero ---------- */
.hero { padding: 0 0 96px; border-top: 0; overflow: hidden; }
.hero .ribbon {
  position: absolute; left: 0; top: 0; width: 100%; height: 240px; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent);
}
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-top: 200px; padding-bottom: 56px; }
.hero__copy h1 { margin-top: 24px; max-width: 13ch; }
.lede--lead { font: 600 19px/1.5 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
/* hero record: closed trades / winners / losers, filled by _build/ledger.py */
.hrec { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 32px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .85); }
.hrec > div { padding: 14px 24px 14px 18px; border-right: 1px solid var(--line); }
.hrec > div:last-child { border-right: 0; }
.hrec dt { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.hrec dd { margin: 4px 0 0; font: 600 32px/1.1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hrec__note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.hero__side { display: grid; gap: 16px; padding-bottom: 6px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.hero__actions--c { justify-content: center; }
.micro { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* product demo */
.demo { position: relative; margin: 0; border-radius: 22px; padding: 14px; overflow: hidden; }
.demo__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(1, 120, 255, .9), transparent 60%),
    radial-gradient(90% 80% at 10% 100%, rgba(80, 150, 255, .75), transparent 55%),
    linear-gradient(135deg, #0a3fa8, #0178ff 45%, #8cc2ff);
}
.demo__bg::after { content: ""; position: absolute; inset: 0; opacity: .25; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.demo__win {
  position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr 240px;
  background: rgba(255, 255, 255, .94); border-radius: 14px; border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 30px 60px -30px rgba(3, 30, 90, .55); min-height: 460px; overflow: hidden;
}
.demo__side { border-right: 1px solid var(--line); padding: 16px 12px; background: var(--soft-2); }
.demo__server { display: flex; align-items: center; gap: 10px; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.demo__server strong { display: block; font-size: 14px; }
.demo__server small { font-size: 12px; color: var(--muted); }
.demo__avatar { width: 32px; height: 32px; border-radius: 9px; overflow: hidden; flex: none; }
.demo__label { font: 600 11px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 8px 8px; display: flex; align-items: center; }
.demo__label .sample { margin-left: auto; margin-right: 0; }
.demo__chans { list-style: none; margin: 0 0 14px; padding: 0; }
.demo__chans li { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--body); padding: 7px 10px; border-radius: 8px; }
.demo__chans li.is-on { background: var(--ink); color: #fff; font-weight: 600; }
.demo__chans b { font-size: 11px; background: var(--blue-hi); color: #fff; border-radius: 999px; padding: 2px 7px; }

.demo__feed { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.demo__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.demo__head span { font: 600 15px/1 var(--f-display); }
.demo__head small { font-size: 12.5px; color: var(--muted); }

.alert { border: 1px solid var(--line); border-left: 3px solid var(--blue-hi); border-radius: 12px; padding: 16px 18px; background: #fff; }
.alert__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.alert__tkr { font: 700 20px/1 var(--f-display); letter-spacing: -.01em; }
.alert__src { font-size: 13px; color: var(--muted); font-weight: 500; }
.alert__time { margin-left: auto; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.alert__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 14px 0; }
.alert__grid dt { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.alert__grid dd { margin: 3px 0 0; font: 600 15px/1.2 var(--f-body); font-variant-numeric: tabular-nums; }
.alert__why { font-size: 14px; color: var(--body); line-height: 1.55; padding-top: 12px; border-top: 1px dashed var(--line); }
.alert__why b { color: var(--ink); }

.tag { display: inline-flex; align-items: center; font: 700 11px/1 var(--f-body); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.tag--long { background: var(--green-tint); color: var(--pos); }
.tag--conf { background: var(--blue-tint); color: var(--blue); }
.tag--info { background: var(--soft); color: var(--ink-2); }
.tag--win { background: var(--green-tint); color: var(--pos); }
.tag--xs { font-size: 10px; padding: 3px 5px; margin-left: 4px; vertical-align: 1px; }
.tag--stale { background: var(--amber-tint); color: var(--amber); }
.tag--open { background: var(--blue-tint); color: var(--blue); }
.ledger td.r small { color: var(--muted); font-weight: 500; }
.ledger tr.is-nofill td { color: var(--faint); }

.thread { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.thread li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--ink-2); }
.thread time { font: 500 12px/1 var(--f-mono); color: var(--muted); min-width: 40px; }

.demo__notify { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 10px; }
.pill .ico { width: 14px; height: 14px; color: var(--blue); }

.demo__stats { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 4px; background: var(--soft-2); }
.kpi { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.kpi small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.kpi strong { font: 600 22px/1.25 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 60px; margin-top: auto; }

/* ---------- proof strip ---------- */
section.frame.strip { padding: 0; }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); }
section.frame > .wrap > .strip__in { margin: 0; }
.stat { padding: 36px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 600 38px/1.05 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--body); }
.strip__note { font-size: 12.5px; color: var(--muted); padding: 0 0 20px; }

/* ---------- split ---------- */
.split__in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split--rev .split__in { align-items: center; }
.prose { display: grid; gap: 16px; font-size: 17px; color: var(--body); }
.prose__strong { font: 600 19px/1.4 var(--f-display); color: var(--ink); padding-top: 8px; }

/* ---------- section head ---------- */
.sec-head { margin-bottom: 48px; }
.sec-head--row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
section.frame > .sec-head--row { display: flex; }

/* ---------- 3-col grid ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cell { padding: 32px; border-right: 1px solid var(--line); background: #fff; position: relative; }
.cell:last-child { border-right: 0; }
.num { position: absolute; top: 28px; right: 28px; font: 500 13px/1 var(--f-mono); color: var(--faint); }
.cell__ico { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--blue-tint); color: var(--blue); margin-bottom: 24px; }
.cell h3 { margin-bottom: 10px; }
.cell p { font-size: 15px; color: var(--body); }

/* ---------- independent sources ---------- */
.conf { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--soft-2); display: grid; gap: 12px; }
.conf__row { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.conf__src small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.conf__tk b { display: block; font: 600 20px/1.1 var(--f-display); color: var(--ink); text-align: right; }
.conf__tk:has(b) { text-align: right; font-family: var(--f-body); line-height: 1.3; color: var(--muted); }
.conf__row--muted { opacity: .55; }
.conf__src { font-size: 13.5px; font-weight: 600; }
.conf__line { height: 2px; background: repeating-linear-gradient(90deg, var(--blue-hi) 0 6px, transparent 6px 11px); opacity: .5; }
.conf__row--muted .conf__line { background: repeating-linear-gradient(90deg, var(--faint) 0 6px, transparent 6px 11px); }
.conf__tk { font: 500 12.5px/1 var(--f-mono); color: var(--body); }
.conf__out { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; padding: 16px 18px; border-radius: 12px; background: var(--ink); color: #fff; }
.conf__out .tag--conf { background: rgba(1, 120, 255, .25); color: #9cc8ff; }
.conf__out strong { font: 600 17px/1.25 var(--f-display); }
.conf__out small { width: 100%; font-size: 13px; color: #a1a1aa; }

/* ---------- segmented control ---------- */
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft-2); gap: 2px; }
.seg__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 0 0 1px var(--line); }
.save { font-size: 11px; font-weight: 700; color: var(--pos); background: var(--green-tint); padding: 3px 7px; border-radius: 999px; }

/* ---------- ledger ---------- */
.ledger { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.ledger__scroll { overflow: auto; max-height: 620px; }
.ledger thead th { position: sticky; top: 0; z-index: 1; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; min-width: 640px; }
.ledger th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 14px 20px; background: var(--soft-2); border-bottom: 1px solid var(--line); }
.ledger td { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger tbody tr { transition: background-color .15s; }
.ledger tbody tr:hover { background: var(--soft-2); }
.ledger tr[hidden] { display: none; }
.ledger .r { text-align: right; }
.ledger td.pos, .ledger td.neg { font-weight: 700; }
.ledger td.pos { color: var(--pos); }
.ledger td.neg { color: var(--neg); }
.ledger__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--soft-2); font-size: 13px; color: var(--muted); }

/* ---------- compare ---------- */
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; border-bottom: 1px solid var(--line); }
.compare__row:last-child { border-bottom: 0; }
.compare__row > span { padding: 18px 24px; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.compare__row > span:first-child { font-weight: 600; color: var(--ink); }
.compare__row--head > span { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--soft-2); }
.compare__row--head .compare__us { color: #fff; background: var(--blue); }
.compare__row > span:last-child { background: rgba(1, 120, 255, .04); border-left: 1px solid rgba(1, 120, 255, .18); }
.compare__row--head > span:last-child { background: var(--blue); }
.compare .no { color: var(--muted); }
.compare .no::before, .compare .yes::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 10px; }
.compare .no::before { background-color: var(--soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 2.5l5 5m0-5l-5 5' stroke='%2371717a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.compare .yes { color: var(--ink); font-weight: 600; }
.compare .yes::before { background-color: var(--green-tint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.3l2 2 4-4.6' fill='none' stroke='%2315803d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- week ---------- */
.week { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.week li { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.week li:nth-child(3n) { border-right: 0; }
.week li:nth-last-child(-n+3) { border-bottom: 0; }
.week time { display: inline-block; font: 500 12px/1 var(--f-mono); color: var(--blue); background: var(--blue-tint); padding: 6px 9px; border-radius: 6px; margin-bottom: 16px; }
.week h3 { margin-bottom: 8px; }
.week p { font-size: 15px; color: var(--body); }

/* ---------- checks ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 34px; font-size: 16px; color: var(--body); }
.checks li b { color: var(--ink); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.3l2 2 4-4.6' fill='none' stroke='%2315803d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- quotes ---------- */
.quote { margin: 0; padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: #fff; }
.quote:last-child { border-right: 0; }
.quote blockquote { margin: 0; font: 500 17px/1.55 var(--f-display); color: var(--ink); letter-spacing: -.005em; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption b { display: block; font-size: 14px; }
.quote figcaption small { font-size: 13px; color: var(--muted); }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.plan { padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; }
.plan:last-child { border-right: 0; }
.plan h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.plan__for { font-size: 14.5px; color: var(--body); margin-top: 8px; min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 20px; }
.price strong { font: 600 46px/1 var(--f-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan__bill { font-size: 13px; color: var(--muted); margin: 8px 0 20px; min-height: 20px; }
.plan__list { list-style: none; margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%2300a63e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan--hi { background: var(--blue); color: #fff; border-right-color: var(--blue); }
.plan--hi h3, .plan--hi .price strong { color: #fff; }
.plan--hi .plan__for, .plan--hi .plan__bill, .plan--hi .price span { color: rgba(255, 255, 255, .94); }
.plan--hi .plan__list { border-top-color: rgba(255, 255, 255, .25); }
.plan--hi .plan__list li { color: #fff; }
.plan--hi .plan__list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plans--two { grid-template-columns: 1fr 1.6fr; }
.plan__list--2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.badge { font: 700 11px/1 var(--f-body); letter-spacing: .02em; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .2); color: #fff; }
.plans__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 24px !important; font-size: 14px; font-weight: 500; color: var(--body); }
.plans__trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; min-height: 44px; font: 600 17px/1.4 var(--f-display); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%230b0b0d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--soft); }
.faq details p { padding: 0 44px 22px 0; font-size: 15.5px; color: var(--body); }

/* ---------- final ---------- */
.final { overflow: hidden; padding: 128px 0 !important; text-align: center; }
.final .ribbon {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  /* keep the silk out from behind the headline and buttons */
  -webkit-mask-image: radial-gradient(ellipse 34% 48% at 50% 50%, transparent 55%, #000 100%);
  mask-image: radial-gradient(ellipse 34% 48% at 50% 50%, transparent 55%, #000 100%);
}
.final__in { display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(34px, 4.4vw, 54px); max-width: 16ch; }
.final .sub { margin-left: auto; margin-right: auto; }
.final .hero__actions { margin-top: 32px; }

/* ---------- footer ---------- */
.foot { padding: 64px 0 32px; }
.foot > .wrap { position: relative; z-index: 2; }
.foot > .wrap > * { margin-left: 32px; margin-right: 32px; }
.foot__in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot__brand p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.foot__nav { display: flex; gap: 64px; }
.foot__nav h4 { font: 600 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot__nav a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 5px 0; }
.foot__nav a:hover { color: var(--blue); }
.foot__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.foot__legal b { color: var(--ink-2); }

/* mobile sticky CTA */
.mbar { display: none; }

/* ---------- track record ---------- */
.rec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rec__card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 28px; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.rec__head { display: flex; flex-direction: column; gap: 4px; }
.rec__src { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1.3 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.rec__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.rec__dot--wr { background: var(--blue); }
.rec__dot--od { background: var(--green); }
.rec__what { font-size: 14px; color: var(--muted); }
.rec__hero { display: flex; align-items: center; gap: 18px; }
.rec__hero strong { font: 600 68px/1 var(--f-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--ink); }
.rec__hero span { font-size: 15px; line-height: 1.45; color: var(--body); }
.rec__hero b { font-weight: 600; color: var(--ink); }
.rec__grid2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 20px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.rec__kv { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rec__kv dt { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.rec__kv dd { margin: 0; font: 600 23px/1.2 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.rec__kv dd.pos { color: var(--pos); }
.rec__kv dd.neg { color: var(--neg); }
.rec__kv small { font-size: 12px; color: var(--muted); }
.rec__fig { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 14px; border-radius: var(--r); background: var(--soft-2); border: 1px solid var(--line); }
.rec__chart { width: 100%; height: auto; overflow: visible; }
.rec__grid line { stroke: var(--line); }
.rec__grid text { font: 500 11px var(--f-body); fill: var(--faint); }
.rec__area { fill-opacity: .12; }
.rec__line { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.rec__chart--wr .rec__area, .rec__chart--wr .rec__end { fill: var(--blue); }
.rec__chart--wr .rec__line { stroke: var(--blue); }
.rec__chart--od .rec__area, .rec__chart--od .rec__end { fill: var(--green); }
.rec__chart--od .rec__line { stroke: var(--green); }
.rec__loss { fill: #fff; stroke: var(--neg); stroke-width: 2; }
.rec__endlbl { font: 700 13px var(--f-display); fill: var(--ink); }
.rec__fig figcaption { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.rec__key { white-space: nowrap; }
.rec__key i { display: inline-block; width: 9px; height: 9px; margin: 0 4px 0 6px; border: 2px solid var(--neg); border-radius: 50%; vertical-align: -1px; }
.rec__fine { max-width: 92ch; margin-top: 24px; }
.ledger__filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ledger td.pos small, .ledger td.neg small { display: block; font-size: 12px; }
.ledger td.r small { margin-left: 2px; }
@media (max-width: 900px) {
  .rec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rec__card { padding: 20px; gap: 20px; }
  .rec__hero strong { font-size: 54px; }
  .rec__grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger__filters { justify-content: flex-start; }
  .ledger__filters .seg { max-width: 100%; overflow-x: auto; }
  .ledger__filters .seg__btn { padding: 0 12px; white-space: nowrap; }
}

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .nav__links { display: none; }
}
@media (max-width: 1080px) {
  .demo__win { grid-template-columns: 1fr 220px; }
  .demo__side { display: none; }
}
@media (max-width: 900px) {
  section.frame { padding: 72px 0; }
  section.frame > .wrap > *, .foot > .wrap > * { margin-left: 16px; margin-right: 16px; }
  .nav__in { padding: 0 calc(var(--gut) + 16px); }
  .hero .ribbon { height: 200px; }
  .hero__in { grid-template-columns: 1fr; gap: 28px; padding-top: 150px; padding-bottom: 40px; }
  .hero__copy h1 { max-width: 14ch; }
  .demo__win { grid-template-columns: 1fr; }
  .demo__stats { display: none; }
  .strip__in { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 16px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split__in, .faq { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__in > :first-child { order: 2; }
  .grid3, .plans, .plans--two { grid-template-columns: 1fr; }
  .plans--two .plan--hi { order: -1; }
  .cell, .quote, .plan { border-right: 0; border-bottom: 1px solid var(--line); }
  .cell:last-child, .quote:last-child, .plan:last-child { border-bottom: 0; }
  .week { grid-template-columns: 1fr 1fr; }
  .week li { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .week li:nth-child(2n) { border-right: 0 !important; }
  .week li:nth-last-child(-n+2) { border-bottom: 0 !important; }
  .compare__row > span { padding: 14px 14px; font-size: 14px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .hide-sm { display: none; }
  .nav__in { gap: 12px; }
  .brand__desk { display: none; }
  h1 { font-size: 40px; }
  .lede { font-size: 16px; }
  .lede--lead { font-size: 18px; }
  .hrec { grid-template-columns: repeat(3, 1fr); }
  .hrec > div { padding: 12px 12px 12px 14px; }
  .hrec dd { font-size: 26px; }
  .hero__actions .btn { width: 100%; }
  .demo { padding: 8px; border-radius: 16px; }
  .demo__feed { padding: 14px; }
  .demo__head small { display: none; }
  .alert { padding: 14px; }
  .hero .ribbon { height: 150px; }
  .hero__in { padding-top: 120px; }
  .alert__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alert__grid dd { font-size: 14px; white-space: nowrap; }
  .thread li { display: grid; grid-template-columns: auto 1fr; }
  .thread li > span:last-child { grid-column: 1 / -1; }
  .thread li .tag { justify-self: start; }
  .alert__time { margin-left: 0; width: 100%; }
  .stat strong { font-size: 30px; }
  .week { grid-template-columns: 1fr; }
  .week li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .week li:last-child { border-bottom: 0 !important; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 4px; border-bottom: 0; }
  .compare__row--head > span:first-child { display: none; }
  .conf__row { grid-template-columns: 1fr auto; }
  .plan__list--2 { grid-template-columns: 1fr; }
  .conf__line { display: none; }
  .sec-head--row .seg { width: 100%; }
  .seg__btn { flex: 1; justify-content: center; }
  .foot__nav { gap: 40px; }
  .final { padding: 96px 0 !important; }
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mbar.on { transform: none; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
