/* ============================================================
   随手拍 · 视频防抖王 — landing styles
   Lens-glass system: matte black barrel, silver bezel, icy glass
   ============================================================ */

:root {
  --bg: #05080b;
  --bg-soft: #070c11;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --ice: #8fd8f8;
  --ice-bright: #dff5ff;
  --ice-deep: #1d5a77;
  --silver-1: #f6fafc;
  --silver-2: #c6d2db;
  --silver-3: #7d8a95;
  --silver-4: #3a444d;
  --text: #eef3f7;
  --muted: #9aa8b2;
  --muted-2: #6d7b85;
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    radial-gradient(1300px 900px at 82% -12%, rgba(101, 186, 222, 0.16), transparent 62%),
    radial-gradient(900px 700px at 6% 16%, rgba(63, 130, 158, 0.08), transparent 66%),
    radial-gradient(1000px 800px at 50% 110%, rgba(36, 92, 116, 0.1), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(143, 216, 248, 0.28);
  color: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ice-bright);
  color: #04121a;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2f7f9f, var(--ice), var(--ice-bright));
  box-shadow: 0 0 14px rgba(143, 216, 248, 0.7);
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  width: min(var(--max), calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-nav.is-scrolled {
  background: rgba(7, 11, 16, 0.72);
  border-color: var(--line);
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.nav-brand img {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 6px 16px -6px rgba(0, 0, 0, 0.8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.is-active {
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(143, 216, 248, 0.22);
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--silver-1), #cfe2ee 46%, #93b4c6);
  color: #05141c;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 26px -12px rgba(143, 216, 248, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 32px -12px rgba(143, 216, 248, 0.8);
}

.nav-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice-deep);
  box-shadow: 0 0 8px rgba(29, 90, 119, 0.8);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(126px, 17vh, 176px) 0 clamp(48px, 7vh, 84px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hero-glow.g1 {
  top: -18%;
  right: -8%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(118, 201, 235, 0.22), transparent 66%);
}

.hero-glow.g2 {
  bottom: -30%;
  left: -14%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(46, 112, 140, 0.18), transparent 68%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 58% 42%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 72% at 58% 42%, #000 10%, transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy > * {
  animation: riseIn 0.95s var(--ease) both;
}

.hero-copy > *:nth-child(1) { animation-delay: 0.04s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.36s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9fc9dc;
}

.eyebrow .index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: 2px 6px;
  border: 1px solid rgba(143, 216, 248, 0.28);
  border-radius: 6px;
  color: #bfe9fa;
  font-size: 9px;
  letter-spacing: 0.1em;
  background: rgba(143, 216, 248, 0.06);
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 10px rgba(143, 216, 248, 0.9);
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(143, 216, 248, 0.5);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(0.55); opacity: 0.9; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

.hero-title {
  margin: 22px 0 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.title-metal {
  display: block;
  font-size: clamp(50px, 7vw, 102px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  background: linear-gradient(104deg, #ffffff 0%, #e8f6fd 26%, #a4b1bb 52%, #66737d 70%, #edf8fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 14px 46px rgba(143, 216, 248, 0.18));
}

.title-sub {
  display: block;
  margin-top: 0.24em;
  font-size: clamp(27px, 3.3vw, 45px);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: #e2ecf2;
}

.title-sub em {
  font-style: normal;
}

.title-sub .ice {
  background: linear-gradient(100deg, var(--ice-bright), var(--ice) 55%, #4fa6c8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.title-comma {
  color: var(--muted-2);
  font-weight: 500;
}

.title-period {
  color: var(--ice);
}

.lede {
  margin: 0;
  max-width: 33em;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.9;
  color: #a7b5bf;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.cta-row.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--silver-1), #d4e6f1 45%, #92b3c5);
  color: #05141c;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 38px -16px rgba(143, 216, 248, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 46px -16px rgba(143, 216, 248, 0.85);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #dfe9f0;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 216, 248, 0.42);
  background: rgba(143, 216, 248, 0.07);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  margin: 38px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 26px;
}

.hero-proof li + li {
  padding-left: 26px;
  border-left: 1px solid var(--line-soft);
}

.hero-proof .mono {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.hero-proof strong {
  font-size: 14px;
  font-weight: 600;
  color: #dfe9f0;
  letter-spacing: 0.02em;
}

/* ---------- Hero demo / lens panel ---------- */

.hero-demo {
  position: relative;
  animation: riseIn 1.1s var(--ease) 0.18s both;
}

.lens-panel {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
    radial-gradient(120% 90% at 50% 0%, rgba(143, 216, 248, 0.06), transparent 60%);
  box-shadow:
    0 50px 90px -50px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.lens-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.22), transparent 38%, transparent 62%, rgba(143, 216, 248, 0.14));
  -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;
  pointer-events: none;
}

.demo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px 8px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #9fb0ba;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fe3b0;
  box-shadow: 0 0 9px rgba(143, 227, 176, 0.9);
  animation: livePulse 2.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.demo-readout {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #cfeeff;
  font-variant-numeric: tabular-nums;
}

.tilt-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(500px, 64vh, 600px);
  margin: 4px 0 10px;
}

.stage-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
}

.stage-ring.r1 {
  width: min(68%, 380px);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

.stage-ring.r2 {
  width: min(94%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(143, 216, 248, 0.07);
  box-shadow: inset 0 0 60px rgba(143, 216, 248, 0.03);
}

.stage-axis {
  position: absolute;
  left: 3%;
  right: 3%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 216, 248, 0.32) 18%, rgba(143, 216, 248, 0.32) 82%, transparent);
  pointer-events: none;
}

.stage-axis-label {
  position: absolute;
  right: 4%;
  top: calc(50% - 20px);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: rgba(143, 216, 248, 0.5);
  pointer-events: none;
}

.phone-sway {
  animation: floaty 7.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(-5px); }
  50% { transform: translateY(5px); }
}

.tilt-phone {
  --tilt: 0deg;
  width: clamp(198px, 16.5vw, 240px);
  transform: rotate(var(--tilt));
  will-change: transform;
}

.phone-bezel {
  position: relative;
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(150deg, #f7fafc 0%, #c8d2da 16%, #7c8994 38%, #343e47 58%, #59646e 78%, #eef4f8 100%);
  box-shadow:
    0 42px 80px -30px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.4;
  border-radius: 43px;
  overflow: hidden;
  background: #041018;
  isolation: isolate;
}

.phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 34%;
  height: 17px;
  border-radius: 999px;
  background: #010407;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.world {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 30% at 26% 48%, rgba(213, 243, 255, 0.2), transparent 70%),
    linear-gradient(180deg, #04101a 0%, #082130 30%, #1a5266 50%, #8fc7d8 55.4%, #123a49 56.4%, #0b2a37 72%, #04131b 100%);
}

.world-sun {
  position: absolute;
  left: 24%;
  top: 33%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, #f6fdff, #c3eaf8 46%, rgba(143, 216, 248, 0.15) 68%, transparent 70%);
  box-shadow: 0 0 70px 18px rgba(143, 216, 248, 0.25);
}

.world-haze {
  position: absolute;
  inset: 30% 0 34%;
  background: radial-gradient(60% 90% at 28% 62%, rgba(222, 246, 255, 0.28), transparent 70%);
  mix-blend-mode: screen;
}

.world-hills {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  width: 100%;
  height: 14%;
}

.world-sea {
  position: absolute;
  inset: 56% 0 0;
  background: linear-gradient(180deg, #123747 0%, #0b2836 34%, #05131c 100%);
  overflow: hidden;
}

.world-sea::before {
  content: "";
  position: absolute;
  left: 6%;
  width: 46%;
  top: -6%;
  height: 52%;
  background: radial-gradient(50% 100% at 50% 0%, rgba(190, 235, 250, 0.38), transparent 72%);
  filter: blur(7px);
}

.world-sea::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(143, 216, 248, 0.11) 0 1px, transparent 1px 13px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}

.world-horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 245, 255, 0.9) 16%, rgba(255, 255, 255, 0.92) 50%, rgba(220, 245, 255, 0.9) 84%, transparent);
  box-shadow: 0 0 12px rgba(143, 216, 248, 0.55);
}

.level-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68%;
  height: 42%;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--tilt, 0deg)));
  transform-origin: 50% 50%;
  border: 1.4px solid rgba(143, 216, 248, 0.95);
  border-radius: 3px;
  box-shadow:
    0 0 0 1px rgba(2, 10, 14, 0.35),
    0 0 22px rgba(143, 216, 248, 0.3),
    inset 0 0 22px rgba(143, 216, 248, 0.08);
  background-image:
    linear-gradient(90deg, transparent 33.1%, rgba(255, 255, 255, 0.16) 33.1% 33.4%, transparent 33.4% 66.6%, rgba(255, 255, 255, 0.16) 66.6% 66.9%, transparent 66.9%),
    linear-gradient(180deg, transparent 33.1%, rgba(255, 255, 255, 0.16) 33.1% 33.4%, transparent 33.4% 66.6%, rgba(255, 255, 255, 0.16) 66.6% 66.9%, transparent 66.9%);
}

.frame-cross {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--ice-bright);
  box-shadow: 0 0 8px rgba(143, 216, 248, 0.9);
}

.world-hud {
  position: absolute;
  top: 7.5%;
  left: 7%;
  right: 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 10, 14, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(235, 248, 255, 0.85);
}

.hud-chip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 6px rgba(143, 216, 248, 0.9);
}

.stage-hint {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: #5e6c76;
  white-space: nowrap;
}

.tilt-controls {
  padding: 0 4px;
}

.tilt-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 26px;
  background: transparent;
  cursor: ew-resize;
}

.tilt-range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 216, 248, 0.14), rgba(255, 255, 255, 0.14) 50%, rgba(143, 216, 248, 0.14));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.tilt-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: radial-gradient(circle at 35% 30%, #ffffff, #c3eaf9 46%, #5ba7c6 100%);
  box-shadow: 0 0 18px rgba(143, 216, 248, 0.65);
}

.tilt-range::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 216, 248, 0.14), rgba(255, 255, 255, 0.14) 50%, rgba(143, 216, 248, 0.14));
}

.tilt-range::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: radial-gradient(circle at 35% 30%, #ffffff, #c3eaf9 46%, #5ba7c6 100%);
  box-shadow: 0 0 18px rgba(143, 216, 248, 0.65);
}

.tilt-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  margin-top: -3px;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #5b6973;
}

.demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
}

.lock-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: #9fd0e3;
}

.lock-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 9px rgba(143, 216, 248, 0.85);
}

.lock-state.is-locked i {
  animation: livePulse 1.8s ease-in-out infinite;
}

.auto-toggle {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #8fa3ae;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.auto-toggle[aria-pressed="true"] {
  color: #06131b;
  background: linear-gradient(135deg, var(--ice-bright), var(--ice));
  border-color: transparent;
}

.demo-caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #74838d;
}

/* ---------- Ribbon ---------- */

.ribbon {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(143, 216, 248, 0.05), transparent 30%, transparent 70%, rgba(143, 216, 248, 0.05));
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

.ribbon-group {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(223, 245, 255, 0.5);
}

.ribbon-group i {
  margin: 0 26px;
  font-style: normal;
  font-size: 9px;
  color: rgba(143, 216, 248, 0.7);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(64px, 10vw, 148px) 0;
}

.section-inner {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: end;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: clamp(36px, 5vw, 62px);
}

.section-heading h2 {
  margin: 16px 0 0;
  font-size: clamp(31px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--ice);
  background: linear-gradient(100deg, var(--ice-bright), var(--ice) 60%, #58aecd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-lede {
  margin: 0;
  justify-self: end;
  max-width: 21em;
  font-size: 15px;
  line-height: 1.85;
  color: #97a5af;
}

/* ---------- Compare ---------- */

.compare-section {
  padding-top: clamp(70px, 9vw, 120px);
}

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

.compare-card {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: 0 34px 70px -50px rgba(0, 0, 0, 0.9);
}

.compare-frame-wrap {
  position: relative;
  height: clamp(250px, 27vw, 330px);
  overflow: hidden;
  background: #040e15;
}

.compare-view {
  position: absolute;
  inset: -15%;
  transform-origin: 50% 50%;
}

.scene {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 16% 11%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 27% 6%, rgba(255, 255, 255, 0.32), transparent),
    radial-gradient(1.4px 1.4px at 61% 9%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 79% 5%, rgba(255, 255, 255, 0.28), transparent),
    radial-gradient(1.3px 1.3px at 88% 14%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(56% 34% at 24% 46%, rgba(210, 242, 255, 0.2), transparent 70%),
    linear-gradient(180deg, #030c13 0%, #071d28 30%, #154456 46%, #5b95a8 52.6%, #cfeefa 55%, #153a47 55.6%, #0b2635 68%, #04121a 100%);
}

.scene::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 46%;
  height: 14%;
  background: radial-gradient(50% 100% at 50% 60%, rgba(190, 235, 250, 0.28), transparent 72%);
  filter: blur(10px);
}

.scene::after {
  content: "";
  position: absolute;
  inset: 56% 0 0;
  background: repeating-linear-gradient(180deg, rgba(143, 216, 248, 0.12) 0 1px, transparent 1px 16px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%);
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

.scene-sun {
  position: absolute;
  left: 23%;
  top: 29%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, #f6fdff, #c3eaf8 46%, rgba(143, 216, 248, 0.14) 68%, transparent 70%);
  box-shadow: 0 0 66px 18px rgba(143, 216, 248, 0.24);
}

.scene-hills {
  position: absolute;
  left: 0;
  right: 0;
  top: 41%;
  width: 100%;
  height: 15%;
}

.scene-horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 55.4%;
  height: 1.5px;
  background: rgba(228, 248, 255, 0.9);
  box-shadow: 0 0 14px rgba(143, 216, 248, 0.65);
}

.scene-boat {
  position: absolute;
  left: 67%;
  top: 52.4%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 18px solid rgba(228, 246, 255, 0.9);
  filter: drop-shadow(0 0 6px rgba(143, 216, 248, 0.5));
}

.scene-boat::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 18px;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: rgba(228, 246, 255, 0.72);
}

.compare-badge,
.compare-angle {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 10, 14, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #dfe9f0;
}

.compare-badge {
  top: 14px;
  left: 14px;
}

.compare-angle {
  top: 14px;
  right: 14px;
  border-radius: 8px;
  color: #9fb0ba;
  font-size: 8.5px;
}

.dot-warn,
.dot-ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot-warn {
  background: #f0b57e;
  box-shadow: 0 0 9px rgba(240, 181, 126, 0.7);
}

.dot-ok {
  background: var(--ice);
  box-shadow: 0 0 9px rgba(143, 216, 248, 0.85);
}

.raw .compare-view {
  animation: sway 7s ease-in-out infinite;
}

.locked .compare-view {
  animation: sway 7s ease-in-out infinite;
}

.locked .scene,
.locked .compare-level {
  animation: swayInverse 7s ease-in-out infinite;
}

@keyframes sway {
  0%, 100% { transform: rotate(-5.5deg) translateY(0); }
  50% { transform: rotate(5.5deg) translateY(-7px); }
}

@keyframes swayInverse {
  0%, 100% { transform: rotate(5.5deg); }
  50% { transform: rotate(-5.5deg); }
}

.compare-level {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: 44%;
  translate: -50% -50%;
  transform-origin: 50% 50%;
  border: 1.4px solid rgba(143, 216, 248, 0.9);
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(143, 216, 248, 0.3), inset 0 0 20px rgba(143, 216, 248, 0.08);
  background-image:
    linear-gradient(90deg, transparent 33.1%, rgba(255, 255, 255, 0.14) 33.1% 33.4%, transparent 33.4% 66.6%, rgba(255, 255, 255, 0.14) 66.6% 66.9%, transparent 66.9%);
}

.compare-body {
  padding: 22px 26px 26px;
}

.compare-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.compare-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #8e9ca6;
}

/* ---------- Feature bento ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.bento {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 250px;
  padding: 24px 24px 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.bento:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 216, 248, 0.32);
  background: linear-gradient(168deg, rgba(143, 216, 248, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow: 0 30px 64px -40px rgba(143, 216, 248, 0.4);
}

.bento-wide {
  grid-column: span 3;
}

.bento-full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-height: 0;
  padding: 30px 34px;
}

.bento-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 98px;
}

.bento-copy {
  position: relative;
}

.bento-full .bento-copy {
  max-width: 520px;
}

.bento-index {
  margin: 0 0 8px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(143, 216, 248, 0.75);
}

.bento h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bento p:not(.bento-index) {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: #8e9ca6;
}

/* gyro visual */

.gyro-viz {
  overflow: hidden;
}

.gyro-ring {
  position: absolute;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  border: 1px dashed rgba(143, 216, 248, 0.24);
  animation: spin 26s linear infinite;
}

.gyro-ring.inner {
  width: 96px;
  height: 96px;
  border-style: solid;
  border-color: rgba(143, 216, 248, 0.14);
  animation: none;
}

.gyro-line {
  position: relative;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 216, 248, 0.9), transparent);
  box-shadow: 0 0 12px rgba(143, 216, 248, 0.55);
}

.gyro-chip {
  position: absolute;
  right: 8%;
  top: 22%;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(143, 216, 248, 0.25);
  background: rgba(4, 12, 17, 0.7);
  font-size: 8.5px;
  color: var(--ice);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* zoom visual */

.zoom-viz {
  gap: 16px;
}

.mini-phone {
  display: grid;
  place-items: center;
  width: 34px;
  height: 58px;
  border-radius: 9px;
  border: 1.3px solid rgba(223, 245, 255, 0.7);
  background: rgba(143, 216, 248, 0.06);
  box-shadow: 0 0 20px rgba(143, 216, 248, 0.14);
}

.mini-phone.wide {
  width: 58px;
  height: 34px;
}

.mini-phone i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9px;
  color: var(--ice);
}

.zoom-arrow {
  font-size: 17px;
  color: rgba(143, 216, 248, 0.8);
}

/* resolution visual */

.res-viz {
  gap: 8px;
}

.res-chip {
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #a9b7c1;
}

.res-chip.on {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ice-bright), var(--ice));
  color: #06131b;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(143, 216, 248, 0.35);
}

/* aspect visual */

.aspect-viz {
  align-items: center;
  gap: 9px;
}

.aspect-box {
  display: grid;
  place-items: center;
  border-radius: 4px;
  border: 1px solid rgba(223, 245, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 8px;
  color: #9fb0ba;
}

.aspect-box.sq {
  width: 38px;
  height: 38px;
}

.aspect-box.std {
  width: 50px;
  height: 38px;
  border-color: rgba(143, 216, 248, 0.9);
  color: var(--ice);
  box-shadow: 0 0 16px rgba(143, 216, 248, 0.2);
}

.aspect-box.wide {
  width: 64px;
  height: 36px;
}

/* focus visual */

.focus-viz {
  gap: 14px;
}

.reticle {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1.3px solid rgba(223, 245, 255, 0.8);
  border-radius: 7px;
  box-shadow: 0 0 20px rgba(143, 216, 248, 0.22);
}

.reticle::before,
.reticle::after {
  content: "";
  position: absolute;
  background: rgba(223, 245, 255, 0.75);
}

.reticle::before {
  left: 50%;
  top: 30%;
  width: 1px;
  height: 40%;
  translate: -50% 0;
}

.reticle::after {
  top: 50%;
  left: 30%;
  height: 1px;
  width: 40%;
  translate: 0 -50%;
}

.ev-slider {
  position: relative;
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 216, 248, 0.7) 55%, rgba(255, 255, 255, 0.12) 55%);
}

.ev-slider i {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 10px;
  height: 10px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--ice-bright);
  box-shadow: 0 0 10px rgba(143, 216, 248, 0.8);
}

.ev {
  font-size: 9.5px;
  color: #9fb0ba;
}

/* album visual */

.album-viz {
  width: 250px;
  height: 120px;
  flex: 0 0 auto;
}

.album-card {
  position: absolute;
  width: 128px;
  height: 88px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(70% 80% at 30% 20%, rgba(143, 216, 248, 0.28), transparent 70%),
    linear-gradient(160deg, #12313e, #061117);
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.9);
}

.album-card.a1 {
  left: 12px;
  top: 20px;
  transform: rotate(-8deg);
  opacity: 0.55;
}

.album-card.a2 {
  left: 52px;
  top: 12px;
  transform: rotate(5deg);
  opacity: 0.8;
}

.album-card.a3 {
  left: 92px;
  top: 22px;
  transform: rotate(11deg);
}

.album-check {
  position: absolute;
  right: 34px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ice-bright), var(--ice));
  color: #06131b;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(143, 216, 248, 0.5);
}

/* ---------- Modes ---------- */

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mode-card {
  display: flex;
  flex-direction: column;
  padding: 0 26px 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.mode-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 216, 248, 0.3);
  box-shadow: 0 30px 64px -44px rgba(143, 216, 248, 0.4);
}

.mode-card.is-default {
  border-color: rgba(143, 216, 248, 0.34);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(143, 216, 248, 0.1), transparent 70%),
    linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.mode-top {
  position: relative;
  display: grid;
  place-items: center;
  height: 126px;
  margin: 0 -26px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(80% 130% at 50% 0%, rgba(143, 216, 248, 0.12), transparent 72%);
  color: rgba(228, 246, 255, 0.92);
}

.mode-top::before {
  content: "";
  position: absolute;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  border: 1px dashed rgba(143, 216, 248, 0.18);
}

.mode-top svg {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  filter: drop-shadow(0 0 14px rgba(143, 216, 248, 0.22));
}

.mode-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-no {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}

.mode-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.mode-tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(143, 216, 248, 0.32);
  background: rgba(143, 216, 248, 0.12);
  color: #bfe9fa;
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.mode-card p {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: #8e9ca6;
}

.mode-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mode-points li {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: #93a4ae;
}

/* ---------- Manifesto ---------- */

.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 13vw, 170px) 0;
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(80% 100% at 18% 0%, rgba(143, 216, 248, 0.09), transparent 62%),
    #04080b;
}

.manifesto-glow {
  position: absolute;
  right: -12%;
  top: 8%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 216, 248, 0.14), transparent 66%);
  filter: blur(50px);
  pointer-events: none;
}

.manifesto-inner {
  position: relative;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.manifesto-line {
  position: relative;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.manifesto .eyebrow {
  margin-bottom: 34px;
}

.manifesto-line.m1 {
  font-size: clamp(44px, 8.2vw, 118px);
  background: linear-gradient(103deg, #ffffff, #e7f5fc 30%, #a7b4be 56%, #6a7781 74%, #e9f7fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.manifesto-line.m2 {
  margin-left: 7%;
  margin-top: 0.06em;
  font-size: clamp(54px, 10.4vw, 150px);
  color: rgba(255, 255, 255, 0.045);
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.5);
}

.manifesto-line.m3 {
  margin-left: 13%;
  margin-top: 0.05em;
  font-size: clamp(62px, 12vw, 172px);
  background: linear-gradient(105deg, var(--ice-bright), var(--ice) 46%, #3f93b4 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 60px rgba(143, 216, 248, 0.22));
}

.manifesto-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}

.manifesto-foot p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: #9aa8b2;
}

.manifesto-foot .mono {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: #5f6d77;
  white-space: nowrap;
}

/* ---------- Download ---------- */

.download {
  padding-bottom: clamp(90px, 12vw, 150px);
}

.download-inner {
  width: min(780px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  text-align: center;
}

.download-icon-wrap {
  position: relative;
  width: 176px;
  height: 176px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
}

.download-icon-wrap::before,
.download-icon-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(143, 216, 248, 0.12);
}

.download-icon-wrap::before {
  inset: 6px;
}

.download-icon-wrap::after {
  inset: -14px;
  border-color: rgba(255, 255, 255, 0.05);
}

.download-icon {
  width: 112px;
  height: 112px;
  border-radius: 27px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 30px 60px -22px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(143, 216, 248, 0.24);
}

.download .eyebrow.center {
  justify-content: center;
}

.download h2 {
  margin: 16px 0 16px;
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lede.center {
  margin-inline: auto;
  max-width: 32em;
  justify-self: auto;
  text-align: center;
}

.download .cta-row {
  margin-top: 30px;
}

.download-note {
  margin: 32px 0 0;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: #5f6d77;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 36px 0 44px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c7d3db;
}

.footer-brand img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #8e9ca6;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #55636d;
}

/* ---------- Legal / Privacy ---------- */

.legal {
  padding: 120px var(--gutter) 80px;
}

.legal-inner {
  width: min(760px, 100%);
  margin-inline: auto;
}

.legal-head {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-head h1 {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-body {
  color: #c5d0d8;
  font-size: 0.98rem;
  line-height: 1.85;
}

.legal-body h2 {
  margin: 2.2em 0 0.7em;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal-body h3 {
  margin: 1.5em 0 0.55em;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ice-bright);
}

.legal-body p {
  margin: 0 0 1em;
}

.legal-body ul {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

.legal-body li {
  margin: 0.45em 0;
}

.legal-body a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(143, 216, 248, 0.35);
}

.legal-body a:hover {
  color: var(--ice-bright);
  text-decoration-color: rgba(223, 245, 255, 0.55);
}

.legal-body strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-demo {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .tilt-stage {
    height: clamp(460px, 62vh, 540px);
  }

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

  .bento,
  .bento-wide {
    grid-column: auto;
  }

  .bento-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-lede {
    justify-self: start;
    max-width: 34em;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-top {
    height: 100px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .manifesto-line.m2 {
    margin-left: 4%;
  }

  .manifesto-line.m3 {
    margin-left: 8%;
  }
}

@media (max-width: 640px) {
  .site-nav {
    width: calc(100vw - 24px);
    top: 12px;
  }

  .hero {
    padding-top: 112px;
  }

  .title-metal {
    font-size: clamp(44px, 13vw, 64px);
  }

  .title-sub {
    font-size: clamp(24px, 7.4vw, 32px);
  }

  .lede {
    font-size: 15px;
  }

  .cta-row .btn {
    flex: 1 1 150px;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }

  .hero-proof li,
  .hero-proof li + li {
    padding: 0;
    border: 0;
  }

  .hero-proof li:nth-child(n + 3) {
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
  }

  .lens-panel {
    padding: 16px 14px 15px;
    border-radius: 26px;
  }

  .tilt-stage {
    height: 482px;
  }

  .stage-ring.r2 {
    display: none;
  }

  .tilt-phone {
    width: 198px;
  }

  .stage-hint {
    font-size: 8px;
  }

  .ribbon-group {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .ribbon-group i {
    margin: 0 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .bento-full {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 26px;
  }

  .album-viz {
    width: 100%;
    height: 110px;
  }

  .album-card.a3 {
    left: 30%;
  }

  .album-check {
    right: 12%;
  }

  .manifesto-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .manifesto-line {
    line-height: 1.1;
  }

  .manifesto-line.m1 {
    font-size: clamp(46px, 13vw, 72px);
  }

  .manifesto-line.m2 {
    margin-top: 0.1em;
    font-size: clamp(52px, 15vw, 84px);
  }

  .manifesto-line.m3 {
    margin-top: 0.12em;
    font-size: clamp(58px, 17vw, 96px);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Reduced motion ---------- */

@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;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone-sway {
    animation: none;
  }

  .ribbon-track {
    animation: none;
  }
}
