:root {
  --orange: #ff6a29;
  --yellow: #ffdb1e;
  --ink: #161526;
  --ink-2: #1e1d30;
  --ink-3: #2b2844;
  --text: #f7f7ff;
  --muted: #acb8da;
  --link: #ffb347;
  --radius: 20px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--link); }
a:hover { color: var(--yellow); }

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

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(22, 21, 38, 0.85); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { background: linear-gradient(120deg, var(--orange) 0%, #ff9a24 55%, var(--yellow) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(38px, 6vw, 60px); line-height: 1.08; font-weight: 700; letter-spacing: -0.5px; color: #fff; text-shadow: 0 2px 18px rgba(120, 40, 0, 0.18); }
.hero p { margin: 0 0 28px; font-size: 19px; color: #fff; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.stores .play img { height: 70px; width: auto; margin: -6px -6px; }
.soon { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 12px; background: rgba(22, 21, 38, 0.82); color: #fff; font-size: 15px; font-weight: 500; }
.soon svg { width: 18px; height: 18px; fill: currentColor; }

.phone { justify-self: center; width: min(300px, 78vw); aspect-ratio: 360 / 792; padding: 11px; border-radius: 46px; background: #0d0c19; box-shadow: 0 30px 60px rgba(90, 30, 0, 0.35), inset 0 0 0 2px #3a3950; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #263238; }

/* Sections */
section { padding: 72px 0; }
.section-title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 38px); line-height: 1.2; font-weight: 700; text-align: center; }
.section-sub { margin: 0 auto 40px; max-width: 36em; text-align: center; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.card .icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--orange), var(--yellow)); font-size: 26px; }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots img { width: 100%; height: auto; border-radius: 18px; }

.cta { text-align: center; }
.cta .stores { justify-content: center; margin-top: 24px; }

/* Text pages */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { margin: 0 0 6px; font-size: clamp(30px, 5vw, 42px); line-height: 1.15; }
.doc .meta { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.doc h2 { margin: 40px 0 10px; font-size: 22px; }
.doc h3 { margin: 28px 0 6px; font-size: 18px; }
.doc p, .doc li { color: #dfe3f2; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box { padding: 20px 24px; margin: 24px 0; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.doc .box p { margin: 4px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--ink-3); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { gap: 16px; }
  .brand span { display: none; }
  section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .phone video { display: none; }
  .phone { background: #0d0c19 url("/assets/demo-poster.jpg") center / cover content-box; }
}
