[hidden] { display: none !important; }
/* TradingMarble — "the ring": slate board + chalk (dark) / trade slip paper + ink (light) */
:root {
  --ground: #14171c; --ground-2: #1b1f26; --ground-3: #232831; --rule: rgba(236, 231, 220, .12); --rule-2: rgba(236, 231, 220, .22);
  --chalk: #ece7dc; --chalk-2: #b9b3a6; --chalk-3: #8d887d;
  --saffron: #f2a33a; --saffron-ink: #1d1406; --buy: #2fbf71; --sell: #e5484d; --blue: #6fa8ff;
  --slip: #1e232b;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .35);
  --r: 14px; --r-sm: 9px;
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --ground: #f4f1ea; --ground-2: #ebe6db; --ground-3: #e2dccf; --rule: rgba(27, 29, 33, .12); --rule-2: rgba(27, 29, 33, .24);
  --chalk: #1b1d21; --chalk-2: #45484e; --chalk-3: #6b6d72;
  --saffron: #c97508; --saffron-ink: #fff8ec; --buy: #12894a; --sell: #c8282e; --blue: #2457c5;
  --slip: #fffdf8;
  --shadow: 0 16px 34px -18px rgba(60, 45, 20, .35), 0 1px 3px rgba(60, 45, 20, .12);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--chalk); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--saffron); color: var(--saffron-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--chalk-2); max-width: 58ch; }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; }
.buy { color: var(--buy); } .sell { color: var(--sell); }

/* ---- buttons: chalk-outlined, primary = saffron jacket; a conic border runs on hover (spinning-border) */
.btn { --b: var(--rule-2); position: relative; display: inline-flex; align-items: center; gap: .5em; padding: .78em 1.25em; border-radius: 999px; border: 1px solid var(--b);
  font: 600 .98rem/1 var(--f-body); text-decoration: none; color: var(--chalk); background: transparent; cursor: pointer; isolation: isolate;
  transition: transform .25s var(--ease), background .25s, border-color .25s; }
.btn svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); border-color: var(--chalk-3); }
.btn-primary { background: var(--saffron); color: var(--saffron-ink); border-color: transparent; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--saffron) 70%, transparent); }
.btn-primary:hover { background: color-mix(in srgb, var(--saffron) 88%, var(--chalk)); }
.btn-primary::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; padding: 2px; opacity: 0;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--chalk) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s; }
.btn-primary:hover::before { opacity: .9; animation: spin 2.4s linear infinite; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --a: 360deg; } }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---- header: frosted bar (the ring's gallery rail), compact on scroll */
.top { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, var(--ground) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.top.scrolled { border-bottom-color: var(--rule); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.15rem/1 var(--f-display); letter-spacing: -.02em; }
.brand b { color: var(--saffron); font-weight: 800; }
.mark { width: 28px; height: 28px; fill: var(--buy); }
.mark .m-sell { fill: var(--sell); }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--chalk-2); font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--chalk); background: var(--ground-3); }
body[data-nav="features"] .nav [data-k="features"], body[data-nav="pricing"] .nav [data-k="pricing"], body[data-nav="learn"] .nav [data-k="learn"], body[data-nav="guide"] .nav [data-k="guide"], body[data-nav="account"] .nav [data-k="account"] { color: var(--chalk); background: var(--ground-3); }
.top-act { display: flex; align-items: center; gap: 10px; }
.theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--chalk-2); cursor: pointer; display: grid; place-items: center; }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
:root[data-theme="dark"] .theme .sun, :root[data-theme="light"] .theme .moon { display: none; }
.btn-chart { padding: .62em 1.05em; font-size: .92rem; background: var(--chalk); color: var(--ground); border-color: transparent; }
.btn-chart:hover { background: var(--saffron); color: var(--saffron-ink); }
.menu { display: none; width: 42px; height: 42px; border: 1px solid var(--rule); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--chalk); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu span:first-child { top: 15px; } .menu span:last-child { top: 24px; }
.menu[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); } .menu[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---- sections */
section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { max-width: 760px; display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.rule-chalk { height: 1px; border: 0; margin: 0; background: repeating-linear-gradient(90deg, var(--rule-2) 0 10px, transparent 10px 16px); }

/* ---- hero: headline left, the board right */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero .lead { margin-top: 22px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 36px; color: var(--chalk-3); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 4px color-mix(in srgb, var(--buy) 18%, transparent); }

/* the board: slate panel the session draws itself on */
.board { position: relative; border-radius: 20px; background: var(--ground-2); border: 1px solid var(--rule); box-shadow: var(--shadow); overflow: hidden; aspect-ratio: 1.18 / 1; }
:root[data-theme="dark"] .board { background:
  radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.035), transparent 60%),
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(236,231,220,.045) 39px 40px), #191d23; }
:root[data-theme="light"] .board { background: repeating-linear-gradient(0deg, transparent 0 39px, rgba(27,29,33,.05) 39px 40px), #fffdf8; }
.board svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.board-cap { position: absolute; left: 18px; top: 14px; font: 600 .78rem/1 var(--f-num); color: var(--chalk-3); letter-spacing: .02em; }
.board-cap b { color: var(--chalk-2); }
.board-note { position: absolute; right: 14px; top: 12px; font-size: .72rem; color: var(--chalk-3); }

/* chalk drawing (stroke dash-in), one orchestrated sequence */
.draw { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); }
.board.go .draw { animation: chalk 1.4s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes chalk { to { stroke-dashoffset: 0; } }
.fade { opacity: 0; }
.board.go .fade { animation: fadein .6s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadein { to { opacity: 1; } }
.grow { transform-box: fill-box; transform-origin: center bottom; transform: scaleY(0); }
.board.go .grow { animation: grow .45s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes grow { to { transform: scaleY(1); } }

/* the verdict slip that lands at the end */
.verdict { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px;
  background: var(--slip); border: 1px solid var(--rule); box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); }
.board.go .verdict { animation: land .7s var(--ease) forwards; animation-delay: 3.6s; }
@keyframes land { to { opacity: 1; transform: none; } }
.v-tag { flex: none; font: 800 .95rem/1 var(--f-display); color: #fff; background: var(--buy); padding: 10px 12px; border-radius: 9px; position: relative; overflow: hidden; }
.v-tag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); }
.board.go .v-tag::after { animation: shine 1.1s .6s var(--ease) forwards; animation-delay: 4.2s; }
@keyframes shine { to { transform: translateX(120%); } }
.v-txt { font-size: .86rem; line-height: 1.35; color: var(--chalk-2); }
.v-txt b { color: var(--chalk); font-weight: 600; }

/* ---- proof strip: what the chart says, in its own words */
.says { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--rule); }
.says > div { padding: 28px 24px; border-right: 1px solid var(--rule); }
.says > div:last-child { border-right: 0; }
.says .k { font: 600 .78rem/1 var(--f-num); color: var(--chalk-3); }
.says p { margin-top: 10px; font: 600 1.06rem/1.4 var(--f-body); }
.says p .num { font-weight: 700; }

/* ---- feature rows: alternating text / drawn exhibit, not card grids */
.rows { display: grid; gap: clamp(56px, 8vw, 104px); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.row:nth-child(even) .row-txt { order: 2; }
.row-txt { display: grid; gap: 16px; max-width: 520px; }
.row-txt ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--chalk-2); }
.row-txt li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.row-txt li svg { margin-top: 5px; width: 14px; height: 14px; fill: none; stroke: var(--buy); stroke-width: 2.4; }
.exhibit { position: relative; border-radius: 18px; border: 1px solid var(--rule); background: var(--ground-2); padding: 18px; box-shadow: var(--shadow); }
.exhibit svg { width: 100%; height: auto; }
.exhibit figcaption { margin-top: 10px; font-size: .78rem; color: var(--chalk-3); }

/* ---- trade slips (pricing): paper slips with a perforated edge */
.slips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.slip { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 26px 26px; border-radius: var(--r); background: var(--slip); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.slip::before { content: ""; position: absolute; left: 22px; right: 22px; top: 74px; border-top: 2px dashed var(--rule-2); }
.slip h3 { font-size: 1.05rem; color: var(--chalk-2); font-family: var(--f-body); font-weight: 600; }
.slip .price { font: 800 clamp(2.2rem, 4vw, 2.8rem)/1 var(--f-display); letter-spacing: -.03em; margin-top: 14px; }
.slip .price small { font: 500 .95rem var(--f-body); color: var(--chalk-3); letter-spacing: 0; }
.slip ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--chalk-2); font-size: .95rem; }
.slip li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 2px; background: var(--buy); transform: translateY(-1px); }
.slip .btn { margin-top: auto; justify-content: center; }
.slip .per { font-size: .85rem; color: var(--chalk-3); }
/* the recommended slip: saffron jacket edge + one border-beam lap on view */
.slip.pick { border-color: color-mix(in srgb, var(--saffron) 55%, transparent); }
.slip.pick .badge { position: absolute; top: -12px; right: 20px; background: var(--saffron); color: var(--saffron-ink); font: 700 .75rem/1 var(--f-body); padding: 7px 10px; border-radius: 999px; }
.slip.pick::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 80%, var(--saffron) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; }
.slip.pick.seen::after { opacity: 1; animation: spin 3s linear 2; }

/* ---- learn index + article */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.guide { display: grid; gap: 10px; padding: 26px 24px; background: var(--ground); text-decoration: none; transition: background .25s; }
.guide:hover { background: var(--ground-2); }
.guide .tag { font: 600 .74rem/1 var(--f-num); color: var(--saffron); }
.guide h3 { font-size: 1.25rem; }
.guide p { color: var(--chalk-2); font-size: .95rem; }
.article { max-width: 72ch; margin-inline: auto; }
.article header { display: grid; gap: 14px; margin-bottom: 36px; }
.article .meta { color: var(--chalk-3); font-size: .9rem; }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 44px 0 14px; }
.article h3 { margin: 28px 0 10px; }
.article p, .article li { color: var(--chalk-2); font-size: 1.06rem; line-height: 1.75; }
.article p + p { margin-top: 16px; }
.article ul, .article ol { padding-left: 1.2em; display: grid; gap: 8px; }
.article strong { color: var(--chalk); }
.article .formula { margin: 20px 0; padding: 16px 18px; border-radius: 12px; background: var(--ground-2); border: 1px solid var(--rule); font: 500 .95rem/1.6 var(--f-num); overflow-x: auto; }
.article .callout { margin: 28px 0; padding: 18px 20px; border-radius: 12px; background: color-mix(in srgb, var(--saffron) 10%, var(--ground)); border: 1px solid color-mix(in srgb, var(--saffron) 35%, transparent); color: var(--chalk); }
.article figure { margin: 26px 0; }
.toc { margin: 0 0 30px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 12px; }
.toc b { display: block; margin-bottom: 8px; font-size: .9rem; }
.toc a { display: block; color: var(--chalk-2); text-decoration: none; padding: 3px 0; font-size: .95rem; }
.toc a:hover { color: var(--saffron); }
.next { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); }
.next a { text-decoration: none; color: var(--chalk-2); }
.next a:hover { color: var(--saffron); }

/* ---- forms (login, account, automation) */
.panel { max-width: 460px; margin-inline: auto; padding: clamp(24px, 4vw, 36px); border-radius: 18px; background: var(--slip); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.panel h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); }
.field { display: grid; gap: 7px; margin-top: 18px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field textarea, .field select { width: 100%; font: 500 1rem/1.4 var(--f-body); color: var(--chalk); background: var(--ground); border: 1px solid var(--rule-2); border-radius: 11px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px color-mix(in srgb, var(--saffron) 22%, transparent); }
.field .hint { font-size: .84rem; color: var(--chalk-3); }
.otp { letter-spacing: .5em; font: 700 1.4rem var(--f-num) !important; text-align: center; }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--chalk-3); font-size: .85rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.msg { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }
.msg.err { color: var(--sell); } .msg.ok { color: var(--buy); }
.full { width: 100%; justify-content: center; }
.gbtn { width: 100%; justify-content: center; background: var(--ground); }
.gbtn img, .gbtn svg { width: 18px; height: 18px; }

/* account dashboard */
.acct { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; }
.box { padding: 26px; border-radius: 16px; background: var(--slip); border: 1px solid var(--rule); box-shadow: var(--shadow); display: grid; gap: 14px; align-content: start; }
.box h2 { font-size: 1.35rem; }
.plan-state { display: flex; align-items: center; gap: 18px; }
.ring { width: 92px; height: 92px; flex: none; }
.ring circle { fill: none; stroke-width: 9; }
.ring .t { stroke: var(--ground-3); } .ring .v { stroke: var(--buy); stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset 1.2s var(--ease); }
.ring text { fill: var(--chalk); font: 800 22px var(--f-display); text-anchor: middle; dominant-baseline: central; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; }
.kv dt { color: var(--chalk-3); } .kv dd { margin: 0; }
.muted { color: var(--chalk-3); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--ground-3); }
.chip.on { background: color-mix(in srgb, var(--buy) 18%, transparent); color: var(--buy); }
.chip.off { background: color-mix(in srgb, var(--sell) 16%, transparent); color: var(--sell); }
table.hist { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.hist td, table.hist th { padding: 8px 6px; border-bottom: 1px solid var(--rule); text-align: left; }
table.hist th { color: var(--chalk-3); font-weight: 600; }

/* ---- closing band */
.close { text-align: center; }
.close .wrap { display: grid; justify-items: center; gap: 20px; }
.close .lead { margin-inline: auto; }

/* ---- footer */
.foot { border-top: 1px solid var(--rule); padding-top: 56px; margin-top: 40px; }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin-top: 14px; color: var(--chalk-3); max-width: 34ch; font-size: .95rem; }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-col h3 { font: 700 .82rem/1 var(--f-body); color: var(--chalk-3); margin-bottom: 6px; letter-spacing: .02em; }
.foot-col a { text-decoration: none; color: var(--chalk-2); font-size: .95rem; }
.foot-col a:hover { color: var(--saffron); }
.foot-note { display: grid; gap: 10px; padding-block: 32px 40px; margin-top: 40px; border-top: 1px solid var(--rule); color: var(--chalk-3); font-size: .82rem; }
.foot-note p:first-child { max-width: 90ch; }

/* reveal (content visible by default; motion only adds) */
.rv { transition: transform .9s var(--ease), opacity .9s var(--ease); }
.js .rv:not(.in) { opacity: 0; transform: translateY(18px); }

/* ---- responsive */
@media (max-width: 960px) {
  .hero-in, .row, .acct { grid-template-columns: 1fr; }
  .row:nth-child(even) .row-txt { order: 0; }
  .slips { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* phone header: brand left, theme + menu pinned to the right corner; the menu drops as a full-width sheet */
  .top-in { gap: 12px; }
  .top-act { margin-left: auto; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; padding: 6px 16px 22px; background: var(--ground); border-bottom: 1px solid var(--rule);
    box-shadow: 0 24px 40px -20px rgba(0,0,0,.35); max-height: calc(100dvh - 68px); overflow-y: auto;
    transform: translateY(-110%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s .38s; z-index: -1; }
  .nav.open { transform: none; visibility: visible; transition: transform .38s var(--ease); }
  .nav a { padding: 15px 4px; border-radius: 0; border-bottom: 1px solid var(--rule); font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center;
    opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease), color .2s; }
  .nav a::after { content: "›"; color: var(--chalk-3); font-size: 1.3rem; line-height: 1; }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(2) { transition-delay: .04s; } .nav.open a:nth-child(3) { transition-delay: .08s; } .nav.open a:nth-child(4) { transition-delay: .12s; } .nav.open a:nth-child(5) { transition-delay: .16s; } .nav.open a:nth-child(6) { transition-delay: .2s; }
  .nav a:hover, body[data-nav] .nav a[data-k] { background: transparent; }
  body[data-nav="features"] .nav [data-k="features"], body[data-nav="pricing"] .nav [data-k="pricing"], body[data-nav="learn"] .nav [data-k="learn"], body[data-nav="guide"] .nav [data-k="guide"], body[data-nav="account"] .nav [data-k="account"] { color: var(--saffron); font-weight: 600; }
  .nav .nav-chart { display: flex; justify-content: center; gap: 8px; margin-top: 16px; border: 0; border-radius: 999px; background: var(--chalk); color: var(--ground); font-weight: 600; padding: 14px; }
  .nav .nav-chart::after { content: none; }
  .nav .nav-chart svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
  body.menu-open { overflow: hidden; }
  body.menu-open main::after { content: ""; position: fixed; inset: 68px 0 0; background: rgba(0,0,0,.35); z-index: 20; animation: fadeIn .3s both; }
  .menu { display: block; }
  .btn-chart { display: none; }
  .says { grid-template-columns: 1fr; }
  .says > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .says > div:last-child { border-bottom: 0; }
  .board { aspect-ratio: .92 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .draw { stroke-dashoffset: 0; } .fade { opacity: 1; } .grow { transform: none; } .verdict { opacity: 1; transform: none; }
  .js .rv:not(.in) { opacity: 1; transform: none; }
}
.tag-l { font: 600 .78rem/1 var(--f-num); color: var(--saffron); letter-spacing: .02em; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ground-3); }
.tabs button { font: 600 .95rem/1 var(--f-body); color: var(--chalk-2); background: transparent; border: 0; border-radius: 999px; padding: 11px 0; cursor: pointer; transition: background .25s var(--ease), color .25s; }
.tabs button[aria-selected="true"] { background: var(--slip); color: var(--chalk); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.links { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.link { background: none; border: 0; padding: 4px 0; font: 500 .9rem var(--f-body); color: var(--chalk-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--saffron); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--chalk-3) 50%), linear-gradient(135deg, var(--chalk-3) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.acct { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .acct { grid-template-columns: 1fr; } }

/* notification ask bar */
.push-ask{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:460px;margin-left:auto;background:var(--slip);border:1px solid var(--rule-2);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px;display:flex;flex-direction:column;gap:10px;animation:pushIn .4s var(--ease)}
.push-ask p{margin:0;font-size:.92rem;color:var(--chalk-2)}
.push-ask b{color:var(--chalk)}
.push-ask div{display:flex;gap:8px;justify-content:flex-end}
.push-ask button{cursor:pointer;border-radius:9px;padding:8px 14px;font:600 .9rem var(--f-body);border:1px solid var(--rule-2);background:none;color:var(--chalk)}
.push-ask .btn-solid{background:var(--saffron);color:var(--saffron-ink);border-color:var(--saffron)}
.push-ask button:focus-visible{outline:2px solid var(--saffron);outline-offset:2px}
@keyframes pushIn{from{opacity:0;transform:translateY(12px)}}
@media (prefers-reduced-motion:reduce){.push-ask{animation:none}}

/* five nav links: keep every label on one line, tighten between 760 and 1000px */
.nav a, .btn-chart, .brand { white-space: nowrap; }
.brand .mark { flex-shrink: 0; }
@media (min-width: 761px) and (max-width: 1000px) { .nav { gap: 2px; } .nav a { padding: 8px 9px; } .top-act { gap: 8px; } }

.nav-chart { display: none; }
@keyframes fadeIn { from { opacity: 0; } }

/* guide extras: FAQ blocks and simple comparison tables */
.article .faq h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; display: block; overflow-x: auto; }
.article th, .article td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; color: var(--chalk-2); }
.article th { color: var(--chalk); font-weight: 600; background: var(--ground-2); }

/* the keyword line above each page headline: small, quiet, carries the search phrase */
.h1-kick { display: block; font: 700 .78rem/1.4 var(--f-num); letter-spacing: .08em; text-transform: uppercase; color: var(--saffron); margin-bottom: 14px; text-wrap: pretty; }

/* inner-page heroes: headline left, a small chalkboard that draws itself right (same language as the home board) */
.hero-mini { align-items: center; }
.hero-mini .sec-head { margin-bottom: 0; }
.board.mini { aspect-ratio: 1.2 / 1; max-width: 560px; justify-self: end; width: 100%; }
.board.mini .board-cap { top: auto; bottom: 12px; }
.board.mini .board-note { top: 12px; }
.board.go .grow-x { animation: growx .5s var(--ease) forwards; animation-delay: var(--d, 0s); }
.board.mini::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, var(--saffron), transparent); opacity: 0; }
.board.mini.go::before { animation: scan 2.4s 4.4s var(--ease) both; }
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(420px); } }
@media (max-width: 960px) { .board.mini { justify-self: stretch; max-width: none; aspect-ratio: 1.35 / 1; } }
/* guides: a reading line along the top that fills like a price line as you scroll */
.read-line { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 40; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--buy), var(--saffron)); pointer-events: none; }
.guides .guide.rv { opacity: 0; transform: translateY(14px); }
.guides .guide.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .board.mini::before { display: none; } .guides .guide.rv { opacity: 1; transform: none; } .board .grow-x { transform: none; } }

/* animated diagrams inside guides: a small chalkboard that draws the idea, with a replay button */
.article .dia { margin: 26px 0 30px; }
.board.dia-b { aspect-ratio: 600 / 360; box-shadow: none; }
.board.dia-b .board-note { top: 10px; right: 12px; }
.dia-replay { position: absolute; left: 10px; top: 8px; z-index: 2; font: 600 .74rem/1 var(--f-body); color: var(--chalk-3); background: color-mix(in srgb, var(--ground) 75%, transparent); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 10px; cursor: pointer; opacity: 0; transition: opacity .3s; }
.board.dia-b:hover .dia-replay, .dia-replay:focus-visible { opacity: 1; }
@media (hover: none) { .dia-replay { opacity: .85; } }
.article figcaption { margin-top: 10px; font-size: .92rem; color: var(--chalk-3); line-height: 1.55; }
