/* SpecScan static content pages (/values/*, /sample-report/): same brand
   tokens as the landing page (public/home.html). Generated pages link this
   file; see scripts/build-static-pages.mjs. No JavaScript required. */
:root {
  --bg: #0a0e14;
  --bg-2: #0f1620;
  --panel: #131c28;
  --panel-2: #18222f;
  --line: #1f2c3a;
  --line-2: #2a3b4d;
  --teal: #14b8a6;
  --teal-bright: #2dd4bf;
  --teal-dim: #0d9488;
  --text: #e8eef4;
  --text-2: #93a4b5;
  --text-3: #6f8091;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #f87171;
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---- header ---- */
.top { border-bottom: 1px solid var(--line); background: rgba(10,14,20,0.9); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.top .logo img { height: 52px; width: auto; display: block; }
.top-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.top-links a { color: var(--text-2); font-weight: 500; transition: color .2s; }
.top-links a:hover { color: var(--text); }
.top-links a[aria-current="page"] { color: var(--text); }
.top-cta { padding: 8px 18px; border-radius: 9px; background: var(--teal); color: #04110f !important; font-weight: 700 !important; }
.top-cta:hover { background: var(--teal-bright); }
@media (max-width: 760px) {
  .top .logo img { height: 44px; }
  .top-links a:not(.top-cta) { display: none; }
}

/* ---- type ---- */
main.wrap { padding-top: 40px; padding-bottom: 72px; }
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-3); margin-bottom: 22px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--teal-bright); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--teal-bright); text-transform: uppercase; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 48px); letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0 14px; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 12px; }
h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin-bottom: 10px; }
.lede { color: var(--text-2); font-size: 18px; max-width: 720px; }
.lede b, .prose b { color: var(--text); font-weight: 600; }
section { margin-top: 44px; }
.prose p, .prose li { color: var(--text-2); max-width: 760px; }
.prose p + p { margin-top: 12px; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li + li { margin-top: 10px; }
.prose a, .fine a, .lede a { color: var(--teal-bright); }
.prose a:hover, .fine a:hover, .lede a:hover { text-decoration: underline; }
.fine { color: var(--text-3); font-size: 13.5px; max-width: 760px; margin-top: 18px; }
.mono { font-family: var(--mono); }

/* ---- value card ---- */
.value-card {
  margin-top: 30px;
  background: radial-gradient(520px 220px at 12% 0%, rgba(45,212,191,0.12), transparent 65%), linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid rgba(20,184,166,0.45); border-radius: 20px; padding: 30px 32px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.75);
}
.value-card.unrated { border-color: var(--line-2); background: linear-gradient(180deg, var(--panel), var(--bg-2)); }
.vc-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.vc-value { font-family: var(--mono); font-weight: 700; font-size: clamp(44px, 9vw, 72px); color: var(--teal-bright); line-height: 1.05; margin-top: 8px; letter-spacing: -0.02em; }
.vc-value.muted { color: var(--text-2); font-family: var(--display); font-size: clamp(28px, 5vw, 38px); }
.vc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.chip.ok { color: var(--green); border-color: rgba(52,211,153,0.45); }
.chip.warn { color: var(--amber); border-color: rgba(251,191,36,0.45); }
.vc-change { margin-top: 16px; font-family: var(--mono); font-size: 14.5px; color: var(--text-2); }
.vc-change .up { color: var(--green); }
.vc-change .down { color: var(--red); }
.vc-note { margin-top: 14px; color: var(--text-2); max-width: 680px; }
.vc-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.vc-rows div { font-family: var(--mono); font-size: 14px; color: var(--text-2); }
.vc-rows b { display: block; color: var(--text); font-size: 18px; margin-top: 2px; }
.vc-rows .flag b { color: var(--red); }
.vc-free { margin-top: 18px; font-size: 14px; color: var(--text-3); }
@media (max-width: 560px) {
  main.wrap { padding-top: 28px; }
  .value-card { padding: 24px 20px; }
  .vc-rows { grid-template-columns: 1fr; }
  .chip { font-size: 11px; padding: 4px 10px; }
}

/* ---- CTA box ---- */
.cta-box { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line-2); border-radius: 18px; padding: 28px 30px; }
.cta-box p { color: var(--text-2); }
.cta-box p b { color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border-radius: 11px; background: var(--teal); color: #04110f; font-family: var(--display); font-weight: 700; font-size: 15.5px; transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 11px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .2s, border-color .2s; }
.btn-secondary:hover { color: var(--text); border-color: var(--teal-dim); }

/* ---- tables ---- */
.table-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
tbody tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
td.num { color: var(--text); }
td .sub { display: block; font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-top: 2px; }
td a { color: var(--text); font-weight: 600; }
td a:hover { color: var(--teal-bright); }
tr.group td { background: rgba(19,28,40,0.6); font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--text); padding-top: 10px; padding-bottom: 10px; }
.up { color: var(--green) !important; }
.down { color: var(--red) !important; }
.flat, .na { color: var(--text-3) !important; }
@media (max-width: 560px) {
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
  .hide-sm { display: none; }
}

/* ---- other cars grid ---- */
.others { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 16px; }
.others a { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg-2); transition: border-color .2s; }
.others a:hover { border-color: var(--teal-dim); }
.others .o-name { display: block; color: var(--text); font-weight: 600; font-size: 14.5px; }
.others .o-val { display: block; font-family: var(--mono); font-size: 13px; color: var(--text-2); margin-top: 2px; }

/* ---- sample report ---- */
.strip { position: relative; margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 18px 18px 12px; }
.strip-plot { position: relative; margin: 0 6px; }
.strip-band { position: absolute; top: 0; bottom: 0; background: rgba(45,212,191,0.09); border-left: 1px dashed rgba(45,212,191,0.5); border-right: 1px dashed rgba(45,212,191,0.5); }
.strip-value { position: absolute; top: -6px; bottom: 0; width: 2px; margin-left: -1px; background: var(--text); }
.strip-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 2px var(--bg-2); }
.strip-axis { position: relative; height: 26px; margin: 8px 6px 0; border-top: 1px solid var(--line-2); }
.strip-tick { position: absolute; top: 6px; transform: translateX(-50%); font-family: var(--mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.strip-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.strip-key span::before { content: ''; display: inline-block; vertical-align: -1px; margin-right: 8px; }
.strip-key .k-dot::before { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-bright); }
.strip-key .k-band::before { width: 18px; height: 10px; background: rgba(45,212,191,0.18); border: 1px dashed rgba(45,212,191,0.6); }
.strip-key .k-value::before { width: 2px; height: 12px; background: var(--text); }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px; }
.card .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--text-3); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; float: right; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.stats3 div { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.stats3 b { display: block; font-size: 16px; color: var(--text); text-transform: none; letter-spacing: 0; margin-top: 4px; }
.tips { list-style: none; }
.tips li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 14.5px; }
.tips li + li { margin-top: 8px; }
.tips li::before { content: '✓'; position: absolute; left: 0; color: var(--teal-bright); font-weight: 700; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.split .card ul { list-style: none; }
.split .card li { color: var(--text-2); font-size: 14.5px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.split .card li:last-child { border-bottom: none; }
.split .card.full { border-color: rgba(20,184,166,0.45); }
@media (max-width: 760px) {
  .cards2, .split { grid-template-columns: 1fr; }
  .stats3 { gap: 8px; }
  .stats3 div { font-size: 10px; }
  .stats3 b { font-size: 15px; }
}

/* ---- footer ---- */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-left { display: flex; align-items: center; gap: 14px; color: var(--text-3); font-size: 13.5px; }
.foot-left img { height: 40px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; align-items: center; }
.foot-links a { color: var(--text-2); transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.store-badge { display: inline-flex; align-items: center; }
.store-badge img { height: 40px; width: auto; display: block; }
