/* Theme tokens. Light is the default; dark follows the OS unless the visitor picks one (data-theme on <html>). */
:root{
  color-scheme:light;
  --bg:#ffffff;--surface:#f6f5f2;--fg:#1a1a1a;--muted:#555555;--border:#d9d6cf;
  --accent:#1f4fa8;--accent-fg:#ffffff;--focus:#1a1a1a;
  --logo-bg:transparent;--logo-pad:0;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#121212;--surface:#1c1c1c;--fg:#ececec;--muted:#a8a8a8;--border:#333333;
    --accent:#8db4ff;--accent-fg:#121212;--focus:#ececec;
    --logo-bg:#ffffff;--logo-pad:4px;
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#121212;--surface:#1c1c1c;--fg:#ececec;--muted:#a8a8a8;--border:#333333;
  --accent:#8db4ff;--accent-fg:#121212;--focus:#ececec;
  --logo-bg:#ffffff;--logo-pad:4px;
}

*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--fg);font:17px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
main{max-width:760px;margin:0 auto;padding:32px 16px 48px}
a{color:var(--accent)}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.muted{color:var(--muted)}
.skip-link{position:absolute;left:-9999px;top:8px;background:var(--bg);color:var(--fg);padding:8px 12px;border:2px solid var(--focus);z-index:10}
.skip-link:focus{left:16px}

/* Header */
.site-header{border-bottom:1px solid var(--border)}
.site-header-inner{max-width:760px;margin:0 auto;padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:10px;color:var(--fg);text-decoration:none;font-weight:800;font-size:22px;letter-spacing:.2px}
.brand-logo{display:block;width:auto;height:52px;background:var(--logo-bg);padding:var(--logo-pad);border-radius:10px}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--fg);cursor:pointer}
.theme-toggle svg{width:22px;height:22px}
.theme-toggle .icon-sun{display:none}
:root[data-theme-active="dark"] .theme-toggle .icon-sun{display:block}
:root[data-theme-active="dark"] .theme-toggle .icon-moon{display:none}

/* Homepage hero */
.hero{text-align:center;padding:16px 0 8px}
.hero-logo{display:block;margin:0 auto 12px;width:240px;max-width:70%;height:auto;background:var(--logo-bg);padding:calc(var(--logo-pad)*2);border-radius:16px}
.hero h1{margin:0 0 8px;font-size:40px;line-height:1.15}
.hero p{margin:0 0 8px}

/* Footer */
.site-footer{border-top:1px solid var(--border);font-size:14px;color:var(--muted)}
.site-footer-inner{max-width:760px;margin:0 auto;padding:24px 16px 48px}
.site-footer p{margin:4px 0}

/* Product cards */
.disclosure{font-size:14px;color:var(--muted);margin:0 0 16px}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin:24px 0}
.product{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:16px}
.product-img{display:block;text-align:center;margin-bottom:12px;background:#ffffff;border-radius:8px;padding:8px}
.product-img img{max-width:100%;height:auto;max-height:220px;object-fit:contain}
.product-name{font-size:18px;margin:0 0 8px;line-height:1.3}
.product-why{margin:0 0 12px}
.product-cta{display:block;text-align:center;background:var(--accent);color:var(--accent-fg);text-decoration:none;font-weight:700;font-size:16px;white-space:nowrap;padding:12px 8px;border-radius:8px}
.product-cta:hover{filter:brightness(1.08)}

/* Roundup pages */
.breadcrumb{font-size:14px;color:var(--muted);margin:0 0 12px}
.breadcrumb a{color:var(--muted)}
article h1{font-size:34px;line-height:1.2;margin:0 0 6px}
.updated{font-size:14px;color:var(--muted);margin:0 0 16px}
.answer{font-size:18px}
h2{font-size:24px;line-height:1.3;margin:36px 0 10px}
.quick-picks{padding-left:20px;margin:0 0 8px}
.quick-picks li{margin:6px 0}
.product-role{margin:0 0 6px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;color:var(--accent)}
.product-facts{flex:1;margin:0 0 16px;padding-left:18px;font-size:15px;color:var(--muted)}
.product-facts li{margin:3px 0}
.related{margin:40px 0 0;padding:16px 20px;background:var(--surface);border:1px solid var(--border);border-radius:10px}
.related h2{margin:0 0 8px;font-size:20px}
.related ul{margin:0;padding-left:20px}

/* Homepage guide list */
.guides{margin:32px 0 0}
.guide-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.guide-list li{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:14px 16px}
.guide-list a{font-weight:700;font-size:18px}
.guide-list span{display:block;color:var(--muted);font-size:15px;margin-top:4px}

/* New-tab links: visible arrow + screen reader text (WCAG technique G201) */
.ext{display:inline-block;margin-left:.25em;font-size:.85em;line-height:1;text-decoration:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-footer a{color:var(--muted)}
.photo{margin:20px 0}
.photo img{width:100%;height:auto;border-radius:10px;display:block}
.photo figcaption{font-size:14px;color:var(--muted);margin-top:6px}

/* ===== Color + visuals (2026-10-11) ===== */
:root{--brand:#3a6fd8;--band:#17171a;--band-fg:#f2f2f2;--band-muted:#c9c9c9;--band-link:#9cc0ff}
/* Dark header + footer band with a blue stripe (logo blue), in both modes */
.site-header{background:var(--band);border-bottom:4px solid var(--brand)}
.brand{color:var(--band-fg)}
.brand-logo{background:#ffffff;padding:3px;border-radius:10px}
.theme-toggle{background:#2a2a2e;color:var(--band-fg);border-color:#3d3d42}
.site-footer{background:var(--band);color:var(--band-muted);border-top:4px solid var(--brand)}
.site-footer a{color:var(--band-link)}
/* Headings with a blue marker */
article h2,.guides h2,.from-the-road h2{border-left:5px solid var(--brand);padding-left:12px}
.related h2{border-left:0;padding-left:0}
/* Quick picks box */
.quick-picks{background:var(--surface);border:1px solid var(--border);border-left:5px solid var(--brand);border-radius:10px;padding:14px 18px 14px 36px}
/* Cards */
.product{border-top:5px solid var(--brand)}
/* Banner photos on guides */
.banner{margin:18px 0 6px}
.banner img{display:block;width:100%;height:auto;aspect-ratio:12/5;object-fit:cover;border-radius:12px}
.banner figcaption{font-size:13px;color:var(--muted);margin-top:6px}
/* Homepage hero */
.hero{padding:0;text-align:left}
.hero-photo{position:relative;border-radius:14px;overflow:hidden;background:#222}
.hero-photo img{display:block;width:100%;height:clamp(280px,48vw,430px);object-fit:cover}
.hero-overlay{position:absolute;left:0;right:0;bottom:0;padding:56px 22px 22px;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.82));color:#ffffff}
.hero-overlay h1{margin:0 0 6px;font-size:44px;line-height:1.1;color:#ffffff}
.hero-overlay p{margin:0 0 14px;font-size:18px;color:#f2f2f2}
.btn{display:inline-block;background:#1f4fa8;color:#ffffff;font-weight:800;text-decoration:none;padding:12px 18px;border-radius:8px}
.btn:hover{filter:brightness(1.08)}
.hero-credit{font-size:13px;color:var(--muted);margin:6px 0 0}
/* Homepage guide cards with photos */
.guide-list li{display:grid;grid-template-columns:132px 1fr;gap:14px;align-items:center;padding:10px;border-top:4px solid var(--brand)}
.guide-list img{width:132px;height:88px;object-fit:cover;border-radius:8px;display:block}
@media (max-width:480px){.guide-list li{grid-template-columns:96px 1fr}.guide-list img{width:96px;height:72px}}
/* Photo gallery */
.from-the-road{margin:40px 0 0}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 0}
.gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
@media (max-width:560px){.gallery{grid-template-columns:repeat(2,1fr)}}
/* 404 */
.notfound img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin:12px 0}
.hero-overlay h1,.hero-overlay p{text-shadow:0 1px 3px rgba(0,0,0,.65)}

/* ===== Wider desktop layout (2026-10-11): 1140px frame, ~780px reading width for text ===== */
main,.site-header-inner,.site-footer-inner{max-width:1140px}
article>p,article>ul,article>h2,.breadcrumb,.updated,.related,.from-the-road>p,.notfound>p{max-width:780px}
.quick-picks{max-width:780px}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.hero-photo img{height:clamp(280px,42vw,500px)}
.hero-overlay{padding:72px 32px 30px}
.hero-overlay h1{font-size:clamp(40px,5vw,56px)}
.guide-list{grid-template-columns:1fr}
@media (min-width:900px){
  .guide-list{grid-template-columns:1fr 1fr}
  .guide-list li{grid-template-columns:160px 1fr}
  .guide-list img{width:160px;height:107px}
}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))}
