/* ============================================================
   Moder Tech — css/site.css
   One stylesheet for every page.
   Colours are the original Moder Tech palette (kept on purpose).
   Type: Archivo (variable width) for headings, Public Sans for text.
   Both are self-hosted in css/fonts, so nothing loads from Google.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #F3F1EC;
  --surface: #FBFAF7;
  --ink: #15181B;
  --ink-soft: #4B5258;
  --ink-faint: #666D73;
  --line: #D9D5CC;
  --line-strong: #B9B4A9;
  --accent: #C8380A;
  --accent-dark: #A52E07;
  --accent-wash: #F6E3DB;
  --panel: #E9E6DF;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 20px;
  --max: 1160px;
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--r-s); z-index: 100; }
.skip-link:focus { left: 8px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Type ---------- */

.h-display, h1, h2 {
  font-family: var(--font-head);
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.9rem); font-weight: 780; }
.hero h1 { font-size: clamp(2.05rem, 4.6vw, 3.25rem); font-stretch: 106%; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); font-weight: 740; font-stretch: 108%; }
h3 { font-family: var(--font-head); font-size: 1.12rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; }
h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: var(--r-m);
  font-family: var(--font-head); font-weight: 650; font-size: 0.98rem; letter-spacing: 0;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.1;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a3035; }
.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 0.9rem; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

.text-link { font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.text-link:hover { color: var(--accent); }

/* ---------- Header and footer ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.wordmark {
  white-space: nowrap; flex: none;
  display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none;
  font-family: var(--font-head); font-stretch: 122%; font-weight: 800; font-size: 1.22rem; letter-spacing: -0.03em;
}
.wordmark::before { content: ""; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; align-self: center; transform: translateY(1px); }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 6px; }
.nav-list a { display: block; white-space: nowrap; padding: 10px 9px; text-decoration: none; font-weight: 550; border-radius: var(--r-s); }
.nav-list a:hover { background: var(--panel); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.header-wa { margin-left: 4px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: var(--r-m); background: transparent; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 25px; }

.site-footer { background: var(--ink); color: #D8D4CA; margin-top: 72px; padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .wordmark { color: var(--paper); }
.footer-line { margin-top: 12px; max-width: 28em; color: #BDB8AD; }
.footer-col h4 { color: var(--paper); margin-bottom: 10px; font-weight: 650; }
.footer-col li + li { margin-top: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid #343A40; font-size: 0.9rem; color: #A29D92; }

/* ---------- Sections ---------- */

.section { padding: 64px 0 0; }
.section-head { margin-bottom: 28px; max-width: 40em; }
.section-head p { margin-top: 10px; color: var(--ink-soft); font-size: 1.05rem; }
.page-head { padding: 52px 0 8px; }
.page-head p { margin-top: 12px; }

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

.hero { padding: 56px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.hero h1 { max-width: 12.5em; }
.hero .lede { margin-top: 18px; }

.ask { margin-top: 30px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.ask-label { display: block; font-family: var(--font-head); font-weight: 650; margin-bottom: 8px; }
.ask-input, .picker-input, .tool-input {
  width: 100%; min-height: 50px; padding: 0 14px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-m);
}
.ask-input:focus, .picker-input:focus, .tool-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-wash); }
.ask fieldset { border: 0; margin: 18px 0 0; padding: 0; }
.ask legend { font-family: var(--font-head); font-weight: 650; padding: 0; margin-bottom: 8px; }
.budget-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.budget-choice { position: relative; }
.budget-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.budget-choice span { display: block; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r-m); background: #fff; min-height: 62px; }
.budget-choice b { display: block; font-family: var(--font-head); font-weight: 700; }
.budget-choice small { color: var(--ink-faint); font-size: 0.82rem; line-height: 1.25; display: block; }
.budget-choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.budget-choice input:checked + span small { color: #CFCAC0; }
.budget-choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.ask .btn { margin-top: 18px; width: 100%; }
.ask-note { margin-top: 10px; font-size: 0.88rem; color: var(--ink-faint); }

/* The honest card: one real laptop, its good points and its catch. */
.verdict { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.verdict-photo { aspect-ratio: 4 / 4.2; background: var(--panel); position: relative; overflow: hidden; }
.verdict-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.verdict-body { padding: 18px 20px 20px; }
.verdict-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.verdict-top h2 { font-size: 1.3rem; line-height: 1.15; font-stretch: 104%; }
.price { font-family: var(--font-head); font-weight: 750; font-stretch: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.01em; }
.verdict .caps { margin-top: 12px; }
.verdict-catch { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.verdict-catch b { color: var(--ink); }
.verdict-foot { margin-top: 14px; }
.hero-grid .verdict { animation: settle .6s ease-out both; }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-grid .verdict { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Ratings ---------- */

.caps { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cap { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; }
.rating-icon { width: 17px; height: 17px; flex: none; }
.rating-box { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.rating-mark { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rating-best .rating-box { fill: var(--ink); }
.rating-best .rating-mark { stroke: var(--paper); }
.rating-ok .rating-box { stroke: var(--ink-faint); }
.rating-ok .rating-mark { stroke: var(--ink-faint); }
.rating-weak .rating-box { stroke: var(--accent); }
.rating-weak .rating-mark { stroke: var(--accent); }
.caps-legend { margin-top: 10px; font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- Laptop cards ---------- */

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; display: flex; flex-direction: column; }
.card-photo { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--panel); }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.card-photo img.is-placeholder { object-fit: contain; padding: 14%; opacity: .7; }
.badge { position: absolute; left: 10px; top: 10px; background: var(--accent); color: #fff; font-family: var(--font-head); font-size: 0.8rem; font-weight: 650; padding: 4px 9px; border-radius: var(--r-s); }
.card-body { padding: 16px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-name a { text-decoration: none; }
.card-name a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.card-line { color: var(--ink-soft); font-size: 0.93rem; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: 0.9rem; }
.specs div { display: contents; }
.specs dt { color: var(--ink-faint); }
.specs dd { font-variant-numeric: tabular-nums; }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-foot .price { font-size: 1.2rem; }

.rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* ---------- Tools bar (All laptops) ---------- */

.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px 14px; align-items: end; margin-bottom: 14px; }
.tool-label { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 4px; }
.tool-select { min-height: 50px; padding: 0 12px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-m); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 40px; padding: 0 14px; background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-weight: 550; }
.chip:hover { border-color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-sep { width: 1px; background: var(--line-strong); margin: 4px 2px; }
.result-count { color: var(--ink-soft); margin: 4px 0 18px; }
.empty { padding: 32px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-m); }
.empty p + p { margin-top: 10px; }
.grid-note { margin-top: 28px; color: var(--ink-soft); font-size: 0.95rem; max-width: 46em; }

/* ---------- Laptop page ---------- */

.crumbs { padding: 22px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.crumbs a { text-underline-offset: 3px; }
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; padding-top: 22px; align-items: start; }
.detail-photo { background: var(--panel); border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; position: sticky; top: 16px; }
@media (max-width: 960px) { .detail-photo { position: relative; top: auto; } }
.detail-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.detail-photo img.is-placeholder { object-fit: contain; padding: 18%; opacity: .7; }
.detail h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.detail-price { margin: 12px 0 4px; font-size: 1.9rem; }
.detail-cond { color: var(--ink-soft); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.detail-block { margin-top: 30px; }
.detail-block h2 { font-size: 1.25rem; font-stretch: 104%; margin-bottom: 12px; }
.spec-table { width: 100%; border-top: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--ink-faint); }
.spec-table dd { font-variant-numeric: tabular-nums; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.points h3 { margin-bottom: 8px; }
.points li { position: relative; padding-left: 18px; margin-top: 6px; }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--ink); }
.points.catch li::before { background: var(--accent); }
.fine { font-size: 0.88rem; color: var(--ink-faint); margin-top: 8px; }
.similar { margin-top: 64px; }

/* ---------- Picker (Find my laptop) ---------- */

.picker { display: grid; gap: 28px; padding-top: 8px; }
.picker-step { max-width: 880px; }
.picker-label { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; }
.picker-num { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.85rem; font-weight: 650; }
.picker-suggest { margin-top: 6px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-m); overflow: hidden; }
.suggest-item { display: block; width: 100%; text-align: left; padding: 12px 14px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.suggest-item:last-child { border-bottom: 0; }
.suggest-item:hover { background: var(--accent-wash); }
.suggest-label { display: block; font-weight: 650; }
.suggest-courses { display: block; font-size: 0.88rem; color: var(--ink-soft); }
.suggest-empty { padding: 12px 14px; color: var(--ink-soft); }
.picker-or { margin: 16px 0 10px; color: var(--ink-soft); }
.audience-tabs { display: flex; gap: 8px; margin: 18px 0 4px; flex-wrap: wrap; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.profile-btn { text-align: left; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.profile-btn:hover { border-color: var(--ink); }
.profile-btn.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.profile-label { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
.profile-courses { font-size: 0.85rem; color: var(--ink-faint); line-height: 1.35; }
.profile-btn.is-active .profile-courses { color: #CFCAC0; }
.budget-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 880px; }
.budget-btn { text-align: left; padding: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; }
.budget-btn:hover { border-color: var(--ink); }
.budget-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.budget-label { display: block; font-family: var(--font-head); font-weight: 700; }
.budget-hint { display: block; font-size: 0.85rem; color: var(--ink-faint); }
.budget-btn.is-active .budget-hint { color: #CFCAC0; }

.picker-result { padding-top: 12px; border-top: 2px solid var(--ink); }
.result-title { font-family: var(--font-head); font-stretch: 110%; font-weight: 760; font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -0.02em; margin-top: 18px; }
.result-sub { margin-top: 4px; color: var(--ink-soft); }
.result-note { margin-top: 10px; max-width: 44em; color: var(--ink-soft); }
.result-heading { margin: 34px 0 14px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 720; font-stretch: 106%; }
.result-minor { margin: 26px 0 12px; font-weight: 700; }
.result-warn { margin: 0 0 16px; padding: 12px 14px; background: var(--accent-wash); border-radius: var(--r-m); max-width: 46em; }
.result-none { padding: 16px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-m); max-width: 46em; }
.advice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.advice-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--r-m); padding: 16px; }
.advice-skip { border-top-color: var(--accent); }
.advice-stretch { border-top-color: var(--line-strong); }
.advice-title { font-family: var(--font-head); font-weight: 720; font-size: 1.02rem; margin-bottom: 8px; }
.advice-list li { position: relative; padding-left: 16px; margin-top: 6px; font-size: 0.95rem; }
.advice-list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 2px; background: var(--ink); }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pick-grid-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pick-card { display: grid; grid-template-columns: 38% 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.pick-compact { grid-template-columns: 1fr; }
.pick-media { background: var(--panel); min-height: 180px; position: relative; overflow: hidden; }
.pick-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.pick-compact .pick-media { aspect-ratio: 4 / 3.2; min-height: 0; }
.pick-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.pick-tag { align-self: flex-start; background: var(--ink); color: var(--paper); font-family: var(--font-head); font-weight: 650; font-size: 0.82rem; padding: 3px 9px; border-radius: var(--r-s); }
.pick-name { font-family: var(--font-head); font-weight: 720; font-size: 1.08rem; line-height: 1.2; }
.pick-cond { color: var(--accent); font-weight: 600; font-size: 0.88rem; }
.pick-specs { font-size: 0.88rem; color: var(--ink-soft); }
.pick-extra { font-size: 0.9rem; }
.pick-price { font-family: var(--font-head); font-weight: 750; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.result-cta { margin-top: 34px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.result-fine { color: var(--ink-faint); font-size: 0.92rem; }
.checklist { margin-top: 22px; max-width: 46em; }
.checklist summary { cursor: pointer; font-weight: 650; padding: 8px 0; }
.checklist ul { padding: 4px 0 4px 18px; list-style: disc; }
.checklist li { margin-top: 6px; }

/* ---------- About ---------- */

.about-lead { font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.prose p { margin-top: 16px; font-size: 1.08rem; max-width: 38em; }
.steps { counter-reset: step; margin-top: 8px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.steps b { display: block; font-family: var(--font-head); }
.home-about { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: start; padding-top: 56px; }
.home-about p + p { margin-top: 14px; }
.contact-box { margin-top: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.contact-box p + p { margin-top: 8px; }

/* ---------- Small screens ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid, .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: 1fr; gap: 26px; }
  .detail-photo { position: relative; aspect-ratio: 4 / 3.6; }
  .advice-grid { grid-template-columns: 1fr; }
  .pick-grid-small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding-top: 48px; }
  .site-footer { margin-top: 56px; }
  .header-inner { gap: 8px; }
  .header-wa { margin-left: auto; }
  .header-wa .wa-text { display: none; }
  .header-wa { width: 44px; padding: 0; }

  .hero { padding-top: 32px; }
  .ask { padding: 16px; }
  .budget-choices { grid-template-columns: 1fr; }
  .budget-choice span { min-height: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
  .budget-choice small { text-align: right; }

  /* Laptops become compact rows on phones, so 52 of them stay scannable. */
  .grid, .rail { grid-template-columns: 1fr; gap: 12px; }
  .card { display: grid; grid-template-columns: 112px 1fr; }
  .card-photo { aspect-ratio: auto; min-height: 150px; }
  .card-body { padding: 12px; gap: 6px; }
  .card-line, .card .caps { display: none; }
  .card .specs { grid-template-columns: 1fr; gap: 0; font-size: 0.85rem; }
  .card .specs div:nth-child(n+4) { display: none; }
  .card .specs dt { display: none; }
  .card-foot { padding-top: 8px; }
  .card-foot .btn { min-height: 36px; padding: 0 12px; font-size: 0.85rem; }
  .card-foot .btn .wa-long { display: none; }
  .toolbar { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .chip { flex: none; }
  .two-col { grid-template-columns: 1fr; }
  .spec-table div { grid-template-columns: 7em 1fr; }
  .budget-row { grid-template-columns: 1fr; }
  .pick-grid, .pick-grid-small { grid-template-columns: 1fr; }
  .pick-card { grid-template-columns: 34% 1fr; }
  .pick-compact { grid-template-columns: 34% 1fr; }
  .pick-compact .pick-media { aspect-ratio: auto; min-height: 150px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Category tiles, "Soon" tags, category pages ---------- */

.tag-soon { display: inline-block; margin-left: 5px; padding: 0 6px; border-radius: 99px; background: var(--panel); color: var(--ink-soft); font-size: 0.68rem; font-weight: 600; line-height: 1.6; vertical-align: 1px; white-space: nowrap; letter-spacing: 0; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); text-decoration: none; min-height: 96px; }
.cat:hover { border-color: var(--ink); }
.cat b { font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.015em; }
.cat span { color: var(--ink-soft); font-size: 0.92rem; }
.cat.is-live { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cat.is-live span { color: #CFCAC0; }
.cat.is-live:hover { background: #23282D; }
.cat .tag-soon { align-self: flex-start; margin: 2px 0 0; }

.soon { padding: 56px 0 0; }
.soon h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 18em; }
.soon .lede { margin-top: 16px; max-width: 36em; font-size: 1.12rem; color: var(--ink-soft); }
.soon-list { margin-top: 28px; display: grid; gap: 10px; max-width: 36em; }
.soon-list li { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.soon-list b { display: block; font-weight: 650; }
.soon-list span { color: var(--ink-soft); font-size: 0.96rem; }
.soon-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.soon-others { margin-top: 56px; }
.soon-others h2 { font-size: 1.25rem; margin-bottom: 14px; }

@media (max-width: 1240px) {
  .nav-toggle { display: block; margin-left: 8px; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; padding: 6px var(--gutter) 12px; }
  .nav-list a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .header-wa { margin-left: auto; }
}
@media (max-width: 960px) {
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { min-height: 0; }
  .cats .cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .soon { padding-top: 36px; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header-wa { white-space: nowrap; flex: none; }
.look-wrap { margin-top: 26px; max-width: 46em; }
