/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bg:            #060e24;
  --bg2:           #0a1638;
  --glass:         rgba(255,255,255,0.055);
  --glass-border:  rgba(255,255,255,0.10);
  --blue:          #61ADFF;
  --green:         #59E699;
  --purple:        #8C73FF;
  --orange:        #FFA640;
  --text:          #ffffff;
  --muted:         rgba(255,255,255,0.50);
  --subtle:        rgba(255,255,255,0.25);
  --nav-h:         62px;
  --max:           1080px;
  --r:             10px;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Aurora ─────────────────────────────────────────────────────── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.ab1 {
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(51,115,255,0.55) 0%, transparent 70%);
  top: -180px; left: -160px;
  filter: blur(60px);
  animation: drift1 18s ease-in-out infinite alternate;
}

.ab2 {
  width: 560px; height: 420px;
  background: radial-gradient(ellipse, rgba(100,40,240,0.45) 0%, transparent 70%);
  top: 100px; right: -100px;
  filter: blur(70px);
  animation: drift2 22s ease-in-out infinite alternate;
}

.ab3 {
  width: 480px; height: 360px;
  background: radial-gradient(ellipse, rgba(13,160,255,0.40) 0%, transparent 70%);
  bottom: 0; left: 20%;
  filter: blur(80px);
  animation: drift3 26s ease-in-out infinite alternate;
}

.ab4 {
  width: 300px; height: 240px;
  background: radial-gradient(ellipse, rgba(140,115,255,0.35) 0%, transparent 70%);
  top: 50%; left: 50%;
  filter: blur(60px);
  animation: drift4 20s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(120px,80px) scale(1.15); }
}
@keyframes drift2 {
  from { transform: translate(0,0) scale(1.1); }
  to   { transform: translate(-80px,60px) scale(0.9); }
}
@keyframes drift3 {
  from { transform: translate(0,0) scale(0.95); }
  to   { transform: translate(60px,-100px) scale(1.1); }
}
@keyframes drift4 {
  from { transform: translate(-50%,-50%) scale(1); }
  to   { transform: translate(calc(-50% + 80px), calc(-50% - 60px)) scale(1.2); }
}

/* ── Utilities ──────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.glass-card {
  background: var(--glass);
  border: 0.5px solid var(--glass-border);
  border-radius: var(--r);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.hr {
  position: relative;
  z-index: 1;
  height: 0.5px;
  background: rgba(255,255,255,0.06);
}

/* ── Reveal ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav ────────────────────────────────────────────────────────── */
nav#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 0.5px solid transparent;
  background: linear-gradient(to bottom, rgba(6,14,36,0.85) 0%, rgba(6,14,36,0.0) 100%);
}

nav#nav.solid {
  background: rgba(6,14,36,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 450;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--blue);
  color: #020a1a;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--text);
  color: #060e24;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(97,173,255,0);
}
.btn-store:hover {
  opacity: 0.93;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(97,173,255,0.22);
}
.btn-store svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-store__text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.btn-store__text small {
  font-size: 9px;
  font-weight: 400;
  color: rgba(6,14,36,0.55);
  letter-spacing: 0.04em;
  line-height: 1;
}
.btn-store__text strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #060e24;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  border: 0.5px solid var(--glass-border);
  border-radius: 10px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

/* ── Hero ───────────────────────────────────────────────────────── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Full-bleed background video */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  var(--bg) 0%, rgba(6,14,36,0.88) 42%, rgba(6,14,36,0.35) 72%, rgba(6,14,36,0.1) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 80%, var(--bg) 100%);
  pointer-events: none;
}

/* Hero content sits on top of video */
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 28px 100px;
}

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

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

h1 .line-accent {
  background: linear-gradient(90deg, #fff 0%, #8ab4ff 60%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Menubar Full-bleed Section ─────────────────────────────────── */
#menubar-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.menubar-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.menubar-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(50% + 80px);
}

.menubar-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  var(--bg) 0%, rgba(6,14,36,0.92) 38%, rgba(6,14,36,0.55) 62%, rgba(6,14,36,0.15) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
  pointer-events: none;
}

.menubar-content {
  position: relative;
  z-index: 1;
  padding: 100px 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.menubar-content .detail-copy {
  max-width: 520px;
}

/* Hidden on desktop, shown on mobile */
.menubar-mobile-shot {
  display: none;
}

/* ── Screen Frame ───────────────────────────────────────────────── */
.screen-frame {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.08) inset,
    0 40px 120px rgba(0,0,0,0.6),
    0 0 80px rgba(51,115,255,0.12);
}

.screen-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}

.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #28C840; }

.screen-body {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: rgba(255,255,255,0.2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-body-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.1);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Sections ───────────────────────────────────────────────────── */
section {
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
}

/* ── Feature Cards ──────────────────────────────────────────────── */
#features {
  padding: 100px 0;
}

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

.feat-card {
  padding: 28px 26px 30px;
  border-radius: 12px;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1),
              border-color 0.25s,
              box-shadow 0.25s;
  cursor: default;
}

.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feat-icon svg { width: 18px; height: 18px; }
.fi-blue   { background: rgba(97,173,255,0.14); color: var(--blue); }
.fi-purple { background: rgba(140,115,255,0.14); color: var(--purple); }
.fi-green  { background: rgba(89,230,153,0.14); color: var(--green); }

.feat-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feat-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Detail Rows ────────────────────────────────────────────────── */
.detail-row {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 80px 0;
}

.detail-row + .detail-row {
  border-top: 0.5px solid rgba(255,255,255,0.06);
}

.detail-row.flip { flex-direction: row-reverse; }

.detail-visual { flex: 0 0 auto; }

.detail-copy {
  flex: 1;
  min-width: 0;
}

.detail-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 14px;
}

.detail-copy .body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.detail-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.detail-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}

.detail-list li strong { color: var(--text); font-weight: 500; }

/* ── Screenshot Images ──────────────────────────────────────────── */
.detail-visual {
  flex: 0 0 auto;
  position: relative;
}

.shot {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero screen frame with image */
.screen-body img.hero-shot {
  width: 100%;
  height: auto;
  display: block;
}
.screen-body { height: auto; padding: 0; }

/* ── Dashboard Simulator ────────────────────────────────────────── */
#dashboard {
  padding: 60px 0 100px;
}

.sim-outer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sim-tabs {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.09);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 5px 5px 0;
  align-self: flex-start;
  margin-left: 0;
  position: relative;
  z-index: 2;
}

.sim-tab {
  padding: 7px 16px 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 7px 7px 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
  letter-spacing: 0;
  position: relative;
}

.sim-tab:hover:not(.active) { color: rgba(255,255,255,0.75); }

.sim-tab.active {
  color: var(--text);
  background: rgba(255,255,255,0.09);
}

.sim-tab.active::after {
  content: '';
  position: absolute;
  bottom: -0.5px;
  left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.09);
}

.sim-window {
  width: 100%;
  border-radius: 0 12px 12px 12px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.10);
  box-shadow:
    0 40px 120px rgba(0,0,0,0.7),
    0 0 60px rgba(51,115,255,0.09);
  position: relative;
  z-index: 1;
}

.sim-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  background: rgba(8,18,48,0.9);
}

.sim-panels {
  display: grid;
}

.sim-panel {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.sim-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.sim-panel img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Screenshot Placeholder ─────────────────────────────────────── */
.ph {
  background: rgba(255,255,255,0.03);
  border: 0.5px dashed rgba(255,255,255,0.15);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.22);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: border-color 0.2s;
  overflow: hidden;
  position: relative;
}

.ph:hover { border-color: rgba(255,255,255,0.25); }

.ph-titlebar {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 9px 12px;
  display: flex;
  gap: 5px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.ph-titlebar .dot { width: 8px; height: 8px; opacity: 0.5; }

.ph-content {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ph-line {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  margin-bottom: 4px;
}

/* ── CTA ────────────────────────────────────────────────────────── */
#cta {
  padding: 100px 0;
}

.cta-inner {
  padding: 48px 64px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-icon {
  width: 180px;
  height: 180px;
  border-radius: 40px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(51,115,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-note {
  margin-top: 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.04em;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.footer-logo img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  margin-top: 3px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ── Subpage common ─────────────────────────────────────────────── */
.subpage {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 64px) 0 100px;
}

.subpage-header {
  margin-bottom: 56px;
}

.subpage-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.subpage-header p {
  font-size: 15px;
  color: var(--muted);
}

/* ── Prose (Privacy / legal text) ──────────────────────────────── */
.prose {
  max-width: 680px;
}

.prose h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  color: var(--text);
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.prose ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.prose ul li {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .last-updated {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}

/* ── Support page ───────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.support-card {
  padding: 28px;
  border-radius: 12px;
}

.support-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.support-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.support-card a.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  transition: opacity 0.2s;
}

.support-card a.link-btn:hover { opacity: 0.75; }

.faq-item {
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}

.faq-item:last-child { border-bottom: 0.5px solid rgba(255,255,255,0.07); }

.faq-item h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item p a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
/* ── 900px ──────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .detail-row { gap: 40px; padding: 60px 0; }
  .detail-copy h2 { font-size: 28px; }
  .detail-copy .body { font-size: 14px; }
  .detail-list li { font-size: 13px; }
  .sim-tabs { overflow-x: auto; scrollbar-width: none; }
  .sim-tabs::-webkit-scrollbar { display: none; }
  .sim-tab { white-space: nowrap; }
  .support-grid { grid-template-columns: 1fr; }
}

/* ── 680px ──────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-inner { padding: 0 16px; }
  .nav-cta { padding: 7px 13px; font-size: 12px; }

  /* Wrap */
  .wrap { padding: 0 14px; }

  /* Hero */
  #hero { min-height: 85vh; }
  .hero-content { padding: calc(var(--nav-h) + 36px) 16px 64px; }
  h1 { font-size: clamp(30px, 8vw, 46px); letter-spacing: -0.03em; }
  .hero-sub { font-size: 14px; margin-bottom: 28px; }
  .hero-actions { gap: 10px; }
  .btn-store { padding: 10px 16px; }
  .btn-ghost { padding: 10px 14px; font-size: 12px; }

  /* Dashboard */
  #dashboard { padding: 32px 0 64px; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 13px; }
  .sim-tabs { gap: 1px; padding: 4px 4px 0; overflow-x: auto; scrollbar-width: none; }
  .sim-tabs::-webkit-scrollbar { display: none; }
  .sim-tab { padding: 6px 12px 8px; font-size: 11px; white-space: nowrap; }

  /* Feature grid: 2 col */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feat-card { padding: 18px 16px 20px; }
  .feat-card h3 { font-size: 13px; margin-bottom: 6px; }
  .feat-card p { font-size: 12px; }
  .feat-icon { width: 32px; height: 32px; border-radius: 8px; margin-bottom: 12px; }
  .feat-icon svg { width: 14px; height: 14px; }

  /* Detail rows: image top, text bottom */
  .detail-row,
  .detail-row.flip {
    flex-direction: column !important;
    gap: 20px;
    padding: 44px 0;
  }

  .detail-visual { width: 100% !important; overflow: hidden; }
  .detail-visual .shot {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .detail-copy h2 { font-size: 20px; margin-bottom: 8px; }
  .detail-copy .body { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
  .detail-list { gap: 7px; }
  .detail-list li { font-size: 12.5px; }
  .tag { font-size: 9px; margin-bottom: 10px; }

  /* Menubar mobile: hide bg, show screenshot as normal img */
  #menubar-section .menubar-bg { display: none; }
  #menubar-section { background: var(--bg); }
  .menubar-content {
    padding: 44px 14px !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .menubar-mobile-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 0.5px solid rgba(255,255,255,0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .menubar-content .detail-copy { max-width: 100%; }
  .menubar-content .detail-copy h2 { font-size: 22px; }
  .menubar-content .detail-copy .body { font-size: 13px; }

  /* Hero video: shift left so right-side action is visible */
  .hero-video-bg video {
    object-position: calc(50% - 315px) center;
  }

  /* Extend left mask to cover Finder sidebar content in the recording */
  .hero-video-overlay {
    background:
      linear-gradient(to right, var(--bg) 0%, var(--bg) 28%, rgba(6,14,36,0.75) 52%, rgba(6,14,36,0.15) 80%, transparent 100%),
      linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 80%, var(--bg) 100%);
  }

  /* CTA */
  #cta { padding: 56px 0; }
  .cta-inner { padding: 36px 18px; border-radius: 12px; }
  .cta-inner h2 { font-size: 22px; }
  .cta-inner p { font-size: 13px; margin-bottom: 24px; }
  .cta-note { font-size: 10px; }

  /* Footer */
  footer { padding: 24px 0; }
  .footer-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer-logo { font-size: 13px; }
  .footer-copy { font-size: 11px; }
  .footer-links { gap: 18px; }
  .footer-links a { font-size: 11px; }

  /* Subpages */
  .subpage { padding: calc(var(--nav-h) + 36px) 0 64px; }
  .subpage-header h1 { font-size: 26px; }
  .subpage-header p { font-size: 13px; }
  .prose h2 { font-size: 15px; margin-top: 30px; }
  .prose p, .prose ul li { font-size: 13px; }
  .support-card { padding: 18px; }
  .support-card h3 { font-size: 14px; }
  .faq-item { padding: 16px 0; }
  .faq-item h3 { font-size: 13.5px; }
  .faq-item p { font-size: 13px; }
}

/* ── 400px ──────────────────────────────────────────────────────── */
@media (max-width: 400px) {
  h1 { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .feat-card h3 { font-size: 12px; }
  .feat-card p { font-size: 11px; }
  .detail-copy h2 { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-blob { animation: none !important; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}
