:root {
  --bg: #fafafa; --frame: #f4f4f5; --frame-2: #e4e4e7; --card: #ffffff; --ink: #09090b; --ink-2: #3f3f46; --muted: #71717a; --faint: #a1a1aa; --rule: #f4f4f5; --on-ink: #ffffff; --on-accent: #ffffff;
  --accent: #059669; --accent-ink: #047857; --accent-soft: #ecfdf5; --accent-mid: #d1fae5; --accent-frame: #a7f3d0;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --t-get: #0284c7; --t-get-bg: #e0f2fe; --t-convert: #7c3aed; --t-convert-bg: #ede9fe; --t-stop: #ea580c; --t-stop-bg: #ffedd5;
  --t-leak-bg: #fee2e2; --t-note-bg: #fef3c7;
  --k-broken: #ef4444; --k-mismatch: #f97316; --k-friction: #f59e0b; --k-waste: #ec4899; --k-upside: #14b8a6;
  --scrim: rgb(9 9 11 / 0.2);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b; --frame: #18181b; --frame-2: #3f3f46; --card: #111113; --ink: #fafafa; --ink-2: #d4d4d8; --muted: #a1a1aa; --faint: #71717a; --rule: #27272a; --on-ink: #09090b; --on-accent: #022c22;
    --accent: #10b981; --accent-ink: #6ee7b7; --accent-soft: #052e22; --accent-mid: #064e3b; --accent-frame: #065f46;
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.4); --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.5), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --t-get: #38bdf8; --t-get-bg: #0c2a3d; --t-convert: #a78bfa; --t-convert-bg: #241a3d; --t-stop: #fb923c; --t-stop-bg: #3a1d0c;
    --t-leak-bg: #3b1416; --t-note-bg: #3a2c0b;
    --scrim: rgb(0 0 0 / 0.55);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 14px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
b, strong { font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; text-align: left; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.frame { background: var(--frame); border-radius: 20px; padding: 2px; box-shadow: var(--shadow-xs); }
.frame > .card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow-xs); height: 100%; }

.topnav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topnav .wrap { display: flex; align-items: center; gap: 4px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; margin-right: auto; min-width: 0; }
.brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand i { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; color: var(--on-accent); font-size: 13px; font-style: normal; flex: none; }
.topnav a { font-size: 13px; color: var(--muted); font-weight: 500; padding: 5px 10px; border-radius: 9px; text-decoration: none; white-space: nowrap; }
.topnav a:hover { background: var(--frame); color: var(--ink); }

.state { margin: 48px 0; max-width: 560px; }
.state .card { padding: 14px 18px; display: grid; gap: 4px; }
.state b { font-size: 16px; font-weight: 500; }
.state p { margin: 0; color: var(--muted); font-size: 13.5px; }
.state.failed { background: var(--t-stop-bg); }

.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 32px 0 20px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--muted); }
h1 { font-size: 38px; line-height: 1.05; letter-spacing: -0.035em; font-weight: 500; margin: 8px 0 10px; text-wrap: balance; }
.lede { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 56ch; margin: 0; }
.focal { background: var(--accent-frame); }
.focal .card { padding: 12px 18px 10px; display: grid; gap: 2px; }
.focal .label { font-size: 12.5px; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 6px; }
.focal .label i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.focal .big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.focal .big b { font-size: 46px; line-height: 1.05; letter-spacing: -0.04em; font-weight: 500; color: var(--accent); }
.focal .big b.unsized { font-size: 30px; color: var(--ink-2); }
.focal .big span { font-size: 14px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; max-width: 16ch; }
.focal p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.focal .top { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 8px 12px; border-radius: 14px; background: var(--accent-soft); text-decoration: none; transition: background .12s; }
.focal .top:hover { background: var(--accent-mid); }
.focal .top .label { grid-column: 1 / -1; color: var(--accent-ink); font-size: 12px; }
.focal .top-title { font-size: 13.5px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.focal .top-value { font-size: 13px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; align-self: start; }
.focal .mini { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.focal .mini b { color: var(--ink); font-weight: 600; }

.toolbar { position: sticky; top: 50px; z-index: 15; margin-top: 12px; }
.toolbar .bar { display: grid; grid-template-columns: 1fr 1fr minmax(0, 0.8fr); gap: 10px 18px; align-items: center; padding: 10px 14px; border-radius: 16px; background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 2px var(--frame), var(--shadow-sm); }
.toolbar.unsized { position: static; }
.toolbar.unsized .bar { grid-template-columns: 1fr; }
.slider { display: grid; gap: 2px; }
.slider label { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.slider label b { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.slider .ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; --thumb: 18px; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--fill, 50%) 100% no-repeat, var(--frame-2); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--frame-2); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: var(--thumb); height: var(--thumb); margin-top: calc((6px - var(--thumb)) / 2); border-radius: 50%; background: var(--card); border: 2px solid var(--accent); box-shadow: var(--shadow-sm); }
input[type=range]::-moz-range-thumb { width: var(--thumb); height: var(--thumb); border-radius: 50%; background: var(--card); border: 2px solid var(--accent); box-shadow: var(--shadow-sm); }
input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.toolbar .note { font-size: 12px; color: var(--muted); line-height: 1.4; }
.toolbar .note a { color: var(--accent-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.toolbar .note a:hover { text-decoration: underline; }
.sizing { margin-top: 8px; border-radius: 16px; scroll-margin-top: 140px; }
.sizing:not([open]) { display: none; }
.sizing > summary { cursor: pointer; list-style: none; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.sizing > summary::-webkit-details-marker { display: none; }
.sizing > summary::before { content: "+"; width: 16px; height: 16px; border-radius: 5px; background: var(--card); display: grid; place-items: center; font-size: 12px; color: var(--accent-ink); }
.sizing[open] > summary::before { content: "–"; }
.sizing > .card { border-radius: 14px; padding: 10px 14px; font-size: 13px; color: var(--ink-2); line-height: 1.5; display: grid; gap: 6px; }
.sizing p { margin: 0; max-width: 90ch; }
.sizing ul { margin: 0; padding-left: 18px; display: grid; gap: 3px; color: var(--muted); font-size: 12.5px; }
.sizing a { color: var(--accent-ink); }

.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding: 20px 0 8px; }
.tile { background: var(--tint-bg); border-radius: 20px; padding: 2px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tile .head { display: flex; align-items: center; gap: 8px; padding: 7px 12px 5px; font-size: 13px; font-weight: 500; }
.tile .head i { width: 9px; height: 9px; border-radius: 50%; background: var(--tint); flex: none; }
.tile .body { background: var(--card); border-radius: 18px; box-shadow: var(--shadow-xs); padding: 8px 12px; display: grid; gap: 6px; flex: 1; }
.tile strong { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.tile .sub { font-size: 12.5px; color: var(--muted); }
.meter { display: flex; gap: 2px; height: 6px; border-radius: 4px; overflow: hidden; background: var(--frame); }
.meter i { display: block; background: var(--tint); }
.tint-tested { --tint: var(--ink-2); --tint-bg: var(--frame); }
.tint-leak { --tint: var(--k-broken); --tint-bg: var(--t-leak-bg); }
.tint-note { --tint: var(--k-friction); --tint-bg: var(--t-note-bg); }
.tint-clean { --tint: var(--accent); --tint-bg: var(--accent-soft); }
.tint-later { --tint: var(--frame-2); --tint-bg: var(--frame); }

section.sec { padding-top: 48px; scroll-margin-top: 120px; }
.sh { margin-bottom: 14px; }
.sh .kick { font-size: 13px; font-weight: 600; color: var(--accent-ink); margin: 0 0 6px; display: inline-flex; align-items: center; gap: 8px; }
.sh .kick .n { width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.sh h2 { font-size: 24px; letter-spacing: -0.025em; font-weight: 500; margin: 0; line-height: 1.15; text-wrap: balance; }
.sh p { color: var(--muted); font-size: 14px; margin: 4px 0 0; max-width: 64ch; }
.empty { color: var(--muted); font-size: 13.5px; margin: 0; padding: 12px 16px; }

.featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.feature { display: flex; text-decoration: none; }
.feature .card { padding: 10px 14px 8px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .15s; width: 100%; }
.feature:hover .card { box-shadow: var(--shadow-sm); }
.feature .top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--muted); }
.feature .signal { margin-left: auto; }
.feature h3 { margin: 0; font-size: 14.5px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
.feature .seen { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature .fix { display: none; margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.feature .fix b { font-weight: 600; color: var(--ink); }
.feature .foot { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.feature .worth { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.feature .worth.unsized { color: var(--muted); font-weight: 500; }
.featured.count-1 { grid-template-columns: minmax(0, 1fr); }
.featured.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.featured.count-1 .card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 28px; row-gap: 6px; align-content: start; padding: 12px 18px 10px; }
.featured.count-1 .top, .featured.count-1 h3, .featured.count-1 .seen { grid-column: 1; }
.featured.count-1 h3 { font-size: 17px; letter-spacing: -0.015em; }
.featured.count-1 .seen { -webkit-line-clamp: 4; }
.featured.count-1 .fix { display: block; grid-column: 2; grid-row: 1 / span 3; align-self: start; padding: 10px 12px; border-radius: 14px; background: var(--frame); }
.featured.count-1 .foot { grid-column: 1 / -1; }
.featured.count-1 .worth { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.featured.count-2 .fix { display: block; }

.pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 8px; white-space: nowrap; display: inline-block; }
.pill.high { background: var(--accent); color: var(--on-accent); }
.pill.medium { background: var(--accent-mid); color: var(--accent-ink); }
.pill.low { background: var(--frame); color: var(--muted); }
.prio { display: inline-grid; justify-items: start; gap: 2px; }
.prio small { font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.chip.check-first { background: var(--t-note-bg); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 8px; background: var(--frame); color: var(--ink-2); white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 3px; background: var(--k); }

.boards { display: grid; gap: 20px; padding: 4px 0 8px; }
.board { background: var(--tint-bg); border-radius: 24px; padding: 2px; box-shadow: var(--shadow-xs); }
.board.high, .drawer.high { --tint: var(--t-stop); --tint-bg: var(--t-stop-bg); }
.board.medium, .drawer.medium { --tint: var(--t-convert); --tint-bg: var(--t-convert-bg); }
.board.low, .drawer.low { --tint: var(--t-get); --tint-bg: var(--t-get-bg); }
.board-head { display: flex; align-items: center; gap: 10px; padding: 9px 14px 7px; }
.board-head h3 { margin: 0; font-size: 16px; letter-spacing: -0.015em; font-weight: 500; line-height: 1.15; }
.board-head p { margin: 0; color: var(--tint); font-size: 13px; font-weight: 500; }
.board-head .count { margin-left: auto; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.board-head .count small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.board-body { background: var(--card); border-radius: 22px; box-shadow: var(--shadow-xs); padding: 6px; display: grid; gap: 2px; }

.row { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 2px 14px; padding: 8px 10px 8px 12px; border-radius: 14px; align-items: start; text-decoration: none; scroll-margin-top: 150px; transition: background .12s, box-shadow .12s; }
.row:hover { background: var(--frame); }
.row:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.row.is-open { background: var(--frame); box-shadow: inset 0 0 0 1.5px var(--tint); }
.row .name { grid-column: 1; font-size: 12.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.row .title { grid-column: 1; font-size: 14px; font-weight: 500; line-height: 1.35; }
.row .hint { grid-column: 1 / 3; font-size: 12.5px; color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .hint b { font-weight: 600; color: var(--ink-2); }
.row .value { grid-column: 2; grid-row: 1 / span 2; text-align: right; display: grid; justify-items: end; gap: 0; white-space: nowrap; }
.row .value b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--accent-ink); }
.row .value small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.row .value.unsized b { font-size: 13px; font-weight: 500; color: var(--muted); }
.chevron { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; border-radius: 6px; background: var(--frame); position: relative; transition: transform .15s; }
.chevron::after { content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 5px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); }
.row:hover .chevron, .row.is-open .chevron { background: var(--card); }
.row.is-open .chevron::after { border-color: var(--tint); }
.quote { font-size: 14px; line-height: 1.5; font-weight: 500; padding: 9px 14px; border-radius: 16px; background: var(--frame); margin: 0; white-space: pre-wrap; }
.label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.worth { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 13px; font-weight: 500; color: var(--accent-ink); padding: 0 2px; }
.worth .label { margin: 0; }
.worth b { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.worth b.unsized { font-size: 15px; color: var(--ink-2); }
.worth b.unsized + span { color: var(--muted); }
.steps { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.5; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; border-radius: 16px; background: var(--frame); padding: 2px 14px; min-width: 0; }
.fact { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 9px 0; }
.fact + .fact { border-top: 1px solid var(--frame-2); }
.fact > span { font-size: 12px; font-weight: 600; color: var(--muted); padding-top: 2px; }
.fact > div { font-size: 13px; line-height: 1.5; display: grid; gap: 6px; min-width: 0; }
.fact p { margin: 0; }
.proof { font-weight: 500; color: var(--ink-2); overflow-wrap: anywhere; }
.math { font: 500 12px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); background: var(--card); border-radius: 10px; padding: 6px 9px; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 12.5px; }
.links { display: flex; flex-wrap: wrap; gap: 6px; }
.link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 20px; background: var(--frame); font-size: 12.5px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.link:hover { background: var(--frame-2); }
.link.primary { background: var(--ink); color: var(--on-ink); }
.sure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sure div { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.sure b { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.sure .meter { --tint: var(--accent); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.shot { display: block; border-radius: 12px; overflow: hidden; background: var(--frame); text-decoration: none; box-shadow: var(--shadow-xs); }
.shot img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; background: var(--frame); }
.shot.wide { grid-column: span 2; }
.shot.wide img { aspect-ratio: 16 / 10; }
.shot span { display: block; font-size: 11.5px; color: var(--muted); padding: 5px 8px; line-height: 1.3; }

.insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.insight .card { padding: 12px 16px; display: grid; gap: 8px; align-content: start; }
.insight h3 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.insight p { margin: 0; font-size: 13.5px; color: var(--ink-2); white-space: pre-wrap; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); padding: 0 4px 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend b { color: var(--ink); font-weight: 600; }
.legend i, .cov > i { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--tint); }
.covgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-items: start; }
.cov { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-xs); font-size: 13px; text-decoration: none; scroll-margin-top: 150px; transition: background .12s, box-shadow .12s; }
.cov:hover { background: var(--frame); }
.cov:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.cov.is-open { background: var(--frame); box-shadow: inset 0 0 0 1.5px var(--tint); }
.cov.tint-later.is-open, .cov.tint-wait.is-open { box-shadow: inset 0 0 0 1.5px var(--faint); }
.cov-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.cov-text b { font-weight: 500; }
.cov-detail { font-size: 12px; color: var(--muted); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cov > em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.cov.tint-leak > em { color: var(--k-broken); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cards.method { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards .card { padding: 10px 16px 12px; display: grid; gap: 6px; align-content: start; }
.cards .card > b { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.cards .number { width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-size: 13px; flex: none; }
.cards p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.cards details summary { cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); }
.cards ul { margin: 6px 0 0; padding-left: 16px; display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.cards ul b { color: var(--ink-2); font-weight: 600; }
.family .meter { height: 5px; }
.subhead { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; margin: 24px 0 10px; }
.honesty { margin-top: 14px; }
.honesty .card { padding: 12px 16px; }
.honesty b { font-size: 14px; font-weight: 500; }
.honesty ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 110ch; }
footer { color: var(--faint); font-size: 12.5px; padding: 32px 0 64px; max-width: 86ch; }

.focal .big b.elapsed { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.progress { margin-top: 4px; scroll-margin-top: 70px; }
.progress > .card { padding: 14px 18px 16px; display: grid; gap: 14px; }
.progress-head { display: flex; align-items: center; gap: 10px; }
.progress-head b { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.progress-line { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.stepgroup { display: grid; gap: 0; }
.stepgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.step { border-radius: 14px; background: var(--frame); padding: 8px 12px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.step > b { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.step-state { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.step-state i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); flex: none; }
.step-time { font-size: 11.5px; color: var(--faint); white-space: nowrap; }
.step-line { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.step .meter { margin-top: 4px; }
.step .meter i.tint-wait { background: transparent; }
.step-tally { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12.5px; color: var(--ink-2); }
.step-tally span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.step-tally i { width: 7px; height: 7px; border-radius: 50%; background: var(--tint); }
.step.is-waiting > b { color: var(--muted); }
.step.is-running { background: var(--card); box-shadow: 0 0 0 1.5px var(--accent-frame), var(--shadow-xs); }
.step.is-running .step-state { color: var(--accent-ink); }
.step.is-running .step-state i { box-shadow: none; background: var(--accent); animation: pulse 1.6s ease-out infinite; }
.step.is-running .step-line { color: var(--ink-2); }
.step.is-done { background: var(--card); box-shadow: var(--shadow-xs); }
.step.is-done .step-state { color: var(--accent-ink); }
.step.is-done .step-state i { box-shadow: none; background: var(--accent); }
.step.is-stopped .step-state, .step.is-skipped .step-state { color: var(--t-stop); }
.step.is-stopped .step-state i, .step.is-skipped .step-state i { box-shadow: none; background: var(--t-stop); }
.next { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); padding: 10px 14px; border-radius: 14px; background: var(--accent-soft); }
.next b { color: var(--accent-ink); }
.next .muted { white-space: nowrap; }

.tint-wait { --tint: transparent; --tint-bg: var(--frame); }
.legend .tint-wait i, .cov.tint-wait > i { box-shadow: inset 0 0 0 1.5px var(--faint); }
.cov.tint-wait { background: color-mix(in srgb, var(--card) 60%, var(--frame)); box-shadow: none; }
.cov.tint-wait .cov-text b { color: var(--muted); }

.row .value.pending b { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--frame); padding: 2px 8px; border-radius: 8px; }
.row:hover .value.pending b, .row.is-open .value.pending b { background: var(--card); }
.row .value.pending small { margin-top: 2px; }

.scrim { position: fixed; inset: 0; z-index: 25; background: var(--scrim); opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 30; width: 540px; max-width: calc(100vw - 24px); display: flex; transform: translateX(calc(100% + 24px)); visibility: hidden; transition: transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s; }
.drawer.open { transform: none; visibility: visible; transition: transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.drawer:focus { outline: none; }
.drawer > .frame { flex: 1; display: flex; min-width: 0; border-radius: 24px; background: var(--tint-bg); box-shadow: var(--shadow-sm); }
.drawer > .frame > .card { flex: 1; min-width: 0; border-radius: 22px; display: flex; flex-direction: column; overflow: hidden; position: relative; height: auto; }
.drawer-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 34px; height: 34px; border-radius: 10px; background: var(--frame); color: var(--ink-2); display: grid; place-items: center; font-size: 19px; line-height: 1; text-align: center; }
.drawer-close:hover { background: var(--frame-2); color: var(--ink); }
.drawer-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.drawer-top { padding: 12px 58px 12px 18px; display: grid; gap: 6px; border-bottom: 1px solid var(--rule); }
.drawer-scope { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--tint); }
.drawer-scope i { width: 9px; height: 9px; border-radius: 50%; background: var(--tint); flex: none; }
.drawer-top h2 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 500; text-wrap: pretty; }
.drawer-top .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.drawer-body { flex: 1; min-height: 0; padding: 14px 18px 20px; overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; overflow-wrap: anywhere; }
.drawer-body > div > p { margin: 0; font-size: 14px; line-height: 1.5; }
.drawer-body .steps { font-size: 14px; }
.drawer.is-signal .drawer-scope { color: var(--muted); }
.drawer.tint-later .drawer-scope i, .drawer.tint-later .chip.status i { background: var(--faint); }
.drawer.tint-wait .drawer-scope i, .drawer.tint-wait .chip.status i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.chip.status { background: var(--tint-bg); color: var(--ink); }
.chip.status i { background: var(--tint); border-radius: 50%; }
.signal-findings { display: grid; gap: 6px; }
.drawer-body p + .signal-findings { margin-top: 10px; }
.switch { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 14px; background: var(--frame); text-decoration: none; transition: background .12s; }
.switch:hover { background: var(--frame-2); }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.switch > span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.switch small { font-size: 12px; font-weight: 500; color: var(--muted); }
.switch b { font-size: 14px; font-weight: 500; line-height: 1.35; }
.switch em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .pulse, .step.is-running .step-state i { animation: none; }
  .scrim, .drawer, .drawer.open { transition: none; }
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tile .sub { display: none; }
  .featured, .covgrid, .cards, .cards.method, .featured.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured.count-1 { grid-template-columns: minmax(0, 1fr); }
  .toolbar .bar { grid-template-columns: 1fr 1fr; }
  .toolbar .note { grid-column: 1 / -1; }
  .stepgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .topnav a { display: none; }
  .hero { padding-top: 20px; gap: 16px; }
  h1 { font-size: 30px; }
  .focal .big b { font-size: 40px; }
  .focal .big span { max-width: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 14px; }
  .tile { border-radius: 14px; }
  .tile.tint-tested { grid-column: 1 / -1; }
  .tile .head { padding: 5px 8px 3px; font-size: 11.5px; gap: 5px; white-space: nowrap; overflow: hidden; }
  .tile .head i { width: 7px; height: 7px; }
  .tile .body { border-radius: 12px; padding: 6px 8px; gap: 4px; }
  .tile strong { font-size: 20px; }
  .tile.tint-tested .body { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .featured, .featured.count-2, .covgrid, .cards, .cards.method, .insights { grid-template-columns: 1fr; }
  .featured.count-1 .card { grid-template-columns: minmax(0, 1fr); }
  .featured.count-1 .fix { grid-column: 1; grid-row: auto; }
  .featured.count-1 .foot { grid-column: 1; flex-wrap: wrap; gap: 4px 12px; }
  .featured.count-1 .worth { font-size: 16px; }
  .focal .top { grid-template-columns: minmax(0, 1fr); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { scroll-margin-top: 70px; grid-template-columns: minmax(0, 1fr) 20px; padding: 10px; }
  .toolbar { position: static; }
  .toolbar .bar { grid-template-columns: 1fr; gap: 6px; padding: 10px 16px; }
  input[type=range] { height: 44px; --thumb: 28px; }
  .row .name { grid-column: 1; }
  .row .title { grid-column: 1 / -1; }
  .row .value { grid-column: 1 / -1; grid-row: auto; order: 3; justify-items: start; text-align: left; display: flex; align-items: baseline; gap: 6px; }
  .row .hint { grid-column: 1 / -1; order: 4; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .chevron { grid-column: 2; grid-row: 1; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .board-head { align-items: flex-start; }
  .board-head > div { min-width: 0; }
  .progress > .card { padding: 12px 12px 14px; gap: 12px; }
  .stepgrid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .step { padding: 7px 10px 8px; }
  .next .muted { white-space: normal; }
  .focal .big b.elapsed { font-size: 36px; }
  html.has-drawer { overflow: hidden; }
  .drawer { inset: 0; width: auto; max-width: none; transform: translateY(100%); }
  .drawer > .frame { border-radius: 0; padding: 0; box-shadow: none; }
  .drawer > .frame > .card { border-radius: 0; box-shadow: none; }
  .drawer-close { top: calc(6px + env(safe-area-inset-top)); right: 6px; width: 44px; height: 44px; font-size: 22px; }
  .drawer-top { padding: calc(12px + env(safe-area-inset-top)) 60px 12px 16px; background: var(--tint-bg); border-bottom: 0; }
  .drawer-top h2 { font-size: 18px; }
  .drawer-top .chip.status { background: var(--card); }
  .drawer-body { padding: 14px 16px calc(28px + env(safe-area-inset-bottom)); }
}
