/* ============================================================
   Wattly — Home redesign
   Dark / neutral / instrument-grade. Satoshi + JetBrains Mono.
   ============================================================ */

:root {
  /* Surfaces — neutral near-black, lifted like the app */
  --bg:        #09090b;
  --bg-2:      #0e0e11;
  --surface:   rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --hair:      rgba(255,255,255,0.08);
  --hair-2:    rgba(255,255,255,0.14);

  /* Text */
  --tx:   #f4f5f7;
  --tx-2: rgba(244,245,247,0.60);
  --tx-3: rgba(244,245,247,0.38);

  /* Accent — Wattly mint (app "efficiency / good"), tweakable */
  --accent:     #42d6ad;
  --accent-2:   #42d6ad;
  --accent-ink: #04140d;
  --accent-dim: color-mix(in oklab, var(--accent) 16%, transparent);
  --accent-line:color-mix(in oklab, var(--accent) 34%, transparent);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 40px);
  --sect: clamp(52px, 7vw, 96px);

  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--tx);
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* Ambient: a single restrained accent wash, very subtle */
.aura {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 42% at 78% -6%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 70%),
    radial-gradient(46% 38% at 4% 12%, rgba(255,255,255,0.025), transparent 70%);
}

/* ---------- Reusable bits ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent-line);
}
.eyebrow.center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
  letter-spacing: -0.01em;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { border-color: var(--hair-2); color: var(--tx); background: transparent; }
.btn-ghost:hover { border-color: var(--tx-2); background: var(--surface); }

.store-badge img { height: 52px; width: auto; }
.store-badge { transition: transform .18s ease, opacity .18s ease; display: inline-block; }
.store-badge:hover { transform: translateY(-1px); opacity: .92; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--tx-2); font-weight: 600; font-size: 0.95rem;
  transition: color .18s ease, gap .18s ease;
}
.textlink:hover { color: var(--accent); gap: 11px; }
.textlink svg { width: 16px; height: 16px; }

/* Energy-bar divider motif */
.energybar {
  display: flex; gap: 3px; height: 4px; width: 100%; max-width: 220px;
}
.energybar i { flex: 1; border-radius: 2px; background: var(--hair); }
.energybar i.on { background: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--hair);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img.mark { width: 30px; height: 30px; border-radius: 8px; }
.brand img.word { height: 17px; width: auto; filter: brightness(1.4); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--tx-2);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--tx); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta { padding: 9px 18px; font-size: 0.9rem; }

.nav-burger {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--hair-2); background: var(--surface);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 17px; height: 1.8px; border-radius: 2px;
  background: var(--tx); transition: transform .25s ease, opacity .2s ease;
}
.nav-burger span::before { transform: translateY(-5.5px); }
.nav-burger span::after  { transform: translateY(3.7px); }
.nav-burger span { position: relative; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: rotate(45deg); }
body.menu-open .nav-burger span::after  { transform: rotate(-45deg); }

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; inset: 70px 0 0 0; z-index: 99;
  background: color-mix(in oklab, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px var(--pad);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-size: 1.5rem; font-weight: 700; padding: 14px 0;
  border-bottom: 1px solid var(--hair); letter-spacing: -0.02em;
}
.mobile-menu .btn { margin-top: 22px; justify-content: center; }

/* ============================================================
   HERO (3 variants toggled by [data-hero])
   ============================================================ */
.hero-variant { display: none; }
html[data-hero="split"]     .hero-split     { display: block; }
html[data-hero="center"]    .hero-center    { display: block; }
html[data-hero="editorial"] .hero-editorial { display: block; }

.hero-shell { padding-top: 132px; padding-bottom: var(--sect); position: relative; }

.h1 {
  font-weight: 900;
  font-size: clamp(2.7rem, 6.2vw, 5.1rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1 .accent { color: var(--accent); }
.lede {
  color: var(--tx-2); font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.6; max-width: 30em;
}

/* Telemetry stat strip */
.telemetry {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--hair); border-radius: var(--r-md);
  overflow: hidden; background: var(--surface);
}
.telemetry .cell {
  flex: 1; min-width: 120px; padding: 18px 20px;
  border-right: 1px solid var(--hair);
}
.telemetry .cell:last-child { border-right: none; }
.telemetry .num {
  font-weight: 900; font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  line-height: 1;
}
.telemetry .num .u { font-size: 0.62em; color: var(--tx-3); margin-left: 3px; font-weight: 700; }
.telemetry .lbl {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--tx-3); margin-top: 8px;
}

/* Phone mockup */
.phone {
  position: relative; width: var(--pw, 300px);
  aspect-ratio: 1186 / 2556;
  border-radius: 15.5% / 7.1%;
  padding: 0.3%;
  background: #1a1a1d;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.16) inset,
    0 50px 90px -40px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.05);
}
.phone .screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 15% / 6.95%; overflow: hidden; background: #000;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .screen.car img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.phone .screen.car img.active { opacity: 1; }
.phone .island {
  position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%);
  width: 30%; height: 3.1%; background: #000; border-radius: 999px; z-index: 3;
}
.phone-glow {
  position: absolute; inset: -8% -8% -4% -8%; z-index: -1;
  background: radial-gradient(50% 46% at 50% 42%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 72%);
  filter: blur(14px);
}

/* floating data chip (tasteful, max 2) */
.chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 14px;
  background: color-mix(in oklab, var(--bg-2) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hair-2);
  box-shadow: 0 24px 50px -22px rgba(0,0,0,0.8);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.chip .ck { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.02em; }
.chip .cl { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-3); }

/* --- Variant 1: SPLIT --- */
.hero-split .grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-split .copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-split .actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-split .telemetry { width: 100%; margin-top: 6px; }
.hero-split .stage { display: flex; justify-content: center; position: relative; --pw: clamp(248px, 30vw, 330px); }
.hero-split .chip-1 { top: 13%; left: -6%; }
.hero-split .chip-2 { bottom: 12%; right: -8%; }

/* --- Variant 2: CENTER --- */
.hero-center .wrap { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero-center .h1 { max-width: 16ch; }
.hero-center .lede { margin-inline: auto; text-align: center; }
.hero-center .actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero-center .fan {
  position: relative; display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(-40px, -4vw, -20px); margin-top: 30px; width: 100%;
}
.hero-center .fan .phone { --pw: clamp(150px, 21vw, 232px); }
.hero-center .fan .phone.side { --pw: clamp(128px, 18vw, 200px); opacity: .95; }
.hero-center .fan .phone.l { transform: rotate(-6deg) translateY(20px); margin-right: -5%; z-index: 1; }
.hero-center .fan .phone.r { transform: rotate(6deg)  translateY(20px); margin-left: -5%; z-index: 1; }
.hero-center .fan .phone.c { z-index: 2; }

/* --- Variant 3: EDITORIAL --- */
.hero-editorial .grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(30px, 5vw, 64px);
  align-items: end;
}
.hero-editorial .h1 { font-size: clamp(3rem, 8.2vw, 7rem); }
.hero-editorial .copy { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.hero-editorial .odo {
  display: flex; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--hair); padding-top: 22px; width: 100%;
}
.hero-editorial .odo .big {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em;
  color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1;
}
.hero-editorial .odo .meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); }
.hero-editorial .actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero-editorial .stage { position: relative; display: flex; justify-content: center; --pw: clamp(220px, 26vw, 300px); }
.hero-editorial .chip-1 { top: 8%; right: -6%; }
.hero-editorial .chip-2 { bottom: 16%; left: -10%; }
/* faint measurement ticks */
.ticks { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), var(--hair) calc(12.5% - 1px) 12.5%);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sect { padding-block: var(--sect); position: relative; }
.sect-head { max-width: 720px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sect-head h2 {
  font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance;
}
.sect-head p { color: var(--tx-2); font-size: 1.1rem; max-width: 46ch; }

/* ============================================================
   FEATURES — alternating instrument rows
   ============================================================ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px);
  align-items: center; padding-block: clamp(48px, 7vw, 86px);
}
.feature + .feature { border-top: 1px solid var(--hair); }
.feature.rev .f-media { order: -1; }
.f-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 460px; }
.f-index { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-3); }
.f-index b { color: var(--accent); font-weight: 500; }
.f-copy h3 { font-weight: 800; font-size: clamp(1.55rem, 2.8vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.08; }
.f-copy p { color: var(--tx-2); font-size: 1.05rem; line-height: 1.65; }
.f-list { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.f-list li { list-style: none; display: flex; align-items: center; gap: 11px; font-size: 0.96rem; color: var(--tx-2); }
.f-list li svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.f-media { display: flex; justify-content: center; position: relative; }
.f-media .phone { --pw: clamp(230px, 27vw, 300px); }

/* placeholder media (screenshot pending) */
.shot-pending {
  position: relative; width: var(--pw, 290px); aspect-ratio: 1186/2556;
  border-radius: var(--r-lg); border: 1px dashed var(--hair-2);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.022) 0 12px, transparent 12px 24px),
    var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.shot-pending .ic { width: 40px; height: 40px; color: var(--tx-3); }
.shot-pending .cap { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); text-align: center; padding-inline: 20px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Star row (shared by the hero testimonials marquee) */
.stars { display: inline-flex; gap: 4px; }
.stars svg { width: 22px; height: 22px; color: var(--accent); }
.stars svg.off { color: rgba(255,255,255,0.16); }

/* Centered-hero counter (below phones) */
.hero-odo-c { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 44px; }
.hero-odo-c .big {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.03em;
  color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1;
}
.hero-odo-c .meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-3); }

/* Testimonials marquee (centered hero) */
.hero-marquee-wrap {
  margin-top: 46px; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.review-marquee { display: flex; gap: 16px; width: max-content; padding: 4px 0; }
@media (prefers-reduced-motion: no-preference) {
  .review-marquee { animation: marquee 70s linear infinite; }
  .hero-marquee-wrap:hover .review-marquee { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rev-card {
  flex: 0 0 340px; text-align: left;
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--r-md);
  border: 1px solid var(--hair); background: var(--surface);
}
.rev-card .stars svg { width: 14px; height: 14px; }
.rev-card h4 { font-weight: 800; font-size: 1rem; letter-spacing: -0.015em; line-height: 1.25; }
.rev-card p {
  color: var(--tx-2); font-size: 0.9rem; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.rev-card .rc-meta { margin-top: auto; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-3); }

/* ============================================================
   FULL SPEC — compact card grid
   ============================================================ */
.spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.spec-group {
  border: 1px solid var(--hair); border-radius: var(--r-md);
  background: var(--surface); padding: 20px 20px;
  transition: border-color .25s ease;
}
.spec-group:hover { border-color: var(--hair-2); }
.spec-cat {
  display: flex; flex-direction: row; align-items: center; gap: 11px;
  margin-bottom: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--hair);
}
.spec-ic-box {
  width: 24px; height: 24px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.spec-ic { width: 22px; height: 22px; color: var(--accent); }
.spec-cat-txt { display: flex; flex-direction: column; gap: 2px; }
.spec-cat .n { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--accent); }
.spec-cat h3 { font-weight: 800; font-size: 1.04rem; letter-spacing: -0.02em; line-height: 1.1; }
.spec-rows { display: flex; flex-direction: column; gap: 8px; }
.spec-row { display: block; }
.srt { display: flex; align-items: baseline; gap: 9px; font-weight: 500; font-size: 0.9rem; letter-spacing: -0.01em; color: var(--tx-2); }
.srt span { color: var(--tx); }
.srt-chk { width: 13px; height: 13px; color: var(--accent); flex: none; transform: translateY(2px); }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy-wrap { border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pill {
  padding: 32px 28px; border-right: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 12px;
}
.pill:last-child { border-right: none; }
.pill .pn { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); }
.pill h3 { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.2; }
.pill p { color: var(--tx-3); font-size: 0.92rem; line-height: 1.6; }

/* ============================================================
   GALLERY (auto-scrolling marquee)
   ============================================================ */
.gallery { padding-block: var(--sect); overflow: hidden; }
.gallery-marquee-wrap {
  width: 100%; overflow: hidden; padding: 6px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.gallery-marquee { display: flex; gap: 20px; width: max-content; padding-inline: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .gallery-marquee { animation: gallery-marquee 55s linear infinite; }
  .gallery-marquee-wrap:hover .gallery-marquee { animation-play-state: paused; }
}
@keyframes gallery-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* Reduced-motion: no auto-scroll → let users reach every tile by hand. */
@media (prefers-reduced-motion: reduce) {
  .gallery-marquee-wrap { overflow-x: auto; scrollbar-width: none; }
  .gallery-marquee-wrap::-webkit-scrollbar { display: none; }
}
.gallery-marquee .g { flex: 0 0 auto; text-align: center; }
.gallery-marquee .phone { --pw: 240px; }
.gallery-marquee .glbl { display: block; margin-top: 14px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-3); }

/* ============================================================
   PRICING
   ============================================================ */
.price-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hair-2); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); max-width: 940px; margin: 0 auto;
}
.price-left {
  padding: clamp(30px, 4vw, 46px); position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  border-right: 1px solid var(--hair);
}
.price-left::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 0% 0%, var(--accent-dim), transparent 68%);
}
.price-left > * { position: relative; z-index: 1; }
.plan-name { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.price-toggle { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair); }
.price-toggle button {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-weight: 600; font-size: 0.85rem; color: var(--tx-2);
  background: none; border: none; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.price-toggle button.active { background: var(--accent); color: var(--accent-ink); }
.price-toggle .save { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 999px; background: var(--accent-dim); color: var(--accent); }
.price-toggle button.active .save { background: rgba(0,0,0,0.18); color: var(--accent-ink); }
.price-amount { display: flex; align-items: baseline; gap: 1px; }
.price-amount .cur { font-size: 1.9rem; font-weight: 700; color: var(--tx-2); }
.price-amount .val { font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.price-amount .per { font-size: 1.05rem; color: var(--tx-3); font-weight: 600; margin-left: 5px; }
.price-note { font-size: 0.92rem; color: var(--tx-2); }
.price-left .btn { width: 100%; justify-content: center; margin-top: 2px; }
.price-sub { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-3); }
.price-right { padding: clamp(30px, 4vw, 46px); display: flex; flex-direction: column; gap: 18px; }
.incl-title { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-3); }
.price-incl { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.price-incl li { display: flex; align-items: baseline; gap: 11px; font-size: 0.98rem; color: var(--tx-2); letter-spacing: -0.01em; }
.price-incl li b { color: var(--tx); font-weight: 600; }
.price-incl li svg { width: 15px; height: 15px; color: var(--accent); flex: none; transform: translateY(2px); }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding-block: var(--sect); }
.cta-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--hair-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 7%, var(--bg-2)), var(--bg-2));
  padding: clamp(44px, 7vw, 84px) var(--pad); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 50% -10%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 70%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 16ch; }
.cta-card p { color: var(--tx-2); font-size: 1.1rem; max-width: 42ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hair); padding-block: 64px 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px; }
.footer-brand { max-width: 290px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { color: var(--tx-3); font-size: 0.92rem; line-height: 1.6; }
.fcol h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 18px; }
.fcol ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.fcol a { color: var(--tx-2); font-size: 0.95rem; transition: color .18s ease; }
.fcol a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 30px; border-top: 1px solid var(--hair); }
.footer-bottom p { color: var(--tx-3); font-size: 0.84rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .nav-right .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-split .grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-split .copy { align-items: center; text-align: center; }
  .hero-split .lede { text-align: center; }
  .hero-split .actions { justify-content: center; }
  .hero-split .telemetry { max-width: 460px; margin-inline: auto; }

  .hero-editorial .grid { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .hero-editorial .copy { align-items: center; text-align: center; }
  .hero-editorial .lede { text-align: center; }
  .hero-editorial .actions { justify-content: center; }
  .hero-editorial .odo { justify-content: center; }

  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.rev .f-media { order: 0; }
  .f-copy { align-items: center; text-align: center; max-width: 540px; margin-inline: auto; }
  .f-list li { justify-content: center; }

  .spec { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-columns: 1fr; max-width: 480px; }
  .price-left { border-right: none; border-bottom: 1px solid var(--hair); }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .pill:nth-child(2) { border-right: none; }
  .pill:nth-child(1), .pill:nth-child(2) { border-bottom: 1px solid var(--hair); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .telemetry .cell { min-width: 50%; border-bottom: 1px solid var(--hair); }
  .telemetry .cell:nth-child(1) { border-right: 1px solid var(--hair); }
  .telemetry .cell:nth-child(3) { border-right: none; }
  .spec { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .pill { border-right: none; border-bottom: 1px solid var(--hair); }
  .pill:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .store-badge img { height: 50px; }
  .hero-center .fan .phone.l, .hero-center .fan .phone.r { display: none; }
  .hero-center .fan .phone.c { --pw: clamp(220px, 64vw, 270px); }
}

/* Entrance animations — gated, safe for reduced-motion */
/* Entrance: intentionally none. Content is always visible — robust for
   capture, print/PDF and no-JS. (Reveal-on-scroll opacity gating renders
   blank in static capture engines, so we keep the page static & reliable.) */

/* ============================================================
   LANGUAGE SWITCHER (production integration — not in the prototype)
   The live site ships 14 localized index-{lang}.html files; the nav
   needs a way to reach them. Styled to match the instrument aesthetic.
   ============================================================ */
.nav-lang { position: relative; }
.nav-lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  height: 38px; padding: 0 11px; border-radius: 11px;
  border: 1px solid var(--hair-2); background: var(--surface);
  color: var(--tx-2); cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.nav-lang-btn:hover { color: var(--tx); border-color: var(--tx-2); }
.nav-lang-btn .globe { width: 17px; height: 17px; }
.nav-lang-btn .chev { width: 13px; height: 13px; transition: transform .2s ease; }
.nav-lang.open .nav-lang-btn .chev { transform: rotate(180deg); }
.nav-lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 170px; padding: 7px;
  background: color-mix(in oklab, var(--bg-2) 96%, transparent);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--hair-2); border-radius: 14px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.85);
  display: flex; flex-direction: column; gap: 1px;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  max-height: 64vh; overflow-y: auto;
}
.nav-lang.open .nav-lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.nav-lang-menu a {
  font-size: 0.9rem; font-weight: 500; color: var(--tx-2);
  padding: 9px 12px; border-radius: 9px;
  transition: color .15s ease, background .15s ease;
}
.nav-lang-menu a:hover { color: var(--tx); background: var(--surface-2); }
.nav-lang-menu a.active { color: var(--accent); }

/* Language row inside the mobile sheet (desktop switcher hides < 980px) */
.mobile-lang {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hair);
}
.mobile-lang a {
  font-family: var(--mono); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.03em; color: var(--tx-3);
  padding: 0; border: none;
}
.mobile-lang a:hover, .mobile-lang a.active { color: var(--accent); }

@media (max-width: 980px) { .nav-lang { display: none; } }

/* ============================================================
   COOKIE CONSENT BANNER (production integration — GA gate)
   Ported from the legacy stylesheet, re-tokenised to this palette.
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9999; width: calc(100% - 48px); max-width: 520px;
  background: color-mix(in oklab, var(--bg-2) 92%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--hair-2); border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px color-mix(in oklab, var(--accent) 6%, transparent);
  animation: cookie-slide-up 0.5s ease forwards; animation-delay: 1s; opacity: 0;
}
@keyframes cookie-slide-up { to { transform: translateX(-50%) translateY(0); opacity: 1; } }
.cookie-banner.hidden { animation: cookie-slide-down 0.3s ease forwards; }
@keyframes cookie-slide-down { to { transform: translateX(-50%) translateY(120%); opacity: 0; } }
.cookie-banner p { font-size: 0.9rem; color: var(--tx-2); line-height: 1.6; margin-bottom: 18px; }
.cookie-banner a { color: var(--accent); font-weight: 500; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-btn {
  flex: 1; padding: 10px 20px; border-radius: 12px;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; border: none;
}
.cookie-btn-accept { background: var(--accent); color: var(--accent-ink); }
.cookie-btn-accept:hover { filter: brightness(1.06); transform: translateY(-1px); }
.cookie-btn-decline { background: var(--surface-2); color: var(--tx-2); border: 1px solid var(--hair-2); }
.cookie-btn-decline:hover { background: var(--hair-2); color: var(--tx); }
@media (max-width: 480px) {
  .cookie-banner { bottom: 16px; width: calc(100% - 32px); padding: 20px; border-radius: 16px; }
  .cookie-banner-actions { flex-direction: column; }
}
