/* tpssensor.com: workshop datasheet. Graphite instrument panels, signal amber, precise rules. Mobile first. */
:root {
  color-scheme: light;
  --paper: #F3F4F1; --panel: #FFFFFF; --wash: #E9ECEA;
  --ink: #12161B; --ink2: #2B323A; --muted: #56616B; --line: #D9DEE1; --line2: #BFC7CD;
  --graphite: #171C22; --graphite2: #222931; --edge: #343D47; --scope: #0D1216; --fog: #C9D2DA;
  --signal: #FFB000; --signal-deep: #8A5A00; --ok: #1FBF75; --fault: #E5342A; --blue: #2F6BFF; --violet: #7B5CFF; --steel: #8C96A0;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1240px; --read: 740px; --r: 14px;
  --grid: linear-gradient(rgba(18,22,27,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(18,22,27,.055) 1px, transparent 1px);
  --grid-dark: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink2); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-line: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: background-color .15s, color .15s; }
a:hover { background: rgba(255,176,0,.16); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); font-stretch: 88%; text-wrap: balance; line-height: 1.12; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem); font-weight: 800; letter-spacing: -.012em; margin: 2.4em 0 .6em; }
h3 { font-size: 1.18rem; font-weight: 700; margin: 1.6em 0 .4em; }
p, li { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 10px; background: var(--signal); color: var(--ink); font: 700 1rem/1.15 var(--display); font-stretch: 92%; letter-spacing: .01em; text-decoration: none; border: 1.5px solid var(--ink); box-shadow: 0 2px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: #FFC233; transform: translateY(-1px); box-shadow: 0 3px 0 var(--ink); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--ink); }
.btn.ghost { background: var(--panel); }
.btn.ghost:hover { background: var(--wash); }
.btn.ghost.light { background: transparent; color: #fff; border-color: #5B6670; box-shadow: none; }
.btn.ghost.light:hover { background: rgba(255,255,255,.08); border-color: var(--fog); }
.btn.small { min-height: 44px; padding: 9px 14px; font-size: .94rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.2em 0; }
.shop { margin: 1.4em 0; }

/* ---------- header ---------- */
.site-head { background: var(--graphite); color: #fff; position: relative; z-index: 40; }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; margin-right: auto; flex: none; white-space: nowrap; }
.logo:hover { background: none; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.logo-word { font: 800 1.28rem/1 var(--display); font-stretch: 80%; letter-spacing: -.01em; }
.logo-word small { display: block; font: 500 .66rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fog); margin-top: 5px; }
.nav-desktop { display: none; }
.head-cta { display: none; }
.tracebar { height: 3px; background: linear-gradient(90deg, var(--ok) 0 8%, var(--signal) 8% 100%); }
.menu { position: static; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--edge); border-radius: 10px; cursor: pointer; font: 600 .95rem var(--display); color: #fff; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--fog); }
.bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.bars::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.menu[open] .bars { border-color: transparent; }
.menu[open] .bars::after { top: 3px; transform: rotate(45deg); box-shadow: 0 0 0 0 currentColor; }
.menu[open] .bars::before { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; transform: rotate(-45deg); }
.lbl-desktop { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--graphite2); border-top: 1px solid var(--edge); border-bottom: 3px solid var(--signal); padding: 18px 16px 22px; display: grid; gap: 18px; max-height: calc(100vh - 70px); overflow-y: auto; box-shadow: 0 24px 40px rgba(0,0,0,.35); }
.menu-panel h2 { font: 500 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin: 0 0 8px; }
.menu-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-panel a { display: block; padding: 9px 8px; border-radius: 8px; color: #fff; text-decoration: none; font-weight: 500; }
.menu-panel a:hover, .menu-panel a[aria-current] { background: rgba(255,255,255,.07); }
.menu-panel a[aria-current] { box-shadow: inset 3px 0 0 var(--signal); }

/* ---------- page hero ---------- */
.hero { background: var(--paper); background-image: var(--grid); background-size: 24px 24px; border-bottom: 1px solid var(--line); padding: 22px 0 34px; }
.hero-grid { display: grid; gap: 26px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font: 500 .78rem var(--mono); letter-spacing: .04em; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 700 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31,191,117,.18); }
.hero h1, .home-hero h1 { font-size: clamp(2.15rem, 1.4rem + 3.6vw, 3.9rem); font-weight: 850; font-stretch: 76%; letter-spacing: -.015em; line-height: 1; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, rgba(255,176,0,.55) 62% 92%, transparent 92%); }
.lede { font-size: 1.14rem; line-height: 1.6; color: var(--ink2); max-width: 62ch; margin: 0 0 14px; }
.disclose { font-size: .86rem; color: var(--muted); margin: 10px 0 0; max-width: 70ch; }
.disclose a { color: var(--muted); }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 .76rem var(--mono); letter-spacing: .03em; color: var(--muted); margin: 14px 0 0; }
.meta-line span::before { content: '\25CF'; color: var(--signal); margin-right: 7px; font-size: .7em; vertical-align: 1px; }
.spec-frame { position: relative; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 18px 18px 12px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(18,22,27,.35); }
.spec-frame svg { width: 100%; }
.tick { position: absolute; width: 12px; height: 12px; border-color: var(--ink); border-style: solid; border-width: 0; }
.tick.tl { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 6px; }
.tick.tr { right: -1px; top: -1px; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 6px; }
.tick.bl { left: -1px; bottom: -1px; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 6px; }
.tick.br { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 6px; }
.spec-cap { margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line2); font: 500 .72rem var(--mono); letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }

/* ---------- article ---------- */
.article { max-width: var(--read); margin: 0 auto; padding: 8px 16px 40px; }
.article > p, .article > ul, .article > ol { margin: 1em 0; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: .35em 0; }
.article li::marker { color: var(--steel); }
.answer { margin: 28px 0 8px; background: var(--graphite); color: #E6EBEF; border-radius: var(--r); padding: 20px 20px 18px; background-image: var(--grid-dark); background-size: 18px 18px; border: 1px solid var(--edge); }
.answer .label { font: 700 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--signal); margin: 0 0 8px; }
.answer p { margin: 0; }
.answer strong { color: #fff; }
.answer a { color: #fff; }
.note { margin: 1.6em 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.note .label { font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.note .label::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--steel); }
.note p { margin: 0; font-size: .97rem; }
.note.honest .label::before { background: var(--ok); }
.note.warn { background: #FFF8E8; border-color: #F1D9A0; }
.note.warn .label::before { background: var(--signal); transform: rotate(45deg); }
.note.fit { background: #EEF3FF; border-color: #CCDAFB; }
.note.fit .label::before { background: var(--blue); }

/* figures */
.fig { margin: 1.6em 0; }
.fig-frame { background: var(--panel); background-image: var(--grid); background-size: 16px 16px; border: 1px solid var(--line2); border-radius: var(--r); padding: 14px; }
.fig-frame svg { width: 100%; }
.fig figcaption { display: flex; gap: 10px; align-items: baseline; font-size: .9rem; color: var(--muted); margin-top: 8px; }
.fig figcaption span { font: 700 .72rem var(--mono); letter-spacing: .08em; color: var(--ink); text-transform: uppercase; flex: none; }
.fig-pair { display: grid; gap: 4px; margin: 1.4em 0; }
.fig-pair .fig { margin: .4em 0; }
.fig-stack { display: grid; gap: 4px; }
.fig-stack .fig { margin: 0 0 12px; }

/* tables */
.tbl-wrap { margin: 1.4em 0; }
.tbl-cap { font: 500 .76rem var(--mono); letter-spacing: .04em; color: var(--muted); margin: 0 0 8px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.tbl th { text-align: left; background: var(--graphite); color: #E6EBEF; font: 700 .74rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 11px 12px; vertical-align: bottom; }
.tbl td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.tbl tr:nth-child(even) td { background: #FAFBFA; }
.tbl.stack thead { display: none; }
.tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: 100%; }
.tbl.stack tr { border-top: 1px solid var(--line2); padding: 6px 0; }
.tbl.stack tr:first-child { border-top: 0; }
.tbl.stack td { border: 0; padding: 5px 14px; background: none !important; }
.tbl.stack td::before { content: attr(data-label); display: block; font: 700 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.tbl.stack td[data-label=""]::before { display: none; }
.code-chip { display: inline-flex; align-items: center; gap: 7px; font: 700 .92rem var(--mono); color: var(--ink); white-space: nowrap; }
.code-chip::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--cc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cc) 22%, transparent); }
.codefacts { display: grid; gap: 0; margin: 26px 0 8px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; }
.codefacts div { padding: 11px 16px; border-top: 1px solid var(--line); }
.codefacts div:first-child { border-top: 0; background: var(--graphite); }
.codefacts div:first-child dt { color: var(--fog); }
.codefacts div:first-child dd { color: var(--signal); font-size: 1.5rem; font-weight: 700; }
.codefacts dt { font: 700 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.codefacts dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0 !important; margin: 1.4em 0; display: grid; gap: 10px; }
.steps > li { counter-increment: s; position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 14px 62px; margin: 0; }
.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--graphite); color: var(--signal); font: 700 .86rem var(--mono); }
.steps h3 { margin: 4px 0 4px; font-size: 1.08rem; }
.steps p { margin: 0; font-size: .98rem; }

/* picks */
.picks { list-style: none; padding: 0 !important; margin: 1.4em 0; display: grid; gap: 12px; }
.pick { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 16px 18px; margin: 0 !important; }
.pick-head { display: flex; align-items: center; gap: 10px; }
.pick-no { font: 700 .8rem var(--mono); color: var(--signal-deep); }
.pick-tag { font: 700 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--wash); padding: 3px 8px; border-radius: 99px; }
.pick h3 { margin: 6px 0 4px; }
.pick .best { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.pick ul { margin: 6px 0; }
.pick-src { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.pick .cta-row { margin: 10px 0 0; }

/* faq, sources */
.faq { margin-top: 2.6em; }
.faq-item { border-top: 1px solid var(--line2); padding: 6px 0 4px; }
.faq-item h3 { margin: 14px 0 6px; font-size: 1.12rem; }
.faq-item p { margin: 0 0 12px; }
.sources { margin-top: 2.4em; font-size: .9rem; }
.sources h2 { font-size: 1.1rem; font-family: var(--mono); font-stretch: 100%; letter-spacing: .08em; text-transform: uppercase; }
.sources ol { padding-left: 1.3em; }
.sources a { color: var(--ink2); word-break: break-word; }
.updated { margin-top: 2em; font: 500 .8rem/1.6 var(--mono); color: var(--muted); border-top: 1px dashed var(--line2); padding-top: 14px; }
.small-note { font-size: .9rem; color: var(--muted); }

/* related tiles */
.more { background: var(--wash); border-top: 1px solid var(--line); padding: 34px 0 44px; }
.more h2 { margin: 0 0 16px; }
.tiles { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tile { display: flex; align-items: center; gap: 14px; background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 10px 14px 10px 10px; text-decoration: none; min-height: 76px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { background: var(--panel); border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 22px -16px rgba(18,22,27,.5); }
.t-art { width: 78px; flex: none; background: var(--paper); border-radius: 10px; padding: 4px; }
.t-txt small { display: block; font: 700 .64rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.t-txt strong { font: 700 1.05rem/1.2 var(--display); font-stretch: 90%; color: var(--ink); }

/* footer */
.site-foot { background: var(--graphite); color: var(--fog); padding: 40px 0 28px; font-size: .94rem; border-top: 3px solid var(--signal); }
.site-foot a { color: #fff; text-decoration-color: var(--edge); }
.site-foot a:hover { background: none; text-decoration-color: var(--signal); }
.foot-grid { display: grid; gap: 26px; }
.foot-grid h2 { font: 700 .72rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal); margin: 0 0 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.brand-name { display: flex; align-items: center; gap: 10px; font: 800 1.25rem var(--display); font-stretch: 80%; color: #fff; margin: 0 0 10px; }
.brand-name svg { width: 32px; height: 32px; }
.fine { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--edge); font-size: .84rem; color: #9AA6B1; }
.fine p { margin: 0 0 8px; }

/* ---------- home ---------- */
.home-hero { background: var(--graphite); background-image: var(--grid-dark); background-size: 28px 28px; color: #E6EBEF; padding: 30px 0 38px; }
.hh-grid { display: grid; gap: 28px; align-items: center; }
.home-hero .kicker { color: var(--signal); }
.home-hero h1 { color: #fff; }
.home-hero h1 em { font-style: normal; display: block; color: var(--signal); font-stretch: 70%; font-weight: 700; font-size: .62em; line-height: 1.08; margin-top: 10px; letter-spacing: 0; }
.home-hero .lede { color: #D3DAE0; }
.home-hero .disclose, .home-hero .disclose a { color: #9AA6B1; }
.hh-frame { background: var(--paper); background-image: var(--grid); background-size: 18px 18px; border-radius: 18px; padding: 16px; box-shadow: 0 0 0 1px var(--edge), 0 30px 60px -20px rgba(0,0,0,.6); }
.route { background: var(--panel); border-bottom: 1px solid var(--line); }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
.route-list li { border-top: 1px solid var(--line); }
.route-list li:first-child { border-top: 0; }
.route-list a { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 14px 4px; text-decoration: none; color: var(--ink2); }
.route-list a:hover { background: var(--paper); }
.route-list .mono { grid-row: span 2; font-size: .82rem; font-weight: 700; color: var(--signal-deep); padding-top: 3px; }
.route-list strong { font: 800 1.12rem var(--display); font-stretch: 85%; }
.route-list small { font-size: .9rem; color: var(--muted); }
.band { padding: 44px 0; }
.band.alt { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 20px; }
.sec-head h2 { margin: 0 0 8px; }
.sec-head p { margin: 0; color: var(--muted); }
.split { display: grid; gap: 24px; }
.prose p { margin: 0 0 1em; }
.duo { display: grid; gap: 14px; }
.duo-card { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 16px; }
.duo-card .fig-frame { border: 0; padding: 6px; background-color: var(--paper); }
.duo-card h3 { margin: 14px 0 6px; }
.duo-card p { margin: 0 0 8px; }
.cards { display: grid; gap: 10px; margin: 1.2em 0; }
.card { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 14px 16px; }
.card-k { margin: 0; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin: 2px 0 4px; font-family: var(--mono); font-stretch: 100%; font-size: 1.2rem; }
.card p:last-child { margin: 0; font-size: .95rem; }
.groups { display: grid; gap: 22px; }
.groups h3 { margin: 0 0 8px; font-family: var(--mono); font-stretch: 100%; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.linklist a { font-weight: 600; }

/* ---------- symptom checker ---------- */
.checker { display: grid; gap: 16px; margin: 1.4em 0; }
.ck-form { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 6px 16px 16px; }
.ck-form fieldset { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.ck-form legend { font: 700 1.02rem var(--display); font-stretch: 90%; color: var(--ink); padding: 0; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; }
.ck-form legend .mono { font-size: .74rem; color: var(--signal-deep); }
.hint { margin: -4px 0 10px; font-size: .88rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 13px; border: 1.5px solid var(--line2); border-radius: 10px; background: var(--paper); font-size: .94rem; font-weight: 500; color: var(--ink2); transition: border-color .15s, background .15s; }
.chip span::before { content: ''; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--steel); flex: none; background: #fff; }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip:hover span { border-color: var(--ink2); }
.chip input:checked + span { border-color: var(--ink); background: #FFF4D9; color: var(--ink); }
.chip input:checked + span::before { background: var(--signal); border-color: var(--ink); box-shadow: inset 0 0 0 2.5px #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.mono-chips .chip span { font-family: var(--mono); font-weight: 700; }
.ck-out { background: var(--graphite); background-image: var(--grid-dark); background-size: 18px 18px; color: #E6EBEF; border-radius: var(--r); padding: 16px; border: 1px solid var(--edge); min-height: 180px; }
.r-label { font: 700 .72rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--signal); margin: 0 0 10px; }
.ck-empty { color: #9AA6B1; margin: 0; }
.ck-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ck-item { background: rgba(255,255,255,.035); border: 1px solid var(--edge); border-radius: 12px; padding: 14px; }
.ck-top { display: flex; gap: 10px; align-items: baseline; }
.ck-rank { color: var(--signal); font-weight: 700; font-size: .82rem; }
.ck-item h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.ck-meter { height: 6px; background: #26303A; border-radius: 99px; margin: 10px 0; overflow: hidden; }
.ck-meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--ok), var(--signal)); border-radius: 99px; }
.ck-why { margin: 0 0 6px; font-size: .95rem; color: #D3DAE0; }
.ck-steps { margin: 0; padding-left: 1.1em; font-size: .92rem; color: #C2CBD3; }
.ck-steps li::marker { color: var(--signal); }
.ck-item .cta-row { margin: 12px 0 0; }
.ck-item .btn.ghost { background: transparent; color: #fff; border-color: #5B6670; box-shadow: none; }
.ck-item .btn.ghost:hover { background: rgba(255,255,255,.08); }
.ck-foot { font: 500 .74rem var(--mono); color: #9AA6B1; margin: 12px 0 0; }
.ck-out a:not(.btn) { color: #fff; }

/* ---------- legal ---------- */
.legal h2 { font-size: 1.4rem; }

/* ---------- wider screens ---------- */
@media (min-width: 640px) {
  .fig-pair { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr 1fr; }
  .codefacts { grid-template-columns: 1fr 1fr; }
  .codefacts div:first-child { grid-column: span 2; }
  .codefacts div:nth-child(n+2) { border-left: 1px solid var(--line); }
  .codefacts div:nth-child(2n) { border-left: 0; }
}
@media (min-width: 760px) {
  .tbl.stack thead { display: table-header-group; }
  .tbl.stack { display: table; }
  .tbl.stack tbody { display: table-row-group; }
  .tbl.stack tr { display: table-row; padding: 0; border: 0; }
  .tbl.stack td { display: table-cell; width: auto; padding: 11px 12px; border-top: 1px solid var(--line); }
  .tbl.stack tr:nth-child(even) td { background: #FAFBFA !important; }
  .tbl.stack td::before { display: none; }
  .route-list { grid-template-columns: repeat(5, 1fr); }
  .route-list li { border-top: 0; border-left: 1px solid var(--line); }
  .route-list li:first-child { border-left: 0; }
  .route-list a { grid-template-columns: 1fr; padding: 18px 16px; height: 100%; }
  .route-list .mono { grid-row: auto; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .menu-panel { grid-template-columns: repeat(4, 1fr); padding: 24px max(24px, calc((100vw - var(--wrap)) / 2 + 16px)); }
  .panel-cta { grid-column: 1 / -1; }
  .groups { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .head-row { min-height: 72px; gap: 18px; }
  .nav-desktop { display: flex; gap: 2px; margin-right: 6px; }
  .nav-desktop a { color: var(--fog); text-decoration: none; padding: 8px 11px; border-radius: 8px; font-weight: 500; font-size: .96rem; }
  .nav-desktop a:hover, .nav-desktop a[aria-current] { color: #fff; background: rgba(255,255,255,.07); }
  .head-cta { display: inline-flex; }
  .lbl-mobile { display: none; }
  .lbl-desktop { display: inline; }
  .hero { padding: 34px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .hero-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
  .article { padding-bottom: 56px; }
  .breakout { width: min(1040px, calc(100vw - 32px)); margin-left: 50%; transform: translateX(-50%); }
  .home-hero { padding: 56px 0 64px; }
  .hh-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .band { padding: 64px 0; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .checker { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
  .ck-out { position: sticky; top: 16px; }
  .article > .picks.breakout { margin-left: 50%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1600px) {
  :root { --wrap: 1320px; }
  body { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
