/* Search/tool pages (docs/plans/seo/weekly-refresh.md). Same fonts and colours as the home page (home.css). */
@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --night: #08101C; --navy: #0D1B2E; --line: #ffffff1f; --ice: #5CB8FF; --ice2: #9ED6FF; --text: #F3F7FC; --dim: #B4C1D3;
  --display: "Archivo", "Arial Black", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, sans-serif; }
* { box-sizing: border-box; }
html { background: var(--night); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body { margin: 0; font-size: 17px; line-height: 1.6; }
a { color: var(--ice2); text-underline-offset: 3px; }
a:hover { color: #fff; }
.bar { display: flex; align-items: center; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 18px; }
.brand img { border-radius: 8px; }
main { padding: 0 clamp(16px, 4vw, 40px); }
article { max-width: 920px; margin: 0 auto; padding: 28px 0 56px; }
.crumb { margin: 0 0 8px; font-size: 14px; color: var(--dim); }
.crumb a { color: var(--dim); }
h1, h2 { font-family: var(--display); font-weight: 900; letter-spacing: -0.01em; text-transform: uppercase; }
h1 { font-stretch: 125%; font-size: clamp(34px, 6.2vw, 60px); line-height: 0.95; margin: 0 0 12px; }
h2 { font-stretch: 110%; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.05; margin: 52px 0 12px; scroll-margin-top: 16px; }
.meta { margin: 0 0 22px; color: var(--dim); font-size: 14px; }
.answer { font-size: 19px; line-height: 1.55; margin: 0 0 8px; }
.answer strong { color: #fff; }
p, ul { max-width: 72ch; }
li { margin: 6px 0; }
.tool { margin-top: 34px; padding: 22px clamp(14px, 3vw, 26px) 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #0f2038, #0b1628); }
.tool h2 { margin-top: 0; }
.controls { display: grid; grid-template-columns: 1fr minmax(160px, 220px) auto; gap: 12px; align-items: end; margin: 0 0 12px; }
.controls label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--dim); }
input[type=search], select { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid #ffffff33; background: #08101c; color: var(--text); font: inherit; font-size: 17px; }
input[type=search]:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; }
.units { display: grid; gap: 6px; }
.units .lbl { font-size: 13px; font-weight: 600; color: var(--dim); }
.seg { justify-self: start; display: inline-flex; padding: 3px; gap: 3px; min-height: 48px; border-radius: 12px; border: 1px solid #ffffff33; background: #08101c; }
.seg label { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 52px; padding: 0 14px; border-radius: 9px; color: var(--dim); font-size: 16px; font-weight: 600; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--ice); color: #06101e; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--ice); outline-offset: 2px; }
.status { margin: 6px 0 8px; font-size: 14px; color: var(--dim); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 4px; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; padding: 12px 14px 10px; font-size: 13px; color: var(--dim); }
th, td { padding: 10px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--dim); white-space: nowrap; background: #0d1b2e; }
tbody th { font-weight: 600; color: #fff; }
.sub { display: block; font-weight: 400; font-size: 13px; color: var(--dim); margin-top: 2px; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover { background: #ffffff08; }
.tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; border: 1px solid #ffffff33; font-size: 11px; font-weight: 600; color: var(--dim); white-space: nowrap; }
.more { margin: 10px 0 2px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid #ffffff33; background: transparent; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.note { font-size: 14px; color: var(--dim); margin: 12px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cta { margin: 56px 0 0; padding: 26px; border-radius: 20px; background: radial-gradient(120% 140% at 0% 0%, #1d3a66, #0d1b2e 60%); border: 1px solid #5cb8ff44; }
.cta h2 { margin-top: 0; }
.button { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 14px; background: var(--ice); color: #06101e; font-weight: 700; text-decoration: none; }
.button:hover { background: #fff; color: #06101e; }
.credit { margin-top: 34px; font-size: 13px; color: var(--dim); }
.foot { padding: 22px clamp(16px, 4vw, 40px) 34px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.foot a { color: var(--dim); }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .answer { font-size: 17px; }
  .controls { grid-template-columns: 1fr; }
  th, td { padding: 9px 10px; }
  .results .c-top, .results .c-base, .opt { display: none; }
  caption { white-space: normal; }
}
/* Download CTA (seo/download.mjs): badge + QR on desktop, direct store link on phones and touch screens. */
.dl { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 16px; }
.dl .badge { display: inline-flex; }
.dl .badge img { display: block; height: auto; }
.dl .qr { margin: 0; display: grid; justify-items: center; gap: 6px; }
.dl .qr img { display: block; border-radius: 12px; background: #fff; padding: 8px; }
.dl .qr figcaption { font-size: 13px; font-weight: 600; color: var(--dim); }
.app-note { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid #5cb8ff44; background: #0d1b2e; }
.app-note p { margin: 0; flex: 1 1 260px; }
.app-note .dl { margin-top: 0; }
@media (max-width: 820px), (pointer: coarse) { .dl .qr { display: none; } }
/* Comparison pages (seo/build-compare.mjs). */
table.compare { min-width: 860px; font-size: 14px; }
table.compare tbody th { min-width: 150px; color: var(--dim); font-weight: 600; }
table.compare td { min-width: 130px; }
table.compare th:nth-child(2), table.compare td:nth-child(2) { background: #5cb8ff12; }
.shot { margin: 18px 0 0; }
.shot img { display: block; width: min(330px, 70vw); height: auto; border-radius: 22px; border: 1px solid var(--line); }
.shot figcaption { margin-top: 8px; font-size: 13px; color: var(--dim); }
.sources { font-size: 14px; columns: 2 280px; column-gap: 28px; }
.sources li { break-inside: avoid; }
