/* RSS Rescue. One stylesheet for every page, light and dark. */

/* Inter (variable: weight 400 to 800 and optical sizes, subset to the characters this site uses) and Geist Mono, both SIL Open Font License, latin subset, served from this site. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #fbf8f4; --bg-2: #f4efe8; --surface: #ffffff; --surface-2: #fdfbf8;
  --line: #ece5db; --line-2: #ddd4c7;
  --ink: #1c1814; --ink-2: #3f3a33; --muted: #6e665c; --faint: #756e64;
  --accent: #ff5a1f; --accent-ink: #c2410c; --accent-soft: #fff1e8; --accent-line: #ffd2bd;
  --brand: #cf4410; --brand-hover: #b93b0b;
  --safe: #22a06b; --safe-ink: #15803d; --safe-soft: #ecfdf3;
  --risk: #e5a00d; --risk-ink: #94600a; --risk-soft: #fdf4e1; --move: #2563c9;
  --btn: #1c1814; --btn-ink: #ffffff; --btn-hover: #38322b;
  --lemmy: #13a26b; --mastodon: #6364ff; --hn: #ff6600; --lobsters: #ac130d;
  --shadow: 0 1px 2px rgba(28, 24, 20, .04), 0 6px 20px -8px rgba(28, 24, 20, .10);
  --shadow-lg: 0 1px 2px rgba(28, 24, 20, .04), 0 28px 56px -24px rgba(28, 24, 20, .22);
  --ring: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.5, .64, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #141210; --bg-2: #24211d; --surface: #1c1916; --surface-2: #221f1b; --line: #2f2b26; --line-2: #3d3832;
    --ink: #f5f1ea; --ink-2: #dbd5cb; --muted: #a59d92; --faint: #8f877c;
    --accent: #ff7a45; --accent-ink: #ff9466; --accent-soft: #2c1c13; --accent-line: #5c3020;
    --brand: #cf4410; --brand-hover: #dc4f17;
    --safe: #3ccb85; --safe-ink: #5ed89b; --safe-soft: #14261c; --risk: #f2b23a; --risk-ink: #f5c35e; --risk-soft: #2a2213; --move: #6ea2ff;
    --btn: #f5f1ea; --btn-ink: #141210; --btn-hover: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-lg: 0 1px 2px rgba(0, 0, 0, .3), 0 30px 60px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #141210; --bg-2: #24211d; --surface: #1c1916; --surface-2: #221f1b; --line: #2f2b26; --line-2: #3d3832;
  --ink: #f5f1ea; --ink-2: #dbd5cb; --muted: #a59d92; --faint: #8f877c;
  --accent: #ff7a45; --accent-ink: #ff9466; --accent-soft: #2c1c13; --accent-line: #5c3020;
  --brand: #cf4410; --brand-hover: #dc4f17;
  --safe: #3ccb85; --safe-ink: #5ed89b; --safe-soft: #14261c; --risk: #f2b23a; --risk-ink: #f5c35e; --risk-soft: #2a2213; --move: #6ea2ff;
  --btn: #f5f1ea; --btn-ink: #141210; --btn-hover: #ffffff;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-lg: 0 1px 2px rgba(0, 0, 0, .3), 0 30px 60px -24px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); font-optical-sizing: auto; font-feature-settings: 'cv11', 'ss03'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed !important; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; clip: auto; padding: 8px 14px; background: var(--surface); border-radius: 8px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* ── Nav ───────────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 620; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav-links { margin-left: auto; display: flex; gap: 2px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 7px 11px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); background: var(--bg-2); }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; color: var(--ink-2); transition: background .15s, transform .15s; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn .sun, :root[data-theme='dark'] .icon-btn .moon { display: none; }
:root[data-theme='dark'] .icon-btn .sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .icon-btn .sun { display: block; }
  :root:not([data-theme='light']) .icon-btn .moon { display: none; }
}
.nav-cta { margin-left: 4px; }

/* ── Buttons ───────────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 580; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-dark { background: var(--btn); color: var(--btn-ink); }
.btn-dark:hover { background: var(--btn-hover); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(207, 68, 16, .25), inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn-brand:hover { background: var(--brand-hover); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { background: var(--bg-2); }
.btn-sm { height: 36px; padding: 0 13px; font-size: 14px; border-radius: 9px; gap: 7px; }
.btn-sm svg { width: 15px; height: 15px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .ok { display: none; }
.btn.done .ok { display: block; animation: pop .4s var(--spring); }
.btn.done .ico { display: none; }
.btn-line.done { color: var(--safe-ink); border-color: var(--safe); background: var(--safe-soft); }
.btn-dark.done { background: var(--safe-ink); color: #fff; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.text-link { color: var(--ink); font-weight: 560; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: text-decoration-color .15s; }
.text-link:hover { text-decoration-color: currentColor; }
.link-btn { border: 0; background: none; padding: 0; font-weight: 560; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ── Hero ──────────────────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: start; }
.source-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; color: var(--muted); }
.source-line .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.source-line a { color: var(--muted); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.source-line a:hover { color: var(--ink); }
h1 { margin: 18px 0 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.032em; font-weight: 700; text-wrap: balance; }
h1 .hl { color: var(--accent-ink); }
.lede { margin-top: 20px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.hero-visual .deadline { margin: 0 0 16px; max-width: none; }
.deadline { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); max-width: 520px; }
.deadline .when { font-size: 14px; color: var(--muted); line-height: 1.35; }
.deadline .when b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.deadline .clock { margin-left: auto; display: flex; gap: 12px; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.clock span { display: grid; text-align: center; font-size: 22px; font-weight: 560; letter-spacing: -.02em; line-height: 1.1; }
.clock small { font: 500 11px/1.4 var(--font); color: var(--muted); letter-spacing: 0; }
.clock span:first-child { color: var(--accent-ink); }

/* Drop zone */
.drop-card { margin-top: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; }
.tabs { display: flex; gap: 22px; padding: 16px 22px 0; }
.tabs button { position: relative; border: 0; background: transparent; padding: 6px 0 10px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .15s; }
.tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease); }
.tabs button[aria-selected='true'] { color: var(--ink); }
.tabs button[aria-selected='true']::after { transform: scaleX(1); }
.tabs button:hover { color: var(--ink); }
.pane { padding: 14px 18px 14px; }
.dropzone { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 30px 18px 26px; border: 1.5px dashed transparent; border-radius: 14px; background: var(--surface-2); transition: border-color .2s, background .2s; }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone.busy { opacity: .6; pointer-events: none; }
.dz-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--surface); color: var(--accent-ink); box-shadow: var(--shadow); border: 1px solid var(--accent-line); margin-bottom: 6px; transition: transform .3s var(--spring), color .2s; }
.dz-icon svg { width: 22px; height: 22px; }
.dropzone.over .dz-icon { transform: translateY(-3px); color: var(--accent-ink); }
.dz-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.dz-sub { font-size: 14.5px; color: var(--muted); max-width: 40ch; }
.dz-alt { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.dz-alt .link-btn { font-size: 14.5px; }
.dz-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 14px; }
.pane textarea { display: block; width: 100%; min-height: 150px; resize: vertical; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); font: 14px/1.6 var(--mono); }
.pane textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.pane textarea::placeholder { color: var(--faint); }
.paste-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.card-foot { display: flex; align-items: center; gap: 8px; padding: 2px 22px 18px; font-size: 14px; color: var(--muted); }
.card-foot svg { width: 15px; height: 15px; color: var(--safe-ink); flex: none; }
.card-foot a { margin-left: auto; white-space: nowrap; }
.error { margin: 0 18px 16px; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14.5px; font-weight: 500; }

/* Running totals: only shown once there are enough to mean something */
.proof { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.proof b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.you { margin-top: 10px; font-size: 15px; color: var(--muted); }
.you b { color: var(--ink); font-weight: 600; }

/* Reader mock: shows the problem before any explanation */
.mock { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14px; }
.mock-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-top b { font-weight: 600; font-size: 14px; }
.mock-top span { font-size: 12.5px; color: var(--muted); }
.mock-folder { padding: 10px 16px 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mock-folder svg { width: 13px; height: 13px; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-top: 1px solid transparent; }
.mock-row + .mock-row { border-top-color: var(--line); }
.fav { width: 20px; height: 20px; border-radius: 5px; flex: none; display: grid; place-items: center; font: 650 10px/1 var(--font); color: #fff; }
.mock-row .name { font-weight: 540; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row .tag { margin-left: auto; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.mock-row.dies .name { color: var(--faint); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.mock-row.dies .fav { filter: grayscale(1); opacity: .45; }
.mock-row.dies .tag { color: var(--accent-ink); background: var(--accent-soft); }
.mock-row.safe .tag { color: var(--safe-ink); background: var(--safe-soft); }
.mock-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 13.5px; color: var(--muted); }
.mock-bottom b { color: var(--accent-ink); font-weight: 600; }
.mock-caption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.mock-row .name, .mock-row .fav, .mock-row .tag { transition: color .5s, text-decoration-color .5s, filter .5s, opacity .5s; }
.mock.playing .mock-row.dies .tag { opacity: 0; }
.mock.playing .mock-row.dies .name { text-decoration-color: transparent; color: var(--ink); }
.mock.playing .mock-row.dies .fav { filter: none; opacity: 1; }

/* ── Sections ──────────────────────────────────────────────────────────────────── */
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent-ink); margin-bottom: 10px; }
h2 { margin: 0; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.14; letter-spacing: -.026em; font-weight: 700; text-wrap: balance; }
.section-head p { margin-top: 12px; font-size: 18px; color: var(--muted); text-wrap: pretty; }
h3 { margin: 0; font-size: 18px; letter-spacing: -.014em; font-weight: 650; line-height: 1.3; }

/* What is Reddit RSS */
.explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.explain .prose p + p { margin-top: 14px; }
.flow { display: grid; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.flow-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.flow-when { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.flow-when + .flow-row { margin-bottom: 10px; }
.node { padding: 14px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: center; min-width: 0; }
.node b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.node.off { border-style: dashed; background: transparent; }
.node.off b { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--accent); }
.node.off span { color: var(--accent-ink); }
.flow-arrow { width: 18px; height: 18px; color: var(--faint); }
.flow-arrow.cut { color: var(--accent-ink); }

/* Reader picker in the download step */
.howto { grid-column: 1 / -1; border-top: 1px solid var(--accent-line); padding-top: 16px; }
.howto-h { font-size: 15px; font-weight: 650; color: var(--ink); }
.reader-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.reader-chips button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 6px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .15s, background .15s; }
.reader-chips button i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; font-weight: 800; background: var(--c); }
.reader-chips button[aria-pressed='true'] { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 1px var(--brand) inset; color: var(--ink); }
.reader-steps { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.reader-steps ol { margin: 0; padding-left: 1.2em; }
.reader-steps li + li { margin-top: 4px; }
.reader-steps p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.reader-steps a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

.r-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px !important; padding: 9px 12px; border-radius: 9px; background: var(--risk-soft); color: var(--ink-2) !important; font-size: 14.5px !important; }
.r-note svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--risk-ink); }
.one-by-one { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.obo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.obo-head b { display: block; font-size: 15px; font-weight: 650; color: var(--ink); }
.obo-head span { display: block; font-size: 14px; color: var(--muted); margin-top: 1px; }
.one-by-one ul { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }
.one-by-one li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.one-by-one li + li { border-top: 1px solid var(--line); }
.obo-t { min-width: 0; flex: 1; }
.obo-t b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obo-t small { display: block; font: 12.5px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.one-by-one .btn { flex: none; }

/* ── Hero signal background ───────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.signal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.28) 20%, rgba(0,0,0,.28) 60%, #000 72%), linear-gradient(to bottom, #000 78%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.28) 20%, rgba(0,0,0,.28) 60%, #000 72%), linear-gradient(to bottom, #000 78%, transparent); mask-composite: intersect; }
@media (max-width: 980px) { .signal { -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), #000 60%, transparent); mask-image: linear-gradient(to bottom, rgba(0,0,0,.5), #000 60%, transparent); } }

/* ── Dark band: what Reddit RSS is ─────────────────────────────────────────────── */
.band-dark { --bd-ink: #f5f1ea; --bd-muted: #b7afa3; --bd-line: rgba(255,255,255,.1); background: #16130f; color: var(--bd-ink); padding: 96px 0; }
:root[data-theme='dark'] .band-dark { background: #1d1a16; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .band-dark { background: #1d1a16; } }
.band-dark h2 { color: var(--bd-ink); font-size: clamp(28px, 3.4vw, 42px); max-width: 18ch; }
.band-dark .prose { margin-top: 22px; color: var(--bd-muted); font-size: 18px; }
.band-dark .prose p + p { margin-top: 14px; }
.band-dark .prose strong { color: var(--bd-ink); }
.band-dark .prose code { background: rgba(255,255,255,.08); color: var(--bd-ink); }
.band-dark .flow { background: rgba(255,255,255,.03); border-color: var(--bd-line); }
.band-dark .flow-when { color: var(--bd-muted); }
.band-dark .node { background: rgba(255,255,255,.05); border-color: var(--bd-line); }
.band-dark .node b { color: var(--bd-ink); }
.band-dark .node span { color: var(--bd-muted); }
.band-dark .node.off { background: transparent; }
.band-dark .node.off b { color: #a39a8e; }
.band-dark .node.off span { color: #ff9466; }
.band-dark .flow-arrow { color: #6f675d; }
.band-dark .flow-arrow.cut { color: #ff9466; }
.sub { margin-top: 12px; font-size: 18px; color: var(--muted); max-width: 46ch; text-wrap: pretty; }

/* ── What it does: tabs on the left, a live preview on the right ───────────────── */
.how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.how-tabs { display: grid; margin-top: 30px; border-top: 1px solid var(--line); }
.how-tabs button { position: relative; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 18px 0 18px 2px; color: var(--muted); transition: color .2s; }
.how-tabs b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.015em; color: var(--ink-2); transition: color .2s; }
.how-tabs span { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s; }
.how-tabs button[aria-selected='true'] b { color: var(--ink); }
.how-tabs button[aria-selected='true'] span { max-height: 90px; opacity: 1; }
.how-tabs button:not([aria-selected='true']):hover b { color: var(--ink); }
.ht-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brand); }
.how-tabs button[aria-selected='true'] .ht-bar { width: 100%; }
.how-tabs.auto button[aria-selected='true'] .ht-bar { animation: ht 6s linear forwards; }
@keyframes ht { from { width: 0; } to { width: 100%; } }
.how-stage { position: relative; min-height: 430px; border-radius: 22px; padding: 30px; background: linear-gradient(160deg, var(--accent-soft), var(--bg-2) 60%); border: 1px solid var(--line); display: grid; align-items: center; }
.how-panel { animation: panel .45s var(--ease) both; }
@keyframes panel { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
.hp-verdict { font-size: 26px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.hp-verdict b { color: var(--accent-ink); }
.hp-meter { display: flex; gap: 3px; height: 9px; margin: 16px 0 18px; border-radius: 99px; overflow: hidden; }
.hp-meter i { display: block; border-radius: 99px; }
.hp-rows, .hp-map { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hp-rows li { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.hp-rows .av { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; background: var(--c); }
.hp-rows b { font-size: 15.5px; font-weight: 650; }
.hp-rows small { grid-column: 2; font-size: 13px; color: var(--muted); }
.hp-rows em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-size: 12.5px; font-weight: 650; padding: 3px 10px; border-radius: 99px; }
.hp-rows em.stop { color: var(--accent-ink); background: var(--accent-soft); }
.hp-rows em.ok { color: var(--safe-ink); background: var(--safe-soft); }
.hp-map li { display: grid; grid-template-columns: minmax(0, .7fr) 20px minmax(0, 1.3fr); gap: 12px; align-items: center; }
.hp-map li > b { font-size: 15.5px; font-weight: 650; color: var(--faint); text-decoration: line-through; text-decoration-color: var(--accent); }
.hp-map li > svg { width: 18px; height: 18px; color: var(--faint); }
.hp-to { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); font-weight: 650; font-size: 15px; border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
.hp-to .src { grid-row: 1 / 3; align-self: center; font-style: normal; width: 30px; height: 30px; }
.hp-to small { font-weight: 500; color: var(--muted); font-size: 13px; }
.hp-reader { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 16px; overflow: hidden; background: #1d1915; color: #f5f1ea; box-shadow: var(--shadow-lg); font-size: 15px; }
.hp-reader p { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 4px 6px 10px; }
.hp-side, .hp-main { display: grid; align-content: start; gap: 4px; padding: 16px 14px; }
.hp-side { background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.08); }
.hp-reader span { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border-radius: 9px; font-weight: 600; }
.hp-reader span i { font-style: normal; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; background: var(--c); flex: none; }
.hp-reader .src { width: 24px; height: 24px; font-size: 12px; }
.hp-reader em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); }
.hp-main em { background: #3ccb85; color: #141210; }
.hp-main span { background: rgba(255,255,255,.05); }

/* ── Read section: a line of steps and a list of apps ──────────────────────────── */
.read-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.flow-line { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; counter-reset: f; }
.flow-line li { counter-increment: f; position: relative; padding: 0 0 22px 46px; font-size: 17px; font-weight: 600; color: var(--ink); }
.flow-line li::before { content: counter(f); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-weight: 750; color: var(--accent-ink); background: var(--accent-soft); }
.flow-line li:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 32px; bottom: 4px; width: 1px; background: var(--line-2); }
.read-more { margin-top: 6px; font-size: 15.5px; }
.reader-list { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.reader-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; text-decoration: none; transition: background .15s; }
.reader-row + .reader-row { border-top: 1px solid var(--line); }
.reader-row:hover { background: var(--surface-2); }
.r-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; background: var(--c); flex: none; }
.r-text { min-width: 0; flex: 1; }
.r-text b { display: block; font-size: 15.5px; font-weight: 650; }
.r-text small { display: block; font-size: 13.5px; color: var(--muted); }
.r-pick { font-size: 13px; font-weight: 600; color: var(--safe-ink); white-space: nowrap; }
.r-go { width: 15px; height: 15px; color: var(--faint); flex: none; transition: color .15s, transform .2s var(--ease); }
.reader-row:hover .r-go { color: var(--ink); transform: translate(2px, -2px); }
.prose .r-add { font-size: 16px; color: var(--muted); }
.prose .r-note { display: block; }
.prose h3 small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }

/* ── Guides: editorial rows ─────────────────────────────────────────────────────── */
.guides-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.guide-rows { border-top: 1px solid var(--line); }
.guide-row { position: relative; display: grid; gap: 4px; padding: 20px 44px 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.gr-t { font-size: 19px; font-weight: 650; letter-spacing: -.015em; transition: color .15s; }
.gr-d { font-size: 15.5px; color: var(--muted); }
.gr-a { position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.guide-row:hover .gr-t { color: var(--accent-ink); }
.guide-row:hover .gr-a { transform: translateX(4px); color: var(--accent-ink); }
.more-guides .guide-rows { margin-top: 4px; }

/* ── Closing ───────────────────────────────────────────────────────────────────── */
.closing { padding: 110px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(800px 320px at 50% 100%, var(--accent-soft), transparent 70%); }
.closing h2 { font-size: clamp(32px, 4.6vw, 56px); max-width: 16ch; margin: 0 auto; letter-spacing: -.035em; }
.closing p { margin: 16px auto 0; color: var(--muted); font-size: 18px; max-width: 46ch; }
.closing .btn { margin-top: 32px; }
.tally { display: flex; justify-content: center; margin: 40px auto 0; max-width: 760px; }
.tally div { flex: 1; padding: 0 20px; }
.tally div + div { border-left: 1px solid var(--line-2); }
.tally b { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.tally span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ── Alternatives by subreddit ──────────────────────────────────────────────────── */
.sub-page .byline { margin-top: 10px; }
.dead-feed { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--line-2); background: var(--surface-2); }
.dead-feed code { font: 14px var(--mono); color: var(--faint); text-decoration: line-through; text-decoration-color: var(--accent); overflow-wrap: anywhere; }
.sub-h { margin-top: 44px; font-size: 24px; }
.sub-alts { list-style: none; margin: 16px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.sub-alt { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.sub-alt + .sub-alt { border-top: 1px solid var(--line); }
.sub-alt .src { flex: none; }
.sa-text { min-width: 0; flex: 1; }
.sa-text b { display: block; font-size: 16px; font-weight: 650; }
.sa-text small { display: block; font-size: 14px; color: var(--muted); }
.sa-text code { display: block; margin-top: 4px; font: 12.5px var(--mono); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sa-actions { display: flex; gap: 8px; flex: none; }
.sub-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 18px; font-size: 15.5px; }
.sub-note { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 64ch; }
.sub-note a { color: var(--ink-2); text-underline-offset: 3px; }
.sub-page .callout { margin-top: 32px; }
.sub-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sub-links a { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14.5px; font-weight: 550; text-decoration: none; color: var(--ink-2); transition: border-color .15s, color .15s, background .15s; }
.sub-links a:hover { border-color: var(--accent-line); color: var(--accent-ink); background: var(--accent-soft); }
.sub-links a:last-child { font-weight: 650; color: var(--ink); }
.sub-links.big a { font-size: 15px; }
@media (max-width: 560px) {
  .sub-alt { flex-wrap: wrap; }
  .sa-actions { width: 100%; padding-left: 44px; }
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; }
.faq-groups { display: grid; gap: 36px; }
.faq-group > h3 { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-size: 17px; font-weight: 580; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { width: 18px; height: 18px; color: var(--faint); flex: none; transition: transform .25s var(--ease); }
.qa[open] summary svg { transform: rotate(45deg); color: var(--ink); }
.qa .a { padding: 0 0 18px; color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }
.qa .a p + p { margin-top: 10px; }
.qa .a a { text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.qa .a code { font: 14.5px var(--mono); background: var(--bg-2); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }

/* ── Footer ────────────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14.5px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand p { margin-top: 12px; max-width: 34ch; }
.foot h2 { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 10px; }
.foot-grid a:not(.brand) { display: block; text-decoration: none; padding: 3px 0; color: var(--muted); }
.foot-grid a:not(.brand):hover { color: var(--ink); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; }

/* ── Results ───────────────────────────────────────────────────────────────────── */
.results { padding: 48px 0 96px; border-top: 1px solid var(--line); background: linear-gradient(var(--bg-2), var(--bg) 360px); }
.res-wrap { max-width: 940px; }
.results.enter .res-wrap > * { animation: rise .5s var(--ease) both; }
.results.enter .res-wrap > *:nth-child(2) { animation-delay: .07s; }
.results.enter .res-wrap > *:nth-child(3) { animation-delay: .14s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }

.verdict-card { padding: 32px; }
.res-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.file { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.file svg { width: 16px; height: 16px; flex: none; }
.file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verdict { margin-top: 18px; font-size: clamp(27px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.03em; font-weight: 750; max-width: 22ch; text-wrap: balance; }
.verdict .n-dies { color: var(--accent-ink); }
.verdict .n-safe { color: var(--safe-ink); }
.verdict-sub { margin-top: 10px; font-size: 17.5px; color: var(--ink-2); max-width: 56ch; }
.meter { display: flex; gap: 3px; height: 12px; border-radius: 99px; overflow: hidden; background: var(--bg-2); margin-top: 24px; }
.meter i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1s var(--ease); }
.meter .m-dies { background: var(--accent); }
.meter .m-risk { background: var(--risk); }
.meter .m-safe { background: var(--safe); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend b { font-weight: 700; font-variant-numeric: tabular-nums; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.notes { display: grid; gap: 8px; margin-top: 20px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 10px; font-size: 15px; color: var(--ink-2); background: var(--bg-2); }
.note svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--muted); }
.note.risk { background: var(--risk-soft); }
.note.risk svg { color: var(--risk-ink); }
.note.good { background: var(--safe-soft); }
.note.good svg { color: var(--safe-ink); }
.you { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.you b { color: var(--ink); font-weight: 650; }

.step { margin-top: 56px; }
.step-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.step-label { font-size: 14px; font-weight: 650; color: var(--accent-ink); margin-bottom: 6px; }
.step-head h2 { font-size: clamp(23px, 2.6vw, 28px); letter-spacing: -.022em; }
.step-head p { margin-top: 6px; color: var(--muted); font-size: 16.5px; max-width: 60ch; }
.step-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: -4px 0 14px; font-size: 14.5px; color: var(--muted); }
.step-tools .link-btn { font-size: 14.5px; }
.inline-field { display: inline-flex; align-items: center; gap: 8px; }
.inline-field input { height: 32px; width: 170px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; }
.inline-field input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }

.lookup { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
.lookup p { flex: 1 1 320px; font-size: 15px; color: var(--ink-2); }
.lookup p b { color: var(--ink); font-weight: 650; }
.lookup.on { border-color: var(--line); background: var(--surface); }
.lookup .progress { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* From → to table */
.migrate { overflow: hidden; }
.m-head { display: grid; grid-template-columns: minmax(0, .85fr) 28px minmax(0, 1.5fr); gap: 0 14px; padding: 12px 22px; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.m-row { display: grid; grid-template-columns: minmax(0, .85fr) 28px minmax(0, 1.5fr); gap: 0 14px; align-items: start; padding: 18px 22px; }
.m-row + .m-row { border-top: 1px solid var(--line); }
.m-from { display: flex; align-items: center; gap: 12px; min-width: 0; padding-top: 4px; }
.avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; background: var(--c, #8a8178); }
.m-from b { display: block; font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-from b .pre { color: var(--faint); font-weight: 500; }
.m-from small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-from .risk-tag { color: var(--risk-ink); font-weight: 600; }
.m-arrow { width: 20px; height: 20px; color: var(--faint); margin-top: 14px; }
.m-to { display: grid; gap: 8px; min-width: 0; }
.pick { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; min-width: 0; transition: border-color .15s, background .15s, box-shadow .15s; }
.pick:hover { border-color: var(--line-2); }
.pick:has(input:checked) { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: var(--accent-soft); }
.pick:has(input:focus-visible) { box-shadow: var(--ring); }
.pick input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s; }
.pick input::after { content: ''; width: 11px; height: 11px; background: #fff; transform: scale(0); transition: transform .2s var(--spring); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.pick input:checked { background: var(--brand); border-color: var(--brand); }
.pick input:checked::after { transform: scale(1); }
.src { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 750; font-size: 13px; background: var(--s, #8a8178); }
.src.lemmy { --s: var(--lemmy); } .src.mastodon { --s: var(--mastodon); } .src.hn { --s: var(--hn); } .src.lobsters { --s: var(--lobsters); font-size: 11px; }
.pick .body { min-width: 0; flex: 1; }
.pick b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick small { display: block; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pick .best { flex: none; font-size: 12px; font-weight: 650; color: var(--accent-ink); background: var(--surface); border: 1px solid var(--accent-line); padding: 2px 8px; border-radius: 99px; }
.pick .open { flex: none; color: var(--faint); padding: 4px; border-radius: 6px; }
.pick .open:hover { color: var(--ink); background: var(--bg-2); }
.pick .open svg { width: 15px; height: 15px; }
.more-btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 2px 4px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 6px; }
.more-btn:hover { color: var(--ink); }
.more-btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.more-btn[aria-expanded='true'] svg { transform: rotate(90deg); }
.m-none { padding: 10px 2px; font-size: 14.5px; color: var(--muted); }
.m-none a { color: var(--ink-2); font-weight: 550; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.skel { height: 52px; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(90deg, var(--surface-2), var(--bg-2), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.show-all { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--line); }

/* Downloads */
.dl-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 28px; border-color: var(--accent-line); background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); }
.dl-main h3 { font-size: 21px; letter-spacing: -.02em; }
.dl-main p { margin-top: 6px; color: var(--ink-2); font-size: 16px; max-width: 48ch; }
.dl-main .btn { justify-self: end; }
.dl-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.dl-card { padding: 22px; display: flex; flex-direction: column; }
.dl-card p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.dl-card .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.check { display: inline-flex; align-items: center; gap: 9px; margin-top: 12px; font-size: 15px; color: var(--ink-2); cursor: pointer; user-select: none; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 5px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.check input::after { content: ''; width: 10px; height: 10px; background: #fff; transform: scale(0); transition: transform .2s var(--spring); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { transform: scale(1); }

.share-card { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; padding: 22px 24px; margin-top: 14px; }
.share-card div { flex: 1 1 280px; }
.share-card b { display: block; font-size: 17px; font-weight: 650; }
.share-card span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.share-card .row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Optional feed check */
.check-card { padding: 22px; }
.check-intro { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
.check-intro p { flex: 1 1 320px; font-size: 15.5px; color: var(--ink-2); }
.check-running p { font-size: 15.5px; color: var(--ink-2); }
.check-running span { color: var(--muted); margin-left: 6px; }
.check-bar { height: 8px; margin-top: 12px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.check-bar i { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .4s var(--ease); }
.check-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.check-sum span { display: block; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.check-sum b { display: block; font-size: 26px; font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1.15; }
.check-sum .ok b { color: var(--safe-ink); }
.check-sum .moved b { color: var(--move); }
.check-sum .stale b { color: var(--risk-ink); }
.check-sum .broken b { color: var(--accent-ink); }
.check-card .note { margin-top: 14px; }
.check-group { margin-top: 18px; }
.cg-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; }
.cg-h .tnum { color: var(--muted); font-weight: 500; }
.cg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--faint)); }
.check-group.broken { --c: var(--accent); } .check-group.moved { --c: var(--move); } .check-group.stale { --c: var(--risk); }
.check-group ul { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.check-group li { display: flex; align-items: center; gap: 8px 16px; padding: 10px 12px; background: var(--surface-2); flex-wrap: wrap; }
.check-group li + li { border-top: 1px solid var(--line); }
.cg-t { min-width: 0; flex: 1 1 260px; }
.cg-t b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-t small { display: block; font: 12.5px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cg-why { font-size: 13.5px; color: var(--muted); max-width: 100%; overflow-wrap: anywhere; }
.cg-why code { font: 12.5px var(--mono); color: var(--ink-2); }
.check-group .link-btn { margin-top: 8px; font-size: 14px; }
.check-fix { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.check-fix > div { flex: 1 1 320px; }
.check-fix b { display: block; font-size: 16px; font-weight: 650; }
.check-fix span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.check-fix .check { margin-top: 10px; }
@media (max-width: 560px) { .check-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Everything in the file, tucked away */
.all-feeds { margin-top: 56px; }
.all-feeds > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 650; font-size: 16.5px; }
.all-feeds > summary::-webkit-details-marker { display: none; }
.all-feeds > summary small { font-weight: 500; color: var(--muted); font-size: 14.5px; }
.all-feeds > summary svg { width: 18px; height: 18px; color: var(--faint); transition: transform .25s var(--ease); }
.all-feeds[open] > summary svg { transform: rotate(90deg); }
.all-body { padding: 0 22px 22px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); max-width: 100%; overflow-x: auto; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font-size: 14px; font-weight: 560; color: var(--muted); white-space: nowrap; transition: background .15s, color .15s; }
.seg button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.seg .n { margin-left: 5px; color: var(--faint); font-weight: 500; font-variant-numeric: tabular-nums; }
.search { position: relative; flex: 1 1 220px; min-width: 0; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--faint); pointer-events: none; }
.search input { width: 100%; height: 38px; padding: 0 12px 0 34px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); font-size: 15px; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.folder-h { display: flex; align-items: center; gap: 8px; margin: 18px 0 8px; font-size: 14px; font-weight: 650; color: var(--ink-2); }
.folder-h svg { width: 15px; height: 15px; color: var(--faint); }
.feeds { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.feed { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; font-size: 14.5px; background: var(--surface); }
.feed + .feed { border-top: 1px solid var(--line); }
.feed .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.feed .t { font-weight: 550; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; max-width: 42%; }
.feed .u { font: 12.5px/1.4 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 0; min-width: 0; }
.feed .lock { width: 14px; height: 14px; color: var(--risk-ink); flex: none; }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; flex: none; }
.chip.dies { color: var(--accent-ink); background: var(--accent-soft); }
.chip.safe { color: var(--safe-ink); background: var(--safe-soft); }
.chip.risk { color: var(--risk-ink); background: var(--risk-soft); }
.empty { padding: 28px 20px; text-align: center; color: var(--muted); }
.more { display: flex; justify-content: center; margin-top: 14px; }

.picked { position: fixed; left: 50%; bottom: 18px; z-index: 50; transform: translate(-50%, 160%); transition: transform .4s var(--spring); display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 18px; border-radius: 14px; background: var(--btn); color: var(--btn-ink); box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); max-width: calc(100vw - 24px); }
.picked:not(.show) { visibility: hidden; transition: transform .4s var(--spring), visibility 0s .4s; }
.picked.show { transform: translate(-50%, 0); visibility: visible; }
.picked .count { font-size: 15px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.picked .btn { height: 38px; }
.toast { position: fixed; top: 76px; left: 50%; z-index: 60; transform: translate(-50%, -10px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--spring);
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--btn); color: var(--btn-ink); font-size: 14.5px; font-weight: 550; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 16px; height: 16px; color: var(--safe); flex: none; }

/* ── Articles (guides, privacy) ────────────────────────────────────────────────── */
.article { padding: 56px 0 24px; }
.article .wrap { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article h1 { font-size: clamp(34px, 4.6vw, 48px); margin-top: 16px; }
.byline { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.article .prose { margin-top: 32px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 48px; font-size: 27px; color: var(--ink); }
.prose h3 { margin-top: 32px; font-size: 20px; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: 10px; }
.prose a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose code { font: 15.5px var(--mono); background: var(--bg-2); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 19px; }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--surface-2); font-size: 14.5px; }
.prose tr:last-child td { border-bottom: 0; }
.callout { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.prose .callout { margin-top: 32px; }
.callout div { flex: 1 1 280px; }
.callout b { display: block; color: var(--ink); font-size: 18px; font-weight: 610; letter-spacing: -.01em; }
.callout span { display: block; margin-top: 4px; font-size: 15.5px; color: var(--muted); line-height: 1.5; }
.prose .callout a.btn { color: var(--btn-ink); text-decoration: none; }
.timeline { list-style: none; padding: 0 !important; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding-left: 22px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); }
.timeline li.key::before { border-color: var(--accent); background: var(--accent); }
.sources { font-size: 15px; color: var(--muted); }
.sources li + li { margin-top: 4px; }
.more-guides { padding: 40px 0 72px; }
.more-guides .wrap { max-width: 760px; }
.more-guides h2 { font-size: 22px; margin-bottom: 16px; }

/* ── Responsive ────────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .how-grid, .read-grid, .guides-grid { grid-template-columns: 1fr; gap: 32px; }
  .how-stage { min-height: 0; }
  .hero-grid, .explain, .faq { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .m-head { display: none; }
  .m-row { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .m-arrow { display: none; }
  .dl-main { grid-template-columns: 1fr; padding: 22px; }
  .dl-main .btn { justify-self: stretch; }
  .dl-more { grid-template-columns: 1fr; }
  .step-tools { margin-left: 0; }
  .nav-links { display: none; }
  .icon-btn { margin-left: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 32px 0 56px; }
  .lede { font-size: 17.5px; }
  .brand span { font-size: 15px; }
  .nav-cta { display: none; }
  .deadline { flex-wrap: wrap; }
  .deadline .clock { margin-left: 0; width: 100%; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); }
  .pane { padding: 14px; }
  .dz-actions .btn { flex: 1 1 100%; }
  .card-foot a { display: none; }
  .section { padding: 56px 0; }
  .flow { padding: 16px; }
  .flow-row { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .feed { flex-wrap: wrap; gap: 2px 8px; }
  .feed .t { max-width: 100%; }
  .feed .u { flex-basis: 100%; order: 3; }
  .verdict-card { padding: 22px 18px; }
  .step-head { gap: 12px; }
  .pick b, .pick small { white-space: normal; }
  .picked .count { font-size: 14px; }
  .inline-field input { width: 140px; }
  .picked { width: calc(100vw - 24px); justify-content: space-between; padding-left: 14px; }
  .prose { font-size: 17px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .band-dark { padding: 64px 0; }
  .how-stage { padding: 18px; border-radius: 18px; }
  .hp-map li { grid-template-columns: 1fr; gap: 6px; }
  .hp-map li > svg { display: none; }
  .hp-reader { grid-template-columns: 1fr; }
  .hp-side { display: none; }
  .tally div { padding: 0 8px; }
  .r-pick { display: none; }
  .closing { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
