:root {
  --bg: #0c0a11;
  --bg-soft: #131019;
  --ink: #eceaf3;
  --muted: #948fa6;
  --faint: #6a6580;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --amber: #ff9a3d;
  --magenta: #e24bd0;
  --purple: #7b4be0;
  --measure: 940px;
  --readable: 660px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(226, 75, 208, 0.10), transparent 60%),
    radial-gradient(900px 460px at 8% 4%, rgba(255, 154, 61, 0.09), transparent 55%),
    var(--bg);
}

/* single brand moment: a thin spectrum rule pinned to the top */
body::before {
  content: "";
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 20;
  background: linear-gradient(90deg, #ff9a3d, #e24bd0 55%, #7b4be0);
}

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

/* ---------- header ---------- */
header { position: relative; z-index: 5; }
.bar {
  max-width: var(--measure); margin: 0 auto; padding: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.mark {
  width: 28px; height: 28px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; line-height: 1;
  background: linear-gradient(145deg, #ff9a3d, #e24bd0 55%, #7b4be0);
  box-shadow: 0 6px 18px -6px rgba(226, 75, 208, 0.6);
}
.wordmark { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
nav { display: flex; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color 0.15s; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

/* ---------- type ---------- */
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px;
  font-weight: 600; color: var(--amber); margin: 0 0 20px;
}
h1 {
  font-size: clamp(34px, 5.6vw, 56px); line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 800; margin: 0 0 22px;
}
h2 { font-size: clamp(22px, 3vw, 27px); letter-spacing: -0.02em; font-weight: 750; margin: 0 0 16px; }
.lede { font-size: 20px; line-height: 1.55; color: #cfccdd; margin: 0 0 12px; }
p { margin: 0 0 16px; }
a { color: var(--amber); text-underline-offset: 3px; }
strong { color: var(--ink); font-weight: 650; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 76px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 14px; font-weight: 550; background: rgba(255,255,255,0.02);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

.visual { position: relative; display: grid; place-items: center; }
.aura { position: absolute; inset: -14%; z-index: 0; filter: blur(64px); pointer-events: none; }
.aura span { position: absolute; border-radius: 50%; }
.aura .a { width: 62%; height: 58%; top: -4%; left: -6%; background: var(--amber); opacity: 0.34; }
.aura .b { width: 58%; height: 56%; bottom: -6%; right: -8%; background: var(--magenta); opacity: 0.32; }
.aura .c { width: 46%; height: 44%; bottom: 10%; left: 12%; background: var(--purple); opacity: 0.26; }

/* device frame */
.phone { position: relative; z-index: 1; border-radius: 44px; padding: 9px;
  background: linear-gradient(150deg, #241f31, #100c1a);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset,
              0 40px 90px -30px rgba(190,70,220,0.45),
              0 30px 70px -28px rgba(0,0,0,0.75);
}
.phone img { display: block; width: 100%; border-radius: 36px; }
.hero .phone { width: min(330px, 78vw); }

/* ---------- how it works ---------- */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { position: relative; padding-top: 14px; border-top: 2px solid var(--line-strong); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 14px;
  color: var(--amber); letter-spacing: 0.08em; margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 18px; font-weight: 650; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 780px; margin: 34px auto 0; }
.shot { width: 100%; }
.shot .phone { width: 100%; border-radius: 34px; padding: 7px; }
.shot .phone img { border-radius: 28px; }
.shot figcaption { text-align: center; margin-top: 14px; color: var(--muted); font-size: 14.5px; }

/* ---------- facts ---------- */
.facts { list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.facts li { padding: 22px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), transparent); color: var(--muted); font-size: 15.5px; }
.facts b { display: block; color: var(--ink); font-weight: 650; font-size: 16px; margin-bottom: 6px; }

.closing { padding: 80px 0; text-align: center; border-top: 1px solid var(--line); }
.closing .lede { max-width: 30ch; margin: 0 auto; }

/* ---------- doc pages (privacy / support) ---------- */
main.doc, main.help { padding: 64px 0 24px; }
main.doc .stamp { color: var(--faint); font-size: 14px; margin: -8px 0 34px; }
main.doc h2 { margin-top: 44px; }
main.doc p, main.doc li { color: #cbc7d9; }
main.doc ul { padding-left: 20px; } main.doc li { margin: 0 0 10px; }
.label { display: inline-block; margin-top: 8px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; font-weight: 600; }
.qa { padding: 24px 0; border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0 0 8px; font-size: 17px; font-weight: 650; }
.qa p { margin: 0; color: var(--muted); }
.contact { margin-top: 44px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,154,61,0.05), transparent); }
.contact h2 { margin: 0 0 6px; font-size: 18px; } .contact p { margin: 0; color: var(--muted); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); }
.foot { max-width: var(--measure); margin: 0 auto; padding: 30px 24px 52px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  color: var(--faint); font-size: 14px; }
.foot .brand .wordmark { font-size: 15px; }
.foot .links { display: flex; gap: 22px; }
.foot a { color: var(--muted); text-decoration: none; } .foot a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.2,0.7,0.2,1) forwards; }
  .reveal.d1 { animation-delay: 0.06s; } .reveal.d2 { animation-delay: 0.13s; } .reveal.d3 { animation-delay: 0.2s; }
  .hero .visual { animation: rise 0.9s cubic-bezier(0.2,0.7,0.2,1) 0.1s both; }
  .aura { animation: breathe 7s ease-in-out infinite; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  @keyframes breathe { 0%,100% { opacity: 0.85; } 50% { opacity: 1; transform: scale(1.04); } }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .visual { order: 2; }
  .steps, .facts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
  .steps li { border-top-width: 1px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  nav { gap: 16px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
