/* World Trader Rankings, "mix" design: Simplefolio (type, calm space, framed cards) x Substack (feed + rail, serif titles, notes)
   x Material 3 (nav drawer/rail/bar with pill indicators, tonal surfaces, chips, segmented buttons, emphasized motion). */
:root {
  --bg: #fefbff; --s1: #f8f4fc; --s2: #f2edf8; --s3: #ebe5f3; --white: #fff;
  --on: #1c1b1f; --on2: #49454f; --dim: #79747e; --outline: #e6e0ec; --outline2: #cac4d0;
  --primary: #5a2dff; --on-primary: #fff; --pc: #e8e0ff; --on-pc: #22005d;
  --lime-c: #ecffb8; --on-lime: #364b00;
  --good-c: #dcf5d3; --on-good: #1b6a05; --care-c: #ffefc4; --on-care: #775000;
  --bad-c: #ffe2da; --on-bad: #a3260c; --avoid-c: #fde7f3; --on-avoid: #8f1f5f; --info-c: #e3ebff; --on-info: #1c4bb8;
  --sans: "Switzer", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --emph: cubic-bezier(.2, 0, 0, 1); --spring: cubic-bezier(.34, 1.4, .64, 1);
  --r-s: 12px; --r-m: 16px; --r-l: 24px; --r-xl: 28px;
  --nav: 0px;
}
* { box-sizing: border-box; }
html { background: var(--bg); overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--on); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
svg.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
.display { font-weight: 600; font-size: clamp(40px, 5.4vw, 74px); line-height: 1.03; letter-spacing: -.038em; }
.display .soft { color: #a58fff; }
.h2 { font-weight: 600; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--on2); }
.muted { color: var(--on2); }
.label { font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--dim); }
.over { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--primary); letter-spacing: .01em; margin-bottom: 10px; }

/* ---------- buttons (M3 pills) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; cursor: pointer; overflow: hidden; transition: box-shadow .25s var(--emph), transform .25s var(--emph); }
.btn::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .2s; }
.btn:hover::after { opacity: .08; } .btn:active::after { opacity: .14; }
.btn:hover { box-shadow: 0 2px 6px -2px rgba(90,45,255,.45); }
.btn .ic { width: 19px; height: 19px; }
.btn.tonal { background: var(--pc); color: var(--on-pc); }
.btn.tonal:hover { box-shadow: none; }
.btn.out { background: transparent; color: var(--on); box-shadow: inset 0 0 0 1px var(--outline2); }
.btn.text { background: transparent; color: var(--primary); padding: 0 14px; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--primary); }
.link .ic { width: 17px; height: 17px; transition: transform .25s var(--emph); }
.link:hover .ic { transform: translateX(3px); }

/* ---------- chips, verdicts, pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--lime-c); color: var(--on-lime); font-size: 14px; font-weight: 600; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(54,75,0,.45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(54,75,0,0); } }
.v { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.v::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.v-good { background: var(--good-c); color: var(--on-good); }
.v-care { background: var(--care-c); color: var(--on-care); }
.v-bad { background: var(--bad-c); color: var(--on-bad); }
.v-avoid { background: var(--avoid-c); color: var(--on-avoid); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--outline2); background: var(--white); color: var(--on2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s, padding .25s var(--emph); }
.chip:hover { background: var(--s1); }
.chip .ck { width: 0; height: 16px; overflow: hidden; transition: width .25s var(--emph); }
.chip[aria-pressed="true"] { background: var(--pc); border-color: var(--pc); color: var(--on-pc); padding-left: 10px; }
.chip[aria-pressed="true"] .ck { width: 16px; }
.chip .n { font-size: 12px; color: var(--dim); }
.mono { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-weight: 700; font-size: 15px; letter-spacing: -.02em; }
.mono.sm { width: 26px; height: 26px; border-radius: 8px; font-size: 11.5px; }

/* segmented buttons (M3) */
.seg { display: inline-flex; border: 1px solid var(--outline2); border-radius: 999px; overflow: hidden; background: var(--white); max-width: 100%; }
.seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border: 0; border-left: 1px solid var(--outline2); background: transparent; font-size: 14px; font-weight: 500; color: var(--on); cursor: pointer; white-space: nowrap; transition: background .2s; }
.seg button:first-child { border-left: 0; }
.seg button:hover { background: var(--s1); }
.seg button .ck { width: 0; overflow: hidden; transition: width .25s var(--emph); }
.seg button[aria-pressed="true"] { background: var(--pc); color: var(--on-pc); font-weight: 600; }
.seg button[aria-pressed="true"] .ck { width: 16px; }

/* ---------- surfaces / cards ---------- */
.card { border-radius: var(--r-xl); background: var(--s1); }
.card.out { background: var(--white); box-shadow: inset 0 0 0 1px var(--outline); }
.card.el { background: var(--white); box-shadow: 0 1px 2px rgba(28,27,31,.06), 0 2px 8px -2px rgba(28,27,31,.08); }
.lift { transition: transform .3s var(--emph), box-shadow .3s var(--emph), background .2s; }
.lift:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(28,27,31,.04), 0 16px 34px -18px rgba(28,27,31,.32); }

/* ---------- shell: drawer (desktop) / rail (tablet) / bar (phone) ---------- */
.nav { position: fixed; z-index: 60; top: 0; bottom: 0; left: 0; width: 256px; background: var(--bg); border-right: 1px solid var(--outline); overflow: hidden; }
.nav-in { display: flex; flex-direction: column; gap: 6px; min-height: 100%; padding: 16px 12px 18px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 14px 14px; font-weight: 600; font-size: 16px; letter-spacing: -.03em; white-space: nowrap; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-h { margin: 12px 16px 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.ni { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--on2); transition: color .2s; isolation: isolate; }
.ni::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--on); opacity: 0; transition: opacity .2s; }
.ni:hover::before { opacity: .06; }
.ni.on { color: var(--on-pc); font-weight: 600; }
.ni.on::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: var(--pc); animation: ind .45s var(--emph); }
@keyframes ind { from { transform: scaleX(.4); opacity: 0; } }
.ni .soon { margin-left: auto; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--info-c); color: var(--on-info); }
.nav-cta { margin: 10px 4px 0; width: calc(100% - 8px); }
.nav-foot { margin-top: auto; padding: 14px 12px 0; font-size: 12px; line-height: 1.4; color: var(--dim); }
.main { margin-left: var(--nav); min-width: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

.top, .bar, .fab, .scrim { display: none; }
@media (min-width: 1180px) { :root { --nav: 256px; } }
/* tablet: M3 navigation rail */
@media (min-width: 720px) and (max-width: 1179px) {
  :root { --nav: 88px; }
  .nav { width: 88px; }
  .nav-in { align-items: center; padding: 14px 0; gap: 4px; }
  .brand span, .nav-h, .nav-foot, .ni .soon { display: none; }
  .brand { padding: 4px 0 14px; }
  .ni { flex-direction: column; justify-content: center; gap: 4px; width: 80px; height: 64px; padding: 0; border-radius: 0; font-size: 11.5px; text-align: center; line-height: 1.1; }
  .ni::before, .ni.on::after { inset: 4px 12px auto; height: 32px; border-radius: 999px; }
  .nav-cta { width: 56px; height: 56px; padding: 0; border-radius: 16px; margin: 10px 0 0; }
  .nav-cta span { display: none; }
}
/* phone: top app bar + navigation bar + extended FAB + modal drawer */
@media (max-width: 719px) {
  .nav { overflow-y: auto; transform: translateX(-102%); transition: transform .35s var(--emph); width: 300px; max-width: 86vw; border-radius: 0 28px 28px 0; border-right: 0; }
  body.menu-open .nav { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.25); }
  .scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(28,27,31,.36); opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.menu-open .scrim { opacity: 1; pointer-events: auto; }
  .top { display: flex; position: sticky; top: 0; z-index: 40; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 16px; background: rgba(254,251,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .2s; }
  .top.scrolled { box-shadow: 0 1px 0 var(--outline); }
  .top .brand { padding: 0; margin-right: auto; font-size: 16px; }
  .icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
  .icon-btn:hover { background: var(--s2); }
  .bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(76px + env(safe-area-inset-bottom)); padding: 10px 6px env(safe-area-inset-bottom); background: var(--s1); box-shadow: 0 -1px 0 var(--outline); }
  .bar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 500; color: var(--on2); }
  .bar a span.ind { display: grid; place-items: center; width: 60px; height: 32px; border-radius: 999px; transition: background .3s var(--emph); }
  .bar a.on { color: var(--on); font-weight: 600; }
  .bar a.on span.ind { background: var(--pc); color: var(--on-pc); }
  .fab { display: inline-flex; position: fixed; z-index: 46; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 16px; background: var(--pc); color: var(--on-pc); font-weight: 600; font-size: 15px; box-shadow: 0 4px 10px -2px rgba(28,27,31,.22), 0 1px 3px rgba(28,27,31,.12); transition: padding .35s var(--emph), gap .35s var(--emph); }
  .fab span { max-width: 120px; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--emph), opacity .2s; }
  .fab.small { padding: 0 16px; gap: 0; }
  .fab.small span { max-width: 0; opacity: 0; }
  body { padding-bottom: 96px; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(48px, 6vw, 84px) 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.sec-head p { max-width: 560px; margin-top: 8px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1000px) { .cols { grid-template-columns: minmax(0, 1fr) 316px; gap: 36px; } .rail { position: sticky; top: 20px; } }
.rail { display: grid; gap: 16px; min-width: 0; }
.feed { display: grid; gap: clamp(44px, 5vw, 64px); min-width: 0; }

/* hero */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 36px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 40px; } }
.hero .pill { margin-bottom: 20px; }
.hero .lede { margin: 18px 0 26px; max-width: 520px; }
.hero .lede b { color: var(--on); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.covers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px; font-size: 13.5px; color: var(--dim); }
.covers .mono.sm { margin-right: -2px; }
.covers span.name { color: var(--on2); font-weight: 500; }

/* follow-the-$100 motion card */
.flow { padding: 18px; border-radius: var(--r-xl); background: var(--s1); width: 100%; max-width: 600px; }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 4px 14px; }
.flow-top h2 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.flow-top .pp { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--outline); cursor: pointer; }
.flow-top .pp .ic { width: 16px; height: 16px; }
.flow .seg { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow .seg button { padding: 0 6px; font-size: 13px; }
.flow-stage { position: relative; margin: 10px 0 6px; padding: 6px; border-radius: var(--r-l); background: var(--white); }
.flow svg { display: block; width: 100%; height: auto; }
.fl-path { fill: none; stroke: #ece7f2; stroke-width: 2.5; }
.fl-hot { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.fl-node rect { fill: var(--s1); stroke: var(--outline); transition: fill .4s var(--emph), stroke .4s; }
.fl-node text { font: 600 14px var(--sans); fill: var(--on2); text-anchor: middle; transition: fill .3s; }
.fl-node .sub { font: 500 11px var(--sans); fill: var(--dim); }
.fl-node.hit rect { stroke: transparent; }
.fl-node.hit text { fill: var(--on); }
.fl-you circle { fill: var(--on); }
.fl-you text { fill: #fff; text-anchor: middle; font-family: var(--sans); }
.fl-coin { filter: drop-shadow(0 3px 4px rgba(0,0,0,.2)); }
.flow-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: start; padding: 10px 6px 2px; min-height: 92px; }
.flow-cap p { font-size: 15px; line-height: 1.4; color: var(--on2); }
.flow-cap p b { color: var(--on); font-weight: 600; }
.flow-cap .v { justify-self: end; }
.flow-cap .names { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.flow-cap .names span { font-size: 12.5px; font-weight: 500; padding: 3px 8px; border-radius: 6px; background: var(--s2); color: var(--on2); }
.swap { animation: swap .45s var(--emph); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }

/* numbers strip */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 860px) { .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.num { padding: 18px; border-radius: var(--r-l); background: var(--s1); }
.num b { display: block; font-weight: 600; font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -.04em; }
.num b small { font-size: .5em; letter-spacing: -.01em; color: var(--dim); margin-left: 4px; }
.num span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--on2); }
.num cite { display: block; margin-top: 6px; font-size: 12px; font-style: normal; color: var(--dim); }

/* the rule (thesis core) */
.rule { padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--s1); }
.rule-q { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.25; letter-spacing: -.015em; max-width: 860px; }
.rule-q em { font-style: italic; color: var(--primary); }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 28px 0 30px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-l); background: var(--white); }
.shape { flex: none; width: 48px; height: 48px; display: grid; place-items: center; position: relative; color: var(--on); font-weight: 700; font-size: 16px; }
.shape svg { position: absolute; inset: 0; width: 48px; height: 48px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.shape span { position: relative; }
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.step p { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--on2); }
.models { border-radius: var(--r-l); background: var(--white); overflow: hidden; }
.mrow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr) 190px; gap: 16px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--outline); transition: background .2s; }
.mrow:first-child { border-top: 0; }
a.mrow:hover { background: var(--s1); }
.mrow.head { padding: 12px 20px; background: var(--s2); font-size: 12.5px; font-weight: 600; color: var(--on2); letter-spacing: .02em; }
.mrow b { display: block; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; }
.mrow small { display: block; font-size: 13px; color: var(--dim); line-height: 1.3; }
.mrow .who { font-size: 14.5px; font-weight: 500; }
.mrow .how { font-size: 14px; color: var(--on2); line-height: 1.35; }
.mrow .v { justify-self: start; }
.models.play .mrow:not(.head) { opacity: 0; transform: translateY(8px); }
.models.play.in .mrow:not(.head) { opacity: 1; transform: none; transition: opacity .5s var(--emph), transform .5s var(--emph); transition-delay: calc(var(--i) * 90ms); }
.models.play.in .mrow .v { animation: stamp .5s var(--spring) backwards; animation-delay: calc(var(--i) * 90ms + 250ms); }
@keyframes stamp { from { transform: scale(1.5); opacity: 0; } }
.rule-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--on2); }
@media (max-width: 819px) {
  .mrow { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .mrow.head { display: none; }
  .mrow .who, .mrow .how { grid-column: 1; }
  .mrow .v { grid-column: 2; grid-row: 1; justify-self: end; }
  .mrow .who::before { content: "Your loss goes to: "; color: var(--dim); font-weight: 400; }
}

/* check your platform */
.check { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .check { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; } }
.check-pick { padding: 20px; }
.check-pick .label { display: block; margin: 4px 0 10px; }
.check-pick .label + .chips { margin-bottom: 16px; }
.verdict { padding: 22px; min-height: 300px; display: flex; flex-direction: column; gap: 14px; transition: background .4s var(--emph); }
.verdict.good { background: #f1fbec; } .verdict.care { background: #fff8e4; } .verdict.bad { background: #fff0eb; } .verdict.avoid { background: #fdf0f7; }
.verdict-top { display: flex; align-items: center; gap: 12px; }
.verdict-top h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.verdict-top small { display: block; font-size: 13.5px; color: var(--on2); }
.verdict dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.verdict dl div { padding: 12px; border-radius: var(--r-m); background: rgba(255,255,255,.75); }
.verdict dt { font-size: 12.5px; color: var(--dim); font-weight: 500; }
.verdict dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.verdict p { font-size: 15px; line-height: 1.5; color: var(--on2); }
.verdict .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

/* setup picker */
.setup { padding: clamp(20px, 3vw, 28px); }
.setup .q { margin-bottom: 14px; }
.setup .q .label { display: block; margin-bottom: 8px; }
.picks { display: grid; gap: 8px; margin-top: 18px; position: relative; }
.pick { display: grid; grid-template-columns: 30px 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-m); background: var(--white); }
.pick .rk { font-weight: 600; font-size: 18px; color: #b9b3c2; text-align: center; }
.pick:first-child .rk { color: var(--primary); }
.pick b { display: block; font-weight: 600; font-size: 15.5px; }
.pick span.w { display: block; font-size: 14px; line-height: 1.35; color: var(--on2); }
.pick .ic { color: var(--dim); width: 18px; height: 18px; }
.warn { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 10px 14px; border-radius: var(--r-m); background: var(--bad-c); color: var(--on-bad); font-size: 14px; font-weight: 500; }
.setup-foot { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 16px; }
.setup-foot small { color: var(--dim); font-size: 12.5px; }

/* platforms */
.plats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }
@media (min-width: 640px) { .plats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plat { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.plat[hidden] { display: none; }
.plat-top { display: flex; align-items: center; gap: 12px; }
.plat-top b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.plat-top small { display: block; font-size: 13px; color: var(--dim); }
.plat-top .v { margin-left: auto; }
.plat h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.plat .who { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: var(--on2); }
.plat .who span { color: var(--dim); }
.plat .fact { font-size: 14px; line-height: 1.4; padding: 10px 12px; border-radius: 12px; background: var(--s1); color: var(--on2); }
.plat .acts { display: flex; gap: 8px; margin-top: auto; }
.fade-in { animation: fadein .45s var(--emph) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes fadein { from { opacity: 0; transform: scale(.97); } }

/* notes (Substack-style community preview) */
.notes { display: grid; gap: 12px; }
.note { display: block; padding: 18px; }
.note-head { display: flex; align-items: center; gap: 10px; }
.av { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--a); color: #1c1b1f; font-weight: 700; font-size: 15px; }
.av.sm { width: 30px; height: 30px; font-size: 12px; }
.av.xs { width: 22px; height: 22px; font-size: 10px; }
.who-l b { font-weight: 600; font-size: 15px; }
.who-l small { display: block; font-size: 13px; color: var(--dim); line-height: 1.2; }
.bot { display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: 5px; background: var(--on); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; }
.topic { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: var(--s2); font-size: 12.5px; font-weight: 600; color: var(--on2); }
.topic i { width: 7px; height: 7px; border-radius: 50%; background: var(--k); }
.note-head .topic { margin-left: auto; }
.note h3 { margin: 12px 0 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.25; }
.thread-mini { display: grid; gap: 10px; }
.tm { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; position: relative; }
.tm:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 34px; bottom: -10px; width: 2px; background: var(--outline); }
.tm p { font-size: 15px; line-height: 1.45; }
.tm p b { font-weight: 600; font-size: 13.5px; }
.tm p .bot { margin: 0 6px 0 4px; font-size: 9px; padding: 1px 5px; }
.note-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--outline); font-size: 13.5px; color: var(--dim); }
.note-foot .link { margin-left: auto; font-size: 14px; }
.floor-intro { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.floor-intro span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--s1); font-size: 13.5px; color: var(--on2); }

/* article list (Substack) */
.posts { display: grid; }
.post { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--outline); }
.post:first-child { border-top: 0; padding-top: 4px; }
.post .kick { font-size: 13px; font-weight: 600; color: var(--primary); }
.post h3 { margin: 4px 0 6px; font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.22; letter-spacing: -.01em; transition: color .2s; }
.post:hover h3 { color: var(--primary); }
.post p { font-size: 15px; line-height: 1.45; color: var(--on2); }
.post .meta { margin-top: 8px; font-size: 13px; color: var(--dim); }
.thumb { width: 112px; height: 112px; border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 10px; background: var(--t); color: var(--tf, var(--on)); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -.04em; overflow: hidden; }
.thumb small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0; margin-top: 4px; opacity: .8; }
@media (max-width: 520px) { .post { grid-template-columns: minmax(0, 1fr) 76px; gap: 12px; } .thumb { width: 76px; height: 76px; font-size: 19px; border-radius: 14px; } .post h3 { font-size: 19px; } .post p { display: none; } }

/* strategies */
/* strategy tiles */
.strats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 640px) { .strats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .strats.wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.strat { display: flex; flex-direction: column; padding: 10px 10px 16px; }
.strat-art { padding: 8px 4px 2px; border-radius: 18px; background: #fdfcff; box-shadow: inset 0 0 0 1px var(--outline); overflow: hidden; }
.strat .label { display: block; margin: 12px 8px 2px; }
.strat h3 { margin: 0 8px; font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.strat .link { margin: 10px 8px 0; font-size: 14px; }
.strat:hover .cd.up rect { fill: #4a1fe6; }

/* charts on a light canvas: violet up candles, coral down candles */
.chart { display: block; width: 100%; height: auto; }
.chart .grid { stroke: #efeaf6; }
.chart .ax { fill: #8a8494; font: 500 11px var(--sans); }
.chart .ax.pn { fill: #9d97a8; }
.cd line { stroke-width: 1.4; }
.cd.up line { stroke: #5a2dff; } .cd.up rect { fill: #5a2dff; }
.cd.dn line { stroke: #ff5c3d; } .cd.dn rect { fill: #ff5c3d; }
.chart.mini .cd line { stroke-width: 2.2; }
.cd { transition: opacity .35s var(--emph), transform .35s var(--emph); transform-box: fill-box; transform-origin: center bottom; }
.ov { stroke-width: 1.8; fill: none; } .ov.dash { stroke-dasharray: 5 4; } .ov.thin, .sl.thin { stroke-width: 1.2; }
.sl { stroke-width: 1.6; fill: none; }
.cloud { fill-opacity: .12; stroke: none; }
.hb { opacity: .8; }
.rs { stroke: #7c5cff; stroke-width: 1.8; }
.rsi-bg { fill: rgba(90,45,255,.035); }
.rsi-ref { stroke: #d6cfe2; stroke-dasharray: 3 4; }
.an { stroke-width: 2; fill: none; }
.an.dash { stroke-dasharray: 6 5; }
.an.thin { stroke-width: 1.2; }
.an.box { fill-opacity: .12; stroke-opacity: .8; stroke-width: 1.5; }
.an.band { fill-opacity: .07; stroke: none; }
.an.ring { stroke-width: 2.5; }
.an.arr { stroke-width: 2.5; }
.an.pf { stroke: none; fill-opacity: .22; }
.chart.mini .ov { stroke-width: 2.2; }
.lbl { font: 700 13px var(--sans); paint-order: stroke; stroke: #fdfcff; stroke-width: 4px; stroke-linejoin: round; }
.lbl.sm { font-size: 11px; stroke-width: 3px; }

/* the step player */
.sx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 24px 0 10px; padding: 12px; border-radius: var(--r-xl); background: var(--s1); }
@media (min-width: 1000px) { .sx { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; padding: 16px; } }
.sx-stage { position: relative; align-self: start; min-width: 0; padding: 28px 6px 6px; border-radius: 20px; background: #fdfcff; box-shadow: inset 0 0 0 1px var(--outline); }
.sx-tag { position: absolute; left: 14px; top: 8px; font-size: 11.5px; font-weight: 500; color: var(--dim); }
.sx-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 4px; }
.sx-ctrl { display: flex; align-items: center; gap: 6px; }
.sx-b { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--outline2); color: var(--on); cursor: pointer; transition: background .2s; }
.sx-b:hover { background: var(--s2); }
.sx-b .ic { width: 20px; height: 20px; }
.sx-play { background: var(--primary); color: #fff; box-shadow: none; }
.sx-play:hover { background: #4a1fe6; }
.sx-count { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--on2); }
.sx-bar { height: 4px; border-radius: 4px; background: var(--s3); overflow: hidden; }
.sx-bar i { display: block; width: 0; height: 100%; background: var(--primary); }
.sx-bar i.run { animation: sxbar 7.5s linear forwards; }
@keyframes sxbar { to { width: 100%; } }
.sx.away .sx-bar i.run { animation-play-state: paused; }
.sx-steps { display: grid; gap: 2px; }
.sx-steps button { display: flex; gap: 12px; width: 100%; padding: 9px 10px; text-align: left; border: 0; border-radius: 16px; background: transparent; cursor: pointer; transition: background .2s; }
.sx-steps button:hover { background: var(--s2); }
.sx-steps b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--white); box-shadow: inset 0 0 0 1px var(--outline2); font-size: 13px; font-weight: 600; color: var(--on2); }
.sx-steps strong { display: block; font-size: 15px; line-height: 1.3; font-weight: 600; }
.sx-steps small { display: none; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--on2); }
.sx-steps li.on button { background: var(--white); box-shadow: 0 1px 3px rgba(28,27,31,.08); }
.sx-steps li.on b { background: var(--primary); color: #fff; box-shadow: none; }
.sx-steps li.done b { background: var(--pc); color: var(--on-pc); box-shadow: none; }
.sx-steps li.on small { display: block; }
.sx-bot { display: none; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--outline); }
.sx-bot.on { display: flex; animation: pop .45s var(--emph); }
.sx-bot span { font-size: 13.5px; }
.sx-bot p { margin-top: 3px; font-size: 15px; line-height: 1.4; }
.js .sx:not(.ready) .cd, .js .sx:not(.ready) .ly { opacity: 0; }
.sx.ready .cd.off { opacity: 0; transform: scaleY(.3); }
.sx.ready [data-from] { transition: opacity .45s var(--emph); }
.sx.ready [data-from].hid { opacity: 0; }
.sx.ready .ly { opacity: 0; transition: opacity .45s var(--emph); }
.sx.ready .ly.on { opacity: .45; }
.sx.ready .ly.on.now { opacity: 1; }
.sx.ready .lbl.lbl-off { opacity: 0; }
@media (max-width: 600px) { .sx .chart .lbl { font-size: 20px; stroke-width: 6px; } .sx .chart .lbl.sm { font-size: 15px; stroke-width: 4px; } .sx .chart .ax { font-size: 16px; } .sx .chart .ax.pn { font-size: 15px; } }

/* strategy pages */
.st-hero { padding: clamp(28px, 4vw, 52px) 0 8px; }
.st-hero .display { font-size: clamp(38px, 4.8vw, 64px); }
.st-hero .lede { margin-top: 14px; max-width: 640px; }
.st-jump { flex-wrap: wrap; margin: 22px 0 6px; }
.st-jump .chip { text-decoration: none; }
.st-sec { padding: 34px 0 6px; scroll-margin-top: 80px; }
.st-head { padding: clamp(24px, 3.5vw, 44px) 0 0; max-width: 860px; }
.st-head .back { display: flex; width: max-content; margin-bottom: 14px; font-size: 14px; }
.st-head .over { display: flex; }
.st-head .back .ic { transition: transform .25s var(--emph); }
.st-head .back:hover .ic { transform: translateX(-3px); }
.h1s { font-weight: 600; font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.st-head .lede { margin-top: 12px; }
.st-cols { margin-top: 26px; }
.prose { max-width: 720px; font-size: 17px; line-height: 1.65; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 20px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose h2 { margin: 28px 0 12px; font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.prose b { font-weight: 600; }
.faq { margin-top: 30px; padding-top: 8px; border-top: 1px solid var(--outline); }
.faq h3 { margin: 18px 0 6px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.faq p { color: var(--on2); }
.credit { margin-top: 26px; padding: 14px 16px; border-radius: var(--r-m); background: var(--s1); font-size: 13.5px; line-height: 1.5; color: var(--on2); }
.nextc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; }
.nextc .label { grid-column: 1; }
.nextc b { grid-column: 1; font-size: 16px; font-weight: 600; line-height: 1.25; }
.nextc .ic { grid-column: 2; grid-row: 1 / span 2; color: var(--primary); }
.test-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 760px) { .test-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.test-grid div { display: flex; gap: 12px; padding: 16px; border-radius: var(--r-l); background: var(--s1); }
.test-grid b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--lime-c); color: var(--on-lime); font-weight: 700; }
.test-grid strong { display: block; font-size: 15.5px; font-weight: 600; }
.test-grid small { display: block; margin-top: 3px; font-size: 14px; color: var(--on2); line-height: 1.4; }

/* short desktop screens: keep the drawer from needing a scrollbar */
@media (min-width: 1180px) and (max-height: 700px) { .ni { height: 40px; } .nav-h { margin-top: 6px; } .brand { padding-bottom: 8px; } }

/* rail cards */
.rc { padding: 18px; }
.rc h2 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; }
.rc .sub { margin: -6px 0 10px; font-size: 13.5px; color: var(--dim); line-height: 1.35; }
.toplist li a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--outline); }
.toplist li:first-child a { border-top: 0; padding-top: 2px; }
.toplist .rk { font-weight: 600; font-size: 20px; line-height: 1.1; color: #c9c3d0; }
.toplist b { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.25; }
.toplist small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--dim); }
.toplist a:hover b { color: var(--primary); }
.boards { display: grid; gap: 6px; }
.boards div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--white); font-size: 14px; font-weight: 500; }
.boards div span { font-size: 12px; color: var(--dim); font-weight: 500; }
.plan-rc { background: var(--primary); color: #fff; }
.plan-rc h2 { font-size: 22px; line-height: 1.12; letter-spacing: -.03em; }
.plan-rc p { margin: 6px 0 14px; font-size: 14.5px; line-height: 1.4; color: #dcd3ff; }
.plan-rc .btn { width: 100%; background: #fff; color: var(--primary); }
.calls li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--outline); font-size: 14.5px; line-height: 1.35; font-weight: 500; }
.calls li:first-child { border-top: 0; }
.calls b { font-size: 12px; color: var(--dim); font-weight: 600; padding-top: 2px; }

/* footer */
.foot { margin-top: clamp(40px, 6vw, 80px); padding: 40px 0 36px; border-top: 1px solid var(--outline); font-size: 14px; color: var(--on2); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-bottom: 26px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.foot-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 820px) { .foot-grid > div:first-child { grid-column: auto; } }
.foot h3 { font-size: 13px; font-weight: 600; color: var(--dim); margin-bottom: 8px; }
.foot a:not(.brand) { display: block; padding: 3px 0; }
.foot a:not(.brand):hover { color: var(--primary); }
.legal { padding-top: 18px; border-top: 1px solid var(--outline); font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.legal b { color: var(--on2); font-weight: 600; }

/* reveal */
.js [data-r] { opacity: 0; }
.js [data-r].in { opacity: 1; animation: rise .7s var(--emph) backwards; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

/* ---------- community page ---------- */
.cm-hero { padding: clamp(28px, 4vw, 52px) 0 10px; }
.cm-hero .display { font-size: clamp(38px, 4.8vw, 64px); }
.cm-hero .lede { margin-top: 14px; max-width: 640px; }
.how3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 24px 0 8px; }
@media (min-width: 760px) { .how3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how3 div { display: flex; gap: 12px; padding: 16px; border-radius: var(--r-l); background: var(--s1); }
.how3 b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--pc); color: var(--on-pc); font-size: 14px; font-weight: 700; }
.how3 strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.how3 small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--on2); }
.topics-bar { position: sticky; top: 0; z-index: 20; margin: 18px 0 4px; padding: 10px 0; background: rgba(254,251,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (max-width: 719px) { .topics-bar { top: 60px; } }
.topics-bar .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.topics-bar .chips::-webkit-scrollbar { display: none; }
.topics-bar .chip { flex: none; }
.topics-bar .chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.pinned { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 700px) { .pinned { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pin { display: block; padding: 16px; border-radius: var(--r-l); background: var(--lime-c); }
.pin:nth-child(2) { background: var(--pc); }
.pin .label { color: var(--on2); }
.pin h3 { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 19px; line-height: 1.25; }
.replay { padding: 18px; }
.replay-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.replay-head .label { margin-left: auto; }
.replay .thread-mini { min-height: 260px; }
.replay .tm { animation: pop .5s var(--emph) backwards; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.typing { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--s2); width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
.take { margin-top: 12px; padding: 14px; border-radius: var(--r-m); background: var(--s1); font-size: 15px; line-height: 1.45; animation: pop .5s var(--emph); }
.take b { display: block; font-size: 12.5px; color: var(--primary); margin-bottom: 4px; }
.cast li { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--outline); }
.cast li:first-child { border-top: 0; }
.cast b { display: block; font-size: 14px; font-weight: 600; }
.cast small { display: block; font-size: 12.5px; color: var(--dim); line-height: 1.3; }
.plist a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--outline); }
.plist a:first-child { border-top: 0; }
.plist b { display: block; font-size: 14px; font-weight: 600; }
.plist small { display: block; font-size: 12.5px; color: var(--dim); line-height: 1.25; }
.feed-n { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: var(--dim); }

.flow .seg .ck { display: none; }
.seg.fill { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); width: 100%; }
.seg.fill button { padding: 0 8px; }
@media (max-width: 520px) { .seg .ck { display: none; } }
.nope { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: var(--r-m); background: var(--bad-c); color: var(--on-bad); font-size: 15px; line-height: 1.45; font-weight: 500; }
.nope .ic { width: 20px; height: 20px; margin-top: 1px; }
.check-pick .chip .mono.sm { width: 20px; height: 20px; border-radius: 6px; font-size: 9.5px; margin-left: -4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; }
  .models.play .mrow:not(.head) { opacity: 1; transform: none; }
}

/* phone: bigger diagram labels, verdict above the caption */
@media (max-width: 560px) {
  .fl-node text { font-size: 19px; transform: translateY(7px); }
  .fl-node .sub { display: none; }
  .fl-you text { transform: scale(1.1); transform-origin: 70px 145px; }
  .flow { padding: 12px; }
  .flow-cap { grid-template-columns: minmax(0, 1fr); }
  .flow-cap .v { justify-self: start; grid-row: 1; }
  .verdict dl { grid-template-columns: 1fr; }
  .covers { font-size: 13px; }
}

/* =====================================================================
   Live-site additions: every page type beyond the mockup, in the same tokens
   ===================================================================== */
.skip { position: absolute; left: 12px; top: -60px; z-index: 90; padding: 10px 16px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
.foot .brand { padding: 0 0 8px; }
.nav-top { display: flex; align-items: center; justify-content: space-between; }
.nav .nav-x { display: none; }
.nav-foot p { margin: 0; }
.nav-foot p + p { margin-top: 6px; }
.nav-foot a { display: inline-block; margin-right: 12px; font-weight: 600; color: var(--on2); }
.nav-foot a:hover, .nav-foot a[aria-current] { color: var(--primary); }
@media (min-width: 1180px) and (max-height: 820px) { .ni { height: 42px; } .nav-h { margin-top: 8px; } .nav-in { gap: 4px; } }
@media (max-width: 719px) { .nav .nav-x { display: grid; } .nav-top .brand { padding-bottom: 6px; } }
main { display: block; }
.u, .note a, .prose a, .cf-note a, .th-humans a, .credit a, .sources a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--s2); }

/* page header */
.ph { padding: clamp(26px, 3.6vw, 48px) 0 clamp(18px, 2.4vw, 28px); max-width: 860px; }
.ph .over { display: flex; }
.ph .lede { margin-top: 12px; max-width: 680px; }
.ph .meta { margin-top: 12px; font-size: 13.5px; color: var(--dim); }
.back { display: flex; width: max-content; margin-bottom: 14px; font-size: 14px; }
.back .ic { transition: transform .25s var(--emph); }
.back:hover .ic { transform: translateX(-3px); }
.sec-t { padding: clamp(28px, 4vw, 48px) 0 0; scroll-margin-top: 90px; }
.sec-t .sec-head { margin-bottom: 18px; }
.note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--dim); max-width: 760px; }
.h1s .soft, .display .soft { color: #a58fff; }
.soon-v { height: 22px; font-size: 11.5px; margin-left: 6px; vertical-align: 2px; }
.jump { position: sticky; top: 0; z-index: 20; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(16px, 3vw, 32px)); padding: 10px clamp(16px, 3vw, 32px); background: rgba(254,251,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.jump::-webkit-scrollbar { display: none; }
.jump .chip { flex: none; }
.jump .chip.on { background: var(--pc); border-color: var(--pc); color: var(--on-pc); }
@media (max-width: 719px) { .jump { top: 60px; } }

/* two columns, panels, list rows */
.two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 820px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel { padding: 14px 18px 8px; }
.panel h3 { display: flex; align-items: center; gap: 8px; margin: 4px 0 6px; font-size: 17px; font-weight: 600; color: var(--on-good); }
.panel.bad h3 { color: var(--on-bad); }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--outline); }
.lrow b { display: block; font-weight: 600; font-size: 15.5px; }
.lrow small { display: block; font-size: 13.5px; color: var(--dim); line-height: 1.3; }
.lrow .ic { width: 18px; height: 18px; color: var(--dim); }
.lrow:hover b { color: var(--primary); }
@media (max-width: 420px) { .lrow { grid-template-columns: minmax(0, 1fr) 18px; } .lrow .v { grid-column: 1; justify-self: start; } .lrow .ic { grid-row: 1 / span 2; grid-column: 2; } }

/* tables */
.tscroll { overflow-x: auto; border-radius: var(--r-l); background: var(--white); box-shadow: inset 0 0 0 1px var(--outline); margin: 0 0 18px; }
.tscroll table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tscroll th, .tscroll td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--outline); }
.tscroll thead th { border-top: 0; background: var(--s2); font-size: 12.5px; font-weight: 600; color: var(--on2); letter-spacing: .02em; white-space: nowrap; }
.tscroll tbody th { font-weight: 600; }
.tscroll tbody th a:hover { color: var(--primary); }
.cmp td.bad { color: var(--on-bad); font-weight: 600; }
.cmp-m { display: none; gap: 8px; }
.cmp-m details { padding: 0 16px; border-radius: var(--r-m); }
.cmp-m summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none; }
.cmp-m summary::-webkit-details-marker { display: none; }
.cmp-m dl { margin: 0 0 10px; display: grid; gap: 6px; }
.cmp-m dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--outline); font-size: 14px; }
.cmp-m dt { color: var(--dim); } .cmp-m dd { margin: 0; font-weight: 600; text-align: right; }
.cmp-m .link { margin-bottom: 14px; font-size: 14px; }
@media (max-width: 760px) { #scorecard .tscroll { display: none; } .cmp-m { display: grid; } }

/* risk ladder and legend */
.ladder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ladder { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rung { padding: 18px; }
.rung .label { display: block; }
.rung-n { display: block; font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -.04em; }
.rung small { display: block; margin-top: 2px; font-size: 13px; color: var(--dim); }
.rung p { margin-top: 10px; font-size: 14.5px; line-height: 1.4; color: var(--on2); }
.sbar { display: flex; height: 30px; margin-top: 14px; border-radius: 10px; overflow: hidden; background: #ffe7a6; font-size: 12px; font-weight: 600; }
.sbar i { display: flex; align-items: center; padding: 0 8px; font-style: normal; white-space: nowrap; overflow: hidden; }
.sbar .s-a { background: var(--primary); color: #fff; }
.sbar .s-b { flex: 1; color: var(--on-care); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13.5px; color: var(--on2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; background: var(--c); }

/* pockets, rules, end CTA */
.pocket { padding: 22px; }
.pocket h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.pocket p { margin-top: 6px; color: var(--on2); }
.pocket.hot { background: var(--pc); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.facts div { padding: 10px 12px; border-radius: var(--r-m); background: var(--white); }
.facts b { display: block; font-weight: 600; font-size: 17px; }
.facts span { font-size: 12.5px; color: var(--dim); }
.rules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 700px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rl { display: flex; gap: 14px; padding: 18px; }
.rl > b { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--lime-c); color: var(--on-lime); font-weight: 700; }
.rl h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; }
.rl p { margin-top: 4px; font-size: 14.5px; line-height: 1.45; color: var(--on2); }
.end-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: clamp(32px, 5vw, 56px); padding: clamp(20px, 3vw, 32px); background: var(--pc); }
.end-cta .muted { margin-top: 6px; }
.end-cta .acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* guides */
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; }
.eg { font-size: 14px; color: var(--dim); }
.goes { display: inline-flex; flex-direction: column; gap: 2px; margin-top: 14px; padding: 12px 16px; border-radius: var(--r-m); height: auto; white-space: normal; }
.goes::before { display: none; }
.goes span { font-size: 12.5px; font-weight: 500; opacity: .85; }
.goes b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.strip div { padding: 12px 14px; border-radius: var(--r-m); background: var(--s1); }
.strip span { display: block; font-size: 12.5px; color: var(--dim); }
.strip b { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.gcols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
@media (min-width: 900px) { .gcols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcols section { padding: 18px; }
.gcols h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.gcols h2 .ic { width: 20px; height: 20px; color: var(--primary); }
.gcols li { position: relative; padding: 8px 0 8px 16px; border-top: 1px solid var(--outline); font-size: 14.5px; line-height: 1.45; color: var(--on2); }
.gcols li:first-child { border-top: 0; }
.gcols li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--outline2); }
.gcols li a { color: var(--primary); text-decoration: underline; }
.fit { margin-top: 14px; padding: 14px 18px; border-radius: var(--r-m); font-weight: 600; }
.nextrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.plat-dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 0; }
.plat-dl div { padding: 10px 12px; border-radius: 12px; background: var(--s1); }
.plat-dl dt { font-size: 12px; color: var(--dim); }
.plat-dl dd { margin: 2px 0 0; font-size: 14px; font-weight: 500; line-height: 1.35; }
.plat .acts { flex-wrap: wrap; }

/* articles */
.readbar { position: fixed; z-index: 50; left: var(--nav); right: 0; top: 0; height: 3px; pointer-events: none; }
.readbar i { display: block; height: 100%; background: var(--primary); transform-origin: left; transform: scaleX(0); }
@media (max-width: 719px) { .readbar { top: 60px; } }
.art { min-width: 0; }
.art .ph { padding-bottom: 18px; }
.prose { color: var(--on); }
.prose h2 { scroll-margin-top: 90px; }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose .tscroll { margin: 6px 0 22px; }
.fig { margin: 8px 0 24px; padding: 6px 18px; border-radius: var(--r-l); background: var(--s1); }
.fig-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--outline); font-size: 15.5px; line-height: 1.3; color: var(--on2); }
.fig-row:last-of-type { border-bottom: 0; }
.fig-row b { font-weight: 600; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.03em; color: var(--on); white-space: nowrap; }
.fig-row b.neg { color: var(--on-bad); }
.fig figcaption { padding: 8px 0; font-size: 13px; color: var(--dim); }
.vbox { display: grid; gap: 14px; margin: 4px 0 26px; padding: 22px; }
.vbox.good { background: #f1fbec; } .vbox.care { background: #fff8e4; } .vbox.bad { background: #fff0eb; } .vbox.avoid { background: #fdf0f7; }
.vbox .verdict-top h3 { font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.vbox > p { color: var(--on2); }
.vwhy { padding: 14px 16px; border-radius: var(--r-m); background: rgba(255,255,255,.8); }
.vwhy b { display: block; margin: 2px 0 4px; font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.25; }
.vwhy p { font-size: 15px; color: var(--on2); }
.vbox dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; }
@media (min-width: 640px) { .vbox dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vbox dl div { padding: 12px; border-radius: var(--r-m); background: rgba(255,255,255,.75); }
.vbox dt { font-size: 12.5px; color: var(--dim); font-weight: 500; }
.vbox dd { margin: 2px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.vbox small { font-size: 12.5px; color: var(--dim); }
.sources { margin-top: 26px; padding: 16px 18px; border-radius: var(--r-l); background: var(--s1); }
.sources h2 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.sources li { padding: 4px 0; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.toc a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; line-height: 1.3; color: var(--on2); }
.toc a:hover { background: var(--s1); }
.toc a.on { background: var(--pc); color: var(--on-pc); font-weight: 600; }
.posts.news .post { grid-template-columns: minmax(0, 1fr); }
.post h3 { overflow-wrap: anywhere; }
@media (max-width: 999px) { .art-cols .toc { display: none; } }

/* Sivex rail card */
.sx-rc { background: var(--lime-c); }
.sx-rc .label { display: block; color: var(--on-lime); margin-bottom: 4px; }
.sx-rc h2 { font-size: 18px; line-height: 1.2; }
.sx-rc .big { margin: 0 0 8px; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.sx-rc .sub { margin: 0 0 12px; color: var(--on2); }
.sx-rc .btn { background: var(--on); color: #fff; }
.sx-rc .fine { margin-top: 10px; font-size: 12px; color: var(--on2); }

/* calculators */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 22px; }
.tile h2 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.tile p { color: var(--on2); }
.tile .link { margin-top: 8px; }
.tile.main { background: var(--primary); color: #fff; }
.tile.main .label, .tile.main p { color: #dcd3ff; }
.tile.main .link { color: #fff; }
.tool-wrap { max-width: 920px; }
.tool-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: clamp(16px, 2.6vw, 24px); }
@media (min-width: 820px) { .tool-box { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }
.fields { display: grid; gap: 18px; }
.fld-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fld label { font-size: 14.5px; font-weight: 600; }
.numbox { display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1px var(--outline2); font-weight: 600; }
.numbox:focus-within { box-shadow: inset 0 0 0 2px var(--primary); }
.numbox span { color: var(--dim); }
.numbox input { width: 82px; border: 0; outline: 0; background: transparent; font-size: 16px; font-weight: 600; text-align: right; }
.slider { width: 100%; margin-top: 12px; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--primary) var(--p, 50%), var(--s3) var(--p, 50%)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--primary), 0 2px 6px rgba(0,0,0,.15); cursor: pointer; }
.slider::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--primary); cursor: pointer; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quick button { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--outline2); background: var(--white); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.quick button.on { background: var(--pc); border-color: var(--pc); color: var(--on-pc); }
.fld small { display: block; margin-top: 6px; font-size: 13px; color: var(--dim); }
.answer { padding: 20px; min-height: 220px; }
.answer .lab { font-size: 13.5px; font-weight: 500; color: var(--dim); }
.answer .val { margin: 4px 0 6px; font-weight: 600; font-size: clamp(38px, 5vw, 54px); line-height: 1; letter-spacing: -.04em; }
.answer .val.good { color: var(--on-good); } .answer .val.bad { color: var(--on-bad); } .answer .val.mid { color: var(--on-care); }
.answer .say { color: var(--on2); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.trio div { padding: 10px; border-radius: 12px; background: var(--s1); }
.trio b { display: block; font-weight: 600; font-size: 16px; }
.trio span { display: block; font-size: 12px; line-height: 1.3; color: var(--dim); }
.calc-how { margin-top: 12px; padding: 14px 18px; }
.calc-how summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.calc-how p { margin-top: 8px; font-size: 14.5px; color: var(--on2); }

/* the plan wizard */
.wiz { overflow: hidden; }
.wiz-bar { height: 4px; background: var(--s3); }
.wiz-bar i { display: block; height: 100%; width: 0; background: var(--primary); transition: width .45s var(--emph); }
.wiz-body { padding: clamp(18px, 3vw, 30px); }
.step-in { animation: swap .45s var(--emph); }
.wiz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--dim); }
.wiz-top button { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--outline2); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.wiz-body h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.wiz-body .why { margin-top: 8px; color: var(--on2); max-width: 620px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 20px; }
.choice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 60px; padding: 14px 16px; border: 0; border-radius: var(--r-m); background: var(--white); box-shadow: inset 0 0 0 1px var(--outline2); text-align: left; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s var(--emph); }
.choice:hover { background: var(--pc); box-shadow: inset 0 0 0 1px var(--pc); transform: translateY(-1px); }
.choice b { font-weight: 600; font-size: 16px; }
.choice small { font-size: 12.5px; color: var(--dim); }
.wiz-body .eyebrow { display: inline-flex; font-size: 13.5px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.plan-h { margin-bottom: 8px; }
.plan-p { color: var(--on2); max-width: 680px; }
.plan-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0 14px; }
.plan-trio div { padding: 12px 14px; border-radius: var(--r-m); background: var(--white); }
.plan-trio b { display: block; font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.03em; }
.plan-trio span { display: block; font-size: 12.5px; color: var(--dim); }
.plan-split { display: flex; height: 34px; border-radius: 10px; overflow: hidden; background: #ffe7a6; font-size: 12.5px; font-weight: 600; margin-bottom: 8px; }
.plan-split i { display: flex; align-items: center; padding: 0 10px; font-style: normal; white-space: nowrap; overflow: hidden; }
.plan-split .s-a { background: var(--primary); color: #fff; }
.plan-split .s-b { color: var(--on-care); }
.plan-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--dim); }
.route-h { margin: 22px 0 10px; font-size: 18px; font-weight: 600; }
.routes { display: grid; gap: 10px; }
.route { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: var(--r-l); background: var(--white); box-shadow: inset 0 0 0 1px var(--outline); }
.route.first { box-shadow: inset 0 0 0 2px var(--primary); }
.route-n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--s2); font-weight: 700; color: var(--on2); }
.route.first .route-n { background: var(--primary); color: #fff; }
.route-tag { display: inline-block; margin-bottom: 4px; padding: 2px 8px; border-radius: 6px; background: var(--lime-c); color: var(--on-lime); font-size: 12px; font-weight: 600; }
.route h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.route-hook { margin-top: 2px; font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.25; }
.route-amt { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--primary); }
.route p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; color: var(--on2); }
.route .route-cap { padding: 8px 10px; border-radius: 10px; background: var(--s1); font-size: 13.5px; }
.route-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.route-cta .btn { height: 40px; padding: 0 18px; font-size: 14.5px; }
.route-cta svg, .plan-more svg { width: 16px; height: 16px; }
.route-cta .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--primary); }
.plan-list { display: grid; gap: 8px; margin-top: 16px; }
.plan-list a { display: block; padding: 14px 16px; border-radius: var(--r-m); background: var(--white); box-shadow: inset 0 0 0 1px var(--outline); }
.plan-list b { display: block; font-weight: 600; }
.plan-list span { font-size: 14px; color: var(--on2); }
.plan-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--dim); }
.plan-more a { padding: 6px 12px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--outline2); font-weight: 500; color: var(--on); }
.again { margin-top: 18px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--pc); color: var(--on-pc); font-weight: 600; cursor: pointer; }

/* platforms: what we don't recommend */
.nopes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px) { .nopes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .nopes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nope-c { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
.nope-c h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.nope-stat { padding: 10px 12px; width: 100%; border-radius: 12px; background: var(--bad-c); color: var(--on-bad); }
.nope-stat b { display: block; font-weight: 600; font-size: 26px; letter-spacing: -.03em; line-height: 1.05; }
.nope-stat span { font-size: 13px; }
.nope-c dl { margin: 0; display: grid; gap: 6px; width: 100%; }
.nope-c dt { font-size: 12px; color: var(--dim); }
.nope-c dd { margin: 0; font-size: 14px; line-height: 1.4; }
.instead { display: flex; gap: 8px; align-items: flex-start; width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--good-c); color: var(--on-good); font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.instead small { display: block; font-size: 12px; font-weight: 500; }
.instead .ic { width: 18px; height: 18px; margin-top: 2px; }
.nope-c .link { margin-top: auto; font-size: 14px; }

/* thesis */
.thesis { display: grid; gap: 12px; }
.tz { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 22px; padding: clamp(20px, 3vw, 32px); scroll-margin-top: 90px; }
@media (min-width: 760px) { .tz { grid-template-columns: 64px minmax(0, 1fr); } }
.tz-n { font-weight: 600; font-size: 28px; color: var(--primary); letter-spacing: -.03em; }
.tz .h2 { font-size: clamp(24px, 2.6vw, 32px); }
.tz-lede { margin: 10px 0 14px; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--on2); }
.tz .prose { font-size: 16.5px; }

/* rankings and icon lists */
.checks li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--outline); font-size: 14.5px; }
.checks li:first-child { border-top: 0; }
.checks .ic { width: 18px; height: 18px; }
.checks.ok .ic { color: var(--on-good); } .checks.no .ic { color: var(--on-bad); }
.calls li a:hover { color: var(--primary); }

/* community additions */
.topics-bar .chip[aria-current] { background: var(--pc); border-color: var(--pc); color: var(--on-pc); }
.replay h3.serif { font-size: 24px; line-height: 1.2; margin-bottom: 14px; }
.replay .link { display: inline-flex; }
.feed-n .seg button { height: 34px; padding: 0 12px; font-size: 13px; }
.notes .note[hidden] { display: none; }
.more-btn { justify-self: center; margin-top: 12px; }
.cast li .bot { margin-left: 6px; font-size: 9px; padding: 1px 5px; }
.th-page .th { min-width: 0; }
.crumbs { display: flex; gap: 8px; padding-top: clamp(22px, 3vw, 36px); font-size: 14px; color: var(--dim); }
.crumbs a { color: var(--primary); font-weight: 600; }
.th-h { padding: 12px 0 18px; }
.th-tags { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.th-h .h1s { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
.th-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--dim); }
.cast-row { display: inline-flex; }
.cast-row .av { margin-right: -6px; box-shadow: 0 0 0 2px var(--bg); }
.th-posts { padding: 6px 18px; }
.th-posts .p { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--outline); }
.th-posts .p:first-child { border-top: 0; }
.p-b { min-width: 0; }
.p-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; }
.p-h b { font-weight: 600; }
.p-h .bot { margin-left: 0; }
.p-h small { color: var(--dim); font-size: 13px; }
.hz { padding: 1px 7px; border-radius: 6px; background: var(--info-c); color: var(--on-info); font-size: 12px; font-weight: 600; }
.op-tag { padding: 1px 7px; border-radius: 6px; background: var(--lime-c); color: var(--on-lime); font-size: 12px; font-weight: 600; }
.p-t { margin-top: 6px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
h2.p-t { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.3; }
.th-end { margin-top: 14px; padding: 20px; background: var(--pc); }
.th-end .label { display: inline-flex; align-items: center; gap: 6px; color: var(--on-pc); font-weight: 600; }
.th-end .label .ic { width: 16px; height: 16px; }
.th-end p { margin: 8px 0 14px; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.35; }
.th-humans { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 14px 16px; border-radius: var(--r-m); background: var(--s1); font-size: 14px; color: var(--on2); }
.th-humans .ic { width: 18px; height: 18px; margin-top: 1px; }
.tm p { overflow-wrap: anywhere; }

/* contact */
.contact-how { padding: 20px; }
.how-list { display: grid; gap: 12px; margin-top: 12px; }
.how-list li { display: flex; gap: 12px; }
.how-list b { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--pc); color: var(--on-pc); font-weight: 700; font-size: 14px; }
.how-list strong { display: block; font-weight: 600; }
.how-list small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--on2); }
.mailc { display: grid; gap: 12px; padding: clamp(18px, 3vw, 28px); }
.mail-big { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -.01em; color: var(--primary); overflow-wrap: anywhere; }
.mail-big .ic { width: 26px; height: 26px; flex: none; }
.mail-big:hover { text-decoration: underline; text-underline-offset: 4px; }
.how-list.tight { margin-top: 0; gap: 10px; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px; }
.cf-note { font-size: 13.5px; color: var(--dim); }

/* 404 */
.nf { padding: clamp(48px, 9vw, 120px) 0 20px; max-width: 760px; }

/* phone: the business-model table stacks, verdict chip last */
@media (max-width: 560px) {
  .rule { padding: 20px 14px; border-radius: 26px; }
  .mrow { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .mrow .v { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; }
  .mrow .how { font-size: 13.5px; }
}

.cast b { display: inline; }
.cast li > span { min-width: 0; }

/* what this site is for (About + home rail) */
.purpose { margin: 0 0 26px; padding: 20px; border-radius: var(--r-l); background: var(--s1); }
.purpose .h3 { margin-bottom: 10px; }
.purpose-list { display: grid; gap: 2px; }
.purpose-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--outline); }
.purpose-list li:first-child a { border-top: 0; padding-top: 2px; }
.purpose-list .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--primary); }
.purpose-list strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.purpose-list small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--on2); }
.purpose-list a:hover strong { color: var(--primary); }
