/* ============================================================
   Checkpoint Watch NZ — design system v6 (2026-09-22)
   Full UX overhaul in the Sevenko house style (privatetube.my):
   - Layered dark tokens, ambient glows, hairline borders
   - SVG icon language (inline .i), no emoji chrome
   - CLS-safe fixed-ratio media frames
   - WCAG 2.2 AA contrast, focus-visible rings, reduced motion
   - Superset of v5 class contract: city + legal pages share it
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #060608;
  --bg2: #0b0b10;
  --bg-alt: #0b0b10;
  --card: #0e0e15;
  --card2: #15151f;
  --border: rgba(255, 255, 255, 0.075);
  --border2: rgba(255, 255, 255, 0.13);
  --line: var(--border);
  --line2: var(--border2);
  --text: #f3f4fa;
  --muted: #a6adbe;            /* AA on bg & card */
  --muted-strong: #bcc3d2;
  --dim2: #7d8496;
  --red: #ef4444;
  --red-soft: rgba(239, 68, 68, 0.14);
  --red-line: rgba(239, 68, 68, 0.4);
  --blue: #3b82f6;
  --cyan: #3b82f6;             /* legacy alias */
  --green: #22c55e;
  --amber: #f59e0b;
  --grad: linear-gradient(135deg, #c62828, #1d4ed8);
  --grad-soft: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(59, 130, 246, 0.14));
  --focus: #60a5fa;
  --radius: 16px;
  --radius-lg: 20px;
  --r-s: 10px;
  --r-m: 14px;
  --pill: 999px;
  --nav-h: 70px;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --sh1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --sh2: 0 8px 24px rgba(0, 0, 0, 0.45);
  --sh3: 0 18px 50px rgba(0, 0, 0, 0.6);
  --shadow-1: var(--sh2);      /* legacy alias */
}

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

::selection { background: rgba(239, 68, 68, 0.38); color: #fff; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  scrollbar-color: #2a2a35 transparent;
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #26262f; border-radius: 6px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #34343f; }

body {
  font-family: var(--ui);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(239, 68, 68, 0.055), transparent 62%),
    radial-gradient(900px 480px at 6% 4%, rgba(59, 130, 246, 0.05), transparent 55%);
  background-repeat: no-repeat;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--ui); }

/* Inline SVG icon — the single icon language. */
.i {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

/* Skip link — WCAG 2.4.1 */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 300;
  background: var(--grad);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 6, 8, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(6, 6, 8, 0.92);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.brand b { color: #f87171; font-weight: 700; }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  flex: 0 0 auto;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.35);
}
.brand-mark .i { width: 17px; height: 17px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}
.nav-links a:not(.btn) {
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  padding: 8px 14px;
  border-radius: var(--pill);
}
.nav-links a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-cta { margin-left: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Scroll lock while the mobile menu is open */
body.nav-open { overflow: hidden; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s, filter 0.2s;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 18px rgba(198, 40, 40, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(198, 40, 40, 0.38);
}
.btn-ghost {
  border-color: var(--border2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--red-line); color: #f87171; background: rgba(239, 68, 68, 0.06); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; border-radius: 14px; }
.btn-download { display: inline-flex; align-items: center; gap: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 90px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(6, 6, 8, 0.96) 0%, rgba(6, 6, 8, 0.84) 45%, rgba(6, 6, 8, 0.5) 100%),
    linear-gradient(transparent 62%, rgba(6, 6, 8, 0.96) 100%);
}
/* Hero background video - user pause/play control (WCAG 2.2.2 Pause, Stop, Hide).
   Left hidden in the markup; js/main.js reveals it once the video is running,
   so a visitor without JS never sees a control that cannot work. */
.hero-video-toggle {
  position: absolute;
  right: max(18px, 4%);
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border2);
  border-radius: var(--pill);
  background: rgba(8, 8, 12, 0.86);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:hover { border-color: var(--red-line); color: #f87171; }
.hero-video-toggle .i { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.hero-video-toggle .i[data-hvt="play"] { display: none; }
.hero-video-toggle.is-paused .i[data-hvt="pause"] { display: none; }
.hero-video-toggle.is-paused .i[data-hvt="play"] { display: inline-block; }
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 2;
  width: min(1180px, 92%);
}
.hero-text { max-width: 640px; flex: 1 1 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f87171;
  margin-bottom: 18px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 6px 14px;
  border-radius: var(--pill);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  text-wrap: balance;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.12rem;
  color: var(--muted-strong);
  max-width: 560px;
  margin-bottom: 30px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-note { color: var(--muted); font-size: 0.9rem; }
.btn-ghost-onvid {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(6, 6, 8, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost-onvid:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.09); }

/* Hero chips (trust row) */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-strong);
  background: rgba(14, 14, 21, 0.66);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: var(--pill);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-chips .i { width: 14px; height: 14px; color: var(--green); stroke-width: 2.6; }

/* Hero visual: floating phone + glow (index only) */
.hero-visual {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroIn 0.6s ease both;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  background:
    radial-gradient(46% 42% at 62% 30%, rgba(239, 68, 68, 0.2), transparent 70%),
    radial-gradient(42% 40% at 38% 68%, rgba(59, 130, 246, 0.18), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } }
.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.phone {
  width: 264px; height: 542px;
  border-radius: 40px;
  background: #0a0a10;
  border: 3px solid #232838;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.65),
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.phone img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #0a0a10;
  border-radius: 0 0 14px 14px;
  z-index: 4;
}
.phone-map {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0d0d16, #111124 40%, #0d0d16);
}
.phone-map::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 130, 160, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 130, 160, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(6, 6, 8, 0.85);
  display: grid; place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite;
}
.pin-a { top: 38%; left: 30%; animation-delay: 0s; }
.pin-b { top: 55%; left: 62%; animation-delay: 1.2s; }
.pin-c { top: 72%; left: 35%; animation-delay: 2.2s; }
.pin-d { top: 28%; left: 66%; animation-delay: 0.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.map-alert {
  position: absolute; bottom: 52px; left: 50%;
  transform: translateX(-50%);
  width: 84%;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(16, 10, 12, 0.82);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #ffb4b4;
  font-size: 0.76rem; font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 3;
}
.map-alert .i { width: 15px; height: 15px; color: #f87171; }
.map-alert .live-dot {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f87171;
}
.map-alert .live-dot::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats {
  position: relative;
  z-index: 2;
  margin: -34px auto 0;
  width: min(1120px, 92%);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(14, 14, 21, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--sh3);
  overflow: hidden;
}
.stat {
  padding: 22px 26px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section.alt {
  background: rgba(11, 11, 16, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.18;
  text-wrap: balance;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 48px;
}
.section-sub.center { text-align: center; margin: 0 auto 2rem; }

/* Reveal-on-scroll (JS adds .reveal-ready to <body>) */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--rd, 0s);
}
.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: var(--sh2); }
.card:hover::after { opacity: 0.7; }
.card-ico {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: #f87171;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.card-ico .i { width: 22px; height: 22px; }
.card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.card p { color: var(--muted); font-size: 0.93rem; }

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid { position: relative; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-3px); border-color: var(--border2); box-shadow: var(--sh2); }
.step-num {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}
.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.93rem; }
.steps-line {
  display: none;
  position: absolute;
  top: 56px; left: 18%; right: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.35) 20%, rgba(59, 130, 246, 0.35) 80%, transparent);
  z-index: 0;
}
@media (min-width: 761px) {
  .steps-grid .steps-line { display: block; }
  .steps-grid .step { position: relative; z-index: 1; }
}

/* ============================================================
   SCREENSHOTS / MEDIA
   ============================================================ */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.shot {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.shot:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: var(--sh2); }
.shot-frame {
  position: relative;
  aspect-ratio: 288 / 610;
  max-height: 380px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0a0a10;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.shot:hover img { transform: scale(1.045); }
.shot figcaption {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 10px;
  padding-bottom: 4px;
}

/* Promo video — CLS-safe frame */
.promo-video { max-width: 640px; margin: 0 auto 56px; }
.promo-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--sh2);
}
.promo-video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.promo-caption {
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
  margin-top: 12px;
}

/* Promo duo — vertical video cards (CLS-safe 540x800 frames) */
.promo-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 24px;
  margin: 0 auto 56px;
}
.promo { margin: 0; }
.promo-frame {
  position: relative;
  aspect-ratio: 540 / 800;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: radial-gradient(120% 90% at 50% 0%, #101018 0%, #000 70%);
  box-shadow: var(--sh2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.promo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.promo-frame:hover,
.promo-frame:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  border-color: var(--border2);
}
.promo-frame:hover::after,
.promo-frame:focus-within::after { opacity: 0.85; }
.promo-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
}

/* ============================================================
   COVERAGE CARDS
   ============================================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  display: block;
  text-decoration: none;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border2);
  box-shadow: var(--sh2);
}
.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #f87171;
  font-weight: 600;
}
.feature-card p { margin: 0; color: var(--muted); }
.feature-card .fc-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-strong);
  transition: color 0.2s, gap 0.2s;
}
.feature-card:hover .fc-go { color: #fff; gap: 10px; }
.fc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.fc-head .card-ico { width: 38px; height: 38px; border-radius: 11px; font-size: 1.05rem; margin-bottom: 0; }
.fc-head .card-ico .i { width: 18px; height: 18px; }
.fc-head h3 { margin: 0; }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download-card {
  position: relative;
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(239, 68, 68, 0.1), transparent 60%),
    linear-gradient(160deg, var(--card), #0b0b12);
  border: 1px solid rgba(239, 68, 68, 0.28);
  border-radius: var(--radius-lg);
  padding: 48px 40px 52px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--sh3);
}
.download-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
}
.download-card .section-title { margin-bottom: 8px; }
.download-card .btn-download { display: flex; width: fit-content; margin: 0 auto; }
.download-card .section-sub { margin: 0 auto 26px; }
.download-qr {
  margin: 30px auto 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: fit-content;
}
.download-qr img {
  width: 148px; height: 148px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  box-shadow: var(--sh2);
}
.download-qr p { color: var(--muted); font-size: 0.85rem; margin-top: 10px; }
.download-note { color: var(--muted); font-size: 0.88rem; max-width: 460px; margin: 22px auto 0; }
.download-note a { color: #60a5fa; text-decoration: underline; text-underline-offset: 2px; }
.download-meta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 600;
}
.download-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: var(--pill);
}
.download-meta .i { width: 14px; height: 14px; color: #f87171; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: border-color 0.2s;
}
.faq:hover { border-color: var(--border2); }
.faq[open] { border-color: rgba(239, 68, 68, 0.3); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 22px; height: 22px;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.25s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0 0 18px;
  max-width: 62ch;
}
.faq:not([open]) p { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  background: rgba(9, 9, 13, 0.72);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer .brand { font-size: 1rem; }
.footer-sub { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.footer-sub a { color: #f87171; }
.footer-sub a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
.footer-links a:hover { color: #f87171; text-decoration-color: currentColor; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--dim2);
  font-size: 0.85rem;
}
.footer-bottom a { color: #60a5fa; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   LEGAL PAGES (privacy / account deletion)
   ============================================================ */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(6, 6, 8, 0.9);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  position: sticky;
  top: 0;
  z-index: 90;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
}
.privacy-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.privacy-page h1 {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-weight: 700;
}
.privacy-page .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 32px; }
.privacy-page h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.privacy-page p,
.privacy-page li { line-height: 1.65; color: var(--text); }
.privacy-page ul { padding-left: 22px; }
.privacy-page li { margin: 6px 0; }
.privacy-page .back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  font-weight: 600;
  color: #60a5fa;
}
.privacy-page .back:hover { text-decoration: underline; text-underline-offset: 3px; }
.req-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}
.req-box .btn { margin: 6px 6px 6px 0; }
.req-note { font-size: 0.92rem; color: var(--muted); margin-top: 10px; }

/* Ordered steps on legal pages (coexists with landing .steps grid) */
ol.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
ol.steps li {
  margin: 10px 0;
  padding-left: 34px;
  position: relative;
}
ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
  .hero-visual { transform: scale(0.9); transform-origin: center; }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 56px); }
  .hero-text { max-width: 640px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-chips { justify-content: center; }
  .stats { margin-top: 0; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .features-grid,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .screens-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-duo { grid-template-columns: repeat(2, minmax(0, 340px)); gap: 16px; }
}

@media (max-width: 900px) and (min-width: 761px) {
  .nav-links { font-size: 0.9rem; }
  .nav-links a:not(.btn) { padding: 8px 10px; }
  .brand-name { font-size: 0.95rem; }
  .nav-cta { padding: 10px 16px; font-size: 0.85rem; margin-left: 8px; }
}

@media (max-width: 760px) {
  .nav-inner { height: 60px; }
  .brand-name {
    font-size: 0.95rem;
    max-width: 60vw;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background: rgba(6, 6, 8, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-130%);
    transition: transform 0.35s, visibility 0s linear 0.35s;
    visibility: hidden;
    z-index: 99;
    padding: 16px 0 24px;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.35s, visibility 0s;
  }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 1.05rem;
  }
  .nav-links a:not(.btn) { border-radius: 10px; padding: 14px 20px; }
  .nav-links a:not(.btn):active { background: rgba(239, 68, 68, 0.08); }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-cta { display: none; }
  .nav-links .nav-cta { display: block; margin: 10px auto 0; width: auto; padding: 13px 36px; }
  .section { padding: 72px 0; }
  .features-grid,
  .steps { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-duo { grid-template-columns: minmax(0, 420px); }
  .hero-visual { transform: scale(0.92); }
  .phone { width: 232px; height: 476px; }
  .download-card { padding: 36px 22px 42px; }
  .stats-inner { border-radius: var(--radius); }
}

@media (max-width: 460px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .screens-grid { gap: 12px; }
  .shot { padding: 10px; }
}

/* Touch: comfortable targets (WCAG 2.5.8) */
@media (pointer: coarse) {
  .nav-links a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
  .faq summary { padding: 20px 0; }
}

/* ============================================================
   REDUCED MOTION (WCAG 2.3.3)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   LEGAL-PAGE HEADER (nav system shared with landing) — 2026-09-26
   ============================================================ */
.header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  margin-right: auto;
  padding: 10px 18px;
  border-radius: var(--pill);
  font-size: 0.9rem;
  font-weight: 600;
  flex: 0 0 auto;
}
.header-back .i { width: 16px; height: 16px; }
.privacy-page { padding-top: calc(var(--nav-h) + 44px); }

/* ============================================================
   ACCOUNT DELETION FORM — 2026-09-26
   ============================================================ */
.delete-form {
  max-width: 440px;
  margin: 18px auto 6px;
  text-align: left;
}
.delete-form .field { margin-bottom: 14px; }
.delete-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-strong);
  margin-bottom: 6px;
}
.delete-form input[type="text"],
.delete-form input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border2);
  background: #0d0d14;
  color: var(--text);
  font-size: 16px;               /* no iOS zoom-on-focus */
  font-family: var(--ui);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.delete-form input:hover { border-color: rgba(255, 255, 255, 0.22); }
.delete-form input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.del-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted-strong);
  margin: 4px 0 16px;
  cursor: pointer;
}
.del-check input {
  width: 18px; height: 18px;
  accent-color: var(--red);
  margin: 2px 0 0;
  flex: 0 0 auto;
}
.btn-danger {
  width: 100%;
  background: linear-gradient(135deg, #c62828, #991b1b);
  color: #fff;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
}
.btn-danger:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-danger:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}
.del-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.3em;
  text-align: center;
}
.del-status.ok { color: #4ade80; }
.del-status.err { color: #f87171; }
.req-box .req-lead { margin-bottom: 4px; }

@media (max-width: 760px) {
  .privacy-page { padding-top: calc(60px + 32px); }
  .header-back { margin-left: 6px; padding: 9px 12px; }
  .header-back .hb-label { display: none; }
}
