:root {
  --bg: #0a0a0f;
  --bg-elev: #12121a;
  --card: #14141d;
  --border: #23232f;
  --border-hi: #2f2f40;
  --text: #ececf1;
  --text-dim: #9a9aae;
  --text-faint: #6b6b7d;
  --accent: #7c6cff;
  --accent-2: #a78bfa;
  --free: #34d399;
  --paid: #fbbf24;
  --radius: 16px;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(60% 50% at 50% 0%, rgba(124, 108, 255, 0.14), transparent 70%),
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; font-size: 16px; }
.brand-mark { color: var(--accent-2); font-size: 18px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { padding: 96px 24px 72px; text-align: center; }
.eyebrow {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.04em; color: var(--accent-2);
  border: 1px solid var(--border-hi); border-radius: 999px;
  padding: 6px 14px; margin-bottom: 28px; background: rgba(124,108,255,0.06);
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em; max-width: 16ch; margin: 0 auto 24px;
  background: linear-gradient(180deg, #fff, #b9b9cc);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); max-width: 56ch; margin: 0 auto 36px; }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--text-faint); font-family: 'JetBrains Mono', monospace; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-size: 15px; font-weight: 600; padding: 13px 22px; border-radius: 12px;
  text-decoration: none; border: 1px solid transparent; transition: all .15s; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #6a58ff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-hi); }
.btn-ghost:hover { border-color: var(--text-faint); background: rgba(255,255,255,0.03); }
.btn-block { width: 100%; margin-top: 8px; background: var(--bg-elev); border-color: var(--border-hi); color: var(--text); }
.btn.is-disabled { opacity: 0.7; cursor: not-allowed; pointer-events: none; }
.soon {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
  color: var(--paid); background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.25);
  padding: 2px 8px; border-radius: 999px; letter-spacing: 0.02em;
}

/* Hero "get the apps" dropdown */
.dropdown { position: relative; }
.dropdown summary { list-style: none; user-select: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown-caret { font-size: 12px; transition: transform .15s; }
.dropdown[open] .dropdown-caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  width: min(320px, 86vw);
  background: var(--bg-elev); border: 1px solid var(--border-hi); border-radius: 14px;
  padding: 8px; display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(124,108,255,0.15);
  z-index: 60;
}
.dropdown[open] .dropdown-menu { animation: dropdown-in .16s ease-out; }
.dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text); text-align: left;
  transition: background .12s;
}
.dropdown-menu a:hover { background: rgba(124,108,255,0.1); }
.dropdown-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 18px; overflow: hidden;
}
.dropdown-icon img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.dropdown-text { display: flex; flex-direction: column; line-height: 1.35; }
.dropdown-text strong { font-size: 15px; font-weight: 600; }
.dropdown-text small {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-dim);
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Sections */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 17px; max-width: 52ch; margin: 0 auto; }

.apps, .how { padding: 72px 24px; }

/* App cards */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; transition: border-color .2s, transform .2s;
}
.app-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.app-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; flex-shrink: 0; overflow: hidden;
}
.app-icon img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.icon-viewer { background: linear-gradient(135deg, #7c6cff, #a78bfa); color: #fff; }
.icon-server { background: linear-gradient(135deg, #1f2937, #374151); color: #a78bfa; border: 1px solid var(--border-hi); }
.app-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.tag-free { color: var(--free); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); }
.tag-paid { color: var(--paid); background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.25); }
.app-card > p { color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }
.feature-list { list-style: none; margin-bottom: 20px; }
.feature-list li { position: relative; padding-left: 24px; color: var(--text-dim); font-size: 14px; margin-bottom: 10px; }
.feature-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent-2); font-family: 'JetBrains Mono', monospace; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; }
.steps li { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(124,108,255,0.12); color: var(--accent-2); font-family: 'JetBrains Mono', monospace;
  font-weight: 500; margin-bottom: 16px; border: 1px solid var(--border-hi);
}
.steps h4 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.steps p { color: var(--text-dim); font-size: 14px; }

/* Privacy strip */
.privacy-strip { padding: 24px 24px 96px; }
.privacy-card {
  background: linear-gradient(135deg, rgba(124,108,255,0.08), rgba(124,108,255,0.02));
  border: 1px solid var(--border-hi); border-radius: var(--radius);
  padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.privacy-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.privacy-card p { color: var(--text-dim); font-size: 15px; max-width: 60ch; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.copyright { color: var(--text-faint); font-size: 13px; width: 100%; }

/* Legal pages */
.legal { padding: 64px 24px 96px; max-width: 780px; }
.legal .back { font-size: 14px; color: var(--accent-2); text-decoration: none; font-family: 'JetBrains Mono', monospace; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -0.02em; margin: 20px 0 8px; }
.legal .updated { color: var(--text-faint); font-family: 'JetBrains Mono', monospace; font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 36px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: var(--accent-2); }
.legal p, .legal li { color: var(--text-dim); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-2); }
.legal strong { color: var(--text); font-weight: 600; }
.legal .card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin: 20px 0; }

/* ============ Through-the-lens scene ============ */
.scene {
  position: relative;
  margin: 72px auto 24px;
  max-width: 1040px;
  aspect-ratio: 12 / 7;
  min-height: 420px;
}

/* --- XR through-the-lens viewport --- */
.lens {
  position: absolute;
  top: 0; right: 0; bottom: 8%;
  width: 78%;
  border-radius: 44px;
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.35),
    0 0 60px rgba(124, 108, 255, 0.25),
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: lens-drift 9s ease-in-out infinite;
}
.lens-env {
  position: absolute; inset: 0;
  border-radius: 44px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 10%, #1b1638 0%, #100d22 45%, #07060f 100%);
}
.lens-rim {
  position: absolute; inset: 0;
  border-radius: 44px;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}
.lens-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1px 1px at 28% 12%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 28%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(1px 1px at 64% 10%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 82% 24%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 92% 46%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(1px 1px at 8% 52%, rgba(255,255,255,0.3), transparent 60%);
}
.lens-floor {
  position: absolute;
  left: -30%; right: -30%; bottom: -42%;
  height: 78%;
  background-image:
    linear-gradient(to right, rgba(124, 108, 255, 0.22) 1px, transparent 1px),
    linear-gradient(to top, rgba(124, 108, 255, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.9), transparent 85%);
}
.lens-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(115% 100% at 50% 45%, transparent 55%, rgba(4, 3, 10, 0.75) 100%);
  pointer-events: none;
}

/* --- Floating Home Space window --- */
.xr-window {
  position: absolute;
  left: 16%; top: 12%;
  width: 46%;
  border-radius: 18px;
  background: rgba(16, 15, 28, 0.86);
  border: 1px solid rgba(167, 139, 250, 0.4);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 44px rgba(124, 108, 255, 0.28);
  backdrop-filter: blur(6px);
  transform: perspective(1200px) rotateY(-7deg) rotateX(1.5deg);
  animation: window-float 6s ease-in-out infinite;
}
.xr-window-chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(167, 139, 250, 0.18);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(8px, 0.9vw, 11px);
  color: var(--text-dim);
}
.xr-dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3a4e; flex-shrink: 0; }
.xr-dot:first-child { background: rgba(167, 139, 250, 0.7); }
.xr-window-title { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xr-window-live {
  margin-left: auto; color: var(--free); font-weight: 600;
  font-size: clamp(7px, 0.8vw, 10px); letter-spacing: 0.06em;
  animation: live-pulse 2s ease-in-out infinite;
}
.xr-window-body {
  display: grid; place-items: center;
  padding: 14px 12px 18px;
}

/* --- Mirrored phone inside the XR window --- */
.mirrored-phone {
  width: 52%;
  max-width: 190px;
  aspect-ratio: 9 / 18.5;
  border-radius: 16px;
  border: 3px solid #2b2b3c;
  background: #0d0d16;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6), 0 0 18px rgba(124,108,255,0.18);
  display: flex; flex-direction: column;
  overflow: hidden;
  font-size: clamp(6px, 0.72vw, 9px);
}
.mp-status {
  display: flex; justify-content: space-between;
  padding: 5px 9px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  color: #8a8aa0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mp-appbar {
  padding: 7px 10px;
  font-weight: 700; font-size: 1.15em;
  color: #ececf1;
  background: rgba(124, 108, 255, 0.12);
  border-bottom: 1px solid rgba(124, 108, 255, 0.2);
}
.mp-chat {
  flex: 1;
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px;
  overflow: hidden;
}
.mp-bubble {
  max-width: 82%;
  padding: 4px 7px;
  border-radius: 9px;
  line-height: 1.35;
}
.mp-in { background: #23233a; color: #c9c9dc; align-self: flex-start; border-bottom-left-radius: 3px; }
.mp-out { background: linear-gradient(135deg, #6a58ff, #7c6cff); color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.mp-inputrow {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 8px 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #1a1a2a;
  color: #6b6b7d;
}
.mp-send { color: var(--accent-2); }
.mp-navbar {
  display: flex; justify-content: space-around;
  padding: 4px 0 5px;
  color: #55556a;
  font-size: 0.9em;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* --- XR pointer cursor --- */
.xr-cursor {
  position: absolute;
  left: 63%; top: 46%;
  width: 22px; height: 22px;
  border: 2px solid rgba(167, 139, 250, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(124, 108, 255, 0.7), inset 0 0 6px rgba(124, 108, 255, 0.4);
  animation: cursor-drift 7s ease-in-out infinite;
}
.xr-cursor::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.9);
}

/* --- Ambient side panels --- */
.xr-panel {
  position: absolute;
  width: 17%;
  padding: 12px;
  border-radius: 12px;
  background: rgba(20, 19, 36, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.16);
  opacity: 0.65;
}
.xr-panel-left { left: 3.5%; top: 20%; transform: perspective(800px) rotateY(14deg); }
.xr-panel-right { right: 4%; top: 26%; transform: perspective(800px) rotateY(-14deg); }
.xr-panel-bar { height: 8px; border-radius: 4px; background: rgba(167, 139, 250, 0.35); margin-bottom: 10px; }
.xr-panel-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); margin-bottom: 7px; }
.xr-panel-line.w70 { width: 70%; } .xr-panel-line.w45 { width: 45%; }
.xr-panel-line.w60 { width: 60%; } .xr-panel-line.w55 { width: 55%; }
.xr-panel-line.w75 { width: 75%; }

/* --- HUD chips --- */
.hud {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(8px, 0.85vw, 11px);
  color: rgba(214, 210, 255, 0.85);
  background: rgba(16, 14, 32, 0.6);
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 999px;
  padding: 5px 12px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.hud-tl { left: 5%; top: 6%; }
.hud-tr { right: 5%; top: 6%; color: var(--free); border-color: rgba(52, 211, 153, 0.3); }
.hud-bl { left: 5%; bottom: 7%; }
.hud-br { right: 5%; bottom: 7%; color: var(--accent-2); }

/* --- Physical phone off to the side --- */
.phone-mini {
  position: absolute;
  left: 0; top: 9%;
  width: 19%;
  z-index: 3;
  animation: phone-bob 7s ease-in-out infinite;
}
.phone-mini-body {
  position: relative;
  aspect-ratio: 9 / 18.8;
  border-radius: 24px;
  background: linear-gradient(160deg, #3a3a48, #17171f 60%);
  padding: 5px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.09),
    24px 30px 60px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(124, 108, 255, 0.12);
  transform: perspective(900px) rotateY(9deg) rotateZ(-1.5deg);
}
.phone-mini-notch {
  position: absolute;
  top: 12px; left: 50%;
  width: 26%; height: 9px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050508;
  z-index: 2;
}
.phone-mini-screen {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(170deg, #14142288 0%, #0d0d16 40%), #0d0d16;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 12% 9% 8%;
  overflow: hidden;
}
.pm-status {
  width: 100%;
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(7px, 0.8vw, 10px);
  color: #8a8aa0;
  margin-bottom: 12%;
}
.pm-title {
  font-size: clamp(9px, 1vw, 13px);
  font-weight: 700;
  color: #ececf1;
  margin-bottom: 4px;
}
.pm-sub {
  font-size: clamp(7px, 0.8vw, 10px);
  color: var(--text-dim);
  margin-bottom: 10%;
}
.pm-qr {
  width: 72%;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06), 0 0 20px rgba(124,108,255,0.25);
}
.pm-lock {
  margin-top: auto;
  display: flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(6px, 0.72vw, 9px);
  color: var(--free);
}
.pm-lock-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--free);
  box-shadow: 0 0 8px var(--free);
  animation: live-pulse 2s ease-in-out infinite;
}
.phone-mini-label {
  margin-top: 14px;
  text-align: center;
  font-size: 13px; font-weight: 600; color: var(--text);
}
.phone-mini-label span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 400;
  color: var(--text-faint);
  margin-top: 2px;
}

/* --- Beam --- */
.beam {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  pointer-events: none;
}
.beam-path {
  stroke-dasharray: 6 8;
  animation: beam-flow 1.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(124, 108, 255, 0.8));
}
.beam-particle { fill: #c4b5fd; filter: drop-shadow(0 0 6px #a78bfa); }
.beam-particle-2 { fill: #a78bfa; }
.beam-particle-3 { fill: #7c6cff; }

/* --- Caption --- */
.scene-caption {
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  display: flex; justify-content: center; align-items: center; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-faint);
}
.caption-phone { color: var(--text-dim); }
.caption-arrow { color: var(--accent-2); letter-spacing: -0.05em; }
.caption-xr { color: var(--accent-2); }

/* --- Scene animations --- */
@keyframes lens-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes window-float {
  0%, 100% { transform: perspective(1200px) rotateY(-7deg) rotateX(1.5deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-7deg) rotateX(1.5deg) translateY(-10px); }
}
@keyframes phone-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-0.5deg); }
}
@keyframes cursor-drift {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(-14px, 10px); }
  60% { transform: translate(10px, 18px); }
}
@keyframes beam-flow { to { stroke-dashoffset: -14; } }
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .lens, .xr-window, .phone-mini, .xr-cursor,
  .beam-path, .xr-window-live, .pm-lock-dot { animation: none; }
  .beam-particle { display: none; }
  .dropdown[open] .dropdown-menu { animation: none; }
}

@media (max-width: 760px) {
  .app-grid, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 64px 20px 48px; }

  .scene { aspect-ratio: auto; min-height: 0; padding-bottom: 46px; }
  .lens { position: relative; width: 100%; height: 380px; bottom: auto; }
  .phone-mini { width: 96px; top: -24px; left: 4px; }
  .phone-mini-label { display: none; }
  .beam { display: none; }
  .scene-caption { flex-direction: column; gap: 4px; bottom: 0; }
  .caption-arrow { transform: rotate(90deg); letter-spacing: 0; }
  .xr-window { left: 12%; width: 56%; }
  .xr-panel { display: none; }
  .hud-bl { display: none; }
}
