/* yeloop.net — one stylesheet for every page. Yellow is a highlighter:
   it marks what a scan found and the plan we recommend, nothing else. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-2: #f6f6f3;
  --ink: #16181d;
  --ink-2: #3b3f48;
  --muted: #6a707c;
  --rule: #e4e5e9;
  --yellow: #f2d600;        /* the logo's yellow */
  --yellow-ink: #16181d;    /* text sitting on yellow */
  --mark: rgba(242, 214, 0, .55);
  --risk: #e5484d;
  --win: #2f9e6b;
  --loss: #e5484d;
  --bar: #c9ccd3;

  --measure: 66ch;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 6px;
  --r-panel: 10px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17191e;
    --paper-2: #1e2127;
    --ink: #f1f2f4;
    --ink-2: #c9ccd3;
    --muted: #979daa;
    --rule: #2c3038;
    --mark: rgba(242, 214, 0, .32);
    --bar: #3d424c;
    --risk: #ff6b6f;
    --win: #45c08a;
    --loss: #ff6b6f;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 "Schibsted Grotesk", system-ui, sans-serif;
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--yellow); color: var(--yellow-ink); padding: 8px 12px; z-index: 10; }

/* the highlighter stroke: slightly skewed, like a real pen */
.hl {
  background: linear-gradient(100deg, transparent 0 1%, var(--mark) 2% 97%, transparent 98%) 0 62% / 100% 70% no-repeat;
  padding: 0 .12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ── header ─────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
section[id] { scroll-margin-top: 72px; }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.site-nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.site-nav .btn, .site-nav .btn:hover { color: var(--paper); text-decoration: none; }
@media (max-width: 720px) { .site-nav a.opt { display: none; } .site-nav { gap: 16px; align-items: center; } .site-head .wrap { gap: 12px; } }

/* ── buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: var(--r-sm);
  font-family: inherit; font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  white-space: nowrap; transition: transform .12s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* ── hero ───────────────────────────────────────────── */
.hero { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }

h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-weight: 850; font-size: clamp(44px, 6.4vw, 80px); max-width: 11ch; }
h2 { font-weight: 800; font-size: clamp(32px, 4.2vw, 52px); max-width: 18ch; }
h3 { font-weight: 750; font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
/* the one line above the H1 that names what Yeloop is, for readers and search */
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 0 .2em;
  font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
  background: linear-gradient(100deg, transparent 0 1%, var(--mark) 2% 97%, transparent 98%) 0 92% / 100% .5em no-repeat;
}
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; margin: 24px 0 32px; }

.scan-box { display: flex; max-width: 520px; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--paper); }
.scan-box:focus-within { box-shadow: 0 0 0 4px var(--mark); }
.scan-box input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 16px; padding: 0 14px; height: 52px; outline: none;
}
.scan-box input::placeholder { color: var(--muted); }
.scan-box .btn { border-radius: 0 4px 4px 0; min-height: 52px; margin: -1.5px -1.5px -1.5px 0; }
.scan-hint { font-size: 15px; color: var(--muted); margin: 12px 0 0; min-height: 1.55em; }
.scan-hint[data-state="error"] { color: var(--risk); }

/* the real scan panel */
.panel {
  border: 1.5px solid var(--ink); border-radius: var(--r-panel); background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) { .panel { box-shadow: 8px 8px 0 #000; border-color: var(--rule); } }
.panel-head { padding: 18px 20px 16px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
.panel-kind { font-size: 14px; color: var(--muted); }
.panel-q { grid-column: 1; font-weight: 750; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.panel-price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-size: 14px; color: var(--muted); }
.panel-price b { display: block; font-size: 28px; line-height: 1.05; color: var(--ink); font-weight: 800; letter-spacing: -.03em; }

.rows { position: relative; list-style: none; margin: 0; padding: 6px 0; }
.row {
  display: grid; grid-template-columns: 112px minmax(60px, 1fr) 44px; gap: 4px 14px; align-items: center;
  padding: 7px 20px; font-size: 15px;
}
.row + .row { border-top: 1px solid var(--rule); }
.row .addr { font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.row .bar { height: 10px; border-radius: 5px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.row .bar i {
  display: block; height: 100%; width: calc(var(--s) * 1%); border-radius: 5px;
  background: var(--bar);
  transition: width 1s cubic-bezier(.22, .8, .24, 1), background-color .5s ease;
}
.row.is-flag .bar i { background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .14); }
.row .score { justify-self: end; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; padding: 0 4px; border-radius: 2px; transition: background-color .3s ease; }
.row.is-flag .score { background: var(--yellow); color: var(--yellow-ink); }
.row .why { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.row .tag { display: inline-block; font-size: 12.5px; font-weight: 650; border: 1px solid var(--rule); color: var(--ink-2); border-radius: 4px; padding: 0 6px; margin-right: 6px; }
@media (max-width: 480px) { .row { grid-template-columns: auto 1fr 40px; padding: 7px 14px; } .panel-head, .panel-foot { padding-left: 14px; padding-right: 14px; } }

/* The one orchestrated moment: the scan loads in. A yellow progress line runs
   under the header while each holder's bar fills in yellow, one after another;
   when it's done, wallets under 50 settle to grey and the flagged ones stay
   yellow. boot.js adds .anim before paint; site.js plays it. */
.progress { display: block; height: 3px; background: transparent; }
.progress i { display: block; height: 100%; width: 0; background: var(--yellow); opacity: 0; }
.anim .rows.is-loading .bar i { width: 0; }
.anim .rows.is-loading .row.is-on .bar i { width: calc(var(--s) * 1%); background: var(--yellow); }
.anim .rows.is-loading .row:not(.is-on) .score { visibility: hidden; }
.anim .rows.is-loading .row:not(.is-done) .score { background: transparent; color: var(--ink); }
.anim .rows.is-loading .row .why { opacity: .35; transition: opacity .5s ease; }
.anim .rows.is-loading .row.is-done .why { opacity: 1; }
.anim .panel.is-scanning .progress i { opacity: 1; transition: width var(--scan-ms, 2700ms) linear; width: 100%; }
.anim .panel.is-finished .progress i { width: 100%; opacity: 0; transition: opacity .6s ease .2s; }

.panel-foot { padding: 14px 20px 18px; border-top: 1px solid var(--rule); background: var(--paper-2); font-size: 14.5px; color: var(--ink-2); }
.panel-foot p { margin: 0; }
.panel-foot p + p { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.panel-caption { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* ── sections ───────────────────────────────────────── */
section { padding: clamp(56px, 8vw, 112px) 0; }
section + section { border-top: 1px solid var(--rule); }
.sec-intro { max-width: var(--measure); margin-bottom: clamp(32px, 4vw, 56px); }
.sec-intro p { color: var(--ink-2); font-size: 18px; margin: 18px 0 0; max-width: 56ch; }

/* how a scan works: a real sequence, so it's numbered, beside the bot's reply */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 20px 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step); grid-row: span 2; font-weight: 850; font-size: 40px; line-height: .9; letter-spacing: -.04em; }
.steps p { color: var(--ink-2); margin: 6px 0 0; }
.how-note { color: var(--muted); font-size: 15.5px; margin: 8px 0 0; max-width: 46ch; }

/* the bot's real reply, drawn like a Telegram chat */
.chat { margin: 0; border: 1.5px solid var(--ink); border-radius: var(--r-panel); overflow: hidden; background: #e9edf1; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--rule); font-size: 15px; }
.chat-top small { display: block; color: var(--muted); font-size: 13px; }
.chat-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow) url("img/favicon-64.png") center / cover; border: 1px solid var(--rule); }
.chat-body { padding: 16px; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.45; }
.msg { margin: 0; max-width: 88%; padding: 9px 12px; border-radius: 12px; overflow-wrap: anywhere; }
.msg p { margin: 0; }
.msg p + p { margin-top: 8px; }
.msg.me { justify-self: end; background: #d9f4c7; color: #16181d; border-bottom-right-radius: 4px; margin-bottom: 8px; }
.msg.bot { justify-self: start; background: #fff; color: #16181d; border-bottom-left-radius: 4px; }
.msg u { text-decoration-color: #3a86c8; color: #2b6cb0; text-decoration: none; }
.msg .more { color: #6a707c; }
.kb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 88%; margin-bottom: 8px; }
.key { background: rgba(22, 24, 29, .38); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; padding: 8px 6px; border-radius: 8px; }
.key.is-pressed { background: rgba(22, 24, 29, .55); }
@media (prefers-color-scheme: dark) {
  .chat { background: #0e1621; border-color: var(--rule); }
  .chat-top { background: #17212b; border-color: #0e1621; }
  .msg.me { background: #2b5278; color: #f1f2f4; }
  .msg.bot { background: #182533; color: #f1f2f4; }
  .msg u { color: #6ab3f3; }
  .msg .more { color: #8a96a3; }
  .key { background: rgba(255, 255, 255, .1); }
  .key.is-pressed { background: rgba(255, 255, 255, .18); }
}
@media (max-width: 480px) { .msg, .kb { max-width: 100%; } .chat-body { padding: 12px; } }

/* the tools: alternating text and real output */
.tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tool + .tool { margin-top: clamp(56px, 7vw, 96px); }
.tool.flip .tool-text { order: 2; }
.tool-text p { color: var(--ink-2); margin: 14px 0 0; max-width: 52ch; }
.tool-text .fine { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .tool { grid-template-columns: 1fr; } .tool.flip .tool-text { order: 0; } }

.excerpt { border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 20px; background: var(--paper-2); }
.excerpt-cap { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.parts { display: grid; gap: 10px; margin: 0; }
.part { display: grid; grid-template-columns: 150px 1fr 54px; gap: 12px; align-items: center; font-size: 15px; }
.part dt { color: var(--ink-2); }
.part dd { margin: 0; }
.part .meter { height: 10px; background: var(--paper); border: 1px solid var(--rule); border-radius: 5px; overflow: hidden; }
.part .meter i { display: block; height: 100%; width: calc(var(--p) * 1%); background: var(--ink); }
.part.signal .meter i { background: var(--yellow); }
.part .pts { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.parts-total { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--rule); font-weight: 700; }
@media (max-width: 520px) { .part { grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 15px; } .part .meter { grid-column: 1 / -1; grid-row: 2; } }

/* Smart Score: the holders' spread as a bell curve, its 95% band, and each
   side's average; the gap between them is the one yellow area */
.gap-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 4px; font-size: 15px; color: var(--ink-2); }
.gap-num { font-weight: 850; font-size: 34px; letter-spacing: -.035em; color: var(--ink); line-height: 1; }
.bell { display: block; width: 100%; height: auto; overflow: visible; margin: 4px 0 2px; }
.bell text { font-family: inherit; }
.bell-band { fill: var(--ink); opacity: .06; }
.bell-gap { fill: var(--yellow); }
.bell-curve { fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linejoin: round; }
.bell-axis { stroke: var(--ink); stroke-width: 1.25; }
.bell-guide { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 4; }
.bell-tick { font-size: 15px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.bell-bracket { fill: none; stroke: var(--muted); stroke-width: 1; }
.bell-note { font-size: 15px; fill: var(--muted); }
.rug-yes { stroke: var(--ink); stroke-width: 1.5; }
.rug-no { stroke: var(--muted); stroke-width: 1.5; opacity: .6; }
.side-yes { stroke: var(--ink); stroke-width: 2; }
.side-no { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 3; }
.side-yes-t, .side-no-t { font-size: 16px; font-weight: 700; fill: var(--ink); font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .bell-band { opacity: .09; } }
/* the chart shrinks with the screen; its text (in chart units) grows to stay readable */
@media (max-width: 560px) {
  .bell-tick, .side-yes-t, .side-no-t { font-size: 22px; }
  .bell-tick { transform: translateY(6px); }
  .bell-note { font-size: 20px; transform: translateY(10px); }
  .bell-curve { stroke-width: 3; }
  .side-yes, .side-no { stroke-width: 2.75; }
}

.bell-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.bell-key span { display: inline-flex; align-items: center; gap: 7px; }
.bell-key span::before { content: ""; display: inline-block; }
.bell-key .k-yes::before { width: 16px; border-top: 2px solid var(--ink); }
.bell-key .k-no::before { width: 16px; border-top: 2px dashed var(--ink); }
.bell-key .k-gap::before { width: 12px; height: 12px; background: var(--yellow); border-radius: 2px; }
.bell-key .k-band::before { width: 12px; height: 12px; background: color-mix(in srgb, var(--ink) 9%, transparent); border-radius: 2px; }
.holders { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 16px; }
.holders th { text-align: left; font-weight: 650; color: var(--muted); font-size: 13.5px; padding: 0 0 6px; }
.holders td { padding: 7px 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.holders td:last-child, .holders th:last-child { text-align: right; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.pair p { color: var(--ink-2); margin: 14px 0 0; }
.pair .plans-note { font-size: 15px; color: var(--muted); }
@media (max-width: 820px) { .pair { grid-template-columns: 1fr; } }
.ranked { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: r; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr auto; gap: 4px 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.ranked li:last-child { border-bottom: 1px solid var(--rule); }
.ranked li::before { content: counter(r); font-weight: 800; color: var(--muted); }
.ranked em { font-style: normal; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.ranked .rn { color: var(--muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ranked .rn b { color: var(--yellow-ink); background: var(--yellow); padding: 0 5px; border-radius: 2px; }
@media (max-width: 480px) { .ranked li { grid-template-columns: 24px 1fr; } .ranked .rn { grid-column: 2; } }
.delays { margin: 22px 0 0; display: grid; gap: 8px; }
.delay { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; font-size: 14.5px; }
.delay dt { font-weight: 700; }
.delay dd { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.delay dd i { display: block; height: 10px; width: calc(var(--d) * .8%); min-width: 10px; border-radius: 5px; background: var(--bar); }
.delay.is-fast dd i { background: var(--yellow); box-shadow: inset 0 0 0 1px rgba(22, 24, 29, .14); }
.delay.is-fast dd span { color: var(--ink); font-weight: 650; }

/* ── pricing ────────────────────────────────────────── */
.plan-switch { display: none; gap: 6px; margin-bottom: 16px; }
.plan-switch button {
  flex: 1; min-height: 44px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink);
  border-radius: var(--r-sm); font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
}
.plan-switch button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.price-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.price-table thead th { vertical-align: bottom; border-bottom: 1.5px solid var(--ink); padding-top: 22px; }
.price-table tbody th { font-weight: 500; color: var(--ink-2); width: 26%; }
.price-table td { font-variant-numeric: tabular-nums; }
.price-table .pname { display: block; font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.price-table .pprice { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.price-table .pprice b { font-size: 34px; font-weight: 850; color: var(--ink); letter-spacing: -.035em; }
.price-table .none { color: var(--muted); }
.price-table tfoot td { border-bottom: 0; padding-top: 20px; }
.price-table tfoot .btn { width: 100%; }
/* Pro: the plan we recommend, marked with the highlighter */
.price-table .rec { background: color-mix(in srgb, var(--yellow) 14%, var(--paper)); }
.price-table thead .rec { border-top: 4px solid var(--yellow); border-radius: var(--r-sm) var(--r-sm) 0 0; }
@media (prefers-color-scheme: dark) { .price-table .rec { background: rgba(242, 214, 0, .07); } }
.price-table .rec-note { display: block; font-size: 13.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.price-fine { font-size: 15px; color: var(--muted); margin: 20px 0 0; max-width: 80ch; }
.price-fine + .price-fine { margin-top: 8px; }

@media (max-width: 820px) {
  .plan-switch { display: flex; }
  .price-table { table-layout: auto; }
  .price-table tbody th { width: 52%; }
  .price-table [data-col] { display: none; }
  .price-table[data-show="free"] [data-col="free"],
  .price-table[data-show="basic"] [data-col="basic"],
  .price-table[data-show="pro"] [data-col="pro"],
  .price-table[data-show="elite"] [data-col="elite"] { display: table-cell; }
  .price-table tfoot th { display: none; }
}

/* access: a three-step sequence */
.access { margin: clamp(40px, 5vw, 64px) 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr; gap: 12px 32px; align-items: baseline; }
.access h3 { font-size: 18px; }
.access ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 32px; counter-reset: a; }
.access li { counter-increment: a; color: var(--ink-2); font-size: 16px; }
.access li::before { content: counter(a) "."; font-weight: 800; color: var(--ink); margin-right: 6px; }
.access code, .faq code { font-family: inherit; font-weight: 700; background: var(--mark); padding: 1px 5px; border-radius: 3px; color: var(--ink); }
@media (max-width: 820px) { .access, .access ol { grid-template-columns: 1fr; gap: 10px; } }

/* ── FAQ ────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .18s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq-more { margin: 24px 0 0; color: var(--muted); font-size: 15.5px; }

/* ── closing call + footer ──────────────────────────── */
.closing { text-align: left; }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.closing p { color: var(--ink-2); margin: 16px 0 0; }
.closing .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.site-foot { border-top: 1px solid var(--rule); padding: 40px 0 56px; font-size: 14.5px; color: var(--muted); }
.site-foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.site-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-foot nav a { text-decoration: none; }
.site-foot nav a:hover { text-decoration: underline; }
.site-foot p { margin: 0; max-width: 72ch; }
@media (max-width: 720px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ── legal pages ────────────────────────────────────── */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal .wrap > * { max-width: 70ch; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); max-width: none; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; margin-top: 40px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* ── guides ─────────────────────────────────────────── */
.guide { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); }
.guide .wrap > * { max-width: 70ch; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.crumbs a { color: var(--muted); }
.guide h1 { font-size: clamp(36px, 5vw, 56px); max-width: 18ch; }
.guide .lede { margin: 20px 0 8px; max-width: 60ch; }
.guide .updated { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
.guide h2 { font-size: clamp(26px, 3vw, 32px); max-width: none; margin-top: 56px; letter-spacing: -.025em; line-height: 1.1; }
.guide h3 { font-size: 20px; margin-top: 32px; }
.guide p, .guide li { color: var(--ink-2); }
.guide p { margin: 16px 0 0; }
.guide ul, .guide ol { padding-left: 1.3em; margin: 16px 0 0; }
.guide li + li { margin-top: 8px; }
.guide .ranked, .guide .guide-list { padding-left: 0; }
.guide .ranked li + li, .guide .guide-list li + li { margin-top: 0; }
.guide li strong, .guide p strong { color: var(--ink); }
.guide figure { margin: 28px 0 0; }
.guide figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.guide .excerpt { max-width: 640px; }
.guide .excerpt-cap { margin: 0 0 14px; }
.guide .holders { margin-top: 0; }
.guide .note { border-left: 3px solid var(--yellow); padding: 2px 0 2px 16px; margin: 24px 0 0; }
.guide .note p { margin: 0; }
.guide-cta { margin-top: 56px; padding: 24px; border: 1.5px solid var(--ink); border-radius: var(--r-panel); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.guide-cta p { margin: 0; color: var(--ink); font-weight: 700; font-size: 18px; max-width: 40ch; }
@media (prefers-color-scheme: dark) { .guide-cta { border-color: var(--rule); } }
.more-guides { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.more-guides h2 { font-size: 18px; margin: 0; letter-spacing: -.01em; }
.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { padding: 20px 0; border-top: 1px solid var(--rule); }
.guide-list li:last-child { border-bottom: 1px solid var(--rule); }
.guide-list a { font-weight: 750; font-size: 21px; letter-spacing: -.015em; color: var(--ink); }
.guide-list p { margin: 6px 0 0; }
.more-guides .guide-list { margin-top: 8px; }
.more-guides .guide-list a { font-size: 17px; }
