:root {
  --crimson: #e0475b;
  --plum: #9b1f6a;
  --grad: linear-gradient(135deg, #e0475b 0%, #9b1f6a 100%);
  --ink: #111114;
  --muted: #6b6b76;
  --line: #ececf0;
  --radius: 20px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.07);
}
.hero::before { width: 620px; height: 620px; right: -160px; top: -200px; }
.hero::after { width: 380px; height: 380px; left: -120px; bottom: -160px; }
nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; position: relative; z-index: 2; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.brand .mark { width: 50px; height: auto; }
.brand .word { height: 36px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { opacity: .88; }
.nav-links a:hover { opacity: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding-top: 48px; position: relative; z-index: 2; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.03em; margin: 20px 0 18px; font-weight: 800; }
.lead { font-size: 20px; max-width: 30em; opacity: .92; margin: 0 0 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff;
  padding: 10px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,.25);
  transition: transform .15s;
}
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-size: 11px; opacity: .8; line-height: 1.1; }
.store strong { display: block; font-size: 18px; line-height: 1.2; font-weight: 600; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.soon { font-size: 13px; opacity: .8; margin-top: 14px; }

/* Phone with a real screenshot */
.device { width: 290px; background: #0c0c0f; border-radius: 48px; padding: 10px; box-shadow: 0 40px 80px rgba(60, 0, 40, .35), inset 0 0 0 2px #2a2a30; flex: none; }
.device img { display: block; width: 100%; height: auto; border-radius: 38px; }
.device.tilt { transform: none; box-shadow: 0 40px 80px rgba(60, 0, 40, .45), inset 0 0 0 2px #2a2a30; }
.stage { background: var(--grad); border-radius: 28px; display: flex; justify-content: center; align-items: flex-start; padding: 40px 24px 0; height: 520px; overflow: hidden; }
.stage .device { box-shadow: 0 30px 60px rgba(60, 0, 40, .4), inset 0 0 0 2px #2a2a30; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.kicker { color: var(--crimson); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -.025em; margin: 10px 0 14px; font-weight: 800; }
.sub { color: var(--muted); font-size: 18px; max-width: 36em; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 18px 40px rgba(155, 31, 106, .10); transform: translateY(-3px); }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel { border-radius: 28px; background: var(--grad); color: #fff; padding: 32px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.chart { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; line-height: 2; }
.chart b { background: rgba(255,255,255,.22); border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.chart .sec { opacity: .7; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad); }

.instructors { border-top: 1px solid var(--line); }
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 28px; }
.stat strong { display: block; font-size: 44px; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }
.btn { display: inline-block; margin-top: 32px; background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 600; }
.btn:hover { background: var(--plum); }

.cta { background: var(--grad); color: #fff; text-align: center; padding: 88px 0; }
.cta .sub { color: rgba(255,255,255,.88); margin: 0 auto 28px; }
.cta .badges { justify-content: center; }

footer { padding: 40px 0; font-size: 14px; color: var(--muted); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot nav { padding: 0; gap: 24px; }
.foot a:hover { color: var(--ink); }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .nav-links a:not(.keep) { display: none; }
  .device { width: 250px; } .device.tilt { transform: none; } .stage { height: 460px; }
  section { padding: 64px 0; }
  .hero { padding-bottom: 64px; }
  .split { gap: 36px; }
  .split > .stage { order: 2; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Legal / simple pages ---------- */
.hero.slim { padding-bottom: 0; }
.hero.slim nav { padding: 18px 0; }
.legal { max-width: 800px; padding-top: 56px; padding-bottom: 80px; color: #3d3d46; font-size: 16px; }
.legal h1, .legal .c-title { font-size: clamp(30px, 5vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); margin: 0 0 8px; display: block; }
.legal .c-subtitle, .legal .updated { color: var(--muted); font-size: 14px; }
.legal h2, .legal .c-heading_1 { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--ink); margin: 40px 0 8px; scroll-margin-top: 16px; }
.legal h3, .legal .c-heading_2 { display: block; font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 6px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--plum); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.legal a:hover { color: var(--crimson); }
.legal table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; }
.legal td, .legal th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal strong { color: var(--ink); }
.callout { background: #fbf3f6; border: 1px solid #f1d6e0; border-radius: 16px; padding: 18px 22px; margin: 12px 0; }
.callout p:last-child { margin-bottom: 0; }
.center-page { text-align: center; padding-top: 96px; }
.done img { width: 100px; height: 100px; border-radius: 24px; box-shadow: 0 18px 40px rgba(155,31,106,.25); }
.done h1 { margin-top: 28px; text-align: center; }

.legal .toc { columns: 2; column-gap: 32px; }
.legal .toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 820px) { .legal .toc { columns: 1; } }
.legal h1 { margin-bottom: 6px; }
