:root {
  --bg: #050508;
  --text: #f5f5f7;
  --muted: #9898a0;
  --dim: #63636c;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent: #0a84ff;
  --accent-soft: rgba(10, 132, 255, 0.28);
  --accent-glow: rgba(10, 132, 255, 0.4);
  --glass: rgba(255, 255, 255, 0.055);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-ui: "Outfit", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-brand: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  --stage-h: min(62vh, 560px);
  --radius-btn: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 130% 70% at 50% -18%, rgba(10, 132, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 80% 55% at 110% 30%, rgba(10, 132, 255, 0.12), transparent 52%),
    radial-gradient(ellipse 70% 50% at -10% 85%, rgba(10, 132, 255, 0.1), transparent 48%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(255, 255, 255, 0.04), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  letter-spacing: 0.08em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100%;
}

body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor input,
body.has-cursor textarea,
body.has-cursor label {
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 18px;
  outline: none;
  letter-spacing: 0.06em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(10, 132, 255, 0.55);
  background: rgba(10, 132, 255, 0.06);
}

textarea {
  resize: vertical;
  min-height: 160px;
}

label {
  display: block;
  margin: 18px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--dim);
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* continuous cinematic light — never hard panel cuts */
.atmosphere {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.atm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.7;
  will-change: transform;
}

.atm-a {
  width: min(78vw, 820px);
  aspect-ratio: 1;
  top: -12%;
  left: -18%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.32), transparent 68%);
  animation: atmDriftA 28s ease-in-out infinite;
}

.atm-b {
  width: min(62vw, 640px);
  aspect-ratio: 1;
  top: 38%;
  right: -16%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.2), transparent 70%);
  animation: atmDriftB 34s ease-in-out infinite;
}

.atm-c {
  width: min(68vw, 720px);
  aspect-ratio: 1;
  bottom: -18%;
  left: 22%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.16), transparent 72%);
  animation: atmDriftC 40s ease-in-out infinite;
}

.atm-mist {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 55% 40% at 50% 0%, rgba(10, 132, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 45% 35% at 80% 55%, rgba(10, 132, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 32% at 18% 82%, rgba(255, 255, 255, 0.04), transparent 50%);
}

.cinema {
  position: relative;
  z-index: 1;
  background: transparent;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x), var(--cursor-y), 0);
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

body.has-cursor .cursor.is-on {
  opacity: 1;
}

.cursor-core {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.95);
  animation: cursorCorePulse 2.2s ease-in-out infinite;
}

.cursor-glow {
  position: absolute;
  inset: -42px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.12) 36%,
    transparent 70%
  );
  animation: cursorBreath 2.4s ease-in-out infinite;
}

.cursor.is-hot .cursor-glow {
  inset: -58px;
}

.cursor.is-hot .cursor-core {
  inset: 4px;
}

.chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: max(16px, env(safe-area-inset-top)) clamp(18px, 4vw, 48px) 16px;
  pointer-events: none;
  background: transparent;
}

@media (max-width: 720px) {
  body {
    background: var(--bg);
    background-attachment: scroll;
  }

  .noise {
    display: none;
  }

  .atmosphere .atm-orb {
    filter: blur(60px);
    opacity: 0.35;
    animation: none !important;
    will-change: auto;
  }

  .atm-mist {
    opacity: 0.5;
  }

  .chrome {
    padding: max(10px, env(safe-area-inset-top)) 16px 10px;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .chrome-link {
    padding: 8px 12px;
    font-size: 10px;
  }

  .hero {
    min-height: auto;
    min-height: unset;
    padding: calc(64px + env(safe-area-inset-top)) 18px 50px;
    place-items: center start;
  }

  .hero-center {
    width: 100%;
  }

  .credit {
    margin-bottom: 12px;
  }

  .brand-mark {
    font-size: clamp(48px, 15vw, 72px);
    margin-bottom: 16px;
  }

  .manifesto {
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.1em;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: min(100%, 300px);
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 46px;
  }

  .vision {
    min-height: auto !important;
    justify-content: flex-start;
    padding: 50px 18px;
  }

  .vision-kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .vision-title {
    max-width: none;
    font-size: clamp(26px, 7.8vw, 36px);
    gap: 10px;
    row-gap: 10px;
    line-height: 1.05;
  }

  .hero-3d {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
  }
}

.chrome > * {
  pointer-events: auto;
}

.chrome-brand,
.footer-brand,
.brand-mark,
.device-brand,
.close-brand {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.chrome-brand {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.chrome-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch,
.btn,
.apps-modal {
  font-family: var(--font-ui);
}

.lang-switch,
.chrome-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lang-switch:hover {
  color: var(--text);
}

.chrome-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--glass);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
}

.chrome-link:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

/* —— hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 24px 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero-field {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 0;
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 3;
  width: min(860px, 100%);
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.85);
}

.hero-3d {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  display: block;
  opacity: 0.95;
  will-change: transform;
}

.hero-radar,
.hero-orb {
  display: none !important;
}

.hero-falloff {
  display: none !important;
}

.hero-scroll {
  display: none !important;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #fff, transparent);
  animation: scrollBleed 2.4s ease-in-out infinite;
}

.credit {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.32);
}

.brand-mark {
  margin: 0 0 30px;
  font-size: clamp(88px, 20vw, 196px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.brand-glow {
  display: inline-block;
  color: #fff;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.22);
}

.manifesto {
  margin: 0 0 42px;
  font-size: clamp(15px, 2.7vw, 20px);
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.16em;
  color: #b7b7bd;
  text-transform: uppercase;
}

.hero-cta,
.close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-foot {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--dim);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  animation: livePulse 2.2s ease-out infinite;
}

.reveal-line {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-line {
    opacity: 0;
    transform: translateY(28px);
    animation: rise 1.1s var(--ease) forwards;
  }

  .reveal-line:nth-child(1) {
    animation-delay: 0.08s;
  }
  .reveal-line:nth-child(2) {
    animation-delay: 0.24s;
  }
  .reveal-line:nth-child(3) {
    animation-delay: 0.4s;
  }
  .reveal-line:nth-child(4) {
    animation-delay: 0.56s;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-out), background 0.2s ease, border-color 0.2s ease,
    opacity 0.2s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.btn:active {
  transform: scale(0.985);
}

.btn.primary {
  background: #f5f5f7;
  color: #050508;
  border: 0;
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.12), 0 4px 14px rgba(0, 0, 0, 0.55);
}

.btn.primary:hover {
  background: #fff;
  box-shadow: 0 12px 36px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.55);
}

.btn.ghost {
  background: var(--glass);
  border-color: var(--line-strong);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* —— hubtown-style continuous cinema —— */
.vision {
  position: relative;
  min-height: 140svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 14vw, 160px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.vision::before {
  content: none;
}

.vision-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.28);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), color 0.8s var(--ease);
}

.vision.is-active .vision-kicker {
  opacity: 1;
  transform: none;
  color: rgba(255, 255, 255, 0.45);
}

.vision-title {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
  max-width: 16ch;
  font-size: clamp(40px, 8.8vw, 104px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.vision-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    filter 0.85s var(--ease);
}

.vision-line.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.vision-text {
  color: rgba(255, 255, 255, 0.18);
  text-shadow: none;
  transition: color 1s var(--ease), text-shadow 1s var(--ease);
}

.vision-line.is-lit .vision-text {
  color: #fff;
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.45),
    0 0 60px rgba(255, 255, 255, 0.22);
}

.vision-dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-left: 0.12em;
  margin-bottom: 0.12em;
  border-radius: 50%;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transform: scale(0.55);
  opacity: 0;
  transition:
    background 0.7s var(--ease),
    box-shadow 0.7s var(--ease),
    transform 0.7s var(--ease),
    opacity 0.7s var(--ease);
}

.vision-line.is-in .vision-dot {
  opacity: 0.35;
  transform: scale(0.75);
}

.vision-line.is-lit .vision-dot,
.vision-dot.is-on {
  background: #fff;
  opacity: 1;
  transform: scale(1.08);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.95),
    0 0 36px rgba(255, 255, 255, 0.45),
    0 0 64px rgba(255, 255, 255, 0.2);
}

@keyframes dotIgnite {
  0% {
    transform: scale(0.55);
    opacity: 0.3;
  }
  55% {
    transform: scale(1.28);
  }
  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vision-kicker,
  .vision-line,
  .vision-text,
  .vision-dot {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    color: #fff !important;
    transition: none !important;
  }
}

.proof,
.proof-item {
  display: none !important;
}

.proof-item {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-item strong {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
}

.proof-item span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  font-weight: 500;
  max-width: 28ch;
}

.flow {
  position: relative;
  overflow: clip;
  background: transparent;
}

.flow-progress {
  display: none;
}

.panel {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  align-items: stretch;
  overflow: clip;
  isolation: isolate;
}

.panel-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 0;
  will-change: transform;
  background: transparent;
}

.panel-media::before,
.panel-media::after {
  display: none !important;
}

.media-glow {
  display: none !important;
}

.panel-veil {
  display: none !important;
}

.panel-veil {
  display: none !important;
}

.panel-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: end;
  width: min(560px, 100%);
  padding: clamp(48px, 10vw, 96px) clamp(20px, 5vw, 72px) clamp(56px, 9vw, 88px);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  overflow: visible;
}

.panel.is-in .panel-copy {
  opacity: 1;
  transform: none;
}

.panel.is-in .panel-media {
  animation: mediaRise 1.2s var(--ease) both;
}

.panel-index {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.35);
}

.panel-word {
  margin: 0 0 8px;
  max-width: none;
  overflow: visible;
  padding-right: 0.12em;
  font-size: clamp(56px, 12vw, 132px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow:
    0 0 40px rgba(255, 255, 255, 0.16),
    0 0 90px rgba(255, 255, 255, 0.08);
}

.panel-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.panel-copy > p:last-child {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: rgba(183, 183, 189, 0.92);
  font-weight: 500;
  max-width: 36ch;
}

.device {
  position: relative;
  z-index: 1;
  width: min(300px, 62%);
  height: auto;
  aspect-ratio: 9 / 17.2;
  max-height: min(72vh, 560px);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px;
  background: #0a0a0c;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: perspective(1100px) rotateY(-10deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.device-3d {
  transform-origin: center center;
}

.device.is-live {
  animation: deviceFloat3d 7s ease-in-out infinite;
}

.device-screen {
  position: relative;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 130% 70% at 50% -18%, rgba(10, 132, 255, 0.28), transparent 58%),
    #050508;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px;
}

.device-home {
  justify-content: space-between;
}

.device-radar-canvas {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 190%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.85;
}

.device-home-content {
  position: relative;
  z-index: 1;
  margin-top: 28%;
  text-align: left;
}

.device-credit {
  display: block;
  margin: 0 0 8px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
}

.device-brand {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.22);
}

.device-tagline {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.55;
  color: rgba(183, 183, 189, 0.9);
}

.device-actions {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: grid;
  gap: 10px;
}

.device-btn {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  overflow: visible;
  white-space: nowrap;
  font-family: var(--font);
}

.device-btn-label {
  display: inline-block;
  min-width: 12ch;
  text-align: center;
  letter-spacing: 0.08em;
}

.device-btn.fill {
  background: #f5f5f7;
  color: #050508;
  border: 0;
  border-radius: 999px;
}

.code-orb {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(420px, 78vw);
}

.code-rings {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(70vw, 340px);
  height: min(70vw, 340px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.04),
    0 0 0 96px rgba(255, 255, 255, 0.02);
  animation: ringBreathe 4s ease-in-out infinite;
  pointer-events: none;
}

.code-value {
  position: relative;
  font-size: clamp(64px, 13vw, 104px);
  font-weight: 700;
  letter-spacing: 0.3em;
  padding-left: 0.3em;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.28);
}

.code-caption {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--dim);
}

.share-flies {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.share-flies span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  z-index: 2;
  box-shadow: 0 0 12px rgba(10, 132, 255, 0.85);
}

.panel.is-in .share-flies span:nth-child(1) {
  animation: flyOut 2.4s var(--ease) 0.3s infinite;
  top: 38%;
  left: 50%;
}
.panel.is-in .share-flies span:nth-child(2) {
  animation: flyOut 2.4s var(--ease) 0.9s infinite;
  top: 44%;
  left: 50%;
  --dx: 110px;
  --dy: -70px;
}
.panel.is-in .share-flies span:nth-child(3) {
  animation: flyOut 2.4s var(--ease) 1.5s infinite;
  top: 50%;
  left: 50%;
  --dx: -120px;
  --dy: 40px;
}

.stage-canvas {
  position: relative;
  z-index: 1;
  width: min(72vw, 520px);
  height: min(72vw, 520px);
  max-height: min(62vh, 520px);
  display: block;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #070709;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.stage-caption {
  display: none !important;
}

/* —— close: full-bleed immersive —— */
.close {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(100px, 14vw, 160px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background: transparent;
}

.close-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: visible;
}

.close-radar {
  width: min(190vw, 1500px);
  height: auto;
  min-width: min(190vw, 1500px);
  min-height: min(190vw, 1500px);
  max-width: none;
  aspect-ratio: 1;
  display: block;
  opacity: 0.7;
  mix-blend-mode: screen;
  will-change: transform;
}

.close-falloff {
  display: none !important;
}

.close-inner {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.close-brand {
  margin-bottom: 24px;
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

/* —— subpages —— */
.page-center {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-center > .noise,
.page-center > .atmosphere,
.page-center > .cursor,
.page-center > .chrome {
  flex: none;
}

.page-center > .subpage {
  flex: 0 0 auto;
  width: 100%;
}

.page-center > .footer {
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
}

.subpage {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: calc(72px + env(safe-area-inset-top)) clamp(20px, 5vw, 48px) 40px;
}

.subpage-center {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: none;
  padding: calc(72px + env(safe-area-inset-top)) clamp(20px, 5vw, 48px) 32px;
}

.legal-page {
  padding-top: calc(88px + env(safe-area-inset-top));
}

.subpage-shell {
  position: relative;
  width: min(560px, 100%);
}

.subpage-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  width: min(90vw, 480px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.12), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.subpage > *:not(.subpage-glow),
.subpage-shell > *:not(.subpage-glow) {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.subpage h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.lede {
  margin: 0 0 36px;
  max-width: 40ch;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hint {
  margin: 20px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--dim);
  text-align: center;
}

.contact-form {
  display: grid;
  margin-top: 8px;
  padding: 22px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.02);
}

.contact-form .btn {
  width: 100%;
  margin-top: 24px;
}

.contact-status {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-status.is-error {
  color: #ff8f8f;
}

.contact-status.is-ok {
  color: #b7ffc3;
}

.legal-lead {
  margin: 0 0 36px;
  color: var(--muted);
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.legal-section p,
.legal-section li {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  letter-spacing: 0.03em;
  font-size: 15px;
  font-weight: 500;
}

.legal-section ul {
  margin: 0;
  padding-left: 18px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: space-between;
  align-items: center;
  padding: 22px clamp(20px, 5vw, 72px) calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--dim);
  background: transparent;
}

.footer-brand {
  color: var(--text);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
}

.footer-nav a {
  color: var(--dim);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #fff;
}

@media (max-width: 560px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* —— apps lightbox —— */
.apps-modal[hidden] {
  display: none !important;
}

.apps-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.apps-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  border: 0;
  cursor: pointer;
}

.apps-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88svh, 820px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 42%),
    #0a0a0c;
  padding: clamp(28px, 5vw, 40px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
  animation: rise 0.45s var(--ease) both;
}

.apps-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.apps-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.apps-modal-panel .eyebrow {
  margin-bottom: 10px;
}

.apps-modal-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.apps-modal-lede {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.04em;
  font-size: 15px;
  font-weight: 500;
  max-width: 42ch;
}

.apps-cards {
  display: grid;
  gap: 14px;
}

.apps-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.025);
}

.apps-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.apps-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.03em;
  font-size: 14px;
  font-weight: 500;
}

.apps-pill {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
}

.apps-download {
  width: 100%;
  margin-top: 18px;
}

.apps-warn {
  margin-top: 12px !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  color: #a8a8b0 !important;
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 720px) {
  .apps-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes stageIn {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mediaRise {
  from {
    opacity: 0.55;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scrollBleed {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes atmDriftA {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, 12%) scale(1.12);
  }
}

@keyframes atmDriftB {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10%, -8%) scale(1.08);
  }
}

@keyframes atmDriftC {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(6%, -10%) scale(1.15);
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes cursorCorePulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes cursorBreath {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
  }
}

@keyframes orbPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes btnGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.28);
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(10px) rotate(-0.4deg);
  }
  50% {
    transform: translateY(-6px) rotate(0.5deg);
  }
}

@keyframes deviceFloat3d {
  0%,
  100% {
    transform: perspective(1100px) rotateY(-10deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: perspective(1100px) rotateY(-7deg) rotateX(2deg) translateY(-6px);
  }
}

@keyframes deviceTap {
  0% {
    transform: perspective(900px) rotateY(-18deg) rotateX(8deg) scale(1);
  }
  40% {
    transform: perspective(900px) rotateY(-14deg) rotateX(6deg) scale(0.97);
  }
  100% {
    transform: perspective(900px) rotateY(-18deg) rotateX(8deg) scale(1);
  }
}

@keyframes brandPulse {
  0%,
  100% {
    opacity: 0.82;
    text-shadow: 0 0 18px rgba(10, 132, 255, 0.12);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 34px rgba(10, 132, 255, 0.4);
  }
}

@keyframes createTap {
  0%,
  55%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(10, 132, 255, 0);
  }
  62% {
    transform: scale(0.96);
    box-shadow: 0 0 22px rgba(10, 132, 255, 0.4);
  }
  72% {
    transform: scale(1.02);
    box-shadow: 0 0 34px rgba(10, 132, 255, 0.55);
  }
  82% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(10, 132, 255, 0.28);
  }
}

@keyframes ghostTap {
  0%,
  78%,
  100% {
    opacity: 0.55;
    border-color: var(--line);
  }
  86%,
  92% {
    opacity: 0.95;
    border-color: rgba(10, 132, 255, 0.55);
  }
}

@keyframes ringBreathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 1;
  }
}

@keyframes flyOut {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 160px), var(--dy, -70px)) scale(0.2);
  }
}

@media (min-width: 960px) {
  .proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 48px;
    padding-bottom: clamp(80px, 12vw, 140px);
  }

  .proof-item {
    border-top: 0;
    border-right: 0;
    padding: 0;
    min-height: auto;
    align-content: start;
  }

  .proof-item + .proof-item {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 48px;
  }

  .flow-progress {
    display: block;
    position: sticky;
    top: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 30;
  }

  .flow-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), #fff);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  }

  .panel-copy {
    justify-content: center;
    align-self: stretch;
    width: min(48%, 560px);
    padding: 0 clamp(36px, 5vw, 80px);
  }

  .panel:nth-of-type(odd) .panel-media {
    justify-items: end;
    padding-right: clamp(4%, 8vw, 12%);
  }

  .panel:nth-of-type(even) .panel-media {
    justify-items: start;
    padding-left: clamp(4%, 8vw, 12%);
  }

  .panel-veil {
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 8, 0.72) 0%,
        rgba(5, 5, 8, 0.35) 28%,
        rgba(5, 5, 8, 0.08) 52%,
        transparent 72%
      ),
      linear-gradient(180deg, rgba(5, 5, 8, 0.18) 0%, transparent 28%, transparent 72%, rgba(5, 5, 8, 0.28) 100%);
  }

  .panel:nth-of-type(even) .panel-copy {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
  }

  .panel:nth-of-type(even) .panel-copy > p:last-child {
    margin-left: auto;
  }

  .panel:nth-of-type(even) .panel-veil {
    background:
      linear-gradient(
        270deg,
        rgba(5, 5, 8, 0.72) 0%,
        rgba(5, 5, 8, 0.35) 28%,
        rgba(5, 5, 8, 0.08) 52%,
        transparent 72%
      ),
      linear-gradient(180deg, rgba(5, 5, 8, 0.18) 0%, transparent 28%, transparent 72%, rgba(5, 5, 8, 0.28) 100%);
  }

  .panel:nth-of-type(even) .panel-media::before {
    right: auto;
    left: 8%;
  }

  .panel:nth-of-type(even) .panel-media::after {
    left: auto;
    right: 16%;
  }

  .device {
    width: min(300px, 34vw);
  }
}

@media (max-width: 959px) {
  .panel-media {
    inset: 0 0 36% 0;
  }

  .panel-veil {
    background:
      linear-gradient(180deg, rgba(5, 5, 8, 0.12) 0%, rgba(5, 5, 8, 0.08) 42%, rgba(5, 5, 8, 0.55) 72%, rgba(5, 5, 8, 0.35) 100%),
      linear-gradient(90deg, rgba(5, 5, 8, 0.28), transparent 55%);
  }
}

/* Mobile spacing + perf — must come after the 959px panel rules */
@media (max-width: 720px) {
  .vision {
    min-height: auto !important;
    justify-content: flex-start;
    padding: 50px 18px;
  }

  .vision-kicker {
    margin-bottom: 28px;
  }

  .vision-title {
    max-width: none;
    font-size: clamp(26px, 7.8vw, 36px);
    gap: 10px !important;
    row-gap: 10px !important;
    line-height: 1.05;
  }

  .vision-line {
    margin: 0 !important;
    padding: 0;
  }

  .panel {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 110px 0;
    gap: 72px;
  }

  .panel-media {
    position: relative;
    inset: auto !important;
    min-height: 38vh;
    max-height: 42vh;
    flex: 0 0 auto;
    will-change: auto;
  }

  .panel-veil {
    display: none;
  }

  .panel-copy {
    position: relative;
    align-self: stretch;
    width: 100%;
    padding: 0 18px;
    opacity: 1;
    transform: none;
  }

  .panel-word {
    font-size: clamp(36px, 11vw, 56px);
    margin-bottom: 8px;
  }

  .panel-copy h2 {
    font-size: clamp(20px, 5.8vw, 28px);
    margin: 8px 0 12px;
  }

  .panel-copy > p:last-child {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
  }

  .panel.is-in .panel-media {
    animation: none;
  }

  .flow {
    padding-top: 0;
  }

  .close {
    min-height: auto;
    padding: 50px 18px;
  }

  .close-brand {
    font-size: clamp(48px, 14vw, 80px);
    margin-bottom: 20px;
  }

  .close-radar {
    width: min(140vw, 900px);
    min-width: min(140vw, 900px);
    min-height: min(140vw, 900px);
    opacity: 0.45;
    will-change: auto;
  }

  .footer {
    padding: 50px 18px calc(24px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 959px), (pointer: coarse) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor textarea,
  body.has-cursor label {
    cursor: auto;
  }

  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-line {
    opacity: 1;
    transform: none;
  }

  .panel-copy {
    opacity: 1;
    transform: none;
  }

  .cursor {
    display: none;
  }

  body.has-cursor {
    cursor: auto;
  }
}
