@font-face {
  font-family: "Goeist";
  src: url("/assets/fonts/Goeist-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Goeist Mono";
  src: url("/assets/fonts/GoeistMono-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Goeist", ui-rounded, "SF Pro Rounded", -apple-system, sans-serif;
  --font-sans: "Goeist", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  --font-native: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-mono: "Goeist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --approve: #22A047;
  --deny: #E03C31;
  --blue: #2F62F5;
  --blue-deep: #1040D8;
  --blue-brand: #1447E6;
  --blue-glow: #4C7DFF;
  --magenta: #FF4FD8;
  --cyan: #35E8FF;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --max-w: 1040px;
}

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080A12;
  --bg-elev: rgba(16, 20, 34, 0.86);
  --bg-surface: #141829;
  --fg: #F5F7FF;
  --fg-muted: #9BA5C4;
  --fg-dim: #737E9F;
  --line: rgba(145, 165, 230, 0.14);
  --line-strong: rgba(145, 165, 230, 0.26);
  --accent: #5C8BFF;
  --accent-soft: rgba(76, 125, 255, 0.12);
  --approve-soft: rgba(34, 160, 71, 0.16);
  --deny-soft: rgba(224, 60, 49, 0.15);
  --mascot-tile-top: #1E2130;
  --mascot-tile-bottom: #0B0D16;
  --mascot-body: #4C7DFF;
  --mascot-eye: #081236;
  --shot-shadow: 0 28px 64px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --flow-pulse-out: #9AC2FF;
  --flow-pulse-back: #7FF0A3;

  /* Exact SwiftUI RequestToken / PhoneStyle dark tokens */
  --sui-surface: #1C1C1E;
  --sui-ink: #FFFFFF;
  --sui-ink2: #A6A6AE;
  --sui-fill: #2E2E31;
  --sui-line: #3A3A3D;
  --sui-approve: #23A455;
  --sui-deny: #E5453D;
  --tid-bg: rgba(38, 40, 50, 0.94);

  --film-bg: #0D111D;
  --film-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #FAFBFD;
  --bg-elev: rgba(255, 255, 255, 0.9);
  --bg-surface: #F0F3FA;
  --fg: #0C1124;
  --fg-muted: #4A5472;
  --fg-dim: #6F7A9B;
  --line: rgba(16, 32, 86, 0.1);
  --line-strong: rgba(16, 32, 86, 0.18);
  --accent: #1447E6;
  --accent-soft: rgba(20, 71, 230, 0.065);
  --approve-soft: rgba(34, 160, 71, 0.12);
  --deny-soft: rgba(224, 60, 49, 0.11);
  --mascot-tile-top: #2F62F5;
  --mascot-tile-bottom: #1040D8;
  --mascot-body: #FFFFFF;
  --mascot-eye: #0B1B4D;
  --shot-shadow: 0 24px 56px rgba(16, 32, 86, 0.14), 0 0 0 1px rgba(16, 32, 86, 0.08);
  --flow-pulse-out: #0A2E9C;
  --flow-pulse-back: #0D6B2D;

  /* Exact SwiftUI RequestToken / PhoneStyle light tokens */
  --sui-surface: #FFFFFF;
  --sui-ink: #0B0B0C;
  --sui-ink2: #5F5F67;
  --sui-fill: #EEEEF1;
  --sui-line: #E1E1E6;
  --sui-approve: #17853F;
  --sui-deny: #D5302A;
  --tid-bg: rgba(250, 251, 254, 0.95);

  --film-bg: #FFFFFF;
  --film-shadow: 0 26px 70px rgba(16, 32, 86, 0.14);
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

main { overflow-x: clip; }

a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  padding: 0.1em 0.36em;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  z-index: 100;
}
.skip-link:focus { left: 12px; }

.wrap {
  width: min(100% - 36px, var(--max-w));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  text-decoration: none;
  color: var(--fg);
  font: 600 15.5px/1 var(--font-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-mascot {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
}

.brand:hover .nav-mascot {
  animation: mini-hop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes mini-hop {
  0%, 100% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-4px) scale(1.12) rotate(-6deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--fg); }

.theme-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--fg);
  font: 500 13px/1 var(--font-sans);
  cursor: pointer;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font: 600 14.5px/1 var(--font-sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-brand); }
.btn-secondary { background: var(--bg-elev); color: var(--fg); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--fg-muted);
  text-decoration: none;
  font: 500 14.5px/1 var(--font-sans);
  padding: 8px 4px;
}
.btn-link:hover { color: var(--fg); }

/* ========================================================================
   HERO + UNTOUCHED MASCOT
   ======================================================================== */
.hero { padding: 26px 0 46px; }

.hero-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px;
}

.hero-mascot-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.hero-mascot-btn {
  position: relative;
  z-index: 2;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 26px;
  animation: idle-float 2.6s ease-in-out infinite;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-mascot-btn:hover { transform: translateY(-6px) scale(1.11) rotate(-4deg); }
.hero-mascot-btn:active { transform: scale(0.9, 0.84) translateY(4px); }

.hero-mascot-svg {
  width: 76px;
  height: 76px;
  display: block;
  border-radius: 19px;
  box-shadow: 0 14px 34px rgba(47, 98, 245, 0.36);
}

.mascot-body-rig {
  transform-origin: 50px 58px;
  transition: transform 0.1s ease-out;
}

@keyframes idle-float {
  0%, 100% { transform: translateY(0) scale(1, 1) rotate(0deg); }
  45% { transform: translateY(-6px) scale(1.03, 0.98) rotate(2deg); }
  75% { transform: translateY(-2px) scale(0.99, 1.02) rotate(-1.5deg); }
}

.hero-mascot-wrap[data-mood="happy"] .mascot-cheeks,
.hero-mascot-wrap[data-mood="excited"] .mascot-cheeks,
.hero-mascot-wrap[data-mood="approved"] .mascot-cheeks,
.hero-mascot-wrap[data-mood="giggle"] .mascot-cheeks,
.hero-mascot-wrap[data-mood="party"] .mascot-cheeks { opacity: 1; }

.hero-mascot-wrap[data-mood="approved"] .eyes-open,
.hero-mascot-wrap[data-mood="giggle"] .eyes-open,
.hero-mascot-wrap[data-mood="party"] .eyes-open { opacity: 0; }

.hero-mascot-wrap[data-mood="approved"] .eyes-happy,
.hero-mascot-wrap[data-mood="giggle"] .eyes-happy,
.hero-mascot-wrap[data-mood="party"] .eyes-happy { opacity: 1; }

.hero-mascot-wrap[data-mood="approved"] .mouth-smile,
.hero-mascot-wrap[data-mood="giggle"] .mouth-smile,
.hero-mascot-wrap[data-mood="excited"] .mouth-smile,
.hero-mascot-wrap[data-mood="party"] .mouth-smile { opacity: 0; }

.hero-mascot-wrap[data-mood="approved"] .mouth-grin,
.hero-mascot-wrap[data-mood="giggle"] .mouth-grin,
.hero-mascot-wrap[data-mood="excited"] .mouth-grin,
.hero-mascot-wrap[data-mood="party"] .mouth-grin { opacity: 1; }

.hero-mascot-wrap[data-mood="alert"] .eyes-open,
.hero-mascot-wrap[data-mood="denied"] .eyes-open { opacity: 0; }

.hero-mascot-wrap[data-mood="alert"] .eyes-alert,
.hero-mascot-wrap[data-mood="denied"] .eyes-alert { opacity: 1; }

.hero-mascot-wrap[data-mood="alert"] .mouth-smile,
.hero-mascot-wrap[data-mood="denied"] .mouth-smile { opacity: 0; }

.hero-mascot-wrap[data-mood="alert"] .mouth-gasp { opacity: 1; }

.hero-mascot-wrap[data-mood="approved"] .hero-mascot-btn,
.hero-mascot-wrap[data-mood="giggle"] .hero-mascot-btn {
  animation: joy-bounce 0.64s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-mascot-wrap[data-mood="party"] .hero-mascot-btn {
  animation: party-spin 0.72s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-mascot-wrap[data-mood="excited"] .hero-mascot-btn {
  animation: wiggle-happy 0.52s ease-in-out infinite;
}

.hero-mascot-wrap[data-mood="alert"] .hero-mascot-btn,
.hero-mascot-wrap[data-mood="denied"] .hero-mascot-btn {
  animation: shake 0.42s ease;
}

@keyframes joy-bounce {
  0% { transform: translateY(0) scale(1, 1) rotate(0deg); }
  18% { transform: translateY(5px) scale(1.14, 0.84) rotate(-6deg); }
  48% { transform: translateY(-20px) scale(0.93, 1.12) rotate(6deg); }
  76% { transform: translateY(-3px) scale(1.05, 0.95) rotate(-2deg); }
  100% { transform: translateY(0) scale(1, 1) rotate(0deg); }
}

@keyframes party-spin {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  25% { transform: translateY(-22px) scale(1.14) rotate(-14deg); }
  55% { transform: translateY(-14px) scale(1.08) rotate(14deg); }
  80% { transform: translateY(2px) scale(1.05, 0.94) rotate(-4deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes wiggle-happy {
  0%, 100% { transform: translateY(0) rotate(-3.5deg) scale(1.05); }
  50% { transform: translateY(-5px) rotate(3.5deg) scale(1.08); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px) rotate(-4deg); }
  55% { transform: translateX(6px) rotate(4deg); }
  80% { transform: translateX(-3px); }
}

.sparkle-layer {
  position: absolute;
  width: 220px;
  height: 160px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}

.sparkle-px {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  animation: sparkle-fly 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkle-fly {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.6) rotate(0deg); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--sx)), calc(-50% + var(--sy))) scale(1.3) rotate(130deg); }
}

.hero-header h1 {
  margin: 0;
  font: 700 clamp(34px, 4.6vw, 52px)/1.04 var(--font-display);
  letter-spacing: -0.032em;
}

.hero-header p {
  margin: 10px auto 0;
  max-width: 62ch;
  font-size: clamp(15.5px, 1.6vw, 17px);
  color: var(--fg-muted);
}

.hero-cta {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========================================================================
   THE CITY BEHIND THE PAGE
   ======================================================================== */
.city-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.city-scrim {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero,
.sub-hero,
.band {
  position: relative;
  z-index: 1;
}

.city-tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--film-bg);
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  font: 600 12.5px/1.2 var(--font-sans);
  color: var(--fg);
  opacity: 0;
  transition: opacity 0.25s ease, border-color 0.2s ease;
}

.city-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.city-tag.you { border-color: var(--accent); }

main[data-status="ask"] .city-tag { border-color: var(--accent); }
main[data-status="ask"] .city-tag::before { background: var(--accent); animation: dot-blink 0.9s ease-in-out infinite; }
main[data-status="ok"] .city-tag { border-color: var(--approve); }
main[data-status="ok"] .city-tag::before { background: var(--approve); }
main[data-status="deny"] .city-tag { border-color: var(--deny); }
main[data-status="deny"] .city-tag::before { background: var(--deny); }
main[data-status="blocked"] .city-tag { border-color: var(--deny); }
main[data-status="blocked"] .city-tag::before { background: var(--deny); animation: dot-blink 1s steps(2, end) infinite; }
main[data-status="blocked"] .city-tag.you { border-color: var(--line-strong); }
main[data-status="blocked"] .city-tag.you::before { background: var(--fg-dim); animation: none; }

.city-strip {
  display: none;
  height: 168px;
  margin: 4px 0 0;
}

/* ========================================================================
   THE FILM: WHAT THE AGENT SAYS, AND THE DEVICE YOU ANSWER ON
   ======================================================================== */
.film {
  max-width: 820px;
  margin: 0 auto;
}

.film-stage {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  height: 496px;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background: var(--film-bg);
  box-shadow: var(--film-shadow);
  overflow: hidden;
}

.film-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 22px 22px;
  border-right: 1px solid var(--line);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-dim);
}

.chat-head strong { color: var(--fg); font-weight: 600; }

.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.film[data-status="blocked"] .chat-dot { background: var(--deny); animation: dot-blink 1s steps(2, end) infinite; }
.film[data-status="ask"] .chat-dot { animation: dot-blink 0.9s ease-in-out infinite; }
.film[data-status="ok"] .chat-dot,
.film[data-status="deny"] .chat-dot { background: var(--approve); }

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.chat-body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font: 14px/1.5 var(--font-mono);
}

.msg {
  margin: 0;
  animation: msg-in 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg.you {
  color: var(--fg);
  padding-left: 16px;
  position: relative;
}

.msg.you::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent);
  font-weight: 700;
}

.msg.agent {
  color: var(--fg-muted);
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}

.msg.agent.bad { border-left-color: var(--deny); }
.msg.agent.warn { border-left-color: #E8A317; }
.msg.agent.good { border-left-color: var(--approve); color: var(--fg); }

.wait {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wait-label {
  font-size: 12.5px;
  color: var(--fg-dim);
}

.wait-value {
  font: 700 29px/1.1 var(--font-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  white-space: nowrap;
}

.wait-was {
  font-size: 12.5px;
  color: var(--fg-dim);
  min-height: 1.5em;
}

.wait[data-tone="bad"] .wait-value { color: var(--deny); }
.wait[data-tone="good"] .wait-value { color: var(--approve); }

.device {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 38%, var(--accent-soft), transparent 70%);
}

.device-head {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 6;
  pointer-events: none;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--film-bg) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  line-height: 1.15;
  color: var(--fg-dim);
}

.device-head strong { color: var(--fg); font-weight: 600; }

.device-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.device-arrow {
  color: var(--accent);
  font-weight: 700;
  margin-left: 1px;
}

@media (min-width: 1160px) {
  .device-head { display: inline-flex; }
}

.film[data-status="ask"] .device-dot { background: var(--accent); animation: dot-blink 0.9s ease-in-out infinite; }
.film[data-status="ok"] .device-dot { background: var(--approve); }
.film[data-status="ok"] .device-arrow { color: var(--approve); }
.film[data-status="deny"] .device-dot { background: var(--deny); }
.film[data-status="deny"] .device-arrow { color: var(--deny); }
.film[data-status="blocked"] .device-dot { background: var(--deny); }
.film[data-status="blocked"] .device-arrow { color: var(--deny); }
.film[data-scene="3"] .device-head { display: none; }

.without-banner {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px 0 8px;
  border-radius: var(--radius-pill);
  background: var(--deny-soft);
  border: 1px solid color-mix(in srgb, var(--deny) 45%, transparent);
  color: var(--deny);
  font: 700 12.5px/1 var(--font-sans);
  white-space: nowrap;
}

.without-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--deny);
  color: #fff;
  flex-shrink: 0;
}

.without-x svg {
  width: 9px;
  height: 9px;
  display: block;
}

.without-caption {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
  z-index: 6;
  display: none;
  text-align: center;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--film-bg) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--deny) 32%, var(--line-strong));
  font: 600 12.5px/1.25 var(--font-sans);
  color: var(--fg);
}

.film[data-scene="3"] .without-banner { display: inline-flex; }
.film[data-scene="3"] .without-caption { display: block; }
.film[data-scene="3"] .watch { --watch-scene-s: 0.86; }
.film[data-scene="3"] .device {
  background: radial-gradient(110% 80% at 50% 48%, var(--deny-soft), transparent 72%);
}

.device::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  background: linear-gradient(var(--film-bg), transparent);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.device[data-zoom="1"]::after { opacity: 1; }

.rig {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.film[data-scene="0"] .rig-watch,
.film[data-scene="1"] .rig-mac,
.film[data-scene="2"] .rig-phone,
.film[data-scene="3"] .rig-watch {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s;
}

.bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* A fingertip on the glass */
.tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: rgba(150, 150, 160, 0.5);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.95), 0 0 0 3px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

.tap.go { animation: tap-press 0.7s ease-out; }

@keyframes tap-press {
  0% { opacity: 0; transform: scale(1.5); }
  22% { opacity: 1; transform: scale(0.84); }
  58% { opacity: 1; transform: scale(0.84); }
  100% { opacity: 0; transform: scale(1.2); }
}

/* ---- Apple Watch ------------------------------------------------------- */
.watch {
  position: relative;
  width: 284px;
  aspect-ratio: 760 / 1194;
  flex-shrink: 0;
  transform: scale(calc(var(--watch-s, 1) * var(--watch-scene-s, 1)));
}

.watch.buzz { animation: watch-buzz 0.36s linear; }

@keyframes watch-buzz {
  0%, 100% { transform: scale(calc(var(--watch-s, 1) * var(--watch-scene-s, 1))) translateX(0); }
  20%, 60% { transform: scale(calc(var(--watch-s, 1) * var(--watch-scene-s, 1))) translateX(-2px); }
  40%, 80% { transform: scale(calc(var(--watch-s, 1) * var(--watch-scene-s, 1))) translateX(2px); }
}

.watch-screen {
  position: absolute;
  left: 12.6%;
  top: 21.6%;
  width: 74.8%;
  height: 56.8%;
  z-index: 1;
  border-radius: 40px;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: var(--font-native);
}

.wface {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px;
}

.wface-date {
  font: 600 15px/1 ui-rounded, var(--font-native);
  color: #FF9F0A;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.wface-time {
  margin-top: 4px;
  font: 600 74px/1 ui-rounded, var(--font-native);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.wnote {
  position: absolute;
  inset: 0;
  background: #000;
  padding: 9px 7px 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.42s cubic-bezier(0.2, 0.85, 0.25, 1), opacity 0.2s ease;
}

.rig-watch[data-face="clock"] .wnote {
  transform: translateY(102%);
  opacity: 0;
}

.wnote-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 9px 0 3px;
}

.wnote-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
}

.wnote-clock {
  margin-top: 5px;
  font: 600 16px/1 var(--font-native);
  font-variant-numeric: tabular-nums;
}

.wnote-sash {
  margin-top: -12px;
  height: 22px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  padding: 0 11px;
  font: 500 11.5px/22px var(--font-native);
  text-align: right;
  color: rgba(255, 255, 255, 0.72);
}

.wnote-card {
  flex: 1;
  margin-top: 4px;
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, 0.13);
  padding: 9px 6px 0;
  text-align: center;
}

.w-sub {
  font-size: 12.4px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #A6A6AE;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w-site {
  font: 700 26px/1.12 var(--font-native);
  letter-spacing: -0.02em;
}

.w-actions {
  margin-top: 8px;
  padding: 0 3px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.w-pill {
  position: relative;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 17px/1 var(--font-native);
  color: #fff;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.w-pill.deny { background: #E5453D; }
.w-pill.approve { background: #23A455; }
.w-pill.pressed { transform: scale(0.94); filter: brightness(0.82); }
.w-pill.explain { margin: 10px 3px 0; background: #2E2E31; color: #E5453D; }

.w-answer {
  display: none;
  margin-top: 8px;
  height: 42px;
  font: 600 16px/42px var(--font-native);
}

.rig-watch[data-face="answered"] .w-actions { display: none; }
.rig-watch[data-face="answered"] .w-answer { display: block; }
.rig-watch[data-face="answered"] .w-pill.explain { display: none; }

.w-reason {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.22;
}

/* ---- Mac --------------------------------------------------------------- */
.mac {
  position: relative;
  width: 420px;
  flex-shrink: 0;
  transform: scale(var(--mac-s, 1));
}

.mac-panel {
  border-radius: 18px;
  background: var(--sui-surface);
  color: var(--sui-ink);
  font-family: var(--font-native);
  box-shadow: var(--shot-shadow);
  transition: opacity 0.3s ease, transform 0.36s cubic-bezier(0.2, 0.85, 0.25, 1);
}

.rig-mac[data-state="hidden"] .mac-panel {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
}

.mac-asking {
  padding: 16px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.mac-answered {
  display: none;
  padding: 14px 20px;
  align-items: center;
  gap: 12px;
}

.rig-mac[data-state="answered"] .mac-asking { display: none; }
.rig-mac[data-state="answered"] .mac-answered { display: flex; }

.sui-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--sui-ink2);
}

.sui-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.sui-brand img { border-radius: 22.5%; display: block; }
.sui-place { white-space: nowrap; }
.sui-place strong { color: var(--sui-ink); font-weight: 600; }
.sui-sub { font-size: 13px; line-height: 1.3; color: var(--sui-ink2); }

.mac-body {
  text-align: center;
  padding: 6px 0 2px;
}

.mac-site {
  height: 38px;
  font: 700 32px/38px var(--font-native);
  letter-spacing: -0.022em;
}

.mac-quote {
  margin: 12px auto 0;
  font-size: 15px;
  line-height: 1.3;
}

.mac-reply-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-reply {
  flex: 1;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--sui-fill);
  color: var(--sui-ink2);
  font-size: 14px;
  line-height: 36px;
  white-space: nowrap;
  overflow: hidden;
}

.mac-deny {
  height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--sui-deny);
  color: #fff;
  font: 600 13px/36px var(--font-native);
}

.mac-approve {
  height: 44px;
  border-radius: 999px;
  background: var(--sui-approve);
  border: 1.5px solid var(--sui-approve);
  color: #fff;
  font: 600 13px/41px var(--font-native);
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.mac-approve.pressed { transform: scale(0.985); filter: brightness(0.9); }

.rig-mac[data-state="waiting"] .mac-approve {
  background: var(--sui-surface);
  color: var(--sui-approve);
}

.sui-rule { height: 1px; background: var(--sui-line); }

.mac-foot {
  text-align: center;
  font-size: 12px;
  color: var(--sui-ink2);
}

.sui-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sui-approve);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sui-check svg { width: 14px; height: 14px; }

.mac-ans-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mac-ans-copy strong { font-size: 15px; font-weight: 700; }
.mac-ans-copy span { font-size: 13px; color: var(--sui-ink2); }

/* The system's Touch ID dialog */
.tid {
  position: absolute;
  left: 50%;
  top: 71%;
  width: 260px;
  padding: 20px 16px 16px;
  border-radius: 16px;
  background: var(--tid-bg);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  font-family: var(--font-native);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  z-index: 3;
}

.tid.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.tid-icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 6px;
}

.tid-print {
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tid.show:not(.matched) .tid-print { animation: tid-read 1.15s ease-in-out infinite; }

@keyframes tid-read {
  0%, 100% { opacity: 0.45; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}

.tid-check {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--sui-approve);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.18s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tid-check svg { width: 28px; height: 28px; }
.tid.matched .tid-print { opacity: 0; transform: scale(0.7); animation: none; }
.tid.matched .tid-check { opacity: 1; transform: scale(1); }

.tid strong { font-size: 13.5px; font-weight: 700; color: var(--sui-ink); }
.tid > span { font-size: 12px; line-height: 1.3; color: var(--sui-ink2); max-width: 24ch; }

.tid-actions {
  margin-top: 10px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tid-actions span {
  height: 28px;
  border-radius: 7px;
  background: var(--sui-fill);
  color: var(--sui-ink);
  font: 500 12.5px/28px var(--font-native);
}

.pointer {
  position: absolute;
  left: 86%;
  top: 104%;
  width: 17px;
  height: 22px;
  z-index: 4;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
  transition: left 0.62s cubic-bezier(0.3, 0.7, 0.2, 1), top 0.62s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.2s ease, transform 0.1s ease;
}

.pointer.at-button {
  left: 71%;
  top: 74%;
  opacity: 1;
}

.pointer.click { transform: scale(0.84); }
.pointer.away { opacity: 0; }

/* ---- iPhone ------------------------------------------------------------ */
.rig-phone { align-items: flex-end; }

.phone {
  position: relative;
  width: 348px;
  height: 711px;
  flex-shrink: 0;
  margin-bottom: 12px;
  transform-origin: 50% 100%;
  transform: scale(var(--phone-s0, 0.645));
  transition: transform 0.72s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.rig-phone[data-step="app"] .phone { transform: scale(var(--phone-s1, 0.92)); }

.phone-screen {
  position: absolute;
  left: 5.3%;
  top: 2.5%;
  width: 89.4%;
  height: 95%;
  z-index: 1;
  border-radius: 46px;
  overflow: hidden;
  background: var(--sui-surface);
  font-family: var(--font-native);
}

.lock {
  position: absolute;
  inset: 0;
  color: #fff;
  background:
    radial-gradient(90% 60% at 10% 30%, rgba(124, 130, 214, 0.55), transparent 60%),
    radial-gradient(80% 50% at 95% 78%, rgba(82, 110, 190, 0.5), transparent 62%),
    linear-gradient(160deg, #23264A 0%, #10122A 48%, #070812 100%);
  text-align: center;
  transition: opacity 0.26s ease;
}

.lock-date {
  margin-top: 74px;
  font: 600 17px/1 var(--font-native);
  color: rgba(226, 229, 255, 0.86);
}

.lock-time {
  margin-top: 6px;
  font: 700 84px/1 ui-rounded, var(--font-native);
  letter-spacing: -0.03em;
  color: rgba(214, 219, 255, 0.82);
}

.banner {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 14px 13px 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  text-align: left;
  opacity: 0;
  transform: translateY(26px) scale(0.96);
  transition: opacity 0.26s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}

.rig-phone[data-banner="in"] .banner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.banner img { border-radius: 9px; flex-shrink: 0; display: block; }
.banner-copy { flex: 1; min-width: 0; }
.banner-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.banner-top span { font-size: 12px; color: rgba(255, 255, 255, 0.66); }
.banner-sub { font-size: 13.5px; font-weight: 600; line-height: 1.25; margin-top: 1px; }
.banner-body { font-size: 13px; line-height: 1.28; color: rgba(255, 255, 255, 0.86); margin-top: 1px; }

.app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 58px 17px 32px;
  background: var(--sui-surface);
  color: var(--sui-ink);
  opacity: 0;
  transition: opacity 0.26s ease;
}

.rig-phone[data-step="app"] .lock { opacity: 0; }
.rig-phone[data-step="app"] .app { opacity: 1; }

.app-head { font-size: 11.6px; }

.app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-bottom: 30px;
}

.app-sub { font-size: 11.6px; line-height: 1.35; color: var(--sui-ink2); }

.app-site {
  font: 700 26px/1.2 var(--font-native);
  letter-spacing: -0.022em;
}

.app-quote {
  margin: 10px auto 0;
  font-size: 15.4px;
  line-height: 1.28;
  max-width: 17em;
}

.app-answers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-reply-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-reply {
  flex: 1;
  min-width: 0;
  min-height: 39px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--sui-fill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.app-reply-text {
  font-size: 11.6px;
  color: var(--sui-ink2);
  white-space: nowrap;
  overflow: hidden;
}

.app-reply.spoken .app-reply-text { color: var(--sui-ink); }

.app-mic {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--sui-ink);
}

.app-mic svg { width: 100%; height: 100%; display: block; }
.app-mic .ic-stop { display: none; color: var(--sui-deny); }
.app-reply.listening .ic-mic { display: none; }
.app-reply.listening .ic-stop { display: block; animation: dot-blink 0.9s ease-in-out infinite; }

.app-deny {
  position: relative;
  height: 39px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--sui-deny);
  color: #fff;
  font: 600 13px/39px var(--font-native);
  flex-shrink: 0;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.app-deny.pressed { transform: scale(0.95); filter: brightness(0.85); }

.app-approve {
  height: 39px;
  border-radius: 999px;
  background: var(--sui-approve);
  color: #fff;
  font: 600 13px/1 var(--font-native);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.app-foot {
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
  color: var(--sui-ink2);
  padding: 0 8px;
}

.app-result {
  display: none;
  align-items: center;
  gap: 11px;
  padding: 13px 14px;
  margin-bottom: 44px;
  border-radius: 18px;
  background: var(--sui-fill);
}

.app-x {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sui-deny);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.app-x svg { width: 13px; height: 13px; }
.app-result strong { display: block; font-size: 15px; font-weight: 700; }
.app-result div span { display: block; font-size: 12.5px; line-height: 1.3; color: var(--sui-ink2); margin-top: 1px; }

.rig-phone[data-state="answered"] .app-answers { display: none; }
.rig-phone[data-state="answered"] .app-result { display: flex; }

/* ---- Scene controls ---------------------------------------------------- */
.film-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.film-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
}

.film-tab {
  border: 0;
  background: none;
  padding: 4px 0 0;
  color: var(--fg-dim);
  font: 600 13.5px/1.2 var(--font-sans);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: color 0.15s ease;
}

.film-tab:hover,
.film-tab[aria-current="true"] { color: var(--fg); }

.tab-track {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: var(--line-strong);
  overflow: hidden;
}

.tab-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: var(--blue);
}

.film-tab[data-scene="3"] .tab-fill { background: var(--deny); }

.pause-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--film-bg);
  color: var(--fg-muted);
  font: 500 12.5px/1 var(--font-sans);
  cursor: pointer;
  flex-shrink: 0;
}
.pause-btn:hover { color: var(--fg); }

/* ========================================================================
   BANDS BELOW HERO
   ======================================================================== */
.band { padding: 0 0 46px; }

.band > .wrap {
  border-top: 1px solid var(--line);
  padding-top: 46px;
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: 26px;
}

.band-head h2 {
  margin: 0;
  font: 700 clamp(24px, 3.2vw, 34px)/1.12 var(--font-display);
  letter-spacing: -0.025em;
}

.band-head p {
  margin: 8px 0 0;
  max-width: 60ch;
  font-size: 16px;
  color: var(--fg-muted);
}

/* The three rules */
.rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.rule-icon,
.fact-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.rule-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}

.rule-icon svg { width: 24px; height: 24px; }
.rule-icon.auto { background: var(--approve-soft); color: var(--approve); }
.rule-icon.blocked { background: var(--deny-soft); color: var(--deny); }

.rule h3,
.fact h3 {
  margin: 0 0 6px;
  font: 600 18px/1.25 var(--font-display);
}

.rule p,
.fact p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-muted);
}

/* The agent's computer and your devices */
.direct {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--film-bg);
}

.direct-node { text-align: center; }

.node-icons {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--accent);
}

.node-icons svg {
  width: 38px;
  height: 38px;
  display: block;
}

.direct-node strong {
  display: block;
  font: 600 16px/1.25 var(--font-display);
}

.direct-node span { font-size: 13.5px; color: var(--fg-muted); }

.direct-arrows { display: flex; flex-direction: column; gap: 10px; }
.arrow-row { display: flex; flex-direction: column; gap: 4px; }
.arrow-row svg { width: 100%; height: 22px; display: block; }

.arrow-label {
  font-size: 13px;
  line-height: 1.25;
  color: var(--fg-muted);
  text-align: center;
}

.direct-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  font: 500 13px/1 var(--font-sans);
  color: var(--fg);
}

.direct-gate img { border-radius: 6px; display: block; }

.flow-dot { animation: dot-travel 2.6s linear infinite; }
.flow-dot.out { stroke: var(--flow-pulse-out); }
.flow-dot.back { stroke: var(--flow-pulse-back); animation-duration: 2.8s; animation-delay: -1.2s; }

@keyframes dot-travel {
  from { stroke-dashoffset: 108; }
  to { stroke-dashoffset: -12; }
}

.facts {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 28px;
}

.fact-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}

.fact-icon svg { width: 20px; height: 20px; }

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  text-align: left;
  min-width: 560px;
}

.compare-table caption {
  caption-side: bottom;
  text-align: left;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--fg-dim);
  border-top: 1px solid var(--line);
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  font: 600 13px/1.2 var(--font-mono);
  background: var(--bg-surface);
  color: var(--fg);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody th { font-weight: 600; width: 210px; }
.compare-table td { color: var(--fg-muted); }

.col-akr {
  background: var(--accent-soft);
  color: var(--fg) !important;
  font-weight: 500;
}

/* Bottom CTA */
.cta-strip {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-strip h2 { margin: 0; font: 700 clamp(24px, 3vw, 32px)/1.12 var(--font-display); }
.cta-strip p { margin: 6px 0 0; color: var(--fg-muted); max-width: 46ch; }

.waitlist-box { display: flex; flex-direction: column; gap: 10px; min-width: min(100%, 360px); }
.waitlist-row { display: flex; gap: 8px; }
.waitlist-row input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--fg);
  font: 14.5px/1 var(--font-sans);
}

.device-checks-label {
  font-size: 12.5px;
  color: var(--fg-dim);
  margin-bottom: -4px;
}

.device-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 12.5px;
  cursor: pointer;
}
.check-pill input { accent-color: var(--blue); }

.inline-note { font-size: 13px; color: var(--fg-dim); min-height: 1.3em; }
.inline-note.ok { color: var(--approve); font-weight: 500; }

/* Subpages (/security/, /compare/) */
.sub-hero { padding: 36px 0 24px; }
.sub-hero h1 {
  margin: 0;
  font: 700 clamp(30px, 4.4vw, 46px)/1.08 var(--font-display);
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.sub-hero p {
  margin: 12px 0 0;
  max-width: 65ch;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--fg-muted);
}

.prose-col { max-width: 65ch; }
.prose-col h2 { margin: 32px 0 8px; font: 700 22px/1.2 var(--font-display); letter-spacing: -0.02em; }
.prose-col h2:first-child { margin-top: 0; }
.prose-col p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: var(--fg-muted); }
.prose-col ul { margin: 0 0 16px; padding-left: 20px; }
.prose-col li { margin-bottom: 8px; font-size: 16px; line-height: 1.55; color: var(--fg-muted); }

.prose-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 26px 0 42px;
  font-size: 13.5px;
  color: var(--fg-dim);
}

/* Setup steps, 4-up facts, FAQ, and compare choices */
.setup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 28px;
}

.setup-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.setup-item.setup-wide {
  grid-column: 1 / -1;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font: 700 13.5px/1 var(--font-mono);
}

.setup-item h3 {
  margin: 0 0 4px;
  font: 600 16px/1.25 var(--font-display);
}

.setup-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.facts.facts-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}

.faq-item h3 {
  margin: 0 0 6px;
  font: 600 16px/1.3 var(--font-display);
}

.faq-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
}

.choice-box {
  padding: 20px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--bg-elev);
}

.choice-box h2 {
  margin: 0 0 8px;
  font: 700 19px/1.25 var(--font-display);
  letter-spacing: -0.02em;
}

.choice-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-muted);
}

@media (max-width: 760px) {
  .setup-list,
  .facts.facts-4,
  .faq-grid,
  .choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--fg-muted); text-decoration: none; }
.footer-links a:hover { color: var(--fg); }

@media (max-width: 1340px) and (min-width: 1160px) {
  .film { max-width: 760px; }
  .film-stage { grid-template-columns: 310px minmax(0, 1fr); }
}

@media (max-width: 1159px) {
  .city-strip { display: block; }
}

@media (max-height: 940px) and (min-width: 881px) {
  .nav-bar { height: 48px; }
  .hero { padding: 24px 0 36px; }
  .hero-header { margin-bottom: 10px; }
  .hero-header h1 { font-size: clamp(32px, 3.8vw, 42px); }
  .hero-header p { margin-top: 6px; font-size: 15.5px; }
  .hero-cta { margin-top: 10px; }
  .hero-cta .btn { height: 38px; padding: 0 18px; font-size: 14px; }
  .film-stage { height: 400px; }
  .film-side { padding: 16px 20px 18px; }
  .chat-body { margin-top: 12px; gap: 10px; font-size: 13.5px; }
  .wait { padding-top: 12px; }
  .wait-value { font-size: 25px; }
  .device { --watch-s: 0.82; --mac-s: 0.85; --phone-s0: 0.52; --phone-s1: 0.75; }
  .film-controls { margin-top: 10px; }
}

@media (max-height: 860px) and (min-width: 881px) {
  .hero-mascot-svg { width: 64px; height: 64px; }
  .hero-header h1 { font-size: 40px; }
  .hero-header { margin-bottom: 10px; }
}

@media (max-height: 780px) and (min-width: 881px) {
  .nav-bar { height: 44px; }
  .hero { padding: 20px 0 30px; }
  .hero-header h1 { font-size: 36px; }
  .hero-header p { font-size: 14.5px; }
  .film-stage { height: 360px; }
  .device { --watch-s: 0.74; --mac-s: 0.78; --phone-s0: 0.46; --phone-s1: 0.68; }
}

@media (max-width: 880px) {
  .hero { padding: 24px 0 32px; }
  .hero-header { margin-bottom: 6px; }
  .hero-mascot-svg { width: 78px; height: 78px; }
  .hero-header h1 { font-size: clamp(30px, 8.2vw, 40px); }
  .hero-header p { font-size: 15px; margin-top: 8px; }
  .hero-cta { margin-top: 12px; gap: 10px; }
  .city-strip { height: 132px; margin-top: 8px; }

  .film-stage {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .film-side {
    order: 2;
    padding: 14px 16px;
    border-right: 0;
    border-top: 1px solid var(--line);
    min-height: 176px;
  }

  .chat-body { margin-top: 10px; gap: 8px; font-size: 12.5px; }

  .wait {
    padding-top: 10px;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .wait-value { font-size: 19px; }

  .device {
    height: 368px;
    --watch-s: 0.78;
    --phone-s0: 0.50;
    --phone-s1: 0.74;
    --mac-s: 0.82;
  }

  .rules,
  .facts,
  .direct { grid-template-columns: minmax(0, 1fr); }
  .direct { padding: 20px 18px; }
}

@media (max-width: 540px) {
  .wrap { width: min(100% - 24px, var(--max-w)); }
  .nav-bar { gap: 10px; }
  .nav-links { gap: 12px; font-size: 13.5px; }
  .hide-xs { display: none; }
  .waitlist-row { flex-direction: column; }
  .film-controls { flex-wrap: wrap; gap: 10px; }
  .film-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    width: 100%;
  }
  .film-tab { font-size: 12.5px; white-space: nowrap; }
  .pause-btn { margin-left: auto; }
  .device { height: 344px; --watch-s: 0.73; --mac-s: 0.76; --phone-s0: 0.46; --phone-s1: 0.68; }
}

@media (max-width: 400px) {
  .device { --mac-s: 0.70; }
}

.held .film *,
.held .film *::before,
.held .film *::after,
.held .city-tag {
  transition: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
