:root {
  --ink: #000000;
  --ink-card: #0a0a0a;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.18);
  --gold: #d4a050;
  --pearl: #f2efea;
  --pearl-secondary: #b8b5ae;
  --pearl-muted: #6b6863;
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--pearl);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── Ambient background glow ── */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient::before,
.ambient::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.ambient::before {
  width: 520px;
  height: 520px;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
}

.ambient::after {
  width: 360px;
  height: 360px;
  right: -80px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(212, 160, 80, 0.12), transparent 70%);
}

/* ── Header ── */
.site-header {
  position: relative;
  z-index: 10;
  padding: 16px 0 8px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--emerald);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--emerald-bright);
}

/* ── Hero section ── */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 28px 0 40px;
}

/* Mobile first: single column, COPY on top so the message + CTA are visible immediately.
   NOTE: no `width: 100%` here — it would override the `.container` max-width/gutters
   (equal specificity, defined later) and let the hero span edge-to-edge. */
.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.hero-copy {
  order: 1;
  width: 100%;
}

.phone-stage {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ── Eyebrow tag ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--pearl-secondary);
  font-size: 12px;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
}

/* ── Hero typography ── */
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 700;
  max-width: 16ch;
  margin: 0 auto 14px;
}

.hero h1 em {
  font-style: italic;
  color: var(--emerald-bright);
}

.hero-sub {
  max-width: 50ch;
  margin: 0 auto 24px;
  color: var(--pearl-secondary);
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  line-height: 1.55;
}

/* ── CTA row ── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: #111;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(16, 185, 129, 0.18);
}

.play-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.play-badge-text {
  text-align: left;
  line-height: 1.15;
}

.play-badge-text small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
}

.play-badge-text strong {
  font-size: 16px;
}

/* ── Phone frame ── */
.phone {
  --phone-w: min(230px, 58vw);
  --bezel: 8px;
  --radius: 38px;
  width: var(--phone-w);
  position: relative;
  filter: drop-shadow(0 20px 50px rgba(16, 185, 129, 0.12))
          drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}

.phone::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(160deg, #3a3a3a, #111 40%, #2a2a2a);
  z-index: 0;
}

.phone-shell {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  padding: var(--bezel);
  background: linear-gradient(180deg, #1f1f1f, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.phone-screen {
  position: relative;
  border-radius: calc(var(--radius) - var(--bezel));
  overflow: hidden;
  background: #000;
  /* Match the demo video (720×1290) exactly so it fills the screen with no cropping */
  aspect-ratio: 720 / 1290;
}

.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 20px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.phone-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.10) 0%,
    transparent 28%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* ── Sound toggle button ── */
.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-bright);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.sound-toggle:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--emerald-bright);
  transform: translateY(-1px);
}

.sound-toggle.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald-bright);
}

.sound-toggle svg {
  flex-shrink: 0;
}

/* Pulse animation to draw attention */
.sound-toggle.pulse {
  animation: pulse-ring 1.5s ease-out;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sound-label {
  pointer-events: none;
}

/* ── Privacy note ── */
.privacy-note {
  font-size: 13px;
  color: var(--pearl-muted);
  line-height: 1.4;
}

/* ── FAQ section ── */
.faq {
  position: relative;
  z-index: 1;
  padding: 48px 0 88px;
}

.section-label {
  text-align: center;
  color: var(--emerald-bright);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.faq h2 {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 32px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--emerald-bright);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 20px 18px;
  color: var(--pearl-secondary);
  font-size: 15px;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  text-align: center;
  color: var(--pearl-muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--pearl-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--emerald-bright);
}

/* ═══════════════════════════════════
   Desktop: side-by-side layout
   ═══════════════════════════════════ */
@media (min-width: 900px) {
  .hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
  }

  .hero-layout {
    flex-direction: row;
    text-align: center;
    gap: 72px;
    justify-content: center;
    align-items: center;
  }

  .hero-copy {
    order: 1;
    width: auto;
    flex: 0 1 480px;
  }

  .phone-stage {
    order: 2;
    flex-shrink: 0;
  }

  .phone {
    --phone-w: 270px;
  }

  .hero h1,
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

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

  .privacy-note {
    text-align: center;
  }
}

/* ═══════════════════════════════════
   Small phones: tighter spacing
   ═══════════════════════════════════ */
@media (max-width: 480px) {
  .hero {
    padding: 20px 0 28px;
  }

  .phone {
    --phone-w: min(210px, 54vw);
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  .cta-row {
    margin-bottom: 10px;
  }
}
