@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Wickform site: frosted glass plates over a dark chrome backdrop, joined to the app's own language.
   Shared by every page; page-only rules live at the end of this file. */

:root {
  color-scheme: dark;
  --page: #050607;
  --ink-rgb: 255 255 255;
  --ink: #fff;
  --ink-2: rgb(var(--ink-rgb) / 0.72);
  --muted: rgb(var(--ink-rgb) / 0.5);
  --dim: rgb(var(--ink-rgb) / 0.3);
  --line: rgb(var(--ink-rgb) / 0.08);
  --line-2: rgb(var(--ink-rgb) / 0.14);
  --line-3: rgb(var(--ink-rgb) / 0.24);
  --fill: rgb(var(--ink-rgb) / 0.04);
  --fill-2: rgb(var(--ink-rgb) / 0.08);
  --mark: #6a6e76;
  --panel: #0a0b0d;
  --green: #3ddc84;
  --green-rgb: 61 220 132;
  --red: #ff4d66;
  --red-rgb: 255 77 102;
  --accent: #5eb1fb;
  --accent-rgb: 94 177 251;
  --accent-2: #f1ab48;

  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r: 10px;
  --gap: 12px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
html { background: var(--page); }
body { margin: 0; color: var(--ink); } /* transparent so the fixed backdrop shows */
body { font: 300 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; padding-bottom: 40px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- backdrop: liquid chrome rings, grain, vignette ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(110% 70% at 72% -10%, #1c1f25 0%, #0a0b0d 52%, #040405 100%); }
.ring { position: absolute; }
.ring i { position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 210deg, #07080a 0deg, #33373e 38deg, #eef2f7 60deg, #5c626b 74deg, #0d0e11 118deg, #121418 196deg, #8f98a3 246deg, #e6ecf3 258deg, #262a30 282deg, #07080a 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 0 84%, #000 87%, #000 94%, transparent 98.5%);
          mask: radial-gradient(closest-side, transparent 0 84%, #000 87%, #000 94%, transparent 98.5%);
  animation: spin 160s linear infinite; }
.ring.r1 { width: 125vmax; height: 125vmax; left: -46vmax; top: -34vmax; transform: rotate(-22deg) scaleY(.58); opacity: .62; filter: blur(1.5px); }
.ring.r2 { width: 95vmax; height: 95vmax; right: -48vmax; top: 18vmax; transform: rotate(28deg) scaleY(.5); opacity: .5; filter: blur(3px); }
.ring.r2 i { animation-direction: reverse; animation-duration: 210s; }
.ring.r3 { width: 70vmax; height: 70vmax; left: 8vmax; bottom: -52vmax; transform: rotate(8deg) scaleY(.42); opacity: .45; filter: blur(6px); }
.glow { position: absolute; width: 70vmax; height: 50vmax; left: 30%; top: -12vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .13), transparent); filter: blur(40px); }
.grain { position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgb(0 0 0 / .65) 100%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- glass plates ---------- */
.glass { position: relative; border-radius: var(--r);
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / .015) 0%, rgb(var(--ink-rgb) / .085) 100%), rgb(10 11 13 / .42);
  -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgb(var(--ink-rgb) / .07), 0 30px 60px -30px rgb(0 0 0 / .7); }
.glass.dark { background: linear-gradient(180deg, rgb(0 0 0 / .55) 0%, rgb(var(--ink-rgb) / .07) 100%), rgb(8 9 10 / .55); }
/* the app's square registration marks, set 8px in from each corner */
.marks::after { content: ""; position: absolute; inset: 8px; pointer-events: none;
  background:
    linear-gradient(var(--mark), var(--mark)) 0 0 / 4px 4px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 100% 0 / 4px 4px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 0 100% / 4px 4px no-repeat,
    linear-gradient(var(--mark), var(--mark)) 100% 100% / 4px 4px no-repeat; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* small centred label with a square mark on each side */
.tag { display: flex; align-items: center; justify-content: center; gap: 7px; font: 400 13px/1 var(--sans); color: var(--ink-2); letter-spacing: .01em; }
.tag::before, .tag::after { content: ""; flex: none; width: 5px; height: 5px; background: rgb(var(--ink-rgb) / .55); }
.tag.left { justify-content: flex-start; }
.dots { display: flex; justify-content: center; }
.dots::before { content: ""; width: 25px; height: 5px; background: linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 10px, var(--muted) 10px 15px, transparent 15px 20px, var(--muted) 20px 25px); }
.eyebrow { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: 6px;
  font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; background: rgb(0 0 0 / .18); }
.pill.sm { height: 28px; padding: 0 12px; font-size: 11px; }
.pill .g { font-family: var(--sans); font-size: 11px; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 8px;
  font: 500 15px/1 var(--sans); border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.key { background: #fff; color: #050607; box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 10px 40px -10px rgb(255 255 255 / .35); }
.btn.ghost { border-color: var(--line-3); background: rgb(var(--ink-rgb) / .04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.ghost:hover { border-color: rgb(var(--ink-rgb) / .45); }
.btn .arr { font-family: var(--mono); font-size: 14px; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.brand .logo { flex: none; width: 24px; height: 24px; display: block; }
.top-right { display: flex; align-items: center; gap: 8px; }
.live { display: inline-flex; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding: 0 12px; }
.live b { width: 6px; height: 6px; background: var(--green); box-shadow: 0 0 10px rgb(var(--green-rgb) / .8); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.top .btn { height: 40px; padding: 0 18px; font-size: 14px; }
.top .link { font-size: 14px; color: var(--ink-2); padding: 0 12px; }
.top .link:hover { color: var(--ink); }

/* ---------- floating segmented nav (bottom) ---------- */
main { padding-top: 88px; }
.bar { position: fixed; left: 12px; right: 12px; top: 12px; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 52px; padding: 6px 6px 6px 20px; border-radius: 12px; }
/* Once the page scrolls, a dark strip from the window's top edge to just below the bar (site.js sets .scrolled and
   --bar-b, the bar's bottom edge), so nothing scrolls into view above the floating bar or through it. */
body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; z-index: 49; height: calc(var(--bar-b, 64px) + 14px); pointer-events: none;
  background: linear-gradient(180deg, #050607 0, #050607 var(--bar-b, 64px), rgb(5 6 7 / 0) 100%); opacity: 0; transition: opacity .2s; }
.scrolled body::before { opacity: 1; }
.bar .brand { justify-self: start; }
.bar .links { display: flex; gap: 4px; }
.bar .links a { display: grid; place-items: center; min-width: 100px; height: 38px; padding: 0 16px; border-radius: 7px; border: 1px solid var(--line);
  font: 400 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / .02), rgb(var(--ink-rgb) / .07)); transition: background .25s, color .25s, border-color .25s; }
.bar .links a:hover { color: var(--ink); background: rgb(var(--ink-rgb) / .1); }
.bar .links a.on { background: #fff; color: #050607; border-color: #fff; }
.bar .end { justify-self: end; display: flex; align-items: center; gap: 6px; }
.bar .end .link { padding: 0 14px; font-size: 14px; color: var(--ink-2); }
.bar .end .link:hover { color: var(--ink); }
.bar .end .btn { gap: 0; height: 38px; padding: 0 18px; font-size: 13.5px; border-radius: 7px; }
.btn.cta { color: var(--ink); border-color: rgb(var(--accent-rgb) / .5); background: rgb(var(--accent-rgb) / .15); }
.btn.cta:hover { background: rgb(var(--accent-rgb) / .26); border-color: rgb(var(--accent-rgb) / .75); }
@media (max-width: 1180px) { .bar .links a { min-width: 0; } }
@media (max-width: 900px) {
  .bar { grid-template-columns: auto 1fr auto; padding-left: 16px; }
  .bar .links { justify-content: center; }
  .bar .end .link, .bar .links .hide-md { display: none; }
}
@media (max-width: 640px) {
  .bar { left: 8px; right: 8px; top: 8px; height: 48px; padding: 5px; grid-template-columns: 1fr auto; gap: 6px; }
  .bar .brand, .bar .links .hide-sm { display: none; }
  .bar .links a { flex: 1; height: 38px; padding: 0 6px; font-size: 10px; letter-spacing: .06em; }
  .bar .links { width: 100%; }
  .bar .end .btn { height: 38px; padding: 0 12px; font-size: 13px; }
  .bar .end .btn .long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* still read as "Start free" */
}

/* ---------- nav: Features menu, Sign in, Get started ---------- */
.bar .nv-feat { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 100px; height: 38px; padding: 0 14px 0 16px; border-radius: 7px; border: 1px solid var(--line);
  font: 400 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); cursor: pointer;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / .02), rgb(var(--ink-rgb) / .07)); transition: background .25s, color .25s, border-color .25s; }
.bar .nv-feat svg { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.bar .nv-feat:hover, .bar .nv-feat[aria-expanded="true"] { color: var(--ink); background: rgb(var(--ink-rgb) / .1); }
.bar .nv-feat[aria-expanded="true"] svg { transform: rotate(180deg); }
.bar .nv-feat.on { background: #fff; color: #050607; border-color: #fff; }
.bar .nv-feat:focus-visible, .bar .links a:focus-visible, .nv-sign:focus-visible, .nv-go:focus-visible, .nv-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nv-sign { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 13px; border-radius: 7px; border: 1px solid var(--line-2); background: rgb(var(--ink-rgb) / .04); font-size: 13.5px; color: var(--ink); transition: background .2s, border-color .2s; }
.nv-sign svg { color: var(--ink-2); }
.nv-sign:hover { background: rgb(var(--ink-rgb) / .1); border-color: var(--line-3); }
.nv-go { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px 0 18px; border-radius: 7px; border: 1px solid transparent; font-size: 13.5px; font-weight: 500; color: #050607;
  background: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 10px 40px -10px rgb(255 255 255 / .35); transition: transform .2s, box-shadow .2s; }
.nv-go:hover { transform: translateY(-1px); }
.nv-go svg { transition: transform .2s; }
.nv-go:hover svg { transform: translateX(2px); }
.nv-go::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .8), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.nv-go:hover::after { left: 130%; }

.nv-menu { position: absolute; top: calc(100% + 10px); left: 50%; width: min(1040px, calc(100vw - 24px)); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 10px; padding: 10px; transform: translateX(-50%);
  border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #121417, #0a0b0d);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / .85), 0 0 0 1px rgb(0 0 0 / .4); transform-origin: 50% 0;
  /* closed look; site.js drops [hidden] first, then adds .open next frame so this transitions both ways */
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) translateY(-8px) scale(.985);
  transition: opacity .16s ease, transform .2s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .2s; }
.nv-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%);
  transition: opacity .22s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.nv-menu[hidden] { display: none; }
.nv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nv-card { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 6px; padding: 12px 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: rgb(var(--ink-rgb) / .025); overflow: hidden; transition: border-color .25s, background .25s, transform .25s; }
.nv-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(300px 160px at 50% 0%, rgb(var(--accent-rgb) / .14), transparent 70%); }
.nv-card:hover { border-color: rgb(var(--accent-rgb) / .45); background: rgb(var(--ink-rgb) / .045); }
.nv-card:hover::after { opacity: 1; }
.nv-card > b { margin: 8px 4px 0; font: 500 16px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.nv-card > span:last-child { margin: 0 4px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.nv-art { position: relative; display: block; height: 92px; border-radius: 7px; border: 1px solid var(--line); background: #0a0b0d; overflow: hidden; }
/* The four Features-menu visuals loop while they're on screen (the menu is display: none when closed). The versions
   before these are in _backup_/menu-visuals_21st Nov and the git tag menu-visuals-2026-11-21. */

/* journal: trades logging in, each with its side, tag and result; the list steps up as new ones arrive */
.nv-log { -webkit-mask: linear-gradient(0deg, #000 72%, transparent); mask: linear-gradient(0deg, #000 72%, transparent); }
.nv-feed { --row: 24px; position: absolute; left: 10px; right: 10px; top: 8px; display: grid; gap: 4px; animation: nv-feed 12s cubic-bezier(.65, 0, .25, 1) infinite; }
.nv-feed > span { display: grid; grid-template-columns: 34px 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; height: 20px; padding: 0 8px; border-radius: 5px; background: rgb(var(--ink-rgb) / .035); font: 400 10.5px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.nv-feed i { font-style: normal; font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; }
.nv-feed i.l { color: var(--green); } .nv-feed i.s { color: var(--red); }
.nv-feed b { font-weight: 500; color: var(--ink); }
.nv-feed em { justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 3px 6px; border-radius: 4px; font-style: normal; font-size: 9.5px; color: var(--accent); background: rgb(var(--accent-rgb) / .12); }
.nv-feed em.bad { color: var(--red); background: rgb(var(--red-rgb) / .12); }
.nv-feed u { text-decoration: none; font-weight: 500; } .nv-feed u.p { color: var(--green); } .nv-feed u.n { color: var(--red); }
@keyframes nv-feed {
  0%, 12% { transform: translateY(0); } 16.7%, 29% { transform: translateY(calc(var(--row) * -1)); } 33.3%, 45% { transform: translateY(calc(var(--row) * -2)); }
  50%, 62% { transform: translateY(calc(var(--row) * -3)); } 66.7%, 79% { transform: translateY(calc(var(--row) * -4)); } 83.3%, 95% { transform: translateY(calc(var(--row) * -5)); } 100% { transform: translateY(calc(var(--row) * -6)); }
}

/* analytics: a heatmap of P&L by weekday and half hour; it fills in, a scan sweeps across and the best slot glows */
.nv-heat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; padding: 24px 10px 9px 9px; }
.nv-days { display: grid; grid-template-rows: repeat(5, 1fr); gap: 2px; font: 400 8.5px/1 var(--mono); color: var(--dim); }
.nv-days i { display: grid; align-items: center; font-style: normal; }
.nv-grid { position: relative; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); grid-template-rows: repeat(5, 1fr); gap: 2px; }
.nv-grid i { border-radius: 2px; background: rgb(var(--green-rgb) / var(--a)); animation: nv-cell .45s var(--d) cubic-bezier(.3, .7, .3, 1) both; }
.nv-grid i.n { background: rgb(var(--red-rgb) / var(--a)); }
.nv-grid i.best { position: relative; z-index: 1; animation: nv-cell .45s var(--d) cubic-bezier(.3, .7, .3, 1) both, nv-best 2.4s 1s ease-in-out infinite; box-shadow: 0 0 0 1px var(--green); }
.nv-grid s { position: absolute; top: -3px; bottom: -3px; left: 0; width: 16%; border-radius: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(var(--ink-rgb) / .16), transparent); animation: nv-scan 5s 1s linear infinite; opacity: 0; }
.nv-heat > em { position: absolute; top: 7px; left: 9px; right: 9px; display: flex; justify-content: space-between; font: 400 9.5px/1 var(--mono); font-style: normal; color: var(--muted); }
.nv-heat > em b { font-weight: 500; color: var(--green); }
@keyframes nv-cell { from { opacity: 0; transform: scale(.3); } }
@keyframes nv-best { 50% { box-shadow: 0 0 0 1px var(--green), 0 0 12px 2px rgb(var(--green-rgb) / .65); } }
@keyframes nv-scan { 0% { opacity: 1; transform: translateX(-100%); } 70% { opacity: 1; transform: translateX(625%); } 71%, 100% { opacity: 0; transform: translateX(625%); } }

/* backtesting: the replay plays bar by bar, the cursor walks right and the hidden future shrinks, then it starts over */
.nv-rz { position: absolute; inset: 10px 12px; }
.nv-replay .nv-cs { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; clip-path: inset(0 28% 0 0); animation: nv-reveal 7s steps(14, end) infinite; }
.nv-cs i { position: relative; }
.nv-cs i::before { content: ""; position: absolute; left: 50%; width: 1px; top: var(--hi); bottom: var(--lo); background: currentColor; opacity: .7; }
.nv-cs i::after { content: ""; position: absolute; left: 0; right: 0; top: var(--t); height: var(--h); min-height: 2px; background: currentColor; border-radius: 1px; }
.nv-cs i.u { color: var(--green); } .nv-cs i.d { color: var(--red); }
.nv-cur { position: absolute; top: -4px; bottom: -4px; left: 72%; width: 1px; background: var(--accent); box-shadow: 0 0 10px rgb(var(--accent-rgb) / .8); animation: nv-walk 7s steps(14, end) infinite; }
.nv-fut { position: absolute; top: -10px; bottom: -10px; right: -12px; left: 72%; background: repeating-linear-gradient(135deg, rgb(var(--ink-rgb) / .045) 0 5px, transparent 5px 10px); animation: nv-walk 7s steps(14, end) infinite; }
.nv-byod { position: absolute; right: 8px; bottom: 8px; padding: 3px 6px; border-radius: 999px; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; color: #0a0b0d; background: var(--accent); }
@keyframes nv-reveal { 0% { clip-path: inset(0 100% 0 0); } 85%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes nv-walk { 0% { left: 0; } 85%, 100% { left: 100%; } }

/* prop accounts: the balance climbs to the target while the trailing max loss follows it up and locks; the chart is
   revealed left to right (a clip, so the line, its fill and the floor grow together), then the pass odds pop in */
.nv-dd svg { position: absolute; inset: 14px 10px 10px; width: calc(100% - 20px); height: calc(100% - 24px); overflow: visible; clip-path: inset(0 0 0 0); animation: nv-sweep 6s cubic-bezier(.45, 0, .2, 1) infinite; }
.nv-dd path { fill: none; vector-effect: non-scaling-stroke; }
.nv-dd .a { fill: rgb(var(--green-rgb) / .1); }
.nv-dd .l { stroke: var(--green); stroke-width: 1.6; }
.nv-dd .f { stroke: rgb(var(--red-rgb) / .9); stroke-width: 1.2; }
.nv-tl { position: absolute; left: 10px; right: 10px; top: calc(14px + (100% - 24px) * 5 / 46); border-top: 1px dashed rgb(var(--green-rgb) / .45); }
.nv-dd em { position: absolute; left: 10px; font: 400 9px/1 var(--mono); font-style: normal; }
.nv-dd .tg { top: 4px; color: rgb(var(--green-rgb) / .8); }
.nv-dd .ml { bottom: 4px; color: rgb(var(--red-rgb) / .85); }
.nv-dd > b { position: absolute; bottom: 6px; right: 8px; padding: 3px 6px; border-radius: 4px; font: 400 10px/1 var(--mono); color: var(--muted); background: rgb(10 11 13 / .85); box-shadow: inset 0 0 0 1px rgb(var(--green-rgb) / .3); animation: nv-pop 6s ease infinite; }
.nv-dd > b span { font-weight: 500; color: var(--green); }
@keyframes nv-sweep { 0% { clip-path: inset(0 100% 0 0); opacity: 1; } 65%, 92% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes nv-pop { 0%, 58% { opacity: 0; transform: translateY(3px); } 66%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.nv-side { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px 8px; border-left: 1px solid var(--line); }
.nv-h { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 8px 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nv-h span { letter-spacing: .04em; text-transform: none; color: var(--green); }
.nv-tools { display: grid; gap: 2px; }
.nv-tools a { display: grid; gap: 3px; padding: 9px 10px; border-radius: 7px; transition: background .2s; }
.nv-tools a:hover { background: rgb(var(--ink-rgb) / .06); }
.nv-tools b { font-weight: 500; font-size: 14px; color: var(--ink); }
.nv-tools span { font-size: 12.5px; color: var(--muted); }
/* Features menu: the prop firm comparison, on its own above the demo (it's a mode of the app, not a calculator) */
.nv-cmp { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--muted); transition: border-color .2s, background .2s; }
.nv-cmp:hover { border-color: var(--line-3); background: rgb(var(--ink-rgb) / .04); }
.nv-cmp > span { display: grid; gap: 3px; }
.nv-cmp b { font-weight: 500; font-size: 14px; color: var(--ink); }
.nv-cmp small { font-size: 12.5px; color: var(--muted); }
.nv-cmp + .nv-demo { margin-top: 6px; }
.nv-demo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 12px; border-radius: 9px; border: 1px solid rgb(var(--accent-rgb) / .35); background: linear-gradient(135deg, rgb(var(--accent-rgb) / .14), rgb(var(--accent-rgb) / .03)); color: var(--accent); transition: border-color .2s; }
.nv-demo:hover { border-color: var(--accent); }
.nv-demo > span { display: grid; gap: 3px; }
.nv-demo b { font-weight: 500; font-size: 14px; color: var(--ink); }
.nv-demo small { font-size: 12px; color: var(--ink-2); }
/* Tools menu (scripts/toolsmenu.mjs): every free tool with its drawing, four to a row */
.nv-tmenu { grid-template-columns: minmax(0, 1fr); gap: 8px; max-height: calc(100vh - 100px); overflow-y: auto; }
.nv-tmenu .nv-h { margin: 8px 10px 2px; }
.nv-tgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nv-tool { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 4px; padding: 8px 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgb(var(--ink-rgb) / .025); overflow: hidden; transition: border-color .25s, background .25s; }
.nv-tool::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(240px 130px at 50% 0%, rgb(var(--accent-rgb) / .14), transparent 70%); }
.nv-tool:hover { border-color: rgb(var(--accent-rgb) / .45); background: rgb(var(--ink-rgb) / .045); }
.nv-tool:hover::after { opacity: 1; }
.nv-tart { display: block; height: 84px; padding: 6px 4px; border-radius: 7px; border: 1px solid var(--line); background: #0a0b0d; }
.nv-tart svg { display: block; width: 100%; height: 100%; }
.nv-tool > b { margin: 6px 4px 0; font: 500 14.5px/1.25 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.nv-tool > span:last-child { margin: 0 4px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nv-tall { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 10px; border: 1px solid rgb(var(--accent-rgb) / .35); color: var(--ink-2);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / .14), rgb(var(--accent-rgb) / .03)); transition: border-color .2s; }
.nv-tall:hover { border-color: var(--accent); }
.nv-tall > span { display: grid; gap: 6px; }
.nv-tall b { font-weight: 500; font-size: 15px; color: var(--ink); }
.nv-tall small { font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1180px) { .nv-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .bar .nv-feat { min-width: 0; } }
@media (max-width: 900px) {
  .nv-sign { display: none; }
  .nv-menu { grid-template-columns: minmax(0, 1fr); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nv-side { border-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .nv-tools { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .bar .nv-feat { flex: 1; height: 38px; padding: 0 6px; font-size: 10px; letter-spacing: .06em; gap: 4px; }
  .bar .links { min-width: 0; }
  .bar .end { min-width: 0; }
  .nv-go { padding: 0 12px; font-size: 13px; }
  .nv-menu { top: calc(100% + 8px); width: calc(100vw - 16px); padding: 8px; }
  .nv-cards { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .nv-card { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 3px; padding: 10px; }
  .nv-card .nv-art { grid-row: 1 / 3; height: 60px; }
  .nv-card > b { margin: 2px 0 0; font-size: 15px; }
  .nv-card > span:last-child { margin: 0; font-size: 12.5px; }
  .nv-card .nv-byod, .nv-heat > em, .nv-days, .nv-dd em, .nv-dd > b, .nv-feed i, .nv-feed em { display: none; }
  .nv-feed { --row: 19px; left: 5px; right: 5px; top: 5px; gap: 3px; } .nv-feed > span { grid-template-columns: 1fr auto; gap: 4px; height: 16px; padding: 0 5px; font-size: 9px; }
  .nv-heat { grid-template-columns: minmax(0, 1fr); padding: 6px; } .nv-rz { inset: 6px; } .nv-dd svg { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  .nv-tools { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .nv-menu, .nv-menu *, .nv-art, .nv-art * { animation: none !important; } .nv-menu, .nv-menu.open { transition: none; } }

/* ---------- hero ---------- */
.hero { padding: 48px 0 0; text-align: center; }
.hero h1 { margin: 26px auto 0; max-width: 15ch; font: 500 clamp(40px, 6.2vw, 72px)/1.03 var(--sans); letter-spacing: -.045em; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, #fff 10%, #9aa3ae 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero .sub { margin: 26px auto 0; max-width: 600px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.hero .fine { margin-top: 18px; font: 400 12px/1.5 var(--mono); color: var(--muted); letter-spacing: .04em; }
.hero .fine span + span::before { content: "·"; margin: 0 10px; color: var(--dim); }

.frame { margin-top: 64px; padding: 10px; border-radius: 14px; }
.frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 8px 12px; }
.frame-bar .sq { display: flex; gap: 6px; }
.frame-bar .sq i { width: 7px; height: 7px; background: var(--line-3); }
.frame-bar .sq i:first-child { background: var(--accent); }
.frame-bar .eyebrow { font-size: 10px; }
.shot { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0b0d; }
.shot img { width: 100%; }
.callout { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font: 400 12px/1.3 var(--sans);
  color: #fff; text-align: left; background: rgb(8 9 10 / .66); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / .8); }
.callout::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .2); }
.callout.amber::before { background: var(--accent-2); box-shadow: 0 0 0 4px rgb(241 171 72 / .2); }
.callout.green::before { background: var(--green); box-shadow: 0 0 0 4px rgb(var(--green-rgb) / .2); }
.callout b { font-weight: 500; }

/* Margot-style stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: var(--gap); }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 22px; padding: 22px 16px 18px; min-height: 290px; }
.stat .tile { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 30px;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0) 0%, rgb(var(--ink-rgb) / .2) 100%); border: 1px solid rgb(var(--ink-rgb) / .06);
  font: 200 76px/1 var(--sans); letter-spacing: -.04em; }
.stat .tile small { font-size: .42em; letter-spacing: 0; margin-left: 2px; font-weight: 300; }
.stat p { margin: 0; text-align: center; font-size: 14px; color: var(--ink-2); line-height: 1.35; }

/* ---------- sections ---------- */
section { padding: 140px 0 0; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head h2 { margin: 22px 0 0; font: 500 clamp(32px, 4.6vw, 56px)/1.06 var(--sans); letter-spacing: -.04em; }
.head h2 em { font-style: normal; color: rgb(var(--ink-rgb) / .42); }
.head p { margin: 20px auto 0; max-width: 580px; color: var(--ink-2); font-size: 17px; }

h3 { margin: 0; font: 400 24px/1.15 var(--sans); letter-spacing: -.015em; }
.card p { color: var(--ink-2); margin: 10px 0 0; font-size: 15px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.step { padding: 26px 26px 28px; min-height: 260px; display: flex; flex-direction: column; }
.step .n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; margin-bottom: auto;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0), rgb(var(--ink-rgb) / .18)); border: 1px solid rgb(var(--ink-rgb) / .06); font: 300 24px/1 var(--mono); }
.step h3 { margin-top: 40px; }

/* ---------- mini replay ---------- */
.mr { margin-top: var(--gap); display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 0; overflow: hidden; padding: 0; }
.mr-main { border-right: 1px solid var(--line); min-width: 0; }
.mr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mr-top .sym { font: 500 13px/1 var(--mono); letter-spacing: .04em; }
.mr-top .sym span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.mr-canvas { position: relative; height: 400px; background: rgb(0 0 0 / .35); }
.mr-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mr-toast { position: absolute; left: 50%; top: 18px; transform: translate(-50%, -8px); padding: 8px 14px; border-radius: 6px; opacity: 0; transition: .3s;
  font: 500 13px/1 var(--mono); background: rgb(8 9 10 / .8); border: 1px solid var(--line-2); pointer-events: none; white-space: nowrap; }
.mr-toast.show { opacity: 1; transform: translate(-50%, 0); }
.mr-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--line); }
.ctl { height: 36px; min-width: 36px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); background: rgb(var(--ink-rgb) / .03);
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; border-radius: 0; transition: background .15s, border-color .15s; }
.ctl:hover:not(:disabled) { background: rgb(var(--ink-rgb) / .08); border-color: var(--line-3); }
.ctl:disabled { opacity: .35; cursor: not-allowed; }
.ctl.key { background: #fff; color: #050607; border-color: #fff; }
.ctl.long { color: var(--green); border-color: rgb(var(--green-rgb) / .45); }
.ctl.long:hover:not(:disabled) { background: rgb(var(--green-rgb) / .12); }
.ctl.short { color: var(--red); border-color: rgb(var(--red-rgb) / .45); }
.ctl.short:hover:not(:disabled) { background: rgb(var(--red-rgb) / .12); }
.ctl svg { width: 14px; height: 14px; }
.mr-bar .sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 6px; }
.mr-bar .grow { flex: 1; }
.mr-bar .hint { font: 400 11px/1.3 var(--mono); color: var(--muted); letter-spacing: .04em; }
.mr-side { display: flex; flex-direction: column; min-width: 0; }
.mr-read { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.mr-read > div { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mr-read > div:nth-child(odd) { border-right: 1px solid var(--line); }
.mr-read > div:nth-last-child(-n+2) { border-bottom: 0; }
.mr-read .eyebrow { font-size: 10px; }
.mr-read .v { margin-top: 10px; font: 400 20px/1 var(--mono); }
.mr-hist { flex: 1; padding: 14px 18px; overflow: auto; max-height: 360px; }
.mr-hist .eyebrow { display: block; margin-bottom: 10px; font-size: 10px; }
.mr-row { display: grid; grid-template-columns: 22px 54px 1fr auto; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font: 400 12px/1 var(--mono); }
.mr-row .why { color: var(--muted); }
.mr-empty { font: 400 12px/1.6 var(--mono); color: var(--muted); padding: 8px 0; }
.mr-note { padding: 14px 18px; border-top: 1px solid var(--line); font: 400 11px/1.5 var(--mono); color: var(--muted); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.card { padding: 26px; overflow: hidden; display: flex; flex-direction: column; }
.card .tag { margin-bottom: 22px; }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }
.r2 { grid-row: span 2; }
.card .art { margin-top: auto; padding-top: 26px; }
.card .crop { border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0b0d; }
.levels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }

.feature-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; align-items: stretch; padding: 30px; }
.feature-hero .copy { display: flex; flex-direction: column; }
.feature-hero .levels { margin-top: auto; padding-top: 22px; }
.feature-hero h3 { font-size: clamp(26px, 2.6vw, 34px); }
.feature-hero .crop img { width: 100%; height: 100%; object-fit: cover; object-position: right top; }

/* honest fills diagram */
.fills svg { width: 100%; height: auto; }
.fills text { font-family: var(--mono); }

/* rewind track */
.track { position: relative; height: 78px; margin-top: 8px; }
.track .rail { position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: var(--line-2); }
.track .fillr { position: absolute; left: 0; width: 100%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--dim), var(--ink)); }
.track .pin { position: absolute; top: 0; transform: translateX(-50%); text-align: center; font: 400 10px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.track .pin b { display: block; font: 500 13px/1 var(--mono); color: var(--ink); letter-spacing: 0; margin-bottom: 10px; }
.track .pin i { display: block; margin: 0 auto; width: 10px; height: 10px; border: 2px solid var(--ink); background: var(--page); }
.track .pin.back i { border-color: var(--accent-2); }
.track .pin.back b { color: var(--accent-2); }
.track .pin.back { left: 46%; }
.track .pin.now { left: calc(100% - 30px); }
.track .tick { position: absolute; top: 22px; width: 2px; height: 14px; background: var(--green); }
.track .tick.r { background: var(--red); }
.kept { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font: 400 12px/1.4 var(--mono); color: var(--muted); }
.kept b { color: var(--ink); font-weight: 400; }

.pillset { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* blind drill tile */
.drill { align-items: center; text-align: center; }
.drill .tile { display: grid; place-items: center; align-content: center; gap: 10px; width: 176px; height: 176px; margin: 6px auto 0; border-radius: 34px;
  background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0), rgb(var(--ink-rgb) / .2)); border: 1px solid rgb(var(--ink-rgb) / .06); }
.drill .tile .big { font: 200 58px/1 var(--sans); letter-spacing: -.04em; }
.drill .tile .lbl { font-size: 13px; color: var(--ink-2); }
.drill .hidden-date { display: inline-flex; gap: 6px; margin-top: 18px; font: 400 12px/1 var(--mono); color: var(--muted); }
.drill .hidden-date i { width: 22px; height: 14px; background: repeating-linear-gradient(135deg, var(--line-3) 0 2px, transparent 2px 5px); }

/* Margot "work experience" style table */
.rows { margin-top: 14px; }
.rows div { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.rows div:last-child { border-bottom: 1px solid var(--line-2); }
.rows .k { font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.rows .d { color: var(--ink-2); }
.rows .x { font: 400 12px/1 var(--mono); color: var(--muted); }
/* Prop firms section: the Compare page in a window frame, then cards with the simulate step and the simulator */
.pf-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: 26px; }
.pf-ctas > span { font: 400 12px/1 var(--mono); color: var(--muted); }
.pf-frame { margin-top: 48px; }
.pf-frame .shot img { display: block; }
.pf-c1 { top: 13%; right: 2.4%; }
.pf-bento { margin-top: var(--gap); }
.pf-bento .crop { margin-top: 22px; }
.pf-bento .crop img { display: block; width: 100%; }
.pf-markets { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.pf-markets p { max-width: 640px; }
.pf-pills { justify-content: flex-start; }
@media (max-width: 900px) {
  .pf-c1 { display: none; }
  .pf-frame { margin-top: 32px; }
  /* phones: the table screen keeps a readable size and scrolls sideways, like the other screens on the page */
  .pf-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .pf-scroll > img { min-width: 760px; }
}

/* tabs (product tour) */
.tour { padding: 10px; border-radius: 14px; }
.tabs { display: flex; gap: 4px; padding: 0 0 10px; }
.tabs button { flex: 1; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: rgb(var(--ink-rgb) / .03);
  font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.tabs button:hover { color: var(--ink); background: rgb(var(--ink-rgb) / .07); }
.tabs button[aria-selected="true"] { background: #fff; color: #050607; border-color: #fff; }
.tour .shot img { transition: opacity .35s; }
.tour-cap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 6px 4px; font-size: 14px; color: var(--ink-2); }
.tour-cap .eyebrow { flex: none; }

.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 0; }
.checks li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.checks li::before { content: ""; flex: none; width: 7px; height: 7px; border: 1px solid var(--ink-2); transform: translateY(-1px); }
.checks li.y::before { background: var(--green); border-color: var(--green); }

.quote { margin-top: 18px; padding: 16px 18px; border-left: 2px solid var(--accent); background: rgb(var(--accent-rgb) / .06); font-size: 14.5px; color: var(--ink); }
.quote .num { color: var(--accent); }

/* markets */
.mkts { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.mkt { display: flex; align-items: center; gap: 12px; padding: 16px 16px; }
.mkt img { width: 34px; height: 34px; border-radius: 50%; background: #111; object-fit: cover; }
.mkt .s { font: 500 14px/1 var(--mono); }
.mkt .t { font-size: 12px; color: var(--muted); margin-top: 5px; }
.mkt .st { margin-left: auto; width: 6px; height: 6px; background: var(--green); box-shadow: 0 0 8px rgb(var(--green-rgb) / .8); }
.soon { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }
.soon .card { flex-direction: row; align-items: center; gap: 20px; flex-wrap: wrap; }
.soon .card h3 { font-size: 20px; }
.soon .card .pillset { justify-content: flex-start; }
.soon .badge { margin-left: auto; font: 500 10px/1 var(--mono); letter-spacing: .14em; color: var(--accent-2); border: 1px dotted rgb(241 171 72 / .6); padding: 7px 9px; }
.soon .pill { color: var(--ink-2); border-style: dashed; border-color: var(--line-3); }

/* pricing */
.bill { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; margin: 30px auto 0; }
.bill button { height: 38px; padding: 0 18px; border-radius: 7px; border: 1px solid transparent; background: none; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.bill button[aria-pressed="true"] { background: #fff; color: #050607; }
.bill .save { color: var(--green); margin-left: 6px; }
.bill button[aria-pressed="true"] .save { color: #0b7f3f; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.plan { padding: 30px 28px 28px; display: flex; flex-direction: column; }
.plan .top-l { display: flex; justify-content: space-between; align-items: center; min-height: 22px; }
.plan .nm { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.plan .for { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 30px; }
.plan .price .amt { font: 200 72px/1 var(--sans); letter-spacing: -.045em; }
.plan .price .amt sup { font-size: .4em; vertical-align: .95em; letter-spacing: 0; margin-right: 3px; font-weight: 300; }
.plan .price .per { font: 400 13px/1 var(--mono); color: var(--muted); }
.plan .billed { margin-top: 10px; min-height: 18px; font: 400 12px/1.4 var(--mono); color: var(--muted); }
.plan .btn { margin-top: 26px; width: 100%; }
.plan .checks { margin-top: 26px; }
.plan .checks li::before { background: var(--ink-2); border-color: var(--ink-2); }
.plan.feat { border-color: rgb(var(--accent-rgb) / .4); background: linear-gradient(180deg, rgb(var(--accent-rgb) / .1), rgb(var(--ink-rgb) / .07)), rgb(10 11 13 / .5); }
.plan.feat .checks li::before { background: var(--accent); border-color: var(--accent); }
.plan .flag { font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #050607; background: var(--accent); padding: 6px 8px; }
.plan .soonx { color: var(--accent-2); font: 400 10px/1 var(--mono); letter-spacing: .1em; margin-left: 4px; }
.price-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.price-note span { display: inline-flex; align-items: center; }
.price-note span::before { content: ""; width: 5px; height: 5px; margin-right: 10px; background: rgb(var(--ink-rgb) / .55); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; padding: 8px 28px; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font: 400 19px/1.3 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-3); border-radius: 6px; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { margin: -6px 0 24px; max-width: 680px; color: var(--ink-2); font-size: 15.5px; }
.faq details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(var(--ink-rgb) / .35); }
.faq details p a:hover { text-decoration-color: currentColor; }
/* FAQ topics: a tab per topic over one panel each. Without JS every topic shows, one under another. */
.faq-set { max-width: 860px; margin: 0 auto; }
.faq-tabs { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 14px; padding: 4px; border: 1px solid var(--line-2); border-radius: 10px; }
.faq-tabs button { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: none; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2); cursor: pointer; }
.faq-tabs button:hover { color: var(--ink); }
.faq-tabs button[aria-selected="true"] { background: #fff; color: #050607; }
.faq-set .faq + .faq { margin-top: 14px; }
.faq .sr + details { border-top: 0; }
/* Home: Reports, MAE / MFE and winners vs losers under the analytics dashboard; the free tools as their own section */
.ax-more { margin-top: var(--gap); }
#free-tools .ft { margin-top: 0; }

/* closing */
.closing { text-align: center; padding: 96px 24px 90px; overflow: hidden; }
.closing h2 { margin: 26px auto 0; max-width: 14ch; font: 500 clamp(36px, 5.8vw, 72px)/1.03 var(--sans); letter-spacing: -.045em; }
.closing h2 em { font-style: normal; color: rgb(var(--ink-rgb) / .42); }
.closing .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.closing .ghost-num { position: absolute; inset: auto 0 -0.24em 0; font: 200 clamp(120px, 22vw, 320px)/1 var(--mono); letter-spacing: -.06em; color: rgb(var(--ink-rgb) / .025); pointer-events: none; white-space: nowrap; }

footer { padding: 60px 0 0; }
/* The footer's markup comes from replay/scripts/footer.mjs (one source for every page). */
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 40px; flex-wrap: wrap; padding: 34px 0 30px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.foot-top .brand { display: inline-flex; padding: 0; color: var(--ink); }
.foot-top .about { font-size: 14px; line-height: 1.6; color: var(--ink-2); max-width: 560px; margin: 16px 0 0; }
.foot-top .foot-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.foot { columns: 5 176px; column-gap: 30px; padding: 30px 0 14px; }
.foot .fgroup { break-inside: avoid; margin: 0 0 26px; }
.foot h3, .foot h4 { margin: 0 0 12px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot a { display: block; padding: 3.5px 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.foot a.all { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.legal { padding: 20px 0 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font: 400 11.5px/1.6 var(--mono); color: var(--muted); }
.legal p { margin: 0; max-width: 760px; }

/* reveal on scroll */
.js .rv { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .s2, .s3 { grid-column: span 1; } .s4, .s6 { grid-column: span 2; }
  .s2.full-md { grid-column: span 2; }
  .feature-hero { grid-template-columns: 1fr; }
  .feature-hero .crop img { height: auto; max-height: 420px; }
  .mkts { grid-template-columns: repeat(2, 1fr); }
  .mr { grid-template-columns: 1fr; }
  .mr-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .mr-read { grid-template-columns: repeat(4, 1fr); }
  .mr-read > div { border-bottom: 0; border-right: 1px solid var(--line); }
  .mr-read > div:last-child { border-right: 0; }
  .mr-hist { max-height: 220px; }
  .callout { display: none; }
}
@media (max-width: 900px) {
  .steps, .plans { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 28px; }
}
@media (max-width: 640px) {
  section { padding-top: 96px; }
  .hero { padding-top: 24px; }
  .frame { margin-top: 44px; padding: 6px; }
  .frame-bar { padding: 4px 4px 8px; }
  .stats { gap: 8px; }
  .stat { min-height: 0; padding: 16px 10px 14px; gap: 14px; }
  .stat .tile { width: 108px; height: 108px; border-radius: 24px; font-size: 52px; }
  .stat .dots { display: none; }
  .stat p { font-size: 13px; }
  .bento { grid-template-columns: 1fr; }
  .s2, .s3, .s4, .s6, .s2.full-md { grid-column: span 1; }
  .card, .feature-hero { padding: 22px 20px; }
  .mr-canvas { height: 300px; }
  .mr-read { grid-template-columns: 1fr 1fr; }
  .mr-read > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .mr-read > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .mr-read > div:nth-last-child(-n+2) { border-bottom: 0; }
  .mr-bar .sep, .mr-bar .grow { display: none; }
  .mr-bar .hint { width: 100%; order: 9; }
  .mr-bar { gap: 4px; }
  .ctl { min-width: 34px; padding: 0 9px; }
  .mr-top .sym span, .frame-bar .eyebrow:nth-child(2) { display: none; }
  .mkts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mkt { padding: 12px; gap: 10px; }
  .mkt img { width: 28px; height: 28px; }
  .rows div { grid-template-columns: 96px 1fr; }
  .rows .x { display: none; }
  .tabs button { font-size: 10px; letter-spacing: .06em; }
  .tour-cap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .faq { padding: 4px 20px; }
  .faq summary { font-size: 17px; padding: 20px 0; }
  /* one row that scrolls sideways, fading at the right edge so the hidden topics show there's more */
  .faq-tabs { width: auto; overflow-x: auto; scrollbar-width: none; padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .faq-tabs::-webkit-scrollbar { display: none; }
  .faq-tabs button { padding: 0 12px; }
  .closing { padding: 70px 20px 70px; }
  .foot { columns: 2; column-gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring i, .live b { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   Site chrome shared by every page: top nav, dock states, hero switcher
   ===================================================================== */
.top { position: relative; z-index: 5; }

.hero-switch { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border-radius: 12px; }
.hero-switch .lbl { font: 500 9px/1 var(--mono); letter-spacing: .16em; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); padding: 6px 0 4px; }
.hero-switch button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: rgb(var(--ink-rgb) / .03); font: 500 12px/1 var(--mono); color: var(--ink-2); transition: background .2s, color .2s; }
.hero-switch button:hover { color: var(--ink); background: var(--fill-2); }
.hero-switch button[aria-pressed="true"] { background: #fff; color: #050607; border-color: #fff; }
@media (max-width: 640px) {
  .hero-switch { top: auto; bottom: 12px; right: 8px; left: 8px; transform: none; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .hero-switch button, .hero-switch .lbl { flex: none; }
  .hero-switch .lbl { writing-mode: horizontal-tb; transform: none; padding: 0 4px 0 6px; }
}
[data-hero]:not(.on) { display: none; } /* A carries .on in the markup, so the page reads right without JS */

/* =====================================================================
   Animations. Everything starts visible without JS; html.js arms them.
   ===================================================================== */
.js .rv { transition-delay: var(--d, 0ms); }
/* headline words rise out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
/* headings: one simple fade and rise for the whole line, no word-by-word motion */
.js [data-split] { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-split].in { opacity: 1; transform: none; }

/* product frame tilts flat as it scrolls in (JS writes --p from 0 to 1) */
.tilt { transform: perspective(1600px) rotateX(calc((1 - var(--p, 1)) * 16deg)) scale(calc(.92 + var(--p, 1) * .08)); transform-origin: 50% 0; will-change: transform; }
.js .frame .callout { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s, transform .6s cubic-bezier(.2,.8,.2,1.2); }
.js .frame.lit .callout { opacity: 1; transform: none; }
.js .frame.lit .callout:nth-of-type(1) { transition-delay: .15s; }
.js .frame.lit .callout:nth-of-type(2) { transition-delay: .45s; }
.js .frame.lit .callout:nth-of-type(3) { transition-delay: .75s; }
.callout::before { animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .5); } 70%, 100% { box-shadow: 0 0 0 9px rgb(var(--accent-rgb) / 0); } }

/* hover: the glass edge catches the light where the cursor is (border only, no fill) */
.edge::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .7), rgb(var(--accent-rgb) / .35) 35%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.edge { transition: border-color .3s; }
.edge:hover { border-color: var(--line-2); }
.edge:hover::before { opacity: 1; }

/* key button sheen */
.btn.key { position: relative; overflow: hidden; }
.btn.key::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .8), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.btn.key:hover::after { left: 130%; }

/* featured plan: a light runs around its border */
.plan.feat { isolation: isolate; }
.plan.feat::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgb(var(--accent-rgb) / .9) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: orbit 6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --ang: 360deg; } }

.faq details[open] p { animation: faqIn .45s cubic-bezier(.2,.7,.2,1); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.closing .ghost-num { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-6%); } }
.mkt img { transition: transform .4s cubic-bezier(.2,.8,.2,1.4); }
.mkt:hover img { transform: rotate(-12deg) scale(1.12); }
.shot img, .crop img, .post-cover img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.crop:hover img, .post-card:hover .post-cover img { transform: scale(1.03); }

/* markets marquee (hero B) */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .belt { display: flex; gap: 10px; width: max-content; animation: belt 38s linear infinite; }
.marquee:hover .belt { animation-play-state: paused; }
.marquee .chip { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: rgb(var(--ink-rgb) / .03); font: 500 13px/1 var(--mono); white-space: nowrap; }
.marquee .chip img { width: 30px; height: 30px; border-radius: 6px; }
.marquee .chip span { color: var(--muted); font-weight: 400; }
@keyframes belt { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .js [data-split], .js .frame .callout { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tilt { transform: none !important; }
  .marquee .belt, .plan.feat::after, .closing .ghost-num, .callout::before { animation: none !important; }
}

/* =====================================================================
   Hero B: bento
   ===================================================================== */
.hb { padding-top: 28px; }
.hb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.hb-main { grid-column: 1 / 3; grid-row: 1 / 3; padding: 34px 34px 30px; display: flex; flex-direction: column; min-height: 600px; overflow: hidden; }
.hb-main h1 { margin: 30px 0 0; font: 500 clamp(40px, 5.2vw, 72px)/1.02 var(--sans); letter-spacing: -.045em; max-width: 11ch; }
.hb-main h1 em { font-style: normal; color: rgb(var(--ink-rgb) / .42); }
.hb-main .sub { margin: 22px 0 0; max-width: 460px; color: var(--ink-2); font-size: 17px; }
.hb-main .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 30px; }
.hb-main .fine { margin-top: 16px; font: 400 12px/1.5 var(--mono); color: var(--muted); }
.hb-chart { grid-column: 3 / 5; padding: 10px; display: flex; flex-direction: column; }
.hb-chart .frame-bar { padding: 4px 6px 10px; }
.hb-chart .crop { flex: 1; min-height: 0; }
.hb-chart .crop img { width: 100%; height: 100%; max-height: 330px; object-fit: cover; object-position: 30% 40%; }
.hb-tile { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 16px 18px; text-align: center; }
.hb-tile .tile { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 28px; background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0), rgb(var(--ink-rgb) / .2)); border: 1px solid rgb(var(--ink-rgb) / .06); font: 200 64px/1 var(--sans); letter-spacing: -.04em; }
.hb-tile p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.35; }
.hb-tile .pillset { flex: 1; align-content: center; }
.hb-belt { grid-column: 1 / -1; padding: 14px 0; }
@media (max-width: 1080px) {
  .hb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-main, .hb-chart { grid-column: 1 / -1; grid-row: auto; }
  .hb-main { min-height: 0; }
}
@media (max-width: 640px) {
  .hb-main { padding: 26px 20px 22px; }
  .hb-tile .tile { width: 100px; height: 100px; font-size: 48px; border-radius: 22px; }
  .hb-tile .pill { height: 30px; padding: 0 11px; font-size: 10.5px; }
}

/* =====================================================================
   Hero C: a real day of BTC replaying behind the headline
   ===================================================================== */
.hc { text-align: center; padding-top: 40px; }
.hc h1 { margin: 26px auto 0; font: 500 clamp(38px, 5.6vw, 72px)/1.04 var(--sans); letter-spacing: -.045em; max-width: none; text-wrap: balance; }
.hc h1 em { font-style: normal; background: linear-gradient(95deg, #a9d6ff 0%, #5eb1fb 45%, #2f6fe0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hc .sub { margin: 24px auto 0; max-width: 720px; text-wrap: balance; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); }
.hc .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hc .live-note { display: flex; justify-content: center; margin-top: 22px; }
.hc-stage { margin-top: 56px; padding: 0; overflow: hidden; text-align: left; }
.hc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.hc-head .sym { font: 500 13px/1 var(--mono); }
.hc-head .sym span { color: var(--muted); font-weight: 400; margin-left: 8px; }
.hc-rec { display: inline-flex; align-items: center; gap: 8px; font: 500 10px/1 var(--mono); letter-spacing: .16em; color: var(--ink-2); }
.hc-rec b { width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: blink 1.2s steps(2) infinite; }
.hc-canvas { position: relative; height: 440px; background: rgb(0 0 0 / .32); }
.hc-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--line); }
.hc-bar .grow { flex: 1; }
.hc-bar .clock { font: 400 12px/1 var(--mono); color: var(--ink-2); letter-spacing: .04em; }
.hc-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: var(--gap); }
.hc-strip > div { padding: 18px 20px; text-align: left; }
.hc-strip .v { font: 300 36px/1 var(--sans); letter-spacing: -.03em; }
.hc-strip .v small { font-size: .5em; color: var(--muted); margin-left: 3px; }
.hc-strip p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) { .hc-strip { grid-template-columns: 1fr 1fr; } .br-d { display: none; } }
@media (max-width: 640px) { .hc .live-note .more { display: none; } .hc-canvas { height: 320px; } .hc-head .sym span, .hc-bar .hide-sm { display: none; } .hc-stage { margin-top: 40px; } }

/* =====================================================================
   Inner pages: page hero, pricing comparison, calculator
   ===================================================================== */
.page-hero { text-align: center; padding: 56px 0 0; }
.page-hero h1 { margin: 24px auto 0; max-width: 16ch; font: 500 clamp(38px, 6vw, 72px)/1.03 var(--sans); letter-spacing: -.045em; }
.page-hero h1 em { font-style: normal; color: rgb(var(--ink-rgb) / .42); }
.page-hero .sub { margin: 22px auto 0; max-width: 580px; color: var(--ink-2); font-size: 18px; }
.page-hero .bill { margin-top: 32px; }
.pricing-page .plans { margin-top: 56px; }
.pricing-page section { padding-top: 120px; }

.includes { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-top: var(--gap); }
.includes > div { padding: 20px; }
.includes .ic { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 9px; color: var(--accent); margin-bottom: 18px; }
.includes .ic svg { width: 17px; height: 17px; }
.includes b { display: block; font-weight: 500; font-size: 15px; }
.includes p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 1080px) { .includes { grid-template-columns: repeat(2, 1fr); } .includes > div:last-child { grid-column: span 2; } }
@media (max-width: 640px) { .includes { grid-template-columns: 1fr; } .includes > div:last-child { grid-column: auto; } }

.cmp-wrap { padding: 8px; border-radius: 14px; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink-2); width: 40%; }
.cmp thead th { position: sticky; top: 0; background: rgb(10 11 13 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 1; padding: 20px 18px; vertical-align: bottom; }
.cmp thead .nm { display: block; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.cmp thead .pr { display: block; margin-top: 10px; font: 300 26px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.cmp thead .pr small { font: 400 11px/1 var(--mono); color: var(--muted); letter-spacing: 0; }
.cmp thead th.feat { color: var(--accent); }
.cmp thead th.feat .nm { color: var(--accent); }
.cmp td.feat, .cmp th.feat { background: rgb(var(--accent-rgb) / .05); }
.cmp .grp td { padding: 28px 18px 10px; text-align: left !important; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); background: none !important; }
.cmp .y { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: rgb(var(--green-rgb) / .15); position: relative; vertical-align: middle; }
.cmp .y::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid var(--green); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.cmp .n { color: var(--dim); font-family: var(--mono); }
.cmp .t { font: 400 13px/1.3 var(--mono); color: var(--ink); }
.cmp .soon { font: 500 9.5px/1 var(--mono); letter-spacing: .12em; color: var(--accent-2); border: 1px dotted rgb(241 171 72 / .6); padding: 4px 6px; margin-left: 4px; vertical-align: middle; }
.cmp tbody tr:hover td { background: rgb(var(--ink-rgb) / .02); }
.cmp tbody tr:hover td.feat { background: rgb(var(--accent-rgb) / .08); }
.cmp-note { padding: 14px 18px 8px; font: 400 12px/1.5 var(--mono); color: var(--muted); }

.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; padding: 0; }
.calc-in { padding: 34px; border-right: 1px solid var(--line); }
.calc-in h3 { font-size: 28px; letter-spacing: -.03em; }
.calc-in p { color: var(--ink-2); margin: 10px 0 26px; font-size: 15px; }
.calc label { display: block; margin-top: 16px; }
.calc label span { display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field { display: flex; align-items: center; height: 52px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(0 0 0 / .25); padding: 0 16px; transition: border-color .2s; }
.field:focus-within { border-color: var(--accent); }
.field b { font: 400 16px/1 var(--mono); color: var(--muted); margin-right: 8px; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--ink); font: 400 18px/1 var(--mono); outline: none; }
.field em { font: 400 12px/1 var(--mono); color: var(--muted); font-style: normal; }
.calc-out { padding: 34px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, rgb(var(--green-rgb) / .05), transparent); }
.calc-out .eyebrow { margin-bottom: 14px; }
.calc-out .big { font: 200 clamp(56px, 7vw, 72px)/1 var(--sans); letter-spacing: -.05em; color: var(--green); }
.calc-out .big.zero { color: var(--ink-2); }
.calc-out .lines { margin-top: 26px; display: grid; gap: 0; }
.calc-out .lines div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.calc-out .lines b { font: 400 14px/1 var(--mono); color: var(--ink); }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-2); margin-top: 22px; }
.seg button { height: 34px; padding: 0 14px; border-radius: 7px; border: 0; background: none; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: #fff; color: #050607; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .calc-in, .calc-out { padding: 24px 20px; } }

/* =====================================================================
   Blog: index and articles
   ===================================================================== */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.chips button { height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line-2); background: rgb(var(--ink-rgb) / .03); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); transition: .2s; }
.chips button:hover { color: var(--ink); border-color: var(--line-3); }
.chips button[aria-pressed="true"] { background: #fff; color: #050607; border-color: #fff; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 48px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 8px; }
.post-card[hidden] { display: none; }
.post-card.big { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.post-cover { position: relative; border-radius: 7px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); background: #0a0b0d; }
.post-card.big .post-cover { aspect-ratio: auto; min-height: 340px; }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-cover .vs { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: rgb(8 9 10 / .72); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.post-cover .vs i { font-style: normal; color: var(--accent); }
.post-body { padding: 20px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card.big .post-body { padding: 30px; justify-content: center; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-meta .cat { color: var(--accent); }
.post-card h2, .post-card h3 { margin: 14px 0 0; font: 500 21px/1.25 var(--sans); letter-spacing: -.02em; }
.post-card.big h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.035em; }
.post-card p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.post-card .more { margin-top: auto; padding-top: 22px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.post-card .more span { display: inline-block; transition: transform .3s; }
.post-card:hover .more span { transform: translateX(4px); }
@media (max-width: 1080px) { .posts { grid-template-columns: 1fr 1fr; } .post-card.big { grid-template-columns: 1fr; } .post-card.big .post-cover { min-height: 260px; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post-card.big .post-body { padding: 20px 16px; } }

.article-head { max-width: 860px; margin: 0 auto; padding-top: 48px; text-align: center; }
.article-head h1 { margin: 22px auto 0; font: 500 clamp(34px, 5vw, 60px)/1.06 var(--sans); letter-spacing: -.04em; }
.article-head .dek { margin: 20px auto 0; max-width: 640px; color: var(--ink-2); font-size: 18px; }
.article-head .post-meta { justify-content: center; margin-top: 22px; }
.article-cover { margin: 44px auto 0; max-width: 1080px; padding: 8px; border-radius: 14px; }
.article-cover .shot img { width: 100%; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; max-width: 1080px; margin: 64px auto 0; align-items: start; }
.article aside { position: sticky; top: 96px; display: grid; gap: var(--gap); }
.toc { padding: 20px; }
.toc .eyebrow { display: block; margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0 7px 12px; border-left: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--accent); }
.side-cta { padding: 22px; }
.side-cta b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.01em; }
.side-cta p { margin: 8px 0 18px; font-size: 14px; color: var(--ink-2); }
.side-cta .btn { width: 100%; height: 44px; font-size: 14px; }
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(var(--read, 0)); background: linear-gradient(90deg, var(--accent), var(--green)); z-index: 70; }

.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font: 500 30px/1.15 var(--sans); letter-spacing: -.03em; color: var(--ink); scroll-margin-top: 24px; }
.prose h3 { margin-top: 1.8em; font: 500 20px/1.3 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.prose p, .prose li { margin: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose .num { color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figure .shot { border-radius: 8px; }
.prose figcaption { margin-top: 10px; font: 400 12.5px/1.5 var(--mono); color: var(--muted); }
.prose .box { padding: 22px 24px; border-radius: 10px; border: 1px solid var(--line-2); background: rgb(var(--ink-rgb) / .03); }
.prose .box.tldr { border-left: 2px solid var(--accent); background: rgb(var(--accent-rgb) / .05); }
.prose .box .eyebrow { display: block; margin-bottom: 10px; color: var(--accent); }
.prose .box ul { margin: 0; }
.prose .cmp { min-width: 560px; font-size: 14px; line-height: 1.45; }
.prose .cmp td, .prose .cmp th { text-align: left; vertical-align: top; }
.prose .cmp th:first-child, .prose .cmp td:first-child { width: 24%; }
.prose .cmp thead th { position: static; padding: 14px 18px; font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.prose .cmp-wrap { margin: 2em 0; }
.prose details { border-top: 1px solid var(--line-2); padding: 4px 0; }
.prose details:last-of-type { border-bottom: 1px solid var(--line-2); }
.prose summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 500; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.prose details[open] summary::after { content: "−"; }
.prose details p { padding-bottom: 16px; }
.prose .checked { font: 400 12.5px/1.5 var(--mono); color: var(--muted); }
.related { margin-top: 110px; }
.related .posts { margin-top: 28px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .article { grid-template-columns: 1fr; gap: 0; } .article aside { position: static; order: -1; margin-bottom: 36px; } .article aside .side-cta { display: none; } }
@media (max-width: 640px) { .prose { font-size: 16px; } .prose h2 { font-size: 25px; } .related .posts { grid-template-columns: 1fr; } .article-head { padding-top: 24px; } }
.posts.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .posts.two { grid-template-columns: 1fr; } }

/* =====================================================================
   Backdrop variants: the same chrome rings, arranged differently per page.
   home: two swirling loops (default above) · pricing: an eclipse over the plans
   blog: flat silk ribbons drifting across · article: one quiet ring in the corner
   ===================================================================== */
[data-bg] .ring { left: auto; right: auto; top: auto; bottom: auto; }
[data-bg="home"] .ring.r1 { left: -46vmax; top: -34vmax; }
[data-bg="home"] .ring.r2 { right: -48vmax; top: 18vmax; }
[data-bg="home"] .ring.r3 { left: 8vmax; bottom: -52vmax; }

[data-bg="pricing"] .ring.r1 { width: 120vmax; height: 120vmax; left: calc(50% - 60vmax); top: -65vmax; transform: scaleY(.3); opacity: .8; filter: blur(1px); }
[data-bg="pricing"] .ring.r2 { width: 92vmax; height: 92vmax; left: calc(50% - 46vmax); top: -44vmax; transform: rotate(180deg) scaleY(.34); opacity: .4; filter: blur(3px); }
[data-bg="pricing"] .ring.r3 { width: 150vmax; height: 150vmax; left: calc(50% - 75vmax); top: -2vmax; transform: rotate(180deg) scaleY(.26); opacity: .3; filter: blur(4px); }
[data-bg="pricing"] .glow { width: 80vmax; height: 34vmax; left: calc(50% - 40vmax); top: -4vmax; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .2), transparent); }

[data-bg="blog"] .ring.r1 { width: 170vmax; height: 170vmax; left: -35vmax; top: calc(18vh - 85vmax); transform: rotate(-7deg) scaleY(.12); opacity: .95; }
[data-bg="blog"] .ring.r2 { width: 150vmax; height: 150vmax; left: -20vmax; top: calc(55vh - 75vmax); transform: rotate(5deg) scaleY(.09); opacity: .6; filter: blur(2.5px); }
[data-bg="blog"] .ring.r3 { width: 180vmax; height: 180vmax; left: -50vmax; top: calc(88vh - 90vmax); transform: rotate(-3deg) scaleY(.07); opacity: .3; filter: blur(5px); }
[data-bg="blog"] .glow { left: -10vmax; top: 10vh; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .1), transparent); }

[data-bg="article"] .ring.r1 { width: 80vmax; height: 80vmax; right: -40vmax; bottom: -42vmax; transform: rotate(-24deg) scaleY(.6); opacity: .32; filter: blur(2px); }
[data-bg="article"] .ring.r2 { width: 60vmax; height: 60vmax; left: -38vmax; top: -30vmax; transform: rotate(30deg) scaleY(.5); opacity: .14; filter: blur(6px); }
[data-bg="article"] .ring.r3 { display: none; }
[data-bg="article"] .glow { opacity: .5; }
[data-bg="article"] .vignette { background: radial-gradient(120% 90% at 50% 40%, transparent 45%, rgb(0 0 0 / .75) 100%); }

/* More backdrops: orbit (blog list) and frame (pricing). */
/* orbit: three concentric tilted rings behind the content, like a coin seen edge-on */
[data-bg="orbit"] .ring.r1 { width: 150vmax; height: 150vmax; left: calc(50% - 75vmax); top: calc(62vh - 75vmax); transform: rotate(-6deg) scaleY(.24); opacity: .6; filter: blur(1px); }
[data-bg="orbit"] .ring.r2 { width: 104vmax; height: 104vmax; left: calc(50% - 52vmax); top: calc(62vh - 52vmax); transform: rotate(-6deg) scaleY(.24); opacity: .42; filter: blur(2px); }
[data-bg="orbit"] .ring.r3 { width: 64vmax; height: 64vmax; left: calc(50% - 32vmax); top: calc(62vh - 32vmax); transform: rotate(-6deg) scaleY(.24); opacity: .3; filter: blur(3px); }
[data-bg="orbit"] .glow { width: 70vmax; height: 40vmax; left: calc(50% - 35vmax); top: calc(62vh - 20vmax); background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .16), transparent); }

/* frame: two tall chrome arcs bracket the content from the left and right edges */
[data-bg="frame"] .ring.r1 { width: 110vmax; height: 110vmax; left: calc(20vw - 89vmax); top: calc(50vh - 55vmax); transform: rotate(14deg) scaleX(.62); opacity: .85; filter: blur(.5px); }
[data-bg="frame"] .ring.r2 { width: 110vmax; height: 110vmax; left: calc(80vw - 21vmax); top: calc(50vh - 55vmax); transform: rotate(194deg) scaleX(.62); opacity: .85; filter: blur(.5px); }
[data-bg="frame"] .ring.r3 { width: 90vmax; height: 90vmax; left: calc(50% - 45vmax); top: calc(100vh - 8vmax); transform: scaleY(.3); opacity: .22; filter: blur(5px); }
[data-bg="frame"] .glow { width: 60vmax; height: 50vmax; left: calc(50% - 30vmax); top: 4vh; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .14), transparent); }

/* blog · ripples: rings spreading from the top-right corner, like an idea landing */
[data-bg="ripple"] .ring.r1 { width: 54vmax; height: 54vmax; left: calc(84vw - 27vmax); top: calc(6vh - 27vmax); transform: rotate(-12deg) scaleY(.6); opacity: .7; filter: blur(.5px); }
[data-bg="ripple"] .ring.r2 { width: 92vmax; height: 92vmax; left: calc(84vw - 46vmax); top: calc(6vh - 46vmax); transform: rotate(-12deg) scaleY(.6); opacity: .42; filter: blur(2px); }
[data-bg="ripple"] .ring.r3 { width: 136vmax; height: 136vmax; left: calc(84vw - 68vmax); top: calc(6vh - 68vmax); transform: rotate(-12deg) scaleY(.6); opacity: .24; filter: blur(4px); }
[data-bg="ripple"] .glow { width: 50vmax; height: 40vmax; left: calc(84vw - 25vmax); top: -14vh; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .16), transparent); }

/* blog · horizon: one wide chrome arc low on the page with blue light rising behind it */
[data-bg="horizon"] .ring.r1 { width: 240vmax; height: 240vmax; left: calc(50% - 120vmax); top: calc(66vh + 29vmax - 120vmax); transform: scaleY(.24) rotate(90deg); opacity: 1; filter: none; }
[data-bg="horizon"] .ring.r2 { width: 190vmax; height: 190vmax; left: calc(50% - 95vmax); top: calc(78vh + 21vmax - 95vmax); transform: scaleY(.22) rotate(-90deg); opacity: .6; filter: blur(2px); }
[data-bg="horizon"] .ring.r3 { width: 60vmax; height: 60vmax; left: calc(50% - 30vmax); top: -70vmax; opacity: 0; }
[data-bg="horizon"] .glow { width: 120vmax; height: 40vmax; left: calc(50% - 60vmax); top: calc(66vh - 28vmax); background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .3), transparent); }
[data-bg="horizon"] .vignette { background: radial-gradient(130% 80% at 50% 30%, transparent 50%, rgb(0 0 0 / .7) 100%); }

/* Backdrop motion: each ring floats, tilts a few degrees and swells slightly on its own clock, the chrome highlight
   sweeps round faster, and the glow breathes. Uses translate/rotate/scale so the layout transforms above stay put. */
.ring { animation: float-a 19s ease-in-out infinite alternate; }
.ring.r2 { animation: float-b 23s ease-in-out infinite alternate; }
.ring.r3 { animation: float-c 27s ease-in-out infinite alternate; }
.ring i { animation-duration: 60s; }
.ring.r2 i { animation-duration: 80s; }
.ring.r3 i { animation-duration: 100s; }
.glow { animation: breathe-glow 12s ease-in-out infinite alternate; }
@keyframes float-a { 0% { translate: 0 0; rotate: 0deg; scale: 1; } 50% { translate: 3.5vmax -2.5vmax; rotate: 3deg; scale: 1.03; } 100% { translate: -2.5vmax 2vmax; rotate: -2deg; scale: .98; } }
@keyframes float-b { 0% { translate: 0 0; rotate: 0deg; scale: 1; } 50% { translate: -3vmax 2.5vmax; rotate: -3.5deg; scale: .97; } 100% { translate: 2.5vmax -1.5vmax; rotate: 2deg; scale: 1.03; } }
@keyframes float-c { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: 2.5vmax 2vmax; rotate: 2.5deg; } 100% { translate: -2vmax -1.5vmax; rotate: -2deg; } }
@keyframes breathe-glow { from { opacity: .7; scale: .95; } to { opacity: 1; scale: 1.12; } }
@media (prefers-reduced-motion: reduce) { .ring, .ring.r2, .ring.r3, .glow, .ring i { animation: none !important; } }

/* =====================================================================
   Learn: hub path, lesson cards, video slots, lesson pages
   ===================================================================== */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: none; }
.path-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; min-height: 220px; }
.path-step .no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0), rgb(var(--ink-rgb) / .14)); font: 400 15px/1 var(--mono); }
.path-step b { margin-top: auto; font: 500 18px/1.25 var(--sans); letter-spacing: -.015em; }
.path-step span.m { font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.path-step::before { content: ""; position: absolute; top: 44px; left: 100%; width: calc(var(--gap) + 2px); height: 1px; background: var(--line-3); }
.path-step:last-child::before { display: none; }
.path-step:hover .no { background: #fff; color: #050607; border-color: #fff; }
@media (max-width: 1080px) { .path { grid-template-columns: 1fr 1fr; } .path-step:nth-child(2)::before { display: none; } }
@media (max-width: 640px) { .path { grid-template-columns: 1fr; } .path-step { min-height: 0; } .path-step::before { display: none; } .path-step b { margin-top: 12px; } }

.lbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lb { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; border-radius: 5px; border: 1px solid var(--line-2); font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.lb.lvl-intermediate { color: var(--accent-2); border-color: rgb(241 171 72 / .45); }
.lb.lvl-beginner { color: var(--accent); border-color: rgb(var(--accent-rgb) / .45); }
.lb.vid::before { content: ""; width: 0; height: 0; border-left: 6px solid currentColor; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.post-cover .play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: rgb(8 9 10 / .7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.post-cover .play::before { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.vcard { padding: 8px; }
.vcard .post-cover { aspect-ratio: 16 / 9; }
.vcard .post-cover img { filter: saturate(.7) brightness(.6); }
.vcard .soon-tag { position: absolute; left: 12px; top: 12px; font: 500 10px/1 var(--mono); letter-spacing: .12em; color: var(--accent-2); border: 1px dotted rgb(241 171 72 / .6); padding: 6px 8px; background: rgb(8 9 10 / .6); }
.vcard .vbody { padding: 16px 12px 12px; }
.vcard b { display: block; font: 500 17px/1.3 var(--sans); letter-spacing: -.01em; }
.vcard p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 1080px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .videos { grid-template-columns: 1fr; } }

.video { position: relative; margin: 44px auto 0; max-width: 1080px; padding: 8px; border-radius: 14px; }
.video .stage { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0b0d; }
.video .stage img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.8); }
.video .over { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; padding: 20px; }
.video .big-play { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 14px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.video .big-play::before { content: ""; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video .over b { font: 500 18px/1.3 var(--sans); }
.video .over span { font: 400 12px/1.5 var(--mono); color: var(--ink-2); letter-spacing: .04em; }
.video .chapters { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 6px 4px; }
.video .chapters a { font: 400 11px/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 9px; }
.video .chapters a:hover { color: var(--ink); border-color: var(--line-3); }
.video .chapters a i { font-style: normal; color: var(--muted); margin-right: 6px; }

.prose h2 .n { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-right: 14px; border-radius: 8px; border: 1px solid var(--line-2); font: 400 14px/1 var(--mono); color: var(--ink-2); vertical-align: 4px; }
.prose .box.tip { border-left: 2px solid var(--accent-2); background: rgb(241 171 72 / .05); }
.prose .box.tip .eyebrow { color: var(--accent-2); }
.prose .box.learn { border-left: 2px solid var(--accent); }
.prose .box.learn ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.prose .box.learn li { display: flex; gap: 12px; align-items: baseline; }
.prose .box.learn li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--accent); transform: translateY(-2px); }
.prose kbd { font: 500 12px/1 var(--mono); padding: 3px 6px; border: 1px solid var(--line-3); border-bottom-width: 2px; border-radius: 4px; color: var(--ink); background: rgb(var(--ink-rgb) / .04); }
.prose .checklist { list-style: none; padding: 0; }
.prose .checklist li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.prose .checklist li::before { content: ""; flex: none; width: 12px; height: 12px; border: 1px solid var(--line-3); border-radius: 3px; transform: translateY(1px); }
.lesson-pos { display: block; margin-top: 18px; font: 400 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lesson-pos a { color: var(--ink-2); }
.lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 56px; }
.lesson-nav a { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.lesson-nav a.next { text-align: right; grid-column: 2; }
.lesson-nav .eyebrow { font-size: 10px; }
.lesson-nav b { font: 500 17px/1.3 var(--sans); }
@media (max-width: 640px) { .lesson-nav { grid-template-columns: 1fr; } .lesson-nav a.next { grid-column: auto; } }

/* Learn: one ring with a gap behind the heading, turning slowly like a progress indicator. Its band starts further
   in than on the home loops, so the stroke is just as thick on this smaller ring. */
[data-bg="progress"] .ring.r2, [data-bg="progress"] .ring.r3 { opacity: 0; }
[data-bg="progress"] .ring.r1 { width: 92vmax; height: 92vmax; left: calc(50vw - 46vmax); top: calc(40vh - 46vmax); transform: rotate(-8deg) scaleY(.6); opacity: .72; filter: blur(1px); }
[data-bg="progress"] .ring.r1 i {
  -webkit-mask: radial-gradient(closest-side, transparent 0 80%, #000 83%, #000 95%, transparent 98.5%), conic-gradient(from 0deg, #000 0 250deg, transparent 290deg 360deg); -webkit-mask-composite: source-in;
  mask: radial-gradient(closest-side, transparent 0 80%, #000 83%, #000 95%, transparent 98.5%), conic-gradient(from 0deg, #000 0 250deg, transparent 290deg 360deg); mask-composite: intersect; }
[data-bg="progress"] .glow { left: calc(50vw - 35vmax); top: calc(40vh - 25vmax); }

/* Terms and Privacy */
.legal-prose { max-width: 720px; margin: 0 auto; }
.legal-prose ul { padding-left: 1.2em; display: grid; gap: .5em; }
.legal-prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- journal-first home: dashboard mock, prop account card, SOON marks ---------- */
.soonx { display: inline-block; margin-left: 6px; padding: 3px 6px; border: 1px dotted rgb(241 171 72 / .6); font: 500 9px/1 var(--mono); letter-spacing: .14em; color: var(--accent-2); vertical-align: 2px; }
.jd { display: grid; gap: 10px; padding: 12px; border-radius: 6px; border: 1px solid var(--line-2); background: #0a0b0d; text-align: left; }
.jd .eyebrow { font-size: 10px; }
.jd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.jd-kpis > div { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: rgb(var(--ink-rgb) / .02); }
.jd-kpis b { font: 400 clamp(20px, 2.4vw, 30px)/1 var(--sans); letter-spacing: -.03em; }
.jd-kpis small { font-size: 12px; color: var(--muted); }
.jd-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; }
.jd-cal, .jd-side { padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: rgb(var(--ink-rgb) / .02); }
.jd-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--ink); }
.jd-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.jd-grid .wd { font: 400 10px/1 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 3px; }
.jd-grid i { display: flex; flex-direction: column; justify-content: space-between; min-height: 46px; padding: 6px 7px; border-radius: 4px; border: 1px solid var(--line); font: normal 400 11.5px/1 var(--mono); color: var(--ink-2); }
.jd-grid i em { font: normal 400 10px/1 var(--mono); color: var(--muted); }
.jd-grid i.w { background: rgb(var(--green-rgb) / .12); border-color: rgb(var(--green-rgb) / .28); color: var(--green); }
.jd-grid i.l { background: rgb(var(--red-rgb) / .1); border-color: rgb(var(--red-rgb) / .26); color: var(--red); }
.jd-grid i.flag { box-shadow: inset 0 0 0 1px rgb(241 171 72 / .7); }
.jd-grid i.off { visibility: hidden; }
.jd-bars { display: grid; gap: 9px; }
.jd-bars div { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.jd-bars i { height: 8px; border-radius: 2px; background: linear-gradient(90deg, rgb(var(--green-rgb) / .75) var(--v), rgb(var(--ink-rgb) / .06) var(--v)); }
.jd-bars i.neg { background: linear-gradient(90deg, rgb(var(--red-rgb) / .7) var(--v), rgb(var(--ink-rgb) / .06) var(--v)); }
.jd-bars b { font: 400 12px/1 var(--mono); }
.jd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.jd-tags span { display: inline-flex; gap: 8px; align-items: center; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 12px; color: var(--ink-2); }
.jd-tags b { font: 400 11px/1 var(--mono); }
/* ---------- analytics showcase: tabs on the left, a piece of the dashboard on the right ---------- */
.ax { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 10px; padding: 10px; text-align: left; }
.ax-list { display: flex; flex-direction: column; gap: 2px; padding: 18px 14px 18px 18px; }
.ax-list [role="tab"] { display: grid; gap: 6px; padding: 14px 16px 14px 18px; border: 0; border-left: 1px solid var(--line-2); border-radius: 0; background: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ax-list [role="tab"] b { font: 500 19px/1.2 var(--sans); letter-spacing: -.015em; color: inherit; }
.ax-list [role="tab"] span { display: none; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ax-list [role="tab"]:hover { color: var(--ink-2); }
.ax-list [role="tab"][aria-selected="true"] { color: var(--ink); border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgb(var(--accent-rgb) / .07), transparent 70%); }
.ax-list [role="tab"][aria-selected="true"] span { display: block; }
.ax-list [role="tab"]:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
.ax-cta { align-self: flex-start; margin-top: auto; }
.ax-stage { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 46px 22px 22px; border-radius: 8px; border: 1px solid var(--line-2); overflow: hidden;
  background: radial-gradient(120% 80% at 80% 0%, rgb(var(--accent-rgb) / .16), transparent 60%), #0a0b0d; }
.ax-note { position: absolute; top: 18px; left: 22px; font-size: 10px; }
.ax-panel { display: flex; flex-direction: column; gap: 10px; flex: 1; animation: ax-in .45s cubic-bezier(.2, .7, .2, 1); }
.ax-panel[hidden] { display: none; }
@keyframes ax-in { from { opacity: 0; transform: translateY(8px); } }
.ax-box, .ax-k, .ax-mini, .ax-grid > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: rgb(var(--ink-rgb) / .025); }
.ax-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--ink); }
.ax-h b { font: 400 13px/1 var(--mono); }
.ax-cap { margin: 4px 2px 0; font-size: 14px; color: var(--ink-2); }
.ax-cap b { font-weight: 500; color: var(--ink); }
/* days */
.ax-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ax-k { position: relative; display: grid; gap: 6px; }
.ax-k b { font: 400 clamp(20px, 2.2vw, 26px)/1 var(--sans); letter-spacing: -.03em; }
.ax-k small { display: flex; align-items: center; gap: 5px; font: 400 11.5px/1.3 var(--mono); color: var(--muted); }
.ax-k small i { width: 7px; height: 7px; margin-left: 3px; }
.ax-k small i:first-child { margin-left: 0; }
.ax-k i.w { background: var(--green); } .ax-k i.l { background: var(--red); } .ax-k i.b { background: var(--muted); }
.ax-gauge { position: absolute; top: 12px; right: 12px; width: 52px; height: 32px; }
.ax-gauge path { fill: none; stroke-width: 6; }
.ax-gauge .t { stroke: var(--line-2); } .ax-gauge .w { stroke: var(--green); } .ax-gauge .l { stroke: var(--red); }
.ax-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; flex: 1; }
.ax-curve { display: block; width: 100%; height: 190px; }
.ax-curve line { stroke: var(--line); vector-effect: non-scaling-stroke; }
.ax-curve .a { fill: url(#ax-fill); }
.ax-curve .ln, .ax-mini .ln { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ax-axis { display: flex; justify-content: space-between; margin-top: 8px; font: 400 10px/1 var(--mono); color: var(--muted); }
.ax-weeks .w { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.ax-weeks .w small { grid-row: 2; font: 400 11px/1.2 var(--mono); color: var(--muted); }
.ax-weeks .w b { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 400 13px/1 var(--mono); color: var(--green); }
/* score */
.ax-score { flex: 1; display: flex; flex-direction: column; }
.ax-radar { display: block; width: 100%; max-width: 470px; margin: 0 auto; overflow: visible; }
.ax-radar .rr { fill: none; stroke: var(--line-2); }
.ax-radar .rr.outer { fill: rgb(var(--ink-rgb) / .02); }
.ax-radar line { stroke: var(--line); }
.ax-radar .area { fill: rgb(var(--accent-rgb) / .24); stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; }
.ax-radar circle { fill: #0a0b0d; stroke: var(--accent); stroke-width: 1.5; }
.ax-radar text { font: 400 11.5px var(--sans); fill: var(--ink-2); }
.ax-radar tspan { font: 500 11.5px var(--mono); fill: var(--green); }
.ax-radar tspan.mid { fill: var(--accent-2); }
.ax-scale { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.ax-scale > div:first-child { display: grid; gap: 4px; padding-right: 20px; border-right: 1px solid var(--line); }
.ax-scale > div:first-child b { font: 300 32px/1 var(--sans); letter-spacing: -.03em; }
.ax-scale small { font: 400 11px/1 var(--mono); color: var(--muted); }
.ax-scale .ax-track { position: relative; display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--accent-2) 45%, var(--green)); }
.ax-scale .ax-track i { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #0a0b0d; background: #fff; transform: translate(-50%, -50%); }
.ax-scale .ticks { display: flex; justify-content: space-between; margin-top: 9px; font: 400 10px/1 var(--mono); color: var(--muted); }
/* habits */
.ax-streaks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ax-streaks > div { display: grid; gap: 10px; }
.ax-st { display: flex; align-items: center; gap: 14px; }
.ax-st .ax-ring { flex: none; display: grid; place-content: center; width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--line-2); text-align: center; }
.ax-st .ax-ring b { font: 400 22px/1 var(--mono); }
.ax-st .ax-ring small { font: 400 9px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ax-st .ax-ring.w { border-color: var(--green); } .ax-st .ax-ring.w b { color: var(--green); }
.ax-st .ax-ring.l { border-color: var(--red); } .ax-st .ax-ring.l b { color: var(--red); }
.ax-st .pl { display: grid; gap: 6px; }
.ax-st .pl span { padding: 5px 9px; border-radius: 4px; font: 400 11.5px/1 var(--mono); white-space: nowrap; }
.ax-st .pl .w { background: rgb(var(--green-rgb) / .1); color: var(--green); }
.ax-st .pl .l { background: rgb(var(--red-rgb) / .1); color: var(--red); }
.ax-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ax-tags span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 13px; color: var(--ink); }
.ax-tags small { font: 400 11px/1 var(--mono); color: var(--muted); }
.ax-tags b { font: 400 12px/1 var(--mono); }
.ax-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ax-vs > div { display: grid; gap: 5px; padding: 12px 14px; border-radius: 5px; background: rgb(var(--ink-rgb) / .03); font-size: 13px; color: var(--ink-2); }
.ax-vs b { font: 400 22px/1 var(--sans); letter-spacing: -.02em; }
.ax-vs small { font: 400 11px/1 var(--mono); color: var(--muted); }
/* customize */
.ax-custom { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(120px, auto); gap: 10px; flex: 1; }
.ax-mini { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ax-mini svg { width: 100%; height: 70px; margin-top: auto; }
.ax-mini .dd { fill: rgb(var(--red-rgb) / .14); stroke: var(--red); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ax-mini > b { margin-top: auto; font: 300 40px/1 var(--sans); color: var(--green); }
.ax-mini .cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: auto; }
.ax-mini .cal i { height: 14px; border-radius: 2px; }
.ax-mini .cal i.w { background: rgb(var(--green-rgb) / .55); } .ax-mini .cal i.l { background: rgb(var(--red-rgb) / .5); }
.ax-mini.add { position: relative; grid-column: span 2; min-height: 300px; align-items: flex-start; justify-content: center; padding-left: 28px; border: 1px dashed rgb(var(--accent-rgb) / .6); background: rgb(var(--accent-rgb) / .05); color: var(--ink); font-size: 14px; }
.ax-menu { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 1px; width: 210px; padding: 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #0e0f12; box-shadow: 0 24px 50px -10px rgb(0 0 0 / .8); }
.ax-menu .eyebrow { margin-bottom: 6px; font-size: 9px; color: var(--accent); }
.ax-menu span:not(.eyebrow) { display: flex; justify-content: space-between; padding: 4px 2px; font-size: 12px; color: var(--muted); }
.ax-menu span.on, .ax-menu span.new { color: var(--ink); }
.ax-menu span.on::after, .ax-menu span.new::after { content: "✓"; color: var(--ink-2); }
.ax-menu span.new { margin: 0 -4px; padding: 4px 6px; border-radius: 3px; background: rgb(var(--accent-rgb) / .16); }
/* deeper */
/* drag grips, the full-width row, a widget mid-drag */
.ax-mini .eyebrow { display: flex; align-items: center; gap: 7px; }
.ax-mini .eyebrow em { margin-left: auto; font-style: normal; color: var(--accent); }
.ax-mini .grip { flex: none; width: 6px; height: 10px; background: radial-gradient(circle, var(--muted) 1px, transparent 1.2px) 0 0 / 3px 3.4px; }
.ax-mini.full { grid-column: 1 / -1; }
.ax-mini .yr { display: grid; grid-template-columns: repeat(36, minmax(0, 1fr)); grid-auto-rows: 7px; gap: 2px; margin-top: auto; }
.ax-mini .yr i { border-radius: 1px; background: rgb(var(--ink-rgb) / .05); }
.ax-mini .yr i.w { background: rgb(var(--green-rgb) / .5); } .ax-mini .yr i.l { background: rgb(var(--red-rgb) / .45); }
.ax-mini.drag { border-color: rgb(var(--accent-rgb) / .7); background: #101216; transform: rotate(-1.2deg) translate(4px, -4px); box-shadow: 0 24px 40px -14px rgb(0 0 0 / .85); }
.ax-menu:has(> div) { grid-template-columns: 1fr 1fr; gap: 0 12px; width: 400px; }
.ax-menu > div { display: grid; gap: 1px; align-content: start; }
.ax-menu > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.ax-menu .eyebrow.adv { color: var(--accent-2); }
.ax-custom:has(.full) .ax-mini.add { min-height: 210px; }

/* top trades with their charts, and day cards */
.ax-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.ax-chips span { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 4px; font: 400 10.5px/1 var(--mono); color: var(--muted); }
.ax-chips span.on { border-color: #fff; background: #fff; color: #050607; }
.ax-tt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ax-tc, .ax-dc { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: rgb(0 0 0 / .25); }
.ax-tc-img, .ax-dc-cover { display: block; aspect-ratio: 2 / 1; border-bottom: 1px solid var(--line); background: #0b0c0e; }
.ax-tc-img svg, .ax-dc-cover svg { display: block; width: 100%; height: 100%; }
.ax-tc svg .g, .ax-dc svg .g { stroke: rgb(255 255 255 / .05); }
.ax-tc svg .tz, .ax-dc svg .tz { fill: rgb(61 220 132 / .14); } .ax-tc svg .sz, .ax-dc svg .sz { fill: rgb(255 77 102 / .14); }
.ax-tc svg .u, .ax-dc svg .u { stroke: #3ddc84; fill: #3ddc84; } .ax-tc svg .d, .ax-dc svg .d { stroke: #ff4d66; fill: #ff4d66; }
.ax-tc svg .u line, .ax-tc svg .d line, .ax-dc svg .u line, .ax-dc svg .d line { stroke-width: .8; }
.ax-tc svg .en, .ax-dc svg .en { stroke: rgb(255 255 255 / .55); stroke-dasharray: 3 2; stroke-width: .8; }
.ax-tc svg .lt, .ax-dc svg .lt { fill: #3ddc84; } .ax-tc svg .ls, .ax-dc svg .ls { fill: #ff4d66; } .ax-tc svg .le, .ax-dc svg .le { fill: #5eb1fb; }
.ax-tc-b { display: grid; gap: 6px; padding: 9px 10px 10px; }
.ax-tc-top, .ax-tc-sub, .ax-dc-top { display: flex; justify-content: space-between; gap: 8px; }
.ax-tc-top b { font: 500 12.5px/1.2 var(--sans); color: var(--ink); white-space: nowrap; }
.ax-tc-top b.num { font: 400 12px/1.2 var(--mono); color: var(--green); }
.ax-tc-sub { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.ax-tc-sub .pos { color: var(--green); }
.ax-tc-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ax-tc-tags span { padding: 3px 6px; border: 1px solid var(--line-2); border-radius: 3px; font-size: 10.5px; color: var(--ink-2); white-space: nowrap; }
.ax-views { display: flex; gap: 2px; }
.ax-views i { display: grid; place-items: center; width: 26px; height: 22px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); }
.ax-views i.on { border-color: #fff; background: #fff; color: #050607; }
.ax-views svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.ax-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ax-dc { display: grid; gap: 4px; padding-bottom: 9px; }
.ax-dc-cover.tile { display: grid; place-content: center; justify-items: center; gap: 2px; background: rgb(var(--ink-rgb) / .03); font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ax-dc-cover.tile b { font: 300 26px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.ax-dc-cover .sq { display: flex; gap: 3px; margin-top: 5px; }
.ax-dc-cover .sq i { width: 7px; height: 7px; } .ax-dc-cover .sq .w { background: var(--green); } .ax-dc-cover .sq .l { background: var(--red); }
.ax-dc-top { align-items: center; padding: 6px 10px 0; font-size: 12px; color: var(--ink); }
.ax-dc-top b { padding: 3px 6px; border-radius: 4px; font: 400 11px/1 var(--mono); }
.ax-dc-top b.pos { background: rgb(var(--green-rgb) / .12); color: var(--green); } .ax-dc-top b.neg { background: rgb(var(--red-rgb) / .12); color: var(--red); }
.ax-dc small { padding: 0 10px; font-size: 10.5px; color: var(--muted); }

.ax-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 1; }
.ax-grid > div { display: grid; gap: 6px; align-content: start; }
.ax-grid b { font: 400 clamp(19px, 2vw, 24px)/1.1 var(--sans); letter-spacing: -.025em; }
.ax-grid small { font-size: 12.5px; color: var(--muted); }
/* free tools row (prop section) */
.ft { margin-top: var(--gap); padding: 26px; border-radius: 10px; text-align: left; }
.ft-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 18px; }
.ft-h .tag { flex-basis: 100%; }
.ft-h h3 { margin: 0; }
.ft-h h3 em { font-style: normal; color: var(--muted); }
.ft-all { margin-left: auto; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.ft-all:hover { color: var(--ink); }
.ft-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ft-list a { display: grid; gap: 4px; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: color .2s; }
.ft-list a b { font-weight: 500; font-size: 15px; }
.ft-list a b::after { content: ' →'; color: var(--muted); transition: color .2s; }
.ft-list a span { font-size: 13px; color: var(--muted); }
.ft-list a:hover b::after { color: var(--accent); }
@media (max-width: 900px) { .ft-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ft { padding: 20px 16px; } .ft-all { margin-left: 0; } }

/* beginner / seasoned */
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); }
.levels h3 { max-width: 22ch; }
@media (max-width: 1080px) {
  .ax { grid-template-columns: minmax(0, 1fr); }
  .ax-list { padding: 10px 6px 4px; }
  .ax-cta { display: none; }
}
@media (max-width: 640px) {
  .ax-stage { min-height: 0; padding: 40px 12px 12px; }
  .ax-note { left: 14px; top: 16px; }
  .ax-kpis { grid-template-columns: 1fr 1fr; }
  .ax-kpis > :first-child { grid-column: span 2; }
  .ax-row, .ax-streaks, .levels { grid-template-columns: minmax(0, 1fr); }
  .ax-custom { grid-template-columns: 1fr 1fr; }
  .ax-mini.add { min-height: 330px; justify-content: flex-start; padding-top: 18px; }
  .ax-menu { left: 14px; right: 14px; top: auto; bottom: 14px; width: auto; transform: none; }
  .ax-list [role="tab"] b { font-size: 17px; }
  .ax-tt { grid-template-columns: minmax(0, 1fr); }
  .ax-tt > :nth-child(n+2), .ax-days > :nth-child(3) { display: none; }
  .ax-days { grid-template-columns: 1fr 1fr; }
  .ax-dc-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ax-h:has(.ax-chips) { flex-direction: column; align-items: flex-start; }
  .ax-chips { justify-content: flex-start; }
  .ax-mini .yr { grid-template-columns: repeat(18, minmax(0, 1fr)); }
  .ax-mini .yr i:nth-child(n+91) { display: none; }
  .ax-menu:has(> div) { width: auto; gap: 0 8px; }
  .ax-menu > div + div { padding-left: 8px; }
  .ax-custom:has(.full) .ax-mini.add { min-height: 250px; }
}
/* ---------- backtesting showcase (reuses .ax) ---------- */
.head .bt-byod { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 7px 12px 7px 7px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); }
.bt-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; color: #0a0b0d; background: var(--accent); }
.bt-pill { padding: 4px 8px; border-radius: 999px; font: 400 11px/1 var(--mono); color: var(--ink-2); border: 1px solid var(--line-2); }
.bt-pill.live { color: var(--green); border-color: rgb(var(--green-rgb) / .35); background: rgb(var(--green-rgb) / .08); }
.bt-chal { display: grid; gap: 14px; }
.bt-rule { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; font-size: 13.5px; color: var(--ink); }
.bt-rule small { margin-left: 6px; font-size: 11.5px; color: var(--muted); }
.bt-rule b { font: 400 12.5px/1 var(--mono); color: var(--ink-2); align-self: center; }
.bt-rule b.pos { color: var(--green); }
.bt-bar { grid-column: 1 / -1; display: block; height: 4px; border-radius: 2px; background: rgb(var(--ink-rgb) / .08); overflow: hidden; }
.bt-bar > i { display: block; height: 100%; border-radius: 2px; background: var(--green); }
.bt-bar.neg > i { background: var(--red); }
.bt-row { flex: 0 0 auto; }
.bt-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.bt-checks li { display: flex; gap: 9px; align-items: baseline; }
.bt-checks li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); transform: translateY(-1px); }
.bt-result { display: grid; align-content: start; gap: 8px; }
.bt-big { font: 400 clamp(26px, 3vw, 34px)/1 var(--sans); letter-spacing: -.03em; }
.bt-result small { font: 400 11.5px/1.4 var(--mono); color: var(--muted); }
.bt-next { margin-top: 6px; font-size: 13px; color: var(--accent); }
.bt-flame { display: inline-flex; align-items: center; gap: 4px; }
.bt-flame svg { color: var(--accent-2); }
.bt-blind { position: relative; flex: 1; display: flex; flex-direction: column; }
.bt-blind .ax-h b { color: var(--accent-2); }
.bt-candles { display: block; width: 100%; height: 150px; flex: 1; }
.bt-candles .u rect { fill: var(--green); } .bt-candles .d rect { fill: var(--red); }
.bt-candles .cur { stroke: var(--accent); stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.bt-future { position: absolute; right: 16px; bottom: 16px; top: 46px; width: 34%; display: grid; place-items: center; border-left: 1px dashed var(--line-2); font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  background: repeating-linear-gradient(135deg, rgb(var(--ink-rgb) / .035) 0 6px, transparent 6px 12px); }
.bt-hours { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bt-hours .eyebrow { margin-right: 6px; }
.bt-hours span:not(.eyebrow) { padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 12.5px; color: var(--ink-2); }
.bt-hours span.on { color: var(--ink); border-color: var(--accent); background: rgb(var(--accent-rgb) / .1); }
.bt-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.bt-kinds .ax-box { display: grid; align-content: start; gap: 8px; }
.bt-kinds b { font: 500 16px/1.2 var(--sans); color: var(--ink); }
.bt-kinds p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.bt-n { font: 400 11px/1 var(--mono); color: var(--accent); }
.bt-pill.hc { color: var(--red); border-color: rgb(var(--red-rgb) / .35); background: rgb(var(--red-rgb) / .08); }
.bt-rule b.neg { color: var(--red); }
.bt-hc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bt-hc .ax-box { display: grid; align-content: start; gap: 6px; padding: 12px; }
.bt-hc b { font: 500 13px/1.25 var(--sans); color: var(--ink); }
.bt-hc span { font: 400 11.5px/1.35 var(--mono); color: var(--muted); }
@media (max-width: 1100px) { .bt-hc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bt-list { display: grid; }
.bt-list > div { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid var(--line); }
.bt-list > div:first-child { border-top: 0; padding-top: 0; }
.bt-list b { font-weight: 500; font-size: 13.5px; color: var(--ink); }
.bt-list span { font-size: 12.5px; color: var(--muted); }
.bt-ctx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; }
.bt-ctx b { font-weight: 500; color: var(--ink); margin-right: 6px; }
.bt-ctx span { padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--ink-2); font-size: 12.5px; }
.bt-heat { display: grid; grid-template-columns: auto repeat(6, minmax(0, 1fr)); gap: 4px; align-items: center; font: 400 10.5px/1 var(--mono); color: var(--muted); }
.bt-heat > span { text-align: center; padding: 2px 0; }
.bt-heat > span:nth-child(7n + 1) { text-align: right; padding-right: 6px; }
.bt-heat i { height: 22px; border-radius: 3px; background: rgb(var(--green-rgb) / calc(var(--v) * .75)); }
.bt-heat i.n { background: rgb(var(--red-rgb) / calc(var(--v) * .8)); }
.bt-heat i.best { outline: 1.5px solid #fff; outline-offset: 1px; }
.bt-vs { display: grid; grid-template-columns: 1fr 80px 80px; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }
.bt-vs b { font: 400 13px/1 var(--mono); text-align: right; align-self: center; }
.bt-vs.bt-vs-h { border-top: 0; padding: 0 0 6px; }
.bt-vs small { font: 400 10.5px/1 var(--mono); color: var(--muted); text-align: right; text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 640px) {
  .bt-kinds { grid-template-columns: minmax(0, 1fr); }
  .bt-vs { grid-template-columns: 1fr 64px 64px; }
  .bt-future { width: 40%; }
  .head .bt-byod { border-radius: 8px; text-align: left; }
}
.pa { align-self: center; display: grid; gap: 14px; padding: 22px; border-radius: 8px; border: 1px solid var(--line-2); background: #0a0b0d; }
.pa-h { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.pa-h b { font-weight: 500; }
.pa-bal { font: 300 34px/1 var(--sans); letter-spacing: -.03em; }
.pa-bal small { font: 400 14px/1 var(--mono); margin-left: 8px; letter-spacing: 0; }
.pa-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; font-size: 13px; color: var(--ink-2); }
.pa-row b { font: 400 12.5px/1.2 var(--mono); color: var(--ink); }
.pa-row i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgb(var(--ink-rgb) / .07); overflow: hidden; }
.pa-row u { display: block; height: 100%; background: var(--accent-2); border-radius: 3px; }
.pa-row u.g { background: var(--green); }
.pa-note { padding: 12px 14px; border-left: 2px solid var(--accent); background: rgb(var(--accent-rgb) / .06); font-size: 13px; color: var(--ink); }
@media (max-width: 860px) {
  .jd-kpis { grid-template-columns: repeat(2, 1fr); }
  .jd-main { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .jd { padding: 8px; }
  .jd-grid i { min-height: 38px; padding: 4px; font-size: 9.5px; }
}

/* Performance and mobile fixes (Nov 2026 audit).
   The hero is the first thing on screen and the page's largest paint: it rises into place without starting
   transparent, so the browser counts it as painted straight away. */
.js .hero .rv, .js .page-hero .rv, .js .article-head .rv, .js .article-cover.rv { opacity: 1; transition-duration: .5s; }
.js .hero [data-split], .js .page-hero [data-split], .js .article-head [data-split] { opacity: 1; transition-duration: .5s; }
.hero .fine span { white-space: nowrap; }
@media (max-width: 640px) {
  .hero .fine { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
  .hero .fine span + span::before { display: none; }
  .bar .links a { font-size: 11px; }
  /* Screenshots of tables stay legible: scroll them sideways instead of shrinking the text */
  .crop.scroll-sm { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .crop.scroll-sm > img { min-width: 640px; }
  .foot a { padding: 6px 0; }
  .foot-top .foot-cta { width: 100%; }
  .foot-top .foot-cta .btn { flex: 1 1 0; justify-content: center; padding-inline: 12px; }
}
.made-by { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(var(--ink-rgb) / .35); }
.made-by:hover { color: var(--ink); }

/* Article byline: the Wickform mark, the author, the date and the reading time */
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; font: 400 14px/1.3 var(--sans); color: var(--ink-2); }
.byline img { width: 28px; height: 28px; border-radius: 6px; }
.byline b { font-weight: 500; color: var(--ink); }
.byline span { display: inline-flex; align-items: center; gap: 7px; }
.byline svg { color: var(--muted); flex: none; }
.byline > i { width: 1px; height: 16px; background: var(--line-2); }
.article-head .byline { justify-content: center; }
.disclosure { padding: 12px 16px; border-left: 2px solid var(--line-2); font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .byline > i { display: none; } .byline { gap: 8px 16px; } }

/* Section index lists (prop firms, tools, guides, glossary…: scripts/content.mjs) */
.prose .ix-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 24px 0 8px; }
.prose .ix-item { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 10px; text-decoration: none; color: var(--ink-2); transition: border-color .2s, background .2s; }
.prose .ix-item b { font: 500 16px/1.3 var(--sans); color: var(--ink); }
.prose .ix-item span { font-size: 13.5px; line-height: 1.45; }
.prose .ix-item:hover { border-color: var(--line-3); background: rgb(var(--ink-rgb) / .05); }
.prose .lede { font-size: 1.12em; }
.prose ol { padding-left: 1.3em; }
.prose ol li { margin: 8px 0; }
.nv-h a { color: inherit; text-decoration: none; }
.nv-h a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* Data tables on generated pages (prop firm rules, contract specs): compact, left-aligned, no wide first column */
.cmp.data { min-width: 560px; font-size: 13.5px; }
.cmp.data.wide { min-width: 860px; }
.cmp.data th, .cmp.data td { padding: 12px 14px; text-align: left; vertical-align: top; }
.cmp.data th:first-child, .cmp.data td:first-child { width: auto; white-space: nowrap; color: var(--ink); }
.cmp.data thead th { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cmp.data.wide td:last-child { white-space: nowrap; }
/* ---------- Free tool pages (scripts/content.mjs toolPage): a tool, not an article ----------
   A short centred heading with facts as pills, the tool across the page, then how it works beside the FAQ, the
   other tools as cards, and the closing call. */
.tp { width: min(1480px, 100% - 32px); margin-inline: auto; }
.tp-head { max-width: 920px; margin: 0 auto; padding-top: 40px; text-align: center; }
.tp-head h1 { margin: 18px auto 0; font: 500 clamp(34px, 4.6vw, 56px)/1.06 var(--sans); letter-spacing: -.04em; }
.tp-head .dek { margin: 16px auto 0; max-width: 720px; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.tp-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
/* a tool running on its page (src/web/): space held until it draws, so nothing below jumps */
.wf-live { margin: 32px 0 0; padding: 0; scroll-margin-top: 90px; }
.wf-live .wf-tool { min-height: var(--wf-h, 640px); }
.wf-live.ready .wf-tool { min-height: 0; }
/* a tool shown as in the app (the prop firm comparison): no heading, pills or card, just the tool */
.tp-app { padding-top: 28px; }
.tp-app .wf-live { margin: 0; }
.tp-app .wf-tool { padding: 0; background: none; border: 0; box-shadow: none; }
.tp-app .tl-head h1 { font: 600 clamp(26px, 3vw, 34px)/1.15 var(--sans); letter-spacing: -.01em; }
.tp-open { display: grid; justify-items: center; gap: 22px; max-width: 900px; margin: 32px auto 0; }
.tp-open .tool-art { display: block; width: 100%; padding: 18px 18px 12px; color: var(--ink-2); }
.tp-open .tool-art svg { display: block; width: 100%; max-height: 300px; height: auto; }
.tp-body { margin-top: clamp(48px, 6vw, 80px); }
.tp-body > * + * { margin-top: 0; }
.tp-main > * + * { margin-top: 1.1em; }
.tp-main > h2:first-child { margin-top: 0; }
.tp-main p { max-width: 860px; }
/* How it works and the FAQ: two cards side by side, each with a small label over its heading */
.tp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); align-items: stretch; }
.tp-cols.one { grid-template-columns: minmax(0, 1fr); }
.tp-card { padding: clamp(22px, 2.6vw, 36px); border-radius: 14px; }
.tp-card > .eyebrow { display: block; margin-bottom: 12px; }
.tp-card h2 { margin: 0 0 18px; font: 500 clamp(24px, 2.4vw, 30px)/1.15 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.tp-card h3 { margin: 22px 0 8px; font-size: 17px; }
.tp-how p { margin: 0; font-size: 16px; line-height: 1.7; }
.tp-how p + p { margin-top: 14px; }
/* the formula and the worked numbers stand out from the prose */
.tp-how strong { font: 500 .95em/1.5 var(--mono); color: var(--ink); background: rgb(var(--ink-rgb) / .06); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.tp-faq details { border: 0; border-top: 1px solid var(--line); padding: 0; }
.tp-faq details:last-of-type { border-bottom: 0; }
.tp-faq summary { padding: 16px 0; font-size: 16px; }
.tp-faq summary:hover { color: var(--accent); }
.tp-faq details p { margin: -4px 0 0; padding: 0 28px 18px 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 640px) { .tp-how strong { white-space: normal; } }
.tp-body > #more { margin-top: clamp(48px, 6vw, 80px); }
.tp-more { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; margin-top: 20px !important; }
.tp-body > .note { margin-top: 32px; }
.tp-closing { width: min(var(--wrap), 100%); margin-inline: auto; padding-top: clamp(64px, 8vw, 110px); } /* as wide as the footer */
@media (max-width: 900px) { .tp-cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tp-head { padding-top: 20px; } }
.legal p a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
/* Disclaimer box on generated pages (scripts/content.mjs) */
.prose .box.warn { border-left: 2px solid var(--accent-2, #f1ab48); background: rgb(241 171 72 / .05); }
.prose .box.warn .eyebrow { color: var(--accent-2, #f1ab48); }
.prose .box.warn p { margin: 0 0 .6em; font-size: 15px; }
.prose .box.warn p:last-child { margin-bottom: 0; }
.prose .note { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }

/* ---------- hero versions B–E (home page switcher, see site.js) ---------- */
.hx { padding: 48px 0 0; }
.hx h1 em { font-style: normal; background: linear-gradient(180deg, #fff 10%, #9aa3ae 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hx .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hx .fine { font: 400 12px/1.5 var(--mono); color: var(--muted); letter-spacing: .04em; }
.hx .fine span + span::before { content: "·"; margin: 0 10px; color: var(--dim); }
.hx .sub { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); }
.bar-m { height: 6px; border-radius: 2px; background: rgb(var(--ink-rgb) / .07); overflow: hidden; }
.bar-m > i { display: block; height: 100%; width: var(--v); background: rgb(var(--green-rgb) / .8); }
.bar-m.neg > i { background: rgb(var(--red-rgb) / .75); }

/* B: split, copy left, live rule desk right */
.desk { padding: 18px; text-align: left; }
.rules { display: grid; gap: 16px; padding: 18px 4px; }
.rule { display: grid; gap: 8px; }

/* C: centred headline, P&L month ribbon with a flagged day */
.hc { text-align: center; }
.hc h1 { margin: 26px auto 0; max-width: 16ch; font: 500 clamp(40px, 6.2vw, 76px)/1.02 var(--sans); letter-spacing: -.045em; }
.hc .sub { margin: 26px auto 0; max-width: 600px; }
.hc .ctas { justify-content: center; margin-top: 34px; }
.hc .fine { margin-top: 18px; }
.days { display: grid; grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 4px; align-items: end; height: 170px; }
.days i { position: relative; display: block; border-radius: 3px; height: calc(var(--h) * 1%); }
.days i.w { background: linear-gradient(180deg, rgb(var(--green-rgb) / .75), rgb(var(--green-rgb) / .18)); }
.days i.l { background: linear-gradient(0deg, rgb(var(--red-rgb) / .75), rgb(var(--red-rgb) / .15)); align-self: start; }
.days i.e { visibility: hidden; }
.days i.flag { box-shadow: 0 0 0 1px var(--accent-2), 0 0 24px rgb(241 171 72 / .35); }

/* D: centred headline with review cards fanned around it */

/* E: editorial, huge left headline, metadata rule, wide screenshot bleed */
@media (max-width: 640px) {
  .hx { padding-top: 24px; }
  .days { gap: 2px; }
}

/* ---------- hero versions F–I (moving parts in heroes.js) ---------- */
.hx h1 { text-wrap: balance; }
/* F: live chart behind the headline */
.hf { padding-top: 0; }
/* fills the first screen; 24px more padding below because the fixed nav overlaps the space above (main pads 88px, nav ends at 64px),
   so the copy sits the same distance from the nav as from the bottom of the window */
.hf-stage { position: relative; min-height: max(640px, calc(100svh - 88px)); padding-block: 40px 64px; display: flex; }
.hf canvas { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .2) 32%, #000 62%); mask: linear-gradient(90deg, transparent 0, rgb(0 0 0 / .2) 32%, #000 62%); }
.hf-in { position: relative; z-index: 2; display: flex; align-items: center; }
.hf-copy { max-width: 640px; }
.hf .tag { justify-content: flex-start; }
.hf h1 { margin: 24px 0 0; font: 500 clamp(38px, 4.6vw, 62px)/1.04 var(--sans); letter-spacing: -.045em; }
.hf .sub { margin: 24px 0 0; max-width: 580px; } /* 3 lines at full size */
.hf .ctas { margin-top: 32px; }
.hf .fine { margin-top: 16px; }
.hf-note { position: absolute; z-index: 3; left: 0; top: 0; width: 280px; /* heroes.js moves it with translate, pinned to the closed trade */ padding: 16px; text-align: left;
  opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .45s, transform .55s cubic-bezier(.2,.8,.2,1.15); }
.hf-note.show { opacity: 1; transform: none; }
.hf-n-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hf-n-top .eyebrow { font-size: 10px; color: var(--ink-2); }
.hf-n-pnl { font: 400 18px/1 var(--mono); }
.hf-n-t { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.hf-n-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.hf-n-tags span { padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 4px; font: 400 10.5px/1 var(--mono); color: var(--ink-2); }
.hf-n-tags span.bad { color: var(--red); border-color: rgb(var(--red-rgb) / .35); }
.hf-n-f { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.hf-n-f .eyebrow { font-size: 9.5px; }

/* G: equity vs trailing drawdown */

/* H: "Today I …" and a journal page */
.hh { text-align: center; }
.hh .sub { margin: 22px auto 0; max-width: 520px; }
.hh .ctas { justify-content: center; margin-top: 32px; }
.hh .fine { margin-top: 16px; }

/* I: a year as one heat map */
.hi { text-align: center; }
.hi h1 { margin: 26px auto 0; max-width: 15ch; font: 500 clamp(40px, 6vw, 74px)/1.02 var(--sans); letter-spacing: -.045em; }
.hi .sub { margin: 24px auto 0; max-width: 580px; }
.hi .ctas { justify-content: center; margin-top: 32px; }
.hi .fine { margin-top: 16px; }
.hi-read { margin: 0 0 0 auto; font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
.hi-read b { color: var(--ink); font-weight: 400; }
.hi-scroll { overflow-x: auto; padding-bottom: 4px; }
.hi-plot { position: relative; min-width: 720px; padding-top: 62px; }
.hi-months, .hi-grid { display: grid; grid-template-columns: repeat(52, minmax(0, 1fr)); gap: 3px; }
.hi-months { position: absolute; top: 42px; left: 0; right: 0; font: 400 10px/1 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.hi-grid { grid-template-rows: repeat(5, auto); grid-auto-flow: column; }
.hi-grid i { aspect-ratio: 1; border-radius: 2px; background: rgb(var(--ink-rgb) / .04); transition: transform .15s; }
.hi-grid i:hover { transform: scale(1.35); position: relative; z-index: 1; outline: 1px solid #fff; }
.hi-grid .n, .hi-legend .n { background: rgb(var(--ink-rgb) / .04); }
:is(.hi-grid, .hi-legend) .w1 { background: rgb(var(--green-rgb) / .2); }
:is(.hi-grid, .hi-legend) .w2 { background: rgb(var(--green-rgb) / .4); }
:is(.hi-grid, .hi-legend) .w3 { background: rgb(var(--green-rgb) / .65); }
:is(.hi-grid, .hi-legend) .w4 { background: rgb(var(--green-rgb) / .95); }
:is(.hi-grid, .hi-legend) .l1 { background: rgb(var(--red-rgb) / .2); }
:is(.hi-grid, .hi-legend) .l2 { background: rgb(var(--red-rgb) / .4); }
:is(.hi-grid, .hi-legend) .l3 { background: rgb(var(--red-rgb) / .65); }
:is(.hi-grid, .hi-legend) .l4 { background: rgb(var(--red-rgb) / .95); }
.hi-mark { position: absolute; top: 0; bottom: 0; left: calc(var(--at) / 52 * 100% - 1.5px); border-left: 1px dashed var(--accent-2); pointer-events: none; }
.hi-mark > span { position: absolute; top: 0; left: 8px; padding: 0 6px; background: rgb(10 11 13 / .85); display: grid; gap: 3px; white-space: nowrap; font-size: 12px; color: var(--ink-2); }
.hi-mark b { color: var(--accent-2); font-weight: 500; font-size: 12.5px; }
.hi-mark .neg, .hi-mark .pos { font-family: var(--mono); }
.hi-plot { margin-top: 8px; }
.hi-legend { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 16px; font-size: 11.5px; color: var(--muted); }
.hi-legend i { width: 11px; height: 11px; border-radius: 2px; }
/* The year map inside the Analytics tabs: narrower than the hero, label row a little shorter */
.ax-year .ax-h { margin-bottom: 4px; }
.ax-stage:has(#ax-p-change:not([hidden])) .ax-note { visibility: hidden; } /* a sample year, not the demo journal */
.ax-year .hi-read { margin: 0; font-size: 11.5px; }
.ax-year .hi-plot { min-width: 560px; padding-top: 68px; }
.ax-year .hi-months { top: 50px; } /* below the two-line change label */
.ax-year .hi-grid { gap: 2px; }
.ax-year .hi-legend { margin-top: 12px; }

/* Journal, per day: a month of daily bars with the mistake days outlined and one day's note */
.db-svg { display: block; width: 100%; height: 72px; overflow: visible; }
.db-svg line { stroke: var(--line-2); stroke-dasharray: 2 2; vector-effect: non-scaling-stroke; }
.db-svg rect { rx: 1; }
.db-svg .w { fill: rgb(var(--green-rgb) / .7); }
.db-svg .l { fill: rgb(var(--red-rgb) / .7); }
.db-svg .mk { stroke: var(--accent-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.db-svg .on { stroke-width: 2; fill: rgb(var(--red-rgb) / .95); }
.db-note { margin-top: 12px; padding: 10px 12px; border-left: 2px solid var(--accent-2); background: rgb(var(--ink-rgb) / .03); font-size: 13px; color: var(--ink-2); display: grid; gap: 3px; }
.db-note .num { font-size: 12px; }
.db-key { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.db-key i { width: 9px; height: 9px; border: 1px solid var(--accent-2); border-radius: 1px; }

/* Prop, pass odds: the result the card describes */
.po { display: grid; gap: 12px; }
.po-top { display: flex; align-items: baseline; gap: 12px; font-size: 13px; color: var(--ink-2); }
.po-top > b { font: 300 44px/1 var(--sans); letter-spacing: -.04em; color: var(--ink); }
.po-top > b small { font-size: 20px; margin-left: 1px; }
.po-top span b { color: var(--ink); font-weight: 500; }
.po-bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgb(var(--ink-rgb) / .07); }
.po-bar .g { background: var(--green); } .po-bar .r { background: var(--red); }
.po-k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--ink-2); }
.po-k i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.po-k i.g { background: var(--green); } .po-k i.r { background: var(--red); }
.po-k .eyebrow { margin-left: auto; }
.hi-legend span:first-child { margin-right: 5px; } .hi-legend span:last-child { margin-left: 5px; }

@media (max-width: 980px) {
  .hf-stage { min-height: 0; padding: 40px 0 0; display: block; }
  .hf canvas { opacity: .35; -webkit-mask: none; mask: none; }
  .hf-note { position: relative; inset: auto; width: auto; margin: 32px 16px 0; opacity: 1; transform: none; }
  .hh-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .hh-txt { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hg-card, .hi-card { margin-top: 44px; padding: 14px; }
  .hg-alert { width: 72%; font-size: 12px; }
  .hh-page { padding: 16px; }
  .hi-read { width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-row, .hh-margin, .hf-note, .hg-alert, .hg-ghost { transition: none; }
  .hi-grid.go i { animation: none; }
}

/* F: live rule desk under the copy; it reacts to each trade that closes on the chart (heroes.js) */
.hf-desk { margin-top: 30px; max-width: 540px; padding: 16px 18px 14px; }
.hf-dh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hf-dh .eyebrow { font-size: 10px; }
.hf-state { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 5px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: rgb(var(--green-rgb) / .1); border: 1px solid rgb(var(--green-rgb) / .3); transition: color .3s, background .3s, border-color .3s; }
.hf-state::before { content: ""; width: 5px; height: 5px; background: currentColor; }
.hf-state.warn { color: var(--accent-2); background: rgb(241 171 72 / .1); border-color: rgb(241 171 72 / .35); }
.hf-state.done { color: var(--accent); background: rgb(var(--accent-rgb) / .1); border-color: rgb(var(--accent-rgb) / .35); }
.hf-dg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; margin-top: 14px; }
.hf-day { display: grid; gap: 6px; padding-right: 22px; border-right: 1px solid var(--line); }
.hf-day .eyebrow { font-size: 10px; }
.hf-day b { font: 300 34px/1 var(--mono); letter-spacing: -.03em; transition: color .3s; min-width: 4.6ch; }
.hf-day small { font-size: 12px; color: var(--muted); }
.hf-day.flash b { animation: hfFlash .7s ease-out; }
@keyframes hfFlash { 30% { text-shadow: 0 0 18px currentColor; } }
.hf-meters { display: grid; gap: 12px; }
.hf-m { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; font-size: 12.5px; color: var(--ink-2); }
.hf-m b { font: 400 11.5px/1.3 var(--mono); color: var(--ink); }
.hf-m .bar-m { grid-column: 1 / -1; }
.hf-m .bar-m > i { transition: width .8s cubic-bezier(.2,.8,.2,1), background .3s; }
.hf-firms { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.hf-firms .eyebrow { font-size: 10px; }
.hf-firms .belt { gap: 18px; animation-duration: 30s; }
.hf-firms .belt span { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.hf-firms .belt em { font: normal 500 9px/1 var(--mono); letter-spacing: .1em; color: var(--muted); margin-left: 4px; padding: 2px 4px; border: 1px solid var(--line-2); border-radius: 3px; vertical-align: 2px; }
@media (max-width: 640px) {
  .hf-dg { grid-template-columns: 1fr; gap: 14px; }
  .hf-day { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- J/K/L: the first heroes (Oct 2026), restyled only where class names collided ---------- */
.marquee .chip.txt { padding-left: 18px; }
@media (prefers-reduced-motion: reduce) { .hf-day.flash b { animation: none; } }
/* Backtesting: look back at a trade */
.bt-look { position: relative; flex: 1; display: flex; flex-direction: column; }
.bt-look-chart { display: block; width: 100%; height: auto; flex: 1; min-height: 0; }
.bt-look-chart .wk line { stroke: rgb(var(--ink-rgb) / .35); stroke-width: 1; }
.bt-look-chart .u rect { fill: var(--green); } .bt-look-chart .d rect { fill: var(--red); }
.bt-look-chart .tp { fill: rgb(var(--green-rgb) / .13); }
.bt-look-chart .sl { fill: rgb(var(--red-rgb) / .26); } /* stronger than the hero's: this panel is darker */
.bt-look-chart .en { stroke: rgb(255 255 255 / .5); stroke-width: 1; stroke-dasharray: 4 4; }
.bt-look-chart .lk { stroke: var(--green); stroke-dasharray: 3 3; }
.bt-look-chart .ent { fill: var(--red); }
.bt-look-chart .ex { fill: var(--green); stroke: #fff; stroke-width: 1.3; }
.bt-look-chart .chip { fill: var(--green); }
.bt-look-chart text { font: 600 9.5px var(--mono); fill: #0a0b0d; }
.bt-look-card { position: absolute; top: 46px; right: 16px; display: grid; gap: 7px; min-width: 250px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 4px; background: #0a0b0d; box-shadow: 0 10px 30px rgb(0 0 0 / .45); font: 400 12px/1.2 var(--mono); }
.bt-look-card > div { display: flex; justify-content: space-between; gap: 18px; }
.bt-look-card span { color: var(--muted); }
.bt-look-card b { font-weight: 400; color: var(--ink); }
.bt-look-card b:first-child { font-weight: 600; }
.bt-look-card em { font-style: normal; margin-left: 10px; }
.bt-look-card .pos { color: var(--green); } .bt-look-card .neg { color: var(--red); }
.bt-look-card .net { padding-top: 7px; border-top: 1px solid var(--line-2); }
.bt-look-card span, .bt-look-card b { white-space: nowrap; }
@media (max-width: 640px) {
  .bt-look-card { position: static; margin-top: 10px; min-width: 0; font-size: 11px; }
  .bt-look-card > div { gap: 10px; }
  .bt-look-card em { margin-left: 6px; }
  .bt-look .ax-h .eyebrow { display: none; }
}
.bt-trades { display: grid; }
.bt-trades > div { display: grid; grid-template-columns: 1fr auto 28px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.bt-trades > div:first-child { border-top: 0; padding-top: 0; }
.bt-trades b { font: 400 13px/1 var(--mono); }
.bt-trades b.pos { color: var(--green); } .bt-trades b.neg { color: var(--red); }
.bt-trades i { display: grid; place-items: center; width: 28px; height: 24px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--muted); }
.bt-trades .on { color: var(--ink); }
.bt-trades .on i { color: var(--ink); border-color: var(--accent); background: rgb(var(--accent-rgb) / .1); }

/* Journal → Discipline: a "Done for today" banner, followed vs broken, the streak strip and what breaks cost (sample) */
.dl-art { display: grid; gap: 10px; align-content: start; }
.dl-lock { display: grid; gap: 5px; padding: 16px 18px; border: 1px solid rgb(var(--green-rgb) / .35); border-radius: 6px; background: linear-gradient(90deg, rgb(var(--green-rgb) / .16), rgb(var(--green-rgb) / .03)); }
.dl-lock .eyebrow { color: var(--green); }
.dl-lock b { font: 500 19px/1.2 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.dl-lock span:not(.eyebrow) { font-size: 13px; color: var(--ink-2); }
.dl-lock i { justify-self: start; margin-top: 6px; padding: 7px 12px; border-radius: 6px; background: #fff; color: #050607; font: 500 12.5px/1 var(--sans); font-style: normal; }
.dl-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-sides > div, .dl-streak { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: rgb(var(--ink-rgb) / .025); }
.dl-sides .ok { border-left: 3px solid var(--green); } .dl-sides .bad { border-left: 3px solid var(--red); }
.dl-sides b { font: 400 24px/1 var(--sans); letter-spacing: -.02em; }
.dl-sides small, .dl-streak small { font: 400 11px/1.3 var(--mono); color: var(--muted); }
.dl-strip { display: flex; flex-wrap: wrap; gap: 4px; }
.dl-strip i { width: 14px; height: 14px; border-radius: 2px; }
.dl-strip .k { background: rgb(var(--green-rgb) / .7); } .dl-strip .x { background: rgb(var(--red-rgb) / .7); }
.dl-cost { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-cost span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 5px; font-size: 12.5px; color: var(--ink); }
.dl-cost small { font: 400 11px/1 var(--mono); color: var(--muted); }
.dl-cost b { font: 400 12px/1 var(--mono); }
@media (max-width: 980px) { .feature-hero.dl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .feature-hero.dl { padding: 20px 16px; } .dl-sides { grid-template-columns: minmax(0, 1fr); } }
.rows .x.pos { color: var(--green); } .rows .x.neg { color: var(--red); }

/* ---------------------------------------------------------------------------------------------------------------
   Free tools hub (/tools/, scripts/content.mjs toolsHub) and the drawing on each tool page (scripts/tool-art.mjs) */
.th-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding-top: 56px; }
.th-hero h1 { margin: 22px 0 0; font: 500 clamp(38px, 5.4vw, 66px)/1.03 var(--sans); letter-spacing: -.045em; }
.th-hero h1 em { font-style: normal; color: rgb(var(--ink-rgb) / .42); }
.th-hero .dek { margin: 22px 0 0; max-width: 520px; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.th-hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.th-facts { display: flex; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; }
.th-facts li { display: flex; flex-direction: column; gap: 6px; padding: 0 26px; border-left: 1px solid var(--line-2); }
.th-facts li:first-child { padding-left: 0; border-left: 0; }
.th-facts b { font: 400 28px/1 var(--mono); letter-spacing: -.03em; color: var(--ink); }
.th-facts span { font-size: 13px; color: var(--muted); }
.th-hero-art { margin: 0; padding: 18px 18px 14px; }
.th-hero-art figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.th-hero-art svg { display: block; width: 100%; height: auto; }
.th-chips { display: flex; gap: 6px; }
.th-chips b { padding: 5px 9px; border-radius: 6px; font: 500 12px/1 var(--mono); }
.th-chips .g { color: var(--green); background: rgb(var(--green-rgb) / .12); }
.th-chips .r { color: var(--red); background: rgb(var(--red-rgb) / .12); }
.th-hero-go { display: inline-flex; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.th-hero-go:hover { color: var(--ink); }

.th-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 72px auto 0; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: rgb(5 6 7 / .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.th-jump a { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 8px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s; }
.th-jump a:hover { background: var(--fill-2); color: var(--ink); }
.th-jump a span { font: 400 11px/1 var(--mono); color: var(--muted); }

.th-group, .th-when { padding-top: 88px; scroll-margin-top: 80px; }
.th-gh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 48px; align-items: end; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.th-gh h2 { margin: 0; font: 500 clamp(28px, 3.4vw, 40px)/1.08 var(--sans); letter-spacing: -.035em; }
.th-gh p { margin: 0; max-width: 560px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.th-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink-2); text-decoration: none; transition: border-color .25s, transform .25s cubic-bezier(.2,.7,.2,1), background .25s; }
.th-card:hover { border-color: var(--line-3); transform: translateY(-3px); }
.th-art { padding: 16px 16px 4px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgb(var(--ink-rgb) / .035), transparent 70%); }
.th-art svg { display: block; width: 100%; height: auto; }
.th-tx { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.th-meta { display: flex; align-items: center; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.th-meta i { width: 3px; height: 3px; background: var(--dim); }
.th-tx h3 { margin: 4px 0 0; font: 500 19px/1.25 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.th-tx p { margin: 0; font-size: 14px; line-height: 1.5; }
.th-card { position: relative; }
.th-go { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); font: 400 14px/1 var(--mono); color: var(--ink-2); background: rgb(5 6 7 / .6); opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.th-card:hover .th-go, .th-card:focus-visible .th-go { opacity: 1; transform: none; }

.th-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.th-flow li { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; }
.th-n { font: 400 12px/1 var(--mono); color: var(--muted); }
.th-flow h3 { margin: 6px 0 0; font: 500 20px/1.2 var(--sans); letter-spacing: -.02em; }
.th-flow p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.th-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.th-links a { padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 7px; font-size: 13px; color: var(--ink-2); text-decoration: none; transition: border-color .2s, color .2s; }
.th-links a:hover { border-color: var(--line-3); color: var(--ink); }
.th-faq { max-width: 820px; margin: 0 auto; padding-top: 72px; }
.th-faq h2 { text-align: left; }
.th .closing { margin-top: 96px; }

/* The drawing at the top of each tool's page */
.prose .tool-art { display: block; margin: 0 0 24px; padding: 18px 18px 12px; text-decoration: none; color: var(--ink-2); }
.prose .tool-art svg { display: block; width: 100%; max-height: 280px; height: auto; }
.tool-art-go { display: flex; justify-content: space-between; margin-top: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tool-art-go b { font-weight: 500; color: var(--ink-2); }
.tool-art:hover .tool-art-go b { color: var(--ink); }

/* Drawing parts */
.ta-t { font: 500 8px/1 var(--mono); letter-spacing: .08em; fill: var(--muted); }
text.ta-hi, text.ta-on { fill: var(--ink); }
text.ta-g { fill: var(--green); } text.ta-r { fill: var(--red); } text.ta-y { fill: var(--accent-2); }
text.ta-big { font: 500 24px/1 var(--sans); letter-spacing: -.03em; fill: var(--ink); }
.ta-grid path { stroke: var(--line); stroke-width: 1; }
path.ta-b, path.ta-r, path.ta-g, path.ta-y, path.ta-m, path.ta-m2, path.ta-hi-l { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
path.ta-b { stroke: var(--accent); } path.ta-r { stroke: var(--red); } path.ta-g { stroke: var(--green); } path.ta-y { stroke: var(--accent-2); }
path.ta-m { stroke: var(--line-3); } path.ta-m2 { stroke: rgb(var(--ink-rgb) / .35); } path.ta-hi-l { stroke: var(--ink); }
.ta-dash { stroke-dasharray: 4 4; }
path.ta-thick { stroke-width: 2.2; }
path.ta-ring { stroke-width: 7; stroke-linecap: butt; opacity: .9; }
.ta-gf { fill: rgb(var(--green-rgb) / .75); } .ta-rf { fill: rgb(var(--red-rgb) / .7); } .ta-bf { fill: rgb(var(--accent-rgb) / .6); } .ta-yf { fill: var(--accent-2); }
.ta-bf2 { fill: var(--accent); } .ta-soft { opacity: .5; }
.ta-cell { fill: rgb(var(--ink-rgb) / .06); } .ta-track { fill: rgb(var(--ink-rgb) / .08); } .ta-sel { fill: rgb(var(--accent-rgb) / .1); stroke: rgb(var(--accent-rgb) / .4); }
.ta-track-l { fill: none; stroke: var(--line-2); stroke-width: 7; }
.ta-area { fill: rgb(var(--green-rgb) / .08); }
.ta-run { fill: none; stroke: rgb(var(--ink-rgb) / .22); stroke-width: 1.2; stroke-linejoin: round; }
.ta-run.pass { stroke: rgb(var(--green-rgb) / .75); } .ta-run.fail { stroke: rgb(var(--red-rgb) / .6); }
.ta-dot.pass { fill: var(--green); } .ta-dot.fail { fill: var(--red); }
.ta-bdot { fill: var(--accent); }
.ta-dot2.m { fill: rgb(var(--ink-rgb) / .35); } .ta-dot2.b { fill: var(--accent); } .ta-dot2.g { fill: var(--green); }
.th-hero-art .ta-t { font-size: 10px; }
.th-hero-art .ta-run { stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: th-draw 1.8s cubic-bezier(.3,.6,.3,1) calc(200ms + var(--i) * 45ms) forwards; }
.th-hero-art .ta-dot { opacity: 0; animation: th-fade .4s ease 2.2s forwards; }
@keyframes th-draw { to { stroke-dashoffset: 0; } }
@keyframes th-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .th-hero-art .ta-run, .th-hero-art .ta-dot { animation: none; stroke-dashoffset: 0; opacity: 1; } .th-card:hover { transform: none; } }

@media (max-width: 980px) {
  .th-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 32px; }
  .th-gh { grid-template-columns: minmax(0, 1fr); }
  .th-flow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .th-facts li { padding: 0 16px; }
  .th-facts b { font-size: 22px; }
  .th-jump { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; margin-top: 48px; scrollbar-width: none; }
  .th-jump a { flex: none; }
  .th-group, .th-when { padding-top: 64px; }
  .th-grid { grid-template-columns: minmax(0, 1fr); }
  .th-hero-art { padding: 14px 12px 10px; }
  .th-chips b { font-size: 11px; padding: 4px 7px; }
}

/* ---------------------------------------------------------------------------------------------------------------
   Feature pages (/features/, scripts/features.mjs): the home page's sections, bento cards and FAQ, plus a hero with
   a real app screen (landing/assets/features/, scripts/feature-shots.mjs) and section links that stay in view. */
.fp-hero { max-width: 900px; margin: 0 auto; padding-top: 56px; text-align: center; }
.fp-hero h1 { margin: 22px auto 0; font: 500 clamp(38px, 5.6vw, 72px)/1.02 var(--sans); letter-spacing: -.045em; }
.fp-hero h1 em { font-style: normal; color: rgb(var(--ink-rgb) / .42); }
.fp-hero .dek { margin: 22px auto 0; max-width: 640px; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.fp-hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.fp-hero .fine { margin-top: 18px; font: 400 12px/1.5 var(--mono); color: var(--muted); letter-spacing: .04em; }
.fp-hero .fine span + span::before { content: "·"; margin: 0 10px; color: var(--dim); }
.fp-hero .tag a { color: inherit; text-decoration: none; } .fp-hero .tag a:hover { color: var(--ink); }

.fp-shot { position: relative; margin: 64px 0 0; padding: 10px; }
.fp-shot::before { content: ""; position: absolute; inset: -80px 10% auto; height: 260px; z-index: -1; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .16), transparent); filter: blur(20px); pointer-events: none; }
.fp-shot img { display: block; width: 100%; height: auto; border-radius: 7px; border: 1px solid var(--line-2); }
.fp-shot figcaption { padding: 12px 4px 2px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }

.fp-short { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; margin-top: var(--gap); padding: 28px 30px; }
.fp-ans p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.fp-facts { display: grid; margin: 0; padding: 0; list-style: none; }
.fp-facts li { display: grid; grid-template-columns: 86px 1fr; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.fp-facts li:first-child { border-top: 0; }
.fp-facts b { font: 400 26px/1 var(--mono); letter-spacing: -.03em; color: var(--ink); }
.fp-facts span { font-size: 13.5px; color: var(--ink-2); }

.fp-toc { position: sticky; top: 72px; z-index: 20; display: flex; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 48px auto 0; padding: 5px; border: 1px solid transparent; border-radius: 12px; transition: background .25s, border-color .25s, box-shadow .25s; }
.fp-toc.stuck { border-color: var(--line-2); background: rgb(5 6 7 / .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 16px 40px -20px rgb(0 0 0 / .9); }
.fp-toc a { flex: none; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.fp-toc.stuck a { border-color: transparent; }
.fp-toc a:hover { border-color: var(--line-3); color: var(--ink); }
.fp-toc a.on { border-color: var(--line-3); background: rgb(var(--ink-rgb) / .1); color: var(--ink); }
.fp-toc a:focus:not(:focus-visible) { outline: none; }
.fp section { scroll-margin-top: 40px; }
.fp section > .head { margin-bottom: 40px; }

/* screens inside cards: the top of the screen, cropped to the card */
.fp .fp-crop img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fp .feature-hero .fp-crop { max-height: 560px; }
.fp .feature-hero .fp-crop img { height: 100%; object-fit: cover; object-position: var(--pos, left top); }
.fp .card .fp-crop { max-height: 460px; }
.fp .card.s2 .fp-crop, .fp .card.s3 .fp-crop { max-height: 340px; }
.fp .card .fp-crop img { object-fit: cover; object-position: left top; }
.fp .feature-hero .quote { margin-top: 20px; }
.fp-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.fp .feature-hero .fp-pills { margin-top: auto; padding-top: 22px; }

.fp-q h3 { font-size: 20px; line-height: 1.25; }
.fp-q p { font-size: 15px; line-height: 1.6; }
.fp-q a, .fp .card p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.fp-q a:hover, .fp .card p a:hover { text-decoration-color: var(--ink); }
.fp .ft-list a span { text-transform: uppercase; font: 400 10.5px/1 var(--mono); letter-spacing: .1em; margin-top: 4px; }

.fp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.fp-cards .nv-card { padding: 14px 14px 20px; text-decoration: none; }
.fp-cards .nv-art { height: 128px; }
.fp .closing { margin-top: 140px; }

/* the /features/ index */
.fx-item { color: var(--ink-2); text-decoration: none; transition: border-color .25s, transform .25s cubic-bezier(.2,.7,.2,1); }
.fx-item:hover { border-color: var(--line-3); transform: translateY(-3px); }
.fx-item .art { padding-top: 22px; }
.fx-more { margin-top: 18px; font-size: 14px; color: var(--ink); }

@media (max-width: 1080px) and (min-width: 641px) {
  /* a small card beside a wide one: half and half on two columns */
  .fp .bento > .s2 + .s4, .fp .bento > .s4 + .s2, .fp .bento > .s2:has(+ .s4), .fp .bento > .s4:has(+ .s2) { grid-column: span 1; }
}
@media (max-width: 980px) {
  .fp-short { grid-template-columns: minmax(0, 1fr); }
  .fp-cards { grid-template-columns: minmax(0, 1fr); }
  .fp .feature-hero .fp-crop { max-height: 420px; }
}
@media (max-width: 640px) {
  .fp-hero { padding-top: 28px; }
  .fp-shot { margin-top: 40px; padding: 6px; }
  .fp-short { padding: 22px 18px; }
  .fp-toc { top: 68px; justify-content: flex-start; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .fp-toc::-webkit-scrollbar { display: none; }
  .fp .card .fp-crop, .fp .card.s2 .fp-crop, .fp .card.s3 .fp-crop { max-height: 300px; }
}
