:root {
  --bg: #07080c;
  --bg-2: #0a0c12;
  --surface: #11141c;
  --surface-2: #171b25;
  --surface-3: #1e2330;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9ebf2;
  --muted: #8b91a3;
  --accent: #22d3ee;
  --accent-2: #a78bfa;
  --c-top: #34d399;
  --c-good: #22d3ee;
  --c-mid: #fbbf24;
  --c-low: #fb7185;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(167, 139, 250, 0.16), transparent 60%),
    radial-gradient(780px 460px at 92% 0%, rgba(34, 211, 238, 0.13), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 .8em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.center { text-align: center; }
.yes { color: var(--c-top); font-weight: 700; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #04121a; padding: 10px 16px; border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ topbar */

.topbar {
  position: sticky; top: 0; z-index: 60;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: 12px clamp(16px, 3vw, 34px);
  background: rgba(9, 10, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 8px 6px;
  border-top: 2px solid rgba(7, 8, 12, .85);
  border-bottom: 2px solid rgba(7, 8, 12, .85);
}
.brand-text { font-size: 1.12rem; letter-spacing: -0.03em; }
.brand-text em { font-style: normal; color: var(--accent); }

.topnav { display: flex; gap: 6px; }
.topnav a {
  padding: 8px 14px; border-radius: 99px; color: var(--muted);
  font-weight: 600; font-size: .9rem; transition: .16s;
  display: inline-flex; align-items: center; gap: 7px;
}
.topnav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.topnav a.is-active { color: #06121a; background: linear-gradient(135deg, var(--accent), #7dd3fc); }

.pill-badge {
  background: var(--accent-2); color: #12081f; border-radius: 99px;
  font: 700 .7rem/1.5 var(--mono); padding: 1px 7px; min-width: 20px; text-align: center;
}
.topnav a.is-active .pill-badge { background: #06121a; color: var(--accent); }

.topbar-search input {
  width: min(320px, 34vw); padding: 9px 14px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font: 500 .88rem var(--sans); outline: none; transition: .16s;
}
.topbar-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .14); }
.topbar-search input::placeholder { color: var(--muted); }

/* -------------------------------------------------------------------- hero */

main { max-width: 1560px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 34px); }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.55fr) auto; gap: 34px; align-items: center;
  padding: clamp(34px, 5vw, 62px) 0 clamp(26px, 3vw, 40px);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 700;
  color: var(--accent); margin: 0 0 12px;
}
.grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); font-size: 1.02rem; max-width: 62ch; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, minmax(112px, 1fr)); gap: 1px;
  margin: 0; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.hero-stats > div { background: var(--surface); padding: 14px 16px; }
.hero-stats dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.hero-stats dd {
  margin: 3px 0 0; font: 700 1.5rem/1 var(--mono);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 99px; border: 1px solid transparent;
  font: 700 .9rem var(--sans); cursor: pointer; transition: .16s; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #06121a; box-shadow: 0 8px 24px rgba(34, 211, 238, .22); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost.is-on { border-color: var(--c-top); color: var(--c-top); }
.btn.block { width: 100%; margin-top: 18px; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

.link-btn {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font: 600 .82rem var(--sans); padding: 4px 0; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: rgba(34, 211, 238, .35);
}
.link-btn:hover { color: #7dd3fc; }

.chip-btn {
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); font: 600 .78rem var(--sans);
  cursor: pointer; transition: .14s; white-space: nowrap;
}
.chip-btn:hover { border-color: var(--accent); color: var(--accent); }
.chip-btn.solid { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .4); color: var(--accent); }
.chip-btn.is-on { background: rgba(52, 211, 153, .15); border-color: var(--c-top); color: var(--c-top); }
.chip-btn.sm { padding: 3px 9px; font-size: .8rem; }

/* ------------------------------------------------------------------ layout */

.db-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.narrow { max-width: 880px; margin: 0 auto; padding: clamp(28px, 4vw, 52px) 0 60px; }
.wide { padding: clamp(24px, 3vw, 44px) 0 60px; }
.view-head { margin-bottom: 30px; }

.sidebar {
  position: sticky; top: 78px; max-height: calc(100vh - 100px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; }
.sidebar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }

.filter-block { padding: 15px 0; border-top: 1px solid var(--border); }
.filter-block:first-of-type { border-top: none; }
.filter-block h3 {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin: 0 0 10px; font-weight: 700;
}

input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font: 500 .76rem var(--mono); color: var(--muted); margin-top: 4px; }
.range-labels strong { color: var(--accent); }

.chip-group { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-group.wrap { gap: 8px; }
.chip {
  padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--muted); font: 600 .78rem var(--sans);
  cursor: pointer; transition: .14s;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.is-on {
  background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .5); color: var(--accent);
}
.chip.lg { padding: 11px 18px; font-size: .9rem; }
.chip.removable { display: inline-flex; align-items: center; gap: 7px; background: rgba(167, 139, 250, .14); border-color: rgba(167, 139, 250, .45); color: #c4b5fd; }
.chip.removable span { font-size: 1rem; line-height: 1; }

.check-group { display: flex; flex-direction: column; gap: 2px; }
.check-group.scroll { max-height: 232px; overflow-y: auto; margin-top: 8px; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
.check {
  display: flex; align-items: center; gap: 9px; padding: 5px 6px; border-radius: 7px;
  cursor: pointer; font-size: .85rem; color: var(--muted); transition: .12s;
}
.check:hover { background: var(--surface-2); color: var(--text); }
.check input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; cursor: pointer; }
.check span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check em { font: 500 .72rem var(--mono); color: var(--muted); opacity: .7; font-style: normal; }

.mini-input {
  width: 100%; padding: 7px 11px; border-radius: 8px; background: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); font: 500 .82rem var(--sans); outline: none;
}
.mini-input:focus { border-color: var(--accent); }

/* ----------------------------------------------------------------- results */

.results-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.result-count { font: 700 1.02rem var(--mono); margin: 0; color: var(--text); }
.results-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.results-controls label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.results-controls select {
  padding: 8px 12px; border-radius: 9px; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); font: 600 .84rem var(--sans); cursor: pointer; outline: none;
}
.results-controls select:focus { border-color: var(--accent); }

.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 2px; }
.seg-btn {
  padding: 6px 13px; border: none; background: none; color: var(--muted);
  font: 600 .8rem var(--sans); border-radius: 7px; cursor: pointer; transition: .14s;
}
.seg-btn.is-on { background: var(--surface-3); color: var(--accent); }

.active-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }

.grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .16s, border-color .16s, box-shadow .16s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .38); box-shadow: var(--shadow); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-brand { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 0; }
.card-name { margin: 2px 0 0; font-size: 1.06rem; }
.card-name a { color: var(--text); }
.card-name a:hover { color: var(--accent); text-decoration: none; }

.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.badge {
  padding: 3px 9px; border-radius: 99px; font: 600 .68rem var(--sans);
  background: var(--surface-3); color: var(--muted); border: 1px solid var(--border);
}
.badge.b-mag { background: rgba(167, 139, 250, .16); border-color: rgba(167, 139, 250, .42); color: #c4b5fd; }
.badge.b-opt { background: rgba(34, 211, 238, .13); border-color: rgba(34, 211, 238, .38); color: #7dd3fc; }
.badge.b-rt { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .4); color: #6ee7b7; }
.badge.b-wl { background: rgba(251, 191, 36, .13); border-color: rgba(251, 191, 36, .36); color: #fcd34d; }

.card-specs { display: grid; gap: 6px; margin: 0; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.card-specs > div { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; }
.card-specs dt { color: var(--muted); }
.card-specs dd {
  margin: 0; font-weight: 600; text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%;
}

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font: 700 1.16rem var(--mono); color: var(--text); }
.card-actions { display: flex; gap: 6px; }

.empty {
  padding: 54px 24px; text-align: center; color: var(--muted);
  border: 1px dashed var(--border-strong); border-radius: var(--radius); background: var(--surface);
}

/* ------------------------------------------------------------------- rings */

.ring {
  --pct: 0; --ring-col: var(--c-good);
  position: relative; width: 50px; height: 50px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: conic-gradient(var(--ring-col) calc(var(--pct) * 1%), rgba(255, 255, 255, .07) 0);
}
.ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface-2); }
.ring b { position: relative; font: 700 .92rem/1 var(--mono); color: var(--ring-col); }
.tone-top { --ring-col: var(--c-top); }
.tone-good { --ring-col: var(--c-good); }
.tone-mid { --ring-col: var(--c-mid); }
.tone-low { --ring-col: var(--c-low); }

.tone-top-text { color: var(--c-top); font-family: var(--mono); }
.tone-good-text { color: var(--c-good); font-family: var(--mono); }
.tone-mid-text { color: var(--c-mid); font-family: var(--mono); }
.tone-low-text { color: var(--c-low); font-family: var(--mono); }

.bar {
  display: inline-block; vertical-align: middle; width: 84px; height: 6px;
  border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden;
}
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--c-good); }
.bar i.tone-top { background: var(--c-top); }
.bar i.tone-mid { background: var(--c-mid); }
.bar i.tone-low { background: var(--c-low); }
.bar.lg { display: block; width: 100%; height: 8px; }
.bar-num { margin-left: 8px; font: 600 .78rem var(--mono); color: var(--muted); }

.mini-score {
  display: inline-block; min-width: 30px; padding: 2px 7px; border-radius: 6px;
  font: 700 .82rem var(--mono); text-align: center;
}
.mini-score.tone-top { background: rgba(52, 211, 153, .16); color: var(--c-top); }
.mini-score.tone-good { background: rgba(34, 211, 238, .16); color: var(--c-good); }
.mini-score.tone-mid { background: rgba(251, 191, 36, .16); color: var(--c-mid); }
.mini-score.tone-low { background: rgba(251, 113, 133, .16); color: var(--c-low); }

/* ------------------------------------------------------------------ tables */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.spec-table th, .spec-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.spec-table thead th {
  position: sticky; top: 0; z-index: 2; background: var(--surface-2);
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700;
}
.spec-table tbody tr:hover { background: var(--surface-2); }
.spec-table tbody tr:last-child td, .spec-table tbody tr:last-child th { border-bottom: none; }
.spec-table .num { text-align: right; font-family: var(--mono); }
.t-name a { color: var(--text); font-weight: 600; }
.t-name a:hover { color: var(--accent); text-decoration: none; }

.compare-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare-table th.row-head-cell { min-width: 168px; left: 0; z-index: 3; }
.compare-table tbody th {
  position: sticky; left: 0; z-index: 1; background: var(--surface);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700;
  border-right: 1px solid var(--border);
}
.compare-table tbody tr:hover th, .compare-table tbody tr:hover td { background: var(--surface-2); }
.compare-table tbody tr.same td { color: var(--muted); }
.compare-table .col-head {
  position: relative; background: var(--surface-2); text-align: center;
  min-width: 190px; padding: 14px 12px; vertical-align: top;
}
.compare-table .col-head .ring { margin: 0 auto 8px; }
.col-name { display: block; color: var(--text); font-weight: 700; font-size: .88rem; white-space: normal; }
.col-name:hover { color: var(--accent); text-decoration: none; }
.col-price { display: block; font: 700 .9rem var(--mono); color: var(--accent); margin-top: 3px; }
.compare-table .col-head .tray-x { position: absolute; top: 8px; right: 8px; }
.compare-table td.is-best { background: rgba(52, 211, 153, .1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); }
.compare-table td .bar { width: 62px; }

.verdicts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 20px; }
.verdict {
  background: linear-gradient(135deg, rgba(34, 211, 238, .1), rgba(167, 139, 250, .1));
  border: 1px solid rgba(34, 211, 238, .28); border-radius: var(--radius); padding: 14px 16px;
}
.verdict span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.verdict strong { display: block; margin-top: 4px; font-size: 1.02rem; }

.compare-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.suggest { margin-top: 34px; }

/* ------------------------------------------------------------------ detail */

.back-link { display: inline-block; margin-bottom: 18px; font-weight: 600; font-size: .86rem; }

.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 22px; }
.detail-head h1 { margin: 0 0 12px; }
.detail-score { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.detail-score .ring { width: 84px; height: 84px; }
.detail-score .ring b { font-size: 1.5rem; }
.detail-price { font: 700 1.3rem var(--mono); color: var(--accent); }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 20px;
}
.panel h2 { margin-bottom: 14px; }
.panel.note { background: rgba(251, 191, 36, .06); border-color: rgba(251, 191, 36, .22); }
.panel.note h2 { color: var(--c-mid); font-size: 1rem; }

.score-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.score-bar-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; font-size: .88rem; }
.score-bar-top strong { font-size: 1.1rem; }
.score-bar .bar.lg { margin: 7px 0 6px; }
.score-bar p { margin: 0; }

.detail-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.detail-side { display: flex; flex-direction: column; }

.spec-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; margin: 0; background: var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.spec-list > div { background: var(--surface); padding: 10px 13px; display: flex; justify-content: space-between; gap: 12px; font-size: .86rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; font-size: .88rem; color: var(--text); }
.ticks li::before {
  position: absolute; left: 0; top: 0; font-weight: 800;
}
.ticks.good li::before { content: '✓'; color: var(--c-top); }
.ticks.warn li::before { content: '!'; color: var(--c-mid); }
.ticks:not(.good):not(.warn) li::before { content: '›'; color: var(--accent); }

/* ------------------------------------------------------------- recommender */

.quiz { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.quiz-progress { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; margin-bottom: 22px; }
.quiz-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s; }
.quiz-step { font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 10px; }
.quiz-q { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 8px; }

.opt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; }
.opt-card {
  display: flex; flex-direction: column; gap: 5px; text-align: left;
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); cursor: pointer; transition: .16s;
  font-family: var(--sans);
}
.opt-card strong { font-size: .98rem; }
.opt-card span { font-size: .8rem; color: var(--muted); }
.opt-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.opt-card.is-on { border-color: var(--accent); background: rgba(34, 211, 238, .1); }

.quiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }

.summary .brief { color: var(--text); font-size: .92rem; margin-bottom: 10px; }
.podium { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 32px; }
.podium-card {
  background: linear-gradient(135deg, rgba(167, 139, 250, .12), rgba(34, 211, 238, .08));
  border: 1px solid rgba(167, 139, 250, .3); border-radius: var(--radius); padding: 15px 17px;
}
.podium-title { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); font-weight: 800; }
.podium-name { display: block; margin: 5px 0 3px; font-size: 1.04rem; font-weight: 700; color: var(--text); }
.podium-name:hover { color: var(--accent); text-decoration: none; }
.podium-meta { font: 600 .8rem var(--mono); color: var(--muted); }

.section-title { margin: 0 0 16px; font-size: 1.3rem; }

.rec-list { display: grid; gap: 14px; }
.rec-card {
  display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; transition: .16s;
}
.rec-card:hover { border-color: rgba(34, 211, 238, .34); }
.rec-rank {
  font: 800 2rem/1 var(--mono); color: var(--surface-3);
  display: grid; place-items: center; border-radius: var(--radius-sm);
  background: var(--bg-2); align-self: start; padding: 12px 0;
}
.rec-card:nth-child(-n+3) .rec-rank { color: var(--accent); background: rgba(34, 211, 238, .1); }
.rec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rec-head h3 { margin: 2px 0 0; font-size: 1.22rem; }
.rec-head h3 a { color: var(--text); }
.rec-head h3 a:hover { color: var(--accent); text-decoration: none; }
.rec-match { text-align: right; flex: none; }
.rec-match strong { display: block; font: 800 1.7rem/1 var(--mono); }
.rec-match span { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.rec-match.tone-top strong { color: var(--c-top); }
.rec-match.tone-good strong { color: var(--c-good); }
.rec-match.tone-mid strong { color: var(--c-mid); }
.rec-match.tone-low strong { color: var(--c-low); }
.rec-price { font: 600 .84rem var(--mono); color: var(--muted); margin: 8px 0 12px; }
.rec-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rec-bar { display: flex; align-items: center; gap: 8px; }
.rec-bar em { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; width: 62px; flex: none; }
.rec-bar .bar.lg { flex: 1; }
.rec-card .ticks { margin-bottom: 12px; }
.rec-card .card-actions { margin-top: 4px; }

/* -------------------------------------------------------------------- tray */

.tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(10, 12, 18, .94); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-strong); box-shadow: 0 -14px 40px rgba(0, 0, 0, .6);
}
.tray-inner {
  max-width: 1560px; margin: 0 auto; padding: 12px clamp(16px, 3vw, 34px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.tray-slots { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.tray-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 13px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 99px; font-size: .82rem;
}
.tray-chip b { color: var(--accent); font-weight: 700; }
.tray-x {
  width: 20px; height: 20px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--surface-3); color: var(--muted); font-size: .9rem; line-height: 1;
  display: grid; place-items: center; transition: .14s; flex: none;
}
.tray-x:hover { background: var(--c-low); color: #1a0508; }
.tray-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.tray.is-flashing::after {
  content: attr(data-flash);
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  background: var(--c-mid); color: #1a1204; padding: 8px 16px; border-radius: 99px;
  font: 700 .8rem var(--sans); white-space: nowrap; box-shadow: var(--shadow);
}

/* ------------------------------------------------------------------ footer */

.site-foot {
  max-width: 1560px; margin: 0 auto; padding: 30px clamp(16px, 3vw, 34px) 40px;
  border-top: 1px solid var(--border); color: var(--muted); font-size: .84rem;
}
.foot-note { max-width: 92ch; font-size: .78rem; opacity: .8; }

.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.foot-h { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin: 0 0 10px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .78rem; }
.foot-links a { color: var(--text); }

/* ------------------------------------------------------- scroll + reveals */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: transparent; pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(34, 211, 238, .6);
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1); }
.reveal.is-in { opacity: 1; transform: none; }

.card, .rec-card, .how-card, .preset { animation: rise .45s ease backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.to-top {
  position: fixed; right: 20px; bottom: 108px; z-index: 55;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: rgba(17, 20, 28, .92);
  color: var(--text); font-size: 1.05rem; cursor: pointer;
  backdrop-filter: blur(10px); transition: .18s;
  box-shadow: var(--shadow);
}
.to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* --------------------------------------------------------------- ticker */

.ticker-wrap {
  display: flex; align-items: center; gap: 16px;
  border-block: 1px solid var(--border); padding: 10px 0; margin: 4px 0 26px;
  overflow: hidden;
}
.ticker-label {
  flex: none; font: 700 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.ticker { flex: 1 1 auto; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.ticker > div {
  display: flex; gap: 30px; width: max-content; padding-right: 30px;
  animation: ticker-scroll 46s linear infinite;
}
.ticker-wrap:hover .ticker > div { animation-play-state: paused; }
.ticker span {
  font: 600 .82rem var(--sans); color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.ticker span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .55; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------------- presets */

.presets { margin: 0 0 30px; }
.presets-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.presets-head h2 { margin: 0; font-size: 1.15rem; }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }

.preset {
  text-align: left; cursor: pointer; padding: 15px 16px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-family: var(--sans); transition: .18s; position: relative; overflow: hidden;
}
.preset::after {
  content: ''; position: absolute; inset: auto -30% -60% auto; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--preset-glow, rgba(34, 211, 238, .22)), transparent 70%);
  transition: .25s; opacity: .8;
}
.preset:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.preset:hover::after { inset: auto -10% -30% auto; }
.preset-tag {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px;
  font: 700 .6rem/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.preset-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.preset strong { display: block; font-size: .95rem; font-weight: 700; }
.preset em { font-style: normal; color: var(--muted); font-size: .78rem; display: block; margin-top: 3px; }
.preset > * { position: relative; z-index: 1; }
.btn.xs { padding: 7px 12px; font-size: .78rem; }
.source-tag.wide { min-width: 200px; color: var(--text); font-size: .74rem; }

/* ------------------------------------------------------------------ how */

.how { margin: 40px 0 12px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.how-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; transition: .18s;
}
.how-card:hover { border-color: rgba(34, 211, 238, .3); transform: translateY(-2px); }
.how-num {
  font: 700 1.5rem/1 var(--mono); display: block; margin-bottom: 12px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.how-card h3 { margin-bottom: 6px; }
.how-card p { margin: 0; }

.hero-note { margin: 16px 0 0; font-size: .78rem; color: var(--muted); opacity: .85; max-width: 58ch; }
.more-wrap { display: flex; justify-content: center; margin: 24px 0 4px; }

/* -------------------------------------------------------- source links */

.sources { display: grid; gap: 10px; }
.source-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.source-tag {
  font: 700 .62rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); min-width: 74px;
}
.source-links { display: flex; gap: 7px; flex-wrap: wrap; }
a.src {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 99px; font-size: .78rem; font-weight: 600;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); transition: .16s;
}
a.src:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; transform: translateY(-1px); }
a.src::after { content: '↗'; font-size: .72rem; opacity: .6; }
.source-note { margin: 0; font-size: .76rem; color: var(--muted); }

/* --------------------------------------------------- compare toolbar/chart */

.compare-toolbar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.compare-toolbar .spacer { flex: 1 1 auto; }
.switch {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: .82rem; font-weight: 600; color: var(--muted); user-select: none;
}
.switch input { appearance: none; width: 34px; height: 19px; border-radius: 99px; background: var(--surface-3);
  border: 1px solid var(--border-strong); position: relative; cursor: pointer; transition: .18s; margin: 0; }
.switch input::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--muted); transition: .18s;
}
.switch input:checked { background: rgba(34, 211, 238, .25); border-color: var(--accent); }
.switch input:checked::after { transform: translateX(15px); background: var(--accent); }
.switch input:checked + span { color: var(--text); }

.chart { display: grid; gap: 14px; margin: 0 0 20px; }
.chart-row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; align-items: center; }
.chart-row > span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.chart-bars { display: grid; gap: 6px; }
.chart-bar { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 10px; align-items: center; }
.chart-bar em {
  font-style: normal; font-size: .74rem; color: var(--muted); font-weight: 700; text-align: right;
  font-family: var(--mono);
}
.chart-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  .db-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .detail-cols { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .chart-row { grid-template-columns: 110px minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .brand { order: 1; }
  .topnav { order: 2; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; overflow: visible; }
  .topnav a { padding: 7px 11px; font-size: .84rem; }
  .topbar-search { order: 3; flex: 1 1 100%; }
  .topbar-search input { width: 100%; }
  body { padding-bottom: 130px; }
  .tray-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .tray-actions { justify-content: space-between; }
  .rec-card { grid-template-columns: 1fr; gap: 10px; }
  .rec-rank { padding: 6px 0; font-size: 1.3rem; justify-self: start; width: 48px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .chart-row { grid-template-columns: 1fr; gap: 6px; }
  .ticker-label { display: none; }
  .to-top { bottom: 142px; right: 14px; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .results-bar { flex-direction: column; align-items: stretch; }
  .results-controls { justify-content: space-between; }
  .detail-head { flex-direction: column; }
  .detail-score { flex-direction: row; align-items: center; gap: 14px; }
  .preset-grid { grid-template-columns: 1fr 1fr; }
  .compare-toolbar { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ticker > div { animation: none !important; }
}

/* ==================================================================== */
/* ============================ LANDING =============================== */
/* ==================================================================== */

.btn.lg { padding: 14px 26px; font-size: .96rem; }
.btn.sm { padding: 8px 15px; font-size: .82rem; }
.btn-quiet { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-quiet:hover { color: var(--accent-2); border-color: rgba(167, 139, 250, .5); }

/* Prominent "check the live price" button */
.btn-price {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #231603; border-color: transparent;
  box-shadow: 0 8px 22px rgba(251, 191, 36, .22);
}
.btn-price:hover { color: #231603; box-shadow: 0 12px 28px rgba(251, 191, 36, .34); }
.btn-price.alt { background: var(--surface-2); color: var(--c-mid); border-color: rgba(251, 191, 36, .45); box-shadow: none; }
.btn-price.alt:hover { color: var(--c-mid); border-color: var(--c-mid); }
.btn-price i { font-style: normal; opacity: .65; font-size: .82em; }
.btn-price.sm { padding: 6px 13px; font-size: .78rem; box-shadow: none; }

/* Price on cards/rows is now a live-price link */
.price-link {
  display: inline-flex; align-items: baseline; gap: 5px;
  color: var(--c-mid); text-decoration: none;
  border-bottom: 1px dashed rgba(251, 191, 36, .4);
  transition: .15s;
}
.price-link i { font-style: normal; font-size: .68em; opacity: .6; }
.price-link:hover { color: #fde68a; border-bottom-color: #fde68a; text-decoration: none; }
a.price.price-link { font: 700 1.16rem var(--mono); }
.price-link.sm { font: 700 .84rem var(--mono); border-bottom: none; }
.price-link.sm:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ hero */

.land-hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - 62px);
  display: flex; align-items: center;
  padding: clamp(40px, 7vh, 90px) 0 clamp(60px, 9vh, 110px);
}
.land-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  will-change: transform;
}
.orb-a { width: 520px; height: 520px; top: -160px; left: -120px; background: radial-gradient(circle, rgba(34, 211, 238, .55), transparent 68%); }
.orb-b { width: 620px; height: 620px; bottom: -260px; right: -140px; background: radial-gradient(circle, rgba(167, 139, 250, .5), transparent 68%); }
.mesh {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 520px at 50% 30%, #000 20%, transparent 78%);
}
.scanline {
  position: absolute; left: 0; right: 0; height: 220px; top: -220px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, .07), transparent);
  animation: scan 9s linear infinite;
}
@keyframes scan { to { transform: translateY(calc(100vh + 440px)); } }

.land-hero-inner { position: relative; z-index: 1; width: 100%; }
.land-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.land-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-top); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.land-title {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 20px;
  max-width: 18ch;
}
.tl-line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; animation: lineUp .8s cubic-bezier(.22, .61, .36, 1) backwards; }
.tl-line:nth-child(2) { animation-delay: .1s; }
@keyframes lineUp { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
.land-title em { font-style: normal; }

.land-lede { font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 66ch; }
.land-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 34px; }

.land-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 1px;
  margin: 0; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; max-width: 860px;
}
.land-stats > div { background: rgba(17, 20, 28, .82); padding: 15px 17px; backdrop-filter: blur(6px); }
.land-stats dt { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.land-stats dd {
  margin: 4px 0 0; font: 700 1.7rem/1 var(--mono);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: none; border: none; cursor: pointer; color: var(--muted);
  font: 600 .68rem var(--sans); text-transform: uppercase; letter-spacing: .14em;
  z-index: 2;
}
.scroll-cue:hover { color: var(--accent); }
.scroll-cue i { display: block; width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.land-ticker { margin-bottom: 0; }

/* ------------------------------------------------------- landing sections */

.land-section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.land-section + .land-section { border-top: 1px solid var(--border); }
.sec-head { max-width: 780px; margin-bottom: 34px; }
.sec-head .section-title { font-size: clamp(1.5rem, 3.2vw, 2.3rem); letter-spacing: -0.03em; margin-bottom: 10px; }

/* ------------------------------------------------------------------ guide */

.guide { list-style: none; margin: 0 0 46px; padding: 0; display: grid; gap: 14px; counter-reset: g; }
.guide-step {
  display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.guide-step::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--accent), var(--accent-2));
  transform: scaleY(0); transform-origin: top; transition: transform .4s ease;
}
.guide-step:hover { border-color: rgba(34, 211, 238, .3); transform: translateX(4px); }
.guide-step:hover::before { transform: scaleY(1); }
.guide-n {
  font: 800 2.1rem/1 var(--mono); color: transparent;
  -webkit-text-stroke: 1.4px rgba(34, 211, 238, .55);
  align-self: start;
}
.guide-step:hover .guide-n { -webkit-text-stroke-color: var(--accent); }
.guide-kicker {
  margin: 0 0 6px; font: 700 .66rem var(--sans); text-transform: uppercase;
  letter-spacing: .14em; color: var(--accent-2);
}
.guide-body h3 { font-size: 1.18rem; margin-bottom: 8px; }
.guide-body p.muted { margin-bottom: 14px; max-width: 84ch; }
.guide-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.guide-foot .muted { margin: 0; opacity: .75; }

/* ------------------------------------------- feature scrollytelling */

.feat-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.feat-sticky { position: sticky; top: 92px; }
.feat-sticky .section-title { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.feat-dial { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 18px; }
.feat-dot {
  padding: 6px 13px; border-radius: 99px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); cursor: pointer;
  font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .08em;
  transition: .2s;
}
.feat-dot span { display: block; }
.feat-dot:hover { color: var(--text); }
.feat-dot.is-on { background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .5); color: var(--accent); }

.feat-stage {
  position: relative; height: clamp(280px, 46vh, 460px);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  overflow: hidden; box-shadow: var(--shadow);
}
.feat-stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 220px at 80% -10%, rgba(167, 139, 250, .18), transparent 70%);
}
.mock-pane {
  position: absolute; inset: 0; padding: 18px;
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none; overflow: hidden;
}
.mock-pane.is-on { opacity: 1; transform: none; }

.feat-list { display: grid; gap: clamp(48px, 12vh, 120px); padding: 8px 0 30vh; }
.feat-block {
  border-left: 2px solid var(--border); padding: 4px 0 4px 22px;
  transition: border-color .3s, opacity .3s;
  opacity: .42;
}
.feat-block.is-active { border-left-color: var(--accent); opacity: 1; }
.feat-block h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 10px; letter-spacing: -0.02em; }
.feat-block .eyebrow { margin-bottom: 8px; }
.feat-block .ticks { margin: 14px 0 18px; }

/* mocks */
.mock { height: 100%; display: flex; flex-direction: column; gap: 10px; font-size: .74rem; }
.mock-db { flex-direction: row; }
.mock-rail { width: 96px; flex: none; display: grid; gap: 5px; align-content: start; }
.mock-rail span { padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, .04); color: var(--muted); font-size: .64rem; font-weight: 600; }
.mock-rail span.on { background: rgba(34, 211, 238, .14); color: var(--accent); }
.mock-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.mock-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  padding: 9px; display: grid; gap: 3px; align-content: start; position: relative;
}
.mock-card b { font-size: .58rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mock-card em { font-style: normal; font-weight: 600; font-size: .72rem; line-height: 1.2; color: var(--text); }
.mock-price { font: 700 .74rem var(--mono); color: var(--c-mid); margin-top: 3px; }
.mock-ring {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 700 .62rem var(--mono);
  border: 2px solid var(--ring-col, var(--accent)); color: var(--ring-col, var(--accent));
}
.mock-ring.tone-top { --ring-col: var(--c-top); }
.mock-ring.tone-good { --ring-col: var(--c-good); }
.mock-ring.tone-mid { --ring-col: var(--c-mid); }
.mock-ring.tone-low { --ring-col: var(--c-low); }

.mock-brief { display: flex; flex-wrap: wrap; gap: 5px; }
.mock-brief span { padding: 4px 9px; border-radius: 99px; background: rgba(167, 139, 250, .14); border: 1px solid rgba(167, 139, 250, .35); color: #c4b5fd; font-size: .64rem; font-weight: 600; }
.mock-match {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
}
.mock-match b { display: block; font-size: .92rem; }
.mock-match em { font-style: normal; font-size: .7rem; font-family: var(--mono); }
.mock-pct { text-align: right; font: 800 1.5rem/1 var(--mono); color: var(--c-top); }
.mock-pct i { display: block; font: 700 .56rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.mock-bars { display: grid; gap: 6px; }
.mock-bars > span { display: grid; grid-template-columns: 58px minmax(0, 1fr) 26px; gap: 8px; align-items: center; }
.mock-bars em { font-style: normal; font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.mock-bars b { font: 600 .68rem var(--mono); color: var(--muted); text-align: right; }
.mock-bars .bar { display: block; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.mock-bars .bar i { display: block; height: 100%; border-radius: 99px; background: var(--c-good); }
.mock-bars .bar i.tone-top { background: var(--c-top); }
.mock-bars .bar i.tone-mid { background: var(--c-mid); }
.mock-bars .bar i.tone-low { background: var(--c-low); }
.mock-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mock-ticks li { position: relative; padding-left: 16px; font-size: .68rem; color: var(--text); }
.mock-ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--c-top); font-weight: 700; }
.mock-ticks li.warn::before { content: '!'; color: var(--c-mid); }

.mock-cmp { overflow: hidden; }
.mock-cmp table { width: 100%; border-collapse: collapse; font-size: .7rem; }
.mock-cmp th, .mock-cmp td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--border); }
.mock-cmp thead th { font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c, var(--muted)); border-bottom: 2px solid var(--c, var(--border-strong)); }
.mock-cmp tbody th { color: var(--muted); font-weight: 600; }
.mock-cmp td.win { background: rgba(52, 211, 153, .12); color: var(--c-top); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); }

.mock-pricehead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-est { font: 800 1.9rem/1 var(--mono); color: var(--c-mid); }
.mock-est i { display: block; font: 700 .58rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-style: normal; margin-top: 5px; }
.mock-vs { font: 700 .72rem var(--mono); color: var(--accent); }
.mock-srcrows { display: grid; gap: 7px; margin-top: 4px; }
.mock-srcrows > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mock-srcrows em { font-style: normal; font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; min-width: 54px; }
.mock-srcrows span { padding: 4px 9px; border-radius: 7px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .3); color: var(--accent); font-size: .66rem; font-weight: 600; }
.mock-note { margin: auto 0 0; font-size: .66rem; color: var(--muted); }

/* ------------------------------------------------------- exploded board */

.explode-sec { padding: 0; border-top: 1px solid var(--border); }
.explode-track { height: 340vh; position: relative; }
.explode-sticky {
  position: sticky; top: 0; height: 100vh; padding: 78px 0 30px;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
}
.explode-copy .section-title { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
.explode-copy .lede { font-size: .94rem; }

.explode-legend { list-style: none; margin: 22px 0 10px; padding: 0; display: grid; gap: 7px; }
.explode-legend li {
  border-left: 2px solid var(--border); padding: 6px 0 6px 14px;
  opacity: .38; transition: opacity .35s, border-color .35s, transform .35s;
}
.explode-legend li.is-on { opacity: 1; border-left-color: var(--accent); transform: translateX(4px); }
.explode-legend b { display: flex; align-items: center; gap: 9px; font-size: .88rem; }
.explode-legend b span {
  width: 19px; height: 19px; border-radius: 6px; flex: none; display: grid; place-items: center;
  background: var(--surface-3); color: var(--muted); font: 700 .64rem var(--mono);
}
.explode-legend li.is-on b span { background: rgba(34, 211, 238, .18); color: var(--accent); }
.explode-legend p { margin: 3px 0 0; max-width: 52ch; }
.explode-progress { font-family: var(--mono); letter-spacing: .04em; }

.explode-stage {
  display: grid; place-items: center; perspective: 1500px; min-height: 320px;
}
.explode-stack {
  --sep: 0;
  position: relative; width: min(520px, 58vw); aspect-ratio: 15 / 5.4;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-34deg);
}
.ex-layer {
  position: absolute; inset: 0; border-radius: 9px;
  transform: translateZ(calc(var(--base, 0px) + var(--sep) * var(--lift) * 190px));
  box-shadow: 0 22px 44px rgba(0, 0, 0, .5);
}
.ex-keycaps { --base: 26px; background: transparent; box-shadow: none; }
.ex-switches { --base: 17px; background: transparent; box-shadow: none; }
.ex-plate {
  --base: 11px;
  background-color: #9aa0ac;
  background-image:
    radial-gradient(circle at 50% 50%, #0a0c11 26%, transparent 27%),
    linear-gradient(115deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .22));
  background-size: calc(100% / 15) calc(100% / 5), 100% 100%;
}
.ex-pcb {
  --base: 7px;
  background-color: #0c211c;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(251, 191, 36, .55) 12%, transparent 13%),
    repeating-linear-gradient(90deg, rgba(52, 211, 153, .16) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(0deg, rgba(52, 211, 153, .12) 0 1px, transparent 1px 16px);
  background-size: calc(100% / 15) calc(100% / 5), 100% 100%, 100% 100%;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(52, 211, 153, .2);
}
.ex-foam {
  --base: 3px; background: #15171f; opacity: .96;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.ex-case {
  --base: 0px; background: linear-gradient(150deg, #232936, #141821);
  border: 9px solid #2c3342; border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.ex-keys, .ex-switchgrid {
  position: absolute; inset: 0; display: grid;
  grid-template-columns: repeat(60, 1fr); grid-template-rows: repeat(5, 1fr);
  column-gap: .55%; row-gap: 4%; padding: 0; transform-style: preserve-3d;
}
.ex-keys i, .ex-switchgrid i { position: relative; display: block; border-radius: 3px; }
.ex-keys i {
  background: linear-gradient(160deg, #3b4252, #222734);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -3px 0 rgba(0, 0, 0, .5), 0 5px 9px rgba(0, 0, 0, .5);
}
.ex-switchgrid { inset: 4%; }

.ex-layer { cursor: pointer; transition: outline .2s, box-shadow .2s, filter .2s; outline: 2px solid transparent; outline-offset: 3px; }
.ex-layer.is-hovered {
  outline-color: var(--accent);
  filter: brightness(1.25);
  z-index: 10;
}
.ex-keycaps.is-hovered, .ex-switches.is-hovered {
  outline-color: var(--accent);
  filter: brightness(1.3);
}

.explode-tooltip {
  position: absolute; pointer-events: none; z-index: 20;
  padding: 10px 16px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--accent);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  max-width: 260px;
  left: 50%; bottom: -12px;
}
.explode-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.explode-tooltip b { display: block; font-size: .86rem; color: var(--accent); margin-bottom: 3px; }
.explode-tooltip p { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.45; }

.explode-legend li { cursor: pointer; }
.explode-legend li.is-hovered { opacity: 1; border-left-color: var(--accent); transform: translateX(4px); }
.ex-switchgrid i {
  background: linear-gradient(160deg, #4b5364, #2a3040);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.ex-switchgrid i::after {
  content: ''; position: absolute; inset: 32%;
  background: linear-gradient(140deg, var(--accent), #7dd3fc); border-radius: 1px;
  box-shadow: 0 0 8px rgba(34, 211, 238, .55);
}

/* --------------------------------------------------- aspect ratio compat */

@media (min-width: 1800px) {
  main, .site-foot > div, .tray-inner { max-width: min(1720px, 88vw); }
  .hero { grid-template-columns: minmax(0, 1.6fr) auto; }
  .db-layout { grid-template-columns: 300px minmax(0, 1fr); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
}

@media (min-width: 2200px) {
  main, .site-foot > div, .tray-inner { max-width: min(1900px, 82vw); }
  .grid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
  .topbar { padding: 14px clamp(20px, 4vw, 60px); }
}

@media (max-height: 600px) and (orientation: landscape) {
  .hero { padding: clamp(16px, 3vw, 30px) 0 clamp(12px, 2vw, 20px); }
  .land-hero-inner { padding: 60px 0 40px; }
  .explode-sticky { padding: 40px 0 20px; }
  .land-stats { grid-template-columns: repeat(5, 1fr); }
  .hero-stats { grid-template-columns: repeat(5, 1fr); }
}

@media (min-aspect-ratio: 21/9) {
  .hero { grid-template-columns: minmax(0, 1.8fr) auto; gap: 48px; }
  .topbar { grid-template-columns: auto 1fr auto; gap: 32px; }
  .topbar-search input { width: min(400px, 28vw); }
  .db-layout { gap: 36px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (max-aspect-ratio: 3/4) {
  .hero { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .land-stats { grid-template-columns: repeat(3, 1fr); }
  .db-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; max-height: none; }
  .topbar { grid-template-columns: auto auto; gap: 10px; }
  .topnav { display: none; }
}

/* ------------------------------------------------------------ tech glossary */

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tech-card {
  text-align: left; cursor: pointer; position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; color: var(--text); font-family: var(--sans);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: grid; gap: 8px; align-content: start;
}
.tech-card:hover { transform: translateY(-4px); border-color: var(--tc, var(--accent)); box-shadow: var(--shadow); }
.tech-card::after {
  content: ''; position: absolute; inset: auto -20% -60% auto; width: 200px; height: 200px;
  border-radius: 50%; background: var(--tc, var(--accent)); opacity: .1; filter: blur(30px);
  transition: .35s;
}
.tech-card:hover::after { inset: auto -10% -35% auto; opacity: .2; }
.tech-card.t-mech { --tc: #7dd3fc; }
.tech-card.t-he { --tc: var(--accent-2); }
.tech-card.t-opt { --tc: var(--accent); }
.tech-card.t-cap { --tc: var(--c-top); }
.tech-card.t-mem { --tc: var(--c-mid); }
.tech-count {
  align-self: start; font: 700 .64rem var(--mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; color: var(--tc, var(--accent));
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--tc, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--tc, var(--accent)) 38%, transparent);
}
.tech-card h3 { margin: 4px 0 0; font-size: 1.1rem; position: relative; }
.tech-card p { margin: 0; position: relative; }
.tech-good { color: var(--c-top); }
.tech-watch { color: var(--c-mid); opacity: .88; }
.tech-cta { font: 700 .72rem var(--sans); color: var(--tc, var(--accent)); letter-spacing: .04em; margin-top: 4px; position: relative; }

.spec-strip {
  margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.spec-item { background: var(--surface); padding: 18px 20px; }
.spec-item h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 7px; }
.spec-item p { margin: 0; }

/* --------------------------------------------------------------- layouts */

.layout-strip { display: grid; gap: 8px; }
.layout-row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 78px 116px minmax(0, 1.4fr);
  gap: 16px; align-items: center; text-align: left; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 18px; color: var(--text); font-family: var(--sans);
  transition: border-color .2s, transform .2s, background .2s;
}
.layout-row:hover { border-color: rgba(34, 211, 238, .45); transform: translateX(4px); background: var(--surface-2); }
.layout-name { font-weight: 700; font-size: .94rem; }
.layout-scale { display: block; height: 16px; background: rgba(255, 255, 255, .04); border-radius: 4px; overflow: hidden; }
.layout-scale i {
  display: block; height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, rgba(34, 211, 238, .55), rgba(167, 139, 250, .55));
  transform-origin: left; animation: scaleIn .7s cubic-bezier(.22, .61, .36, 1) backwards;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes scaleIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.layout-keys, .layout-count { font: 600 .74rem var(--mono); color: var(--muted); }
.layout-count { color: var(--accent); }
.layout-use { margin: 0; }

/* ----------------------------------------------------------------- picks */

.pick-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.pick-tab {
  padding: 9px 16px; border-radius: 99px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); cursor: pointer;
  font: 700 .82rem var(--sans); transition: .18s;
}
.pick-tab:hover { color: var(--text); border-color: var(--border-strong); }
.pick-tab.is-on { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #06121a; border-color: transparent; }
.pick-panel > p { margin-bottom: 14px; }

/* ------------------------------------------------------------------- cta */

.land-cta {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--border); border-radius: 22px;
  padding: clamp(40px, 7vw, 78px) clamp(20px, 5vw, 60px);
  margin-bottom: 40px; background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
}
.cta-glow {
  position: absolute; inset: -40% 10% auto; height: 320px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .28), transparent);
  filter: blur(40px); animation: drift 11s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translateX(-12%); } to { transform: translateX(12%); } }
.land-cta h2 { font-size: clamp(1.7rem, 4vw, 2.8rem); letter-spacing: -0.03em; position: relative; }
.land-cta .lede { margin: 0 auto 24px; position: relative; }
.land-cta .land-actions { justify-content: center; position: relative; margin-bottom: 20px; }
.cta-note { max-width: 70ch; margin: 0 auto; position: relative; }

/* --------------------------------------------------------- database head */

.db-head { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 30px; align-items: center; padding-top: clamp(26px, 4vw, 46px); }
.db-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

/* --------------------------------------------------- price panel (detail) */

.price-panel { border-color: rgba(251, 191, 36, .3); background: linear-gradient(150deg, rgba(251, 191, 36, .07), var(--surface) 46%); }
.price-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: start; margin-bottom: 18px; }
.price-big { display: block; font: 800 clamp(2rem, 4vw, 2.9rem)/1 var(--mono); color: var(--c-mid); margin: 2px 0 10px; }
.price-est .source-note { max-width: 52ch; }
.price-cta { display: grid; gap: 8px; justify-items: stretch; min-width: 240px; }
.price-cta-label {
  margin: 0 0 2px; font: 700 .66rem var(--sans); text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); text-align: center;
}
.price-cta .btn { width: 100%; }
.detail-price em {
  display: block; font: 600 .64rem var(--sans); font-style: normal;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; margin-top: 5px;
}
.detail-price .link-btn { font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; }

/* ------------------------------------------------- landing: price spectrum */

.spectrum-sec { padding: 0; }
.spectrum-track {
  position: relative; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin; scrollbar-color: var(--accent) var(--surface-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.spectrum-track::-webkit-scrollbar { height: 8px; }
.spectrum-track::-webkit-scrollbar-track { background: var(--surface-2); }
.spectrum-track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.spectrum-inner {
  display: flex; gap: 14px; padding: 28px 40px;
  width: max-content;
}
.spectrum-card {
  position: relative; flex: 0 0 auto; width: 180px; padding: 18px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  display: grid; gap: 6px; text-decoration: none; color: var(--text);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  animation: cardRise .6s cubic-bezier(.22,.61,.36,1) backwards;
  animation-delay: calc(var(--i) * 8ms);
}
.spectrum-card:hover {
  transform: translateY(-6px); border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(34, 211, 238, .18);
}
.spectrum-brand {
  font: 600 .64rem var(--sans); text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted);
}
.spectrum-name {
  font: 700 .92rem var(--sans); line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spectrum-price {
  font: 700 1.1rem var(--mono); color: var(--c-mid);
}
.spectrum-score {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 .72rem var(--mono);
  background: rgba(255, 255, 255, .06);
}
.spectrum-score.tone-top { background: rgba(52, 211, 153, .18); color: var(--c-top); }
.spectrum-score.tone-good { background: rgba(34, 211, 238, .16); color: var(--accent); }
.spectrum-score.tone-mid { background: rgba(251, 191, 36, .16); color: var(--c-mid); }
.spectrum-score.tone-low { background: rgba(239, 68, 68, .14); color: var(--c-low); }
.spectrum-labels {
  display: flex; justify-content: space-between; padding: 14px 40px 0;
  font: 600 .72rem var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
@keyframes cardRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------- landing: responsive */

@media (max-width: 1100px) {
  .feat-layout { grid-template-columns: 1fr; }
  .feat-sticky { position: static; }
  .feat-list { padding-bottom: 0; gap: 34px; }
  .feat-block { opacity: 1; }
  .explode-track { height: auto; }
  .explode-sticky { position: static; height: auto; grid-template-columns: 1fr; padding: 56px 0; gap: 26px; }
  .explode-stack { --sep: 1 !important; }
  .explode-legend li { opacity: .9; }
  .explode-stage { min-height: 300px; }
  .explode-progress { display: none; }
  .layout-row { grid-template-columns: 78px minmax(0, 1fr) 70px; row-gap: 6px; }
  .layout-count { grid-column: 2; }
  .layout-use { grid-column: 1 / -1; }
  .db-head { grid-template-columns: 1fr; }
  .price-head { grid-template-columns: 1fr; }
  .price-cta { min-width: 0; }
  .spectrum-inner { padding: 22px 24px; gap: 12px; }
  .spectrum-card { width: 160px; padding: 14px 12px; }
  .spectrum-labels { padding: 12px 24px 0; font-size: .66rem; }
}

@media (max-width: 860px) {
  .land-hero { min-height: calc(100vh - 118px); }
  .guide-step { grid-template-columns: 1fr; gap: 10px; }
  .guide-n { font-size: 1.6rem; }
  .land-stats { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
  .explode-stack { width: min(420px, 78vw); }
  .scroll-cue { display: none; }
  .mock-db { flex-direction: column; }
  .mock-rail { width: auto; grid-auto-flow: column; grid-auto-columns: max-content; overflow: hidden; }
  .spectrum-inner { padding: 18px 16px; gap: 10px; }
  .spectrum-card { width: 140px; padding: 12px 10px; }
  .spectrum-name { font-size: .82rem; }
  .spectrum-price { font-size: .96rem; }
  .spectrum-labels { padding: 10px 16px 0; }
}

@media (max-width: 560px) {
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
  .layout-row { grid-template-columns: 1fr; }
  .layout-count, .layout-use { grid-column: 1; }
  .tech-grid { grid-template-columns: 1fr; }
  .land-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .scanline, .cta-glow, .land-eyebrow .dot, .scroll-cue i::after { animation: none !important; }
  .tl-line { animation: none !important; }
  .layout-scale i { animation: none !important; }
  .feat-block { opacity: 1; }
  .explode-sticky { overflow: visible; }
  .mock-pane { transition: opacity .01ms !important; transform: none !important; }
  .spectrum-card { animation: none !important; }
}
