:root {
  --paper: #f4f3ed;
  --ink: #20211e;
  --muted: #62645c;
  --lime: #e8ff70;
  --pink: #ed9dbe;
  --rule: #d1d2c8;
  --focus: #a33c6d;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.shell { max-width: 1440px; padding: 0 5%; margin: auto; }
.num, .price, dd, .count { font-variant-numeric: tabular-nums; }
.muted, .section-note { color: var(--muted); }
p { margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; }
h1 { font-size: clamp(48px, 5.5vw, 76px); margin: 0 0 18px; font-weight: 900; }
h1 > span { color: var(--focus); }
h2 { font-size: 30px; margin: 0; }
h3 { font-size: 23px; margin: 0; }
.skip { position: absolute; top: -100px; left: 12px; padding: 14px; background: var(--lime); z-index: 10; }
.skip:focus { top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--ink); }
.topbar a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 16px; }
.home-link { text-decoration: none; }
.intro { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 34px 0 26px; }
.eyebrow { font-size: 16px; margin-bottom: 16px; }
.lede { font-size: 19px; line-height: 1.45; margin: 0; }
.gpu-art { width: 220px; height: auto; flex-shrink: 0; }
.snapshot { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; max-width: 100%; padding: 12px 16px; border: 1px solid var(--rule); background: #ebe9e0; border-radius: 3px; }
.snapshot p { margin: 0; }
.scan-time { color: var(--muted); font-size: 14px; }
#freshness { font-weight: 700; }
#freshness::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--ink); }
.currency { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); vertical-align: baseline; }
main { padding-bottom: 56px; }
main > section { margin-top: 38px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 14px; }
.section-head > span, .count { color: var(--muted); margin: 0; }
.section-note { max-width: 100ch; margin-bottom: 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 20px 0 10px; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; flex-shrink: 0; width: 11px; height: 11px; }
.key.sale { border-radius: 50%; background: #a33c6d; }
.key.listing { border: 2px solid var(--ink); background: var(--lime); }
.key.fair { border-left: 3px solid var(--ink); width: 4px; height: 18px; }
.bench-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 22px 5px 26px 0; }
.benchmark { border: 1px solid var(--ink); background: var(--paper); border-radius: 4px; box-shadow: 5px 5px 0 var(--ink); min-width: 0; display: flex; flex-direction: column; }
.benchmark-title { padding: 20px 22px 16px; background: var(--pink); border-bottom: 1px solid var(--ink); border-radius: 3px 3px 0 0; }
.benchmark h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 900; margin-bottom: 5px; }
.benchmark-title > span { font-size: 15px; }
.benchmark-value { padding: 24px 22px 20px; text-align: center; }
.value-label { font-weight: 700; margin-bottom: 8px; }
.fair-price { font-size: clamp(48px, 4.8vw, 72px); line-height: 1; font-weight: 900; letter-spacing: -.065em; margin-bottom: 14px; }
.overview-chart .spectrum-plot { height: 56px; }
.change { color: var(--muted); font-size: 15px; margin: 0; }
.market-context { --rule: #51554a; --paper: #20211e; --ink: #f4f3ed; background: var(--paper); color: var(--ink); padding: 18px 22px; }
.chart-caption { font-size: 15px; margin: 0; }
.chart-counts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 15px; margin: 10px 0 0; }
.chart-counts > span:first-child { color: var(--pink); }
.chart-counts > span:last-child { color: var(--lime); }
.benchmark .point.sale { background: var(--pink); }
.benchmark .point.listing { border-color: var(--lime); }
.benchmark .meta { margin: 0 0 4px; }
.benchmark > details { margin: 0 22px; border-top: 0; }
.spectrum { margin: 14px 0 0; }
.spectrum-plot { position: relative; height: 60px; margin: 0 7px; }
.spectrum-plot::before, .spectrum-plot::after { content: ""; position: absolute; left: 0; right: 0; border-top: 1px solid var(--rule); top: 17px; }
.spectrum-plot::after { top: 43px; }
.point { position: absolute; width: 10px; height: 10px; transform: translate(-50%, -50%); z-index: 1; }
.point.sale { top: 17px; background: var(--ink); border-radius: 50%; }
.point.listing { top: 43px; border: 2px solid var(--ink); background: var(--paper); }
.marker { position: absolute; top: 0; bottom: 0; border-left: 3px solid var(--ink); }
.axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 15px; }
.stats { margin: 0 0 16px; }
.stats > div { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--rule); padding: 9px 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 22px; margin: 20px 0 14px; padding: 20px; border: 1px solid var(--rule); background: #ebe9e0; border-radius: 4px; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; min-width: 0; }
.filter-help { border: 0; flex: 1 1 190px; min-width: 0; }
.filter-help summary { font-size: 15px; }
.filter-help .detail-content { font-size: 15px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.pagination label { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.page-actions > span { min-width: 90px; text-align: center; }
button { min-height: 46px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 3px; background: var(--lime); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
button:hover:not(:disabled) { background: var(--ink); color: var(--lime); }
button:disabled { background: #ebe9e0; color: var(--muted); border-color: var(--rule); cursor: default; }
select { appearance: auto; max-width: 100%; min-height: 46px; padding: 10px 34px 10px 12px; background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); font: inherit; cursor: pointer; }
.filters .check { flex-direction: row; align-items: center; min-height: 46px; gap: 10px; }
input[type="checkbox"] { width: 21px; height: 21px; accent-color: var(--ink); }
#listings, #history { padding: 28px; background: #ebe9e0; border: 1px solid var(--ink); border-radius: 4px; box-shadow: 5px 5px 0 var(--ink); }
#history { margin-top: 34px; background: var(--paper); }
.family-art { padding: 18px 22px 14px; text-align: center; }
.family-art .mini-gpu { width: 180px; margin: auto; }
.record-list { border-top: 2px solid var(--ink); margin-top: 20px; }
.record { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(170px, .8fr) minmax(0, 1fr); gap: 14px 28px; padding: 25px 0; border-bottom: 1px solid var(--ink); }
.record > * { min-width: 0; }
.record h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.025em; margin: 4px 0 8px; }
.record .family { font-weight: 700; font-size: 16px; margin: 0; }
.record p { margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 15px; }
.price { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; margin: 3px 0 8px; }
.price-kind { font-weight: 700; }
.comparison { font-size: 15px; }
.record .links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.source-link { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; border: 1px solid var(--ink); background: var(--lime); padding: 9px 16px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.source-link:hover { background: var(--ink); color: var(--lime); }
.record details { grid-column: 1 / -1; }
details { border-top: 1px solid var(--rule); }
summary { cursor: pointer; padding: 12px 0; font-weight: 700; min-height: 44px; }
summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-content { max-width: 100ch; padding: 4px 0 8px; }
.detail-content p { margin: 0 0 12px; }
.detail-content dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 0 0 12px; }
.detail-content dd { text-align: left; font-weight: 400; }
.record, .benchmark, .detail-content { overflow-wrap: anywhere; }
.empty, .notice { padding: 24px; border-bottom: 1px solid var(--ink); }
.back-link { text-decoration: none; font-weight: 800; }
.back-link span { color: var(--focus); font-size: 24px; line-height: 1; transform: translateY(-1px); }
@media (max-width: 1100px) {
  .stats > div { display: block; }
  .stats dd { text-align: left; margin-top: 3px; }
}
@media (max-width: 850px) {
  .bench-grid { grid-template-columns: 1fr; }
  .stats > div { display: flex; }
  .stats dd { text-align: right; margin: 0; }
  .benchmark h3 { font-size: 38px; }
  .fair-price { font-size: clamp(52px, 10vw, 72px); }
  .record { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .record .logistics { grid-column: 1 / -1; }
  .gpu-art { width: 160px; }
}
@media (max-width: 560px) {
  .shell { padding: 0 6%; }
  .topbar { gap: 8px; }
  .topbar a { font-size: 15px; gap: 6px; }
  .intro { padding: 28px 0 24px; gap: 0; }
  .gpu-art { display: none; }
  .eyebrow { font-size: 15px; }
  .lede { font-size: 18px; }
  h2 { font-size: 27px; }
  .snapshot { padding: 16px; }
  .filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #listings, #history { padding: 20px; }
  .record { grid-template-columns: minmax(0, 1fr); padding: 22px 0; gap: 14px; }
  .record .price-block { padding: 12px 0; border-block: 1px solid var(--rule); }
  .stats > div { flex-wrap: wrap; gap: 4px 12px; }
  .detail-content dl { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .detail-content dd { margin-bottom: 10px; }
  .legend { gap: 12px; font-size: 15px; }
  .page-actions { gap: 8px; }
  .page-actions > span { min-width: 80px; }
  .page-actions button { padding-inline: 12px; }
  .snapshot { width: auto; }
  .card-art { grid-template-columns: 96px 1fr; }
  .mini-gpu { width: 96px; }
}
.card-destination { margin-top: auto; padding: 20px 22px; background: var(--ink); color: var(--paper); }
.card-art { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 16px; margin-bottom: 16px; }
.card-art p { font-size: 16px; margin: 0; color: var(--paper); }
.mini-gpu { width: 112px; height: auto; display: block; }
.mini-gpu text { letter-spacing: -.8px; }
.family-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 12px 16px; background: var(--lime); color: var(--ink); border-radius: 3px; text-decoration: none; font-weight: 700; }
.family-link:hover { background: var(--paper); }
.family-link:focus-visible { outline-color: var(--pink); }
.family-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.family-nav a { padding: 10px 16px; border: 1px solid var(--ink); min-height: 44px; text-decoration: none; font-weight: 700; }
.family-nav a[aria-current="page"] { background: var(--lime); }
.family-summary { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; }
.family-summary .bench-grid { grid-template-columns: 1fr; margin-top: 0; }
.evidence-panel { padding: 24px 28px; border: 1px solid var(--rule); min-width: 0; }
.evidence-panel h3 { font-size: 23px; margin: 26px 0 14px; }
.evidence-panel h3:first-child { margin-top: 0; }
.evidence-panel p { line-height: 1.65; overflow-wrap: anywhere; }
.evidence-panel .stats, .detail-content dl.stats { display: block; }
.evidence-panel .stats > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.evidence-jumps { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 10px; }
.evidence-jumps a { font-weight: 700; min-height: 44px; }
@media (max-width: 850px) {
  .family-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .evidence-panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
