/* ClearCast Tech — layout: studio-monitor language. Cool paper ground, ink type,
   signal-cyan accent, tally-red used only for the "live" indicator. Viewfinder
   brackets frame product imagery; model codes and specs set in mono like device labels. */
:root {
  --bg: #f2f5f7;
  --surface: #ffffff;
  --ink: #0d1b2a;
  --muted: #4d5d6c;
  --line: #d6dee5;
  --accent: #087f8c;
  --accent-ink: #ffffff;
  --accent-soft: #dff1f2;
  --tally: #d7263d;
  --band: #0d1b2a;
  --band-ink: #e8eef3;
  --band-muted: #9fb0bf;
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 6px;
  --wrap: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1119; --surface: #111b26; --ink: #e6edf3; --muted: #9aabbb; --line: #223242;
    --accent: #3cc3cf; --accent-ink: #06222a; --accent-soft: #0f2d35; --tally: #ff4d5e;
    --band: #060c12; --band-ink: #e6edf3; --band-muted: #8a9cad; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1119; --surface: #111b26; --ink: #e6edf3; --muted: #9aabbb; --line: #223242;
  --accent: #3cc3cf; --accent-ink: #06222a; --accent-soft: #0f2d35; --tally: #ff4d5e;
  --band: #060c12; --band-ink: #e6edf3; --band-muted: #8a9cad; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); font-stretch: 100%; line-height: 1.12; letter-spacing: -0.005em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.2vw + .5rem, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 2.2vw + .6rem, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.eyebrow { font: 600 .74rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--surface); padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; }
.brand-word { font: 750 1.25rem/1 var(--font-display); font-stretch: 100%; letter-spacing: 0; }
.brand-word small { display: block; font: 600 .6rem/1 var(--font-mono); letter-spacing: .28em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.quote-pill { display: inline-flex; align-items: center; gap: 8px; }
.quote-count { font: 600 .72rem/1 var(--font-mono); background: var(--accent); color: var(--accent-ink); border-radius: 99px; padding: 3px 7px; }
.quote-count[data-n="0"] { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); padding: 8px 10px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent; font: 600 .98rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-wa { background: #1f8f4e; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding-block: 56px 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 600 .74rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tally); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tally) 22%, transparent); animation: tally 2.4s ease-in-out infinite; }
@keyframes tally { 50% { opacity: .45; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 8px; border-top: 1px solid var(--line); }
.hero-stats div { display: grid; gap: 2px; padding-top: 14px; }
.hero-stats b { font: 700 1.6rem/1 var(--font-display); font-stretch: 100%; }
.hero-stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: 32px 48px; } }

/* Viewfinder frame — the one signature element */
.viewfinder { position: relative; padding: 28px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.viewfinder::before, .viewfinder::after, .vf-corners::before, .vf-corners::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--accent); }
.viewfinder::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.viewfinder::after { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.vf-corners::before { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.vf-corners::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.vf-hud { position: absolute; left: 44px; right: 44px; top: 16px; display: flex; justify-content: space-between; font: 500 .7rem/1 var(--font-mono); letter-spacing: .08em; color: var(--muted); }
.vf-hud .rec { color: var(--tally); }
.vf-hud-b { top: auto; bottom: 16px; }
.viewfinder .media { aspect-ratio: 1 / 1; }

/* Media + placeholder */
.media { position: relative; background: #fff; border-radius: calc(var(--radius) - 2px); overflow: hidden; display: grid; place-items: center; max-width: 100%; }
.media img { width: 100%; height: 100%; object-fit: contain; }
.media .ph { display: none; }
.media.ph-on img { display: none; }
.media.ph-on { background: repeating-linear-gradient(135deg, var(--accent-soft) 0 12px, transparent 12px 24px), var(--surface); }
.media.ph-on .ph { display: grid; gap: 6px; place-items: center; text-align: center; padding: 16px; font: 700 1rem/1.1 var(--font-mono); color: var(--ink); }
.media.ph-on .ph small { font: 500 .7rem/1.2 var(--font-mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

/* Sections */
.section { padding-block: 72px; }
.section-tight { padding-block: 48px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 32px; }
.section-head > div { display: grid; gap: 10px; min-width: 0; max-width: 62ch; }
.band { background: var(--band); color: var(--band-ink); }
.band .lede, .band p { color: var(--band-muted); }
.band .eyebrow { color: var(--accent); }

/* Category index */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px; background: var(--surface); text-decoration: none; color: var(--ink); transition: background .15s; }
.cat:hover { background: var(--accent-soft); }
.cat h3 { grid-column: 1; }
.cat .n { grid-column: 2; grid-row: 1 / span 2; font: 700 1.9rem/1 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.cat p { grid-column: 1; font-size: .92rem; color: var(--muted); }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); }
.card .media { aspect-ratio: 4 / 3; border-radius: 0; border-bottom: 1px solid var(--line); }
.card-body { display: grid; gap: 10px; padding: 18px; align-content: start; min-width: 0; }
.card-model { font: 600 .75rem/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card p { font-size: .92rem; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 600 .7rem/1 var(--font-mono); letter-spacing: .04em; padding: 5px 7px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.card-foot .add { position: relative; z-index: 2; }
.link-arrow { font-weight: 600; font-size: .9rem; }
.btn-sm { padding: 8px 12px; font-size: .85rem; }

/* Filters */
.filters { display: grid; gap: 14px; margin-bottom: 28px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row .label { font: 600 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 84px; }
.fbtn { font: 500 .88rem/1 var(--font-body); padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.fbtn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.search { flex: 1 1 240px; max-width: 360px; padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.result-count { font: 500 .85rem/1 var(--font-mono); color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Use cases */
.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.use { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--accent); }
.use h3 { color: var(--band-ink); }
.use a { color: var(--accent); font-weight: 600; font-size: .92rem; text-decoration: none; }
.use ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.use li { font: 500 .8rem/1.4 var(--font-mono); color: var(--band-muted); }

/* Why */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.why div { display: grid; gap: 8px; align-content: start; }
.why .k { font: 700 .75rem/1 var(--font-mono); color: var(--accent); letter-spacing: .1em; }
.why p { color: var(--muted); font-size: .95rem; }

/* CTA */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 36px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.cta > div { display: grid; gap: 8px; min-width: 0; }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; padding: 24px; } }

/* Breadcrumb */
.crumbs { font: 500 .8rem/1.4 var(--font-mono); color: var(--muted); padding-block: 20px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--accent); }

/* Product detail */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding-block: 28px 56px; align-items: start; }
.pd > * { min-width: 0; }
.gallery { display: grid; gap: 12px; }
.gallery .viewfinder .media { aspect-ratio: 1 / 1; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumb { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; overflow: hidden; aspect-ratio: 1 / 1; }
.thumb[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.thumb .media { width: 100%; height: 100%; border-radius: 0; }
.thumb .media.ph-on .ph { font-size: .6rem; }
.pd-info { display: grid; gap: 20px; }
.pd-model { font: 600 .85rem/1 var(--font-mono); color: var(--muted); letter-spacing: .06em; }
.features { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.features li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.features li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border: 2px solid var(--accent); border-radius: 2px; }
.price-note { font-size: .9rem; color: var(--muted); padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.specs-wrap { overflow-x: auto; }
.specs { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: .94rem; }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; font: 600 .78rem/1.5 var(--font-mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 28px; } }

/* Solutions page */
.sol { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding-block: 44px; border-top: 1px solid var(--line); }
.sol > * { min-width: 0; }
.sol-copy { display: grid; gap: 12px; align-content: start; }
.sol-copy p { color: var(--muted); }
.kit { display: grid; gap: 10px; }
.kit a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.kit a:hover { border-color: var(--accent); }
.kit .media { width: 64px; height: 64px; }
.kit .media.ph-on .ph { font-size: .55rem; }
.kit b { display: block; font-weight: 600; }
.kit span { font-size: .85rem; color: var(--muted); }
.kit .role { font: 600 .7rem/1 var(--font-mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 820px) { .sol { grid-template-columns: 1fr; gap: 20px; } .kit a { grid-template-columns: 56px 1fr; } .kit .role { grid-column: 2; } .kit .media { width: 56px; height: 56px; } }

/* Quote page + forms */
.quote-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; padding-block: 32px 72px; align-items: start; }
.quote-grid > * { min-width: 0; }
.qlist { display: grid; gap: 10px; }
.qitem { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.qitem > div { min-width: 0; }
.qitem b { display: block; font-weight: 600; }
.qitem small { font-family: var(--font-mono); color: var(--muted); }
.qty { width: 64px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; }
.x { background: none; border: 0; color: var(--muted); cursor: pointer; font: 600 .85rem/1 var(--font-body); padding: 8px; }
.x:hover { color: var(--tally); }
form.panel { display: grid; gap: 16px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.field { display: grid; gap: 6px; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-2 { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .9rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); font: inherit; }
textarea { min-height: 120px; resize: vertical; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 400; font-size: .85rem; color: var(--muted); }
.form-msg { padding: 12px 14px; border-radius: var(--radius); font-size: .92rem; }
.form-msg.ok { background: var(--accent-soft); color: var(--ink); }
.form-msg.err { background: color-mix(in srgb, var(--tally) 12%, transparent); color: var(--ink); }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* Contact strip */
.contact-list { display: grid; gap: 14px; margin: 0; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font: 600 .72rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 500; }

/* Page head */
.page-head { padding-block: 48px 28px; display: grid; gap: 14px; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 56px 32px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.site-footer h4 { margin: 0; font: 600 .72rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-ink); }
.site-footer a { color: var(--band-muted); text-decoration: none; } .site-footer a:hover { color: var(--accent); }
.site-footer .brand { color: var(--band-ink); }
.site-footer .brand-word small { color: var(--band-muted); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--band-muted) 25%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #1f8f4e; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.wa-float svg { width: 28px; height: 28px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: var(--radius); font-weight: 500; z-index: 70; max-width: calc(100% - 32px); }

@media (max-width: 600px) {
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .filter-row .label { flex-shrink: 0; min-width: 0; }
  .fbtn { flex-shrink: 0; }
  .filter-row:last-child { flex-wrap: wrap; }
}

/* "New" badge */
.badge { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 600 .68rem/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tally); border: 1px solid color-mix(in srgb, var(--tally) 45%, transparent); border-radius: 4px; padding: 5px 7px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tally); }
a.live { text-decoration: none; }
a.live:hover { color: var(--accent); }
.pd-info .badge { margin-top: -8px; }

/* ---------- Live-monitor hero: always dark, whatever the page theme ---------- */
.hero-live {
  --hl-ink: #f1f5f8; --hl-muted: #b9c6d2; --hl-line: rgba(241,245,248,.22); --hl-accent: #3cc3cf;
  position: relative; isolation: isolate; overflow: hidden; background: #070d14; color: var(--hl-ink);
  padding-block: 88px 96px;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url("../img/hero-sanctuary.jpg") 70% 55% / cover no-repeat; transform: scale(1.02); }
.hero-live::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,13,20,.95) 0%, rgba(7,13,20,.86) 38%, rgba(7,13,20,.45) 68%, rgba(7,13,20,.25) 100%),
    linear-gradient(0deg, rgba(7,13,20,.7) 0%, transparent 30%); }
.hero-live-inner { position: relative; }
.hero-live .hero-copy { max-width: 720px; }
.hero-live h1 { color: var(--hl-ink); }
.hero-live h1 em { color: var(--hl-accent); }
.hero-live .lede { color: var(--hl-muted); }
.hero-live .live { color: var(--hl-muted); }
.hero-live a.live:hover { color: var(--hl-accent); }
.hero-live .hero-stats { border-top-color: var(--hl-line); }
.hero-live .hero-stats span { color: var(--hl-muted); }
.btn-onDark { background: rgba(255,255,255,.06); color: var(--hl-ink); border-color: var(--hl-line); backdrop-filter: blur(4px); }
.btn-onDark:hover { border-color: var(--hl-accent); color: var(--hl-accent); }
.hero-live .btn-primary { background: var(--hl-accent); color: #06222a; }

.hud { position: absolute; inset: 18px; pointer-events: none; font: 500 .72rem/1 var(--font-mono); letter-spacing: .1em; color: rgba(241,245,248,.78); }
.hud-c { position: absolute; width: 34px; height: 34px; border: 2px solid var(--hl-accent); }
.hud-c.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud-c.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud-c.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud-c.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud-top, .hud-bot { position: absolute; left: 52px; right: 52px; display: flex; justify-content: space-between; gap: 16px; }
.hud-top { top: 12px; } .hud-bot { bottom: 12px; }
.hud .rec { color: #ff4d5e; animation: tally 2.4s ease-in-out infinite; }
.hud .tc { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .hero-live { padding-block: 64px 72px; }
  .hero-bg { background-position: 78% 50%; }
  .hero-live::before { background: linear-gradient(180deg, rgba(7,13,20,.78) 0%, rgba(7,13,20,.9) 55%, rgba(7,13,20,.96) 100%); }
  .hud { inset: 10px; }
  .hud-top, .hud-bot { left: 40px; right: 40px; }
  .hud-top span:nth-child(2), .hud-bot span:nth-child(n+3) { display: none; }
}

/* New arrival band */
.new-arrival { padding-block: 64px 24px; }
.na-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.na-copy { display: grid; gap: 16px; min-width: 0; }
.new-arrival .viewfinder .media { aspect-ratio: 1 / 1; }
@media (max-width: 860px) { .na-grid { grid-template-columns: 1fr; gap: 28px; } .new-arrival .viewfinder { max-width: 460px; } }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 980px; font-size: .9rem; }
.compare th, .compare td { padding: 12px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); white-space: nowrap; }
.compare thead th { position: sticky; top: 0; background: var(--surface); font: 600 .7rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); z-index: 1; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody tr:hover td, .compare tbody tr:hover th { background: var(--accent-soft); }
.compare .cam { position: sticky; left: 0; background: var(--surface); z-index: 2; min-width: 230px; white-space: normal; border-right: 1px solid var(--line); }
.compare thead .cam { z-index: 3; }
.compare .cam a { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.compare .cam .media { width: 48px; height: 48px; }
.compare .cam .media.ph-on .ph { font-size: .5rem; }
.compare .cam b { display: block; font-weight: 600; line-height: 1.25; }
.compare .cam small { font: 500 .72rem/1 var(--font-mono); color: var(--muted); }
.compare .num { font: 600 .92rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.compare .hi { color: var(--accent); }
.yes { color: var(--accent); font-weight: 700; }
.no { color: var(--muted); opacity: .6; }
.compare .best { white-space: normal; min-width: 180px; color: var(--muted); font-size: .85rem; }
.compare-note { font-size: .88rem; color: var(--muted); padding-top: 14px; }
.compare-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.hero-live h1 em { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .compare .cam { min-width: 150px; }
  .compare .cam a { grid-template-columns: 36px 1fr; gap: 8px; }
  .compare .cam .media { width: 36px; height: 36px; }
  .compare .cam small { display: none; }
}

/* ---------- Guides ---------- */
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gcard { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.gcard:hover { border-color: var(--accent); }
.gcard h3 { font-size: 1.25rem; }
.gcard p { color: var(--muted); font-size: .94rem; }
.gmeta { font: 600 .78rem/1 var(--font-mono); color: var(--accent); padding-top: 4px; }
.article-head { display: grid; gap: 14px; padding-block: 28px 32px; max-width: 820px; }
.article-head h1 { font-size: clamp(2rem, 3.4vw + .6rem, 3.2rem); }
.article-meta { font: 500 .82rem/1.4 var(--font-mono); color: var(--muted); }
.article-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); display: grid; gap: 10px; font-size: .9rem; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }
.toc a { color: var(--muted); text-decoration: none; } .toc a:hover { color: var(--accent); }
.prose { max-width: 70ch; display: grid; gap: 18px; font-size: 1.05rem; line-height: 1.7; min-width: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 18px; scroll-margin-top: 90px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose .lede { font-size: 1.18rem; }
.prose .formula { padding: 14px 18px; background: var(--accent-soft); border-radius: var(--radius); font-size: 1rem; }
.prose .note { font-size: .88rem; color: var(--muted); }
.prose .table-wrap { overflow-x: auto; }
.prose .specs th { width: auto; }
.pull { margin: 12px 0; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.pull p { font-size: 1.2rem; line-height: 1.5; }
.pull cite { display: block; margin-top: 10px; font: 600 .8rem/1 var(--font-mono); color: var(--muted); font-style: normal; }
.guide-links { margin-top: 24px; display: grid; gap: 10px; }
.guide-links ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); } }

/* Case studies */
.case-card { padding-top: 0; overflow: hidden; }
.case-img { margin: 0 -22px 6px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 36px; }
.case-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Prices */
.price { font: 700 .95rem/1.1 var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font-weight: 500; font-size: .72rem; color: var(--muted); }
.price-big { font-size: 1.8rem; font-family: var(--font-display); }
.price-quote { font: 600 .85rem/1 var(--font-mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Mobile tap targets & legibility (Google recommends ~48px targets) ---------- */
.badge { font-size: .72rem; }
@media (max-width: 760px) {
  .site-footer a { display: block; padding-block: 11px; }
  .site-footer .brand { padding-block: 0; }
  .foot-grid > div { gap: 0; }
  .crumbs a { display: inline-block; padding-block: 12px; }
  .crumbs { padding-top: 6px; }
  .link-arrow, a.live { display: inline-block; padding-block: 12px; }
  .contact-list dd a { display: inline-block; padding-block: 10px; }
  .consent a { display: inline-block; padding-block: 8px; }
  .consent input { width: 22px; height: 22px; margin: 0; }
  .consent { grid-template-columns: 28px 1fr; align-items: start; }
  input, select, textarea, .search { font-size: 16px; }
  .prose a, .guide-links a, .toc a { display: inline-block; padding-block: 8px; }
  .prose p a { display: inline; padding: 0; }
  .fbtn { padding: 12px 14px; }
  .btn-sm { padding: 12px 14px; }
  .thumb { min-height: 48px; }
}
@media (max-width: 760px) { .use a { display: inline-block; padding-block: 12px; } }

.fbtn-zero { opacity: .45; }
.fbtn-zero[aria-pressed="true"] { opacity: 1; }
.fbtn .mono { font-variant-numeric: tabular-nums; }
