:root {
  --night: #070b1a;
  --sky: #111a44;
  --panel: #141b3a;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f5fb;
  --muted: #a9b0cf;
  --orange: #ff8c5c;
  --pink: #ff4f8b;
  --violet: #7d5fff;
  --glow: linear-gradient(100deg, var(--orange), var(--pink) 55%, var(--violet));
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 17px/1.55 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.glow { background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--orange); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.lede { font-size: 1.25rem; color: var(--muted); max-width: 34rem; }
.fine { font-size: 0.875rem; color: var(--muted); }
.sub { color: var(--muted); margin-top: -0.4rem; }
.gap { margin-top: 1.6rem; }

section { max-width: 1120px; margin: 0 auto; padding: 5.5rem 1.5rem; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.5rem;
  background: rgba(7, 11, 26, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand img { border-radius: 22%; }
.nav nav { display: flex; align-items: center; gap: 1.6rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 0.95rem 1.7rem; border-radius: 999px;
  background: var(--glow); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 32px rgba(255, 79, 139, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(255, 79, 139, 0.45); }
.btn.small { padding: 0.55rem 1.1rem; font-size: 0.92rem; box-shadow: none; }
.btn.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.btn:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 2rem 0 1rem; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center;
  padding-top: 4.5rem; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -6rem -50vw 0; z-index: -1;
  background:
    radial-gradient(60rem 30rem at 75% 20%, rgba(125, 95, 255, 0.35), transparent 60%),
    radial-gradient(40rem 26rem at 90% 70%, rgba(255, 140, 92, 0.22), transparent 60%),
    linear-gradient(180deg, var(--sky), var(--night) 75%);
}
.hero-art { position: relative; height: 620px; }
.phone {
  margin: 0; border-radius: 44px; overflow: hidden; background: #000;
  border: 7px solid #1d2238; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  aspect-ratio: 1206 / 2622;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .phone { position: absolute; width: 270px; }
.hero-art .tilt-l { left: 4%; top: 40px; transform: rotate(-7deg); opacity: 0.9; }
.hero-art .front { right: 6%; top: 0; transform: rotate(4deg); }

/* Definition strip */
.strip { padding: 2.2rem 1.5rem; text-align: center; border-block: 1px solid var(--line); max-width: none; }
.strip p { margin: 0 auto; max-width: 44rem; font-size: 1.15rem; color: var(--muted); }
.strip strong { color: var(--text); }

/* Group section */
.split { display: grid; grid-template-columns: 300px 1fr; gap: 4.5rem; align-items: center; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.2rem; color: var(--muted); }
.steps li b { color: var(--text); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -0.1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--glow); color: #fff; font-weight: 800;
}

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.7rem 0; overflow: hidden; display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: 0.98rem; }
.card > img { margin: auto auto 0; width: 82%; border-radius: 26px 26px 0 0; max-height: 300px; object-fit: cover; object-position: top; }
.card.wide { grid-column: span 2; flex-direction: row; gap: 1.5rem; align-items: stretch; }
.card.wide > div { flex: 1; padding-bottom: 1.7rem; }
.card.wide > img { width: 46%; max-height: 340px; margin: 0; align-self: flex-end; }
.card.watch { align-items: center; }
.card.watch > .watch-img { width: 170px; max-height: none; border-radius: 34px; align-self: center; margin-bottom: 1.7rem; border: 6px solid #1d2238; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; align-items: start; }
.tier { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.tier.featured { border: 2px solid transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--glow) border-box; }
.tag { display: inline-block; background: var(--glow); padding: 0.25rem 0.8rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.price { font-size: 2.4rem; font-weight: 800; margin: 0 0 1rem; letter-spacing: -0.02em; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; color: var(--muted); }
.tier li::before { content: "✓"; color: var(--orange); font-weight: 800; margin-right: 0.6rem; }

/* Beta call to action */
.beta {
  text-align: center; margin: 2rem auto 5rem; max-width: 1072px; border-radius: 40px; padding: 4.5rem 1.5rem;
  background: radial-gradient(40rem 20rem at 50% 0, rgba(255, 79, 139, 0.3), transparent 70%), var(--sky);
  border: 1px solid var(--line);
}
.beta p { color: var(--muted); max-width: 34rem; margin-inline: auto; }
.beta .btn { margin: 1rem 0 1.2rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 2.5rem 1.5rem 3.5rem; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
footer nav { display: flex; gap: 1.5rem; }
footer nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer .fine { grid-column: 1 / -1; margin: 0; }

/* Plain pages (privacy, support) */
.doc { max-width: 720px; padding-top: 3.5rem; }
.doc h1 { font-size: 2.4rem; }
.doc h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.doc p, .doc li { color: var(--muted); }
.doc a { color: var(--orange); }
.notice { border: 1px solid var(--orange); border-radius: 14px; padding: 0.9rem 1.1rem; color: var(--text) !important; }

@media (max-width: 900px) {
  section { padding: 4rem 1.25rem; }
  .hero, .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { height: 520px; max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-art .phone { width: 220px; }
  .split .phone { max-width: 260px; margin: 0 auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .nav nav a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .hero-art { height: 440px; }
  .hero-art .phone { width: 185px; border-radius: 32px; border-width: 5px; }
  footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
