:root {
  --bg-void: #05100f;
  --bg-mid: #0a2126;
  --bg-glow: #123c40;
  --ink: #f3eef8;
  --muted: #9c8fb0;
  --amber: #ffb23e;
  --green: #34d16b;
  --hairline: rgba(255, 255, 255, .10);
  --surface: rgba(255, 255, 255, .045);
  --maxw: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(125% 85% at 50% -15%, var(--bg-glow) 0%, var(--bg-mid) 40%, var(--bg-void) 78%) no-repeat,
    var(--bg-void);
  background-attachment: fixed;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.nav-brand { font-weight: 700; letter-spacing: -.01em; font-size: 1.15rem; }
.nav-brand .dot { color: var(--amber); }

/* hero */
.hero { text-align: center; padding-top: 52px; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 22px auto 0;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  max-width: 46ch;
  margin: 20px auto 0;
}
.hero .lede strong { color: var(--ink); font-weight: 600; }

/* official App Store badges */
.cta-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; align-items: flex-start; margin-top: 32px; }
.store { display: inline-flex; flex-direction: column; align-items: center; gap: 9px; }
.store img { height: 52px; width: auto; display: block; transition: transform .15s ease; }
.store:hover img { transform: translateY(-2px); }
.store:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; border-radius: 12px; }
.plat { font-family: var(--mono); font-size: .68rem; letter-spacing: .02em; color: var(--muted); }
.nocaps { text-transform: none; }

/* hero shot + amber halo signature */
.hero-shot { position: relative; isolation: isolate; margin: 58px auto 0; width: min(300px, 72vw); }
.hero-shot::before {
  content: "";
  position: absolute;
  inset: -26% -48%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(50% 44% at 50% 42%, rgba(255, 178, 62, .40), rgba(255, 178, 62, 0) 70%);
  filter: blur(10px);
}

.shot-phone {
  position: relative;
  z-index: 1;
  border-radius: 42px;
  border: 1px solid var(--hairline);
  box-shadow: 0 44px 90px -24px rgba(0, 0, 0, .75);
}
.shot-mac {
  border-radius: 16px;
  border: 1px solid var(--hairline);
  box-shadow: 0 50px 100px -34px rgba(0, 0, 0, .8);
}

/* sections */
.section { padding-top: 112px; }
.section-head { text-align: center; max-width: 42ch; margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 14px; }

/* feature rows */
.features { margin-top: 64px; display: grid; gap: 92px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature:nth-child(even) .feature-media { order: -1; }
.feature-copy .eyebrow { display: block; }
.feature-copy h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.02em; margin-top: 12px; }
.feature-copy p { color: var(--muted); margin-top: 14px; font-size: 1.06rem; max-width: 36ch; }
.feature-media { display: flex; justify-content: center; }
.feature-media .shot-phone { width: min(280px, 70vw); }

/* mono data chips (each encodes real info) */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--muted);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 6px 10px;
}
.chip b { color: var(--amber); font-weight: 600; }

/* mac band */
.mac-shot { margin: 52px auto 0; max-width: 940px; }

/* preview */
.preview-frame { margin: 48px auto 0; width: min(320px, 76vw); }
.preview-frame video {
  width: 100%;
  border-radius: 42px;
  border: 1px solid var(--hairline);
  box-shadow: 0 44px 90px -24px rgba(0, 0, 0, .75);
  aspect-ratio: 1320 / 2868;
  background: #000;
}

/* footer */
.foot { margin-top: 80px; border-top: 1px solid var(--hairline); padding: 32px 0 60px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .85rem; }
.foot a:hover { color: var(--ink); }
.foot .mono { font-family: var(--mono); letter-spacing: .08em; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature-copy p { margin-inline: auto; }
  .chips { justify-content: center; }
  .section { padding-top: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
