:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #aebbd0;
  --navy: #061426;
  --navy-soft: #0b2038;
  --card: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.14);
  --gold: #ffc233;
  --gold-deep: #f0a91f;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 5%, rgba(42, 117, 155, 0.24), transparent 30rem),
    radial-gradient(circle at 0% 40%, rgba(255, 194, 51, 0.08), transparent 26rem),
    var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }

nav { display: flex; gap: 30px; color: var(--muted); font-size: 0.94rem; }
nav a:hover, .text-link:hover, footer a:hover { color: var(--gold); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  padding: 60px 0 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }

.store-button {
  text-decoration: none;
  min-width: 176px;
  padding: 11px 22px;
  border-radius: 15px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #071325;
  background: linear-gradient(135deg, var(--gold), #ffdc71);
  box-shadow: 0 18px 50px rgba(255, 194, 51, 0.16);
}

.store-small { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.16em; }
.store-button strong { font-size: 1.3rem; line-height: 1.15; }
.text-link { color: var(--ink); font-weight: 680; }
.release-note { margin-top: 15px; color: #7f8da2; font-size: 0.84rem; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  isolation: isolate;
}

.hero-visual img {
  width: min(100%, 300px);
  border-radius: 28px;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
}

.glow {
  position: absolute;
  inset: 18% 6%;
  z-index: -1;
  background: rgba(255, 194, 51, 0.23);
  filter: blur(80px);
}

.proof {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  text-align: center;
  font-weight: 720;
}
.proof p { margin: 0; }
.proof span { color: var(--gold); }

.steps, .screens, .faq { padding: 120px 0 30px; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading h2, .feature-band h2, .privacy-card h2, .final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-grid article {
  min-height: 250px;
  padding: 30px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--line);
}
.step-grid article > span { color: var(--gold); font-size: 0.8rem; font-weight: 800; }
.step-grid h3 { margin: 64px 0 10px; font-size: 1.5rem; }
.step-grid p { margin-bottom: 0; color: var(--muted); }

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 80px;
}
.split-heading > p { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }

.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.screen-grid figure {
  margin: 0;
  padding: 14px 14px 18px;
  border-radius: 24px;
  background: #0a1d32;
  border: 1px solid var(--line);
}
.screen-grid img { border-radius: 16px; }
.screen-grid figcaption { padding: 17px 6px 0; font-weight: 700; }

.feature-band, .privacy-card, .final-cta {
  margin-top: 120px;
  border-radius: 30px;
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px;
  color: #071325;
  background: linear-gradient(135deg, var(--gold), #ffe38b);
}
.feature-band .eyebrow { color: #5f4300; }
.feature-band ul { margin: 0; padding: 0; list-style: none; }
.feature-band li { padding: 17px 0; border-bottom: 1px solid rgba(7, 19, 37, 0.2); font-weight: 680; }

.faq { max-width: 900px; margin-inline: auto; }
.faq-list { display: grid; gap: 14px; }
.faq details {
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}
.faq summary {
  position: relative;
  padding: 24px 42px 24px 0;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 760;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -2px 0 24px; color: var(--muted); line-height: 1.7; }
.faq details a { color: var(--gold); }

.privacy-card {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 58px;
  border: 1px solid var(--line);
  background: var(--card);
}
.privacy-card p:not(.eyebrow) { max-width: 620px; margin: 18px 0 0; color: var(--muted); }
.outline-button, .primary-button { padding: 14px 20px; border-radius: 13px; font-weight: 760; white-space: nowrap; }
.outline-button { border: 1px solid rgba(255,255,255,.28); }
.outline-button:hover { border-color: var(--gold); color: var(--gold); }

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 36px;
  background: #0b213a;
  border: 1px solid var(--line);
}
.final-cta img { width: 86px; height: 86px; border-radius: 22px; }
.final-cta h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.primary-button { color: #071325; background: var(--gold); }

footer {
  display: flex;
  justify-content: space-between;
  padding: 70px 0 38px;
  color: #8391a6;
  font-size: 0.9rem;
}
footer p { margin: 0; }
footer div { display: flex; gap: 24px; }

@media (max-width: 820px) {
  .site-header { min-height: 70px; }
  nav a:not(:last-child) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 54px; padding-top: 68px; }
  h1 { font-size: clamp(3.25rem, 14vw, 5rem); }
  .hero-visual img { width: min(88%, 420px); }
  .proof { grid-template-columns: 1fr; gap: 10px; }
  .proof span { transform: rotate(90deg); }
  .steps, .screens, .faq { padding-top: 90px; }
  .step-grid, .screen-grid, .split-heading, .feature-band { grid-template-columns: 1fr; }
  .split-heading, .feature-band { gap: 34px; }
  .screen-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; }
  .screen-grid figure { scroll-snap-align: start; }
  .feature-band { padding: 42px 28px; }
  .privacy-card { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .primary-button { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 560px) {
  .site-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 36px; height: 36px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 54px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-grid article { min-height: 220px; }
  .feature-band, .privacy-card, .final-cta { margin-top: 88px; }
  .final-cta img { width: 64px; height: 64px; border-radius: 17px; }
  footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
