:root {
  --bg: #090616;
  --bg-soft: #100a25;
  --panel: rgba(24, 16, 50, 0.82);
  --panel-strong: #191034;
  --line: rgba(151, 112, 255, 0.2);
  --line-bright: rgba(151, 112, 255, 0.42);
  --text: #f7f5ff;
  --muted: #aaa3bf;
  --violet: #8b5cf6;
  --violet-light: #ad86ff;
  --pink: #dc4ac8;
  --yellow: #ffd75e;
  --green: #63d993;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    linear-gradient(rgba(137, 92, 246, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 92, 246, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ambient { position: fixed; width: 440px; height: 440px; filter: blur(140px); opacity: .12; pointer-events: none; }
.ambient-one { background: var(--violet); top: 8%; left: -220px; }
.ambient-two { background: var(--pink); top: 38%; right: -250px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  min-height: 72px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(9, 6, 22, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 24px rgba(139, 92, 246, .3); }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 17px; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
nav { display: flex; gap: 34px; color: var(--muted); font-size: 14px; }
nav a:hover, .footer-links a:hover { color: var(--text); }

.section { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 104px 0; }
.hero { padding-top: 78px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; color: #cbc4df; border: 1px solid var(--line); border-radius: 999px; background: rgba(17, 10, 39, .65); font: 11px "Space Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { width: 100%; margin: 22px auto 18px; font-size: clamp(44px, 6vw, 76px); line-height: .99; letter-spacing: -.055em; }
.hero-title-line { display: block; white-space: nowrap; }
h2 { font-size: clamp(34px, 4.5vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
h3 { font-size: 21px; letter-spacing: -.02em; }
.hero-copy { max-width: 750px; margin: 0 auto 30px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: white; background: linear-gradient(135deg, #a574ff, #6d3ff0); box-shadow: 0 12px 34px rgba(112, 63, 240, .25), inset 0 1px rgba(255,255,255,.25); font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(112, 63, 240, .38), inset 0 1px rgba(255,255,255,.25); }
.button-small { min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: 13px; }
.button-quiet { color: #ddd7ea; background: rgba(27, 18, 54, .7); box-shadow: none; }
.microcopy { margin: 18px 0 0; display: flex; justify-content: center; align-items: center; gap: 7px; color: #777085; font-size: 12px; }
.microcopy svg { width: 15px; }

.hero-device-stage { position: relative; height: 700px; margin-top: 68px; display: flex; justify-content: center; align-items: flex-end; isolation: isolate; }
.hero-device-stage::before { content: ""; position: absolute; width: 740px; height: 360px; bottom: 25px; z-index: -2; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.31), transparent 68%); filter: blur(10px); }
.orbit { position: absolute; left: 50%; bottom: 75px; transform: translateX(-50%); border: 1px solid rgba(150,115,255,.14); border-radius: 50%; z-index: -1; }
.orbit-one { width: 760px; height: 260px; }
.orbit-two { width: 980px; height: 390px; }
.phone { position: absolute; margin: 0; width: 292px; padding: 9px; border: 1px solid rgba(255,255,255,.17); border-radius: 45px; background: #06040d; box-shadow: 0 45px 90px rgba(0,0,0,.6), 0 0 0 5px rgba(139,92,246,.05); overflow: hidden; }
.phone::before { content: ""; position: absolute; width: 95px; height: 25px; top: 17px; left: 50%; transform: translateX(-50%); z-index: 3; background: #020106; border-radius: 20px; }
.phone img { width: 100%; border-radius: 36px; }
.phone-main { z-index: 3; width: 324px; transform: translateY(-24px); }
.phone-left { z-index: 1; transform: translate(-248px, 28px) rotate(-8deg); opacity: .68; }
.phone-right { z-index: 2; transform: translate(248px, 28px) rotate(8deg); opacity: .8; }

.problem-band { width: 100%; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(18, 11, 38, .58); }
.problem-band h2, .problem-band > p { max-width: 760px; }
.problem-band > p:not(.kicker) { color: var(--muted); font-size: 18px; }
.kicker { color: var(--violet-light); font: 700 11px "Space Mono", monospace; letter-spacing: .18em; }
.benefit-row { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-row div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(12, 7, 29, .65); }
.benefit-row span { margin-right: 10px; color: var(--violet-light); }

.section-heading { text-align: center; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.panel { min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(29,18,58,.85), rgba(14,9,31,.8)); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.step-number { color: #83779e; font: 10px "Space Mono", monospace; letter-spacing: .16em; }
.panel-icon { width: 44px; height: 44px; margin: 24px 0; display: grid; place-items: center; color: #d2bbff; border-radius: 10px; background: rgba(139,92,246,.15); border: 1px solid var(--line); }
.panel p, .feature-copy > p, .trust article p, .ios-card p, .closing-card > p { color: var(--muted); }

.feature-stack { display: grid; gap: 150px; }
.feature { display: grid; grid-template-columns: 1.05fr .75fr; align-items: center; gap: 110px; }
.feature-screen-left { grid-template-columns: .75fr 1.05fr; }
.feature h2 { margin-bottom: 20px; }
.feature-copy > p { font-size: 18px; }
.feature ul { list-style: none; padding: 0; margin: 28px 0 0; }
.feature li { margin: 11px 0; color: #d7d1e4; }
.feature li::before { content: "✓"; color: var(--green); margin-right: 11px; }
.screen-card { position: relative; max-height: 630px; padding: 12px; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 38px; background: #05030d; box-shadow: 0 35px 80px rgba(0,0,0,.48), 0 0 60px rgba(139,92,246,.1); }
.screen-card img { width: 100%; border-radius: 29px; }
.paywall-card { max-height: 650px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.tag-row span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: #cbc3db; background: rgba(139,92,246,.08); font-size: 13px; }

.trust { width: 100%; padding-left: max(24px, calc((100vw - var(--max)) / 2)); padding-right: max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(18,11,38,.55); }
.trust > h2 { max-width: 700px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.trust article { padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10,6,23,.58); }
.trust article > span { color: var(--violet-light); font-size: 24px; }
.trust article h3 { margin: 18px 0 8px; font-size: 17px; }
.trust article p { margin-bottom: 0; font-size: 14px; }

.ios-card { min-height: 390px; padding: 58px 64px; display: grid; grid-template-columns: 1.2fr .55fr; align-items: center; gap: 60px; overflow: hidden; border: 1px solid var(--line-bright); border-radius: 28px; background: radial-gradient(circle at 80% 20%, rgba(219,70,202,.25), transparent 30%), linear-gradient(135deg, #21104c, #3f1e9c 65%, #25135f); box-shadow: 0 45px 90px rgba(0,0,0,.4); }
.ios-card h2 { margin: 18px 0; }
.ios-card > img { width: 230px; justify-self: end; border-radius: 50px; box-shadow: 0 30px 60px rgba(0,0,0,.4), 0 0 60px rgba(183,119,255,.2); transform: rotate(5deg); }
.app-store-badge { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 15px; color: white; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; background: #050505; }
.app-store-badge svg { width: 29px; height: 29px; fill: currentColor; stroke: none; }
.app-store-badge span { display: flex; flex-direction: column; line-height: 1; }
.app-store-badge small { font-size: 8px; letter-spacing: .05em; }
.app-store-badge strong { margin-top: 4px; font-size: 20px; }

.faq-list { width: min(780px, 100%); margin: 0 auto; }
details { border: 1px solid var(--line); background: rgba(9,5,23,.68); }
details:first-child { border-radius: 14px 14px 0 0; }
details:last-child { border-radius: 0 0 14px 14px; }
details + details { border-top: 0; }
summary { padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--violet-light); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

.closing { padding-top: 50px; }
.closing-card { padding: 72px 32px; text-align: center; border: 1px solid var(--line-bright); border-radius: 26px; background: linear-gradient(145deg, rgba(35,21,73,.9), rgba(17,10,38,.92)); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 30px 80px rgba(0,0,0,.35); }
.closing-card h2 { margin: 10px 0 14px; }

footer { padding: 48px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: end; border-top: 1px solid var(--line); background: #130d29; color: var(--muted); }
footer .brand { color: var(--text); }
footer > p { margin: 0; }
.footer-links { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 24px; align-self: center; font-size: 13px; }
footer > small { padding-top: 22px; border-top: 1px solid var(--line); grid-column: 1 / -1; }

.legal-page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
}
.legal-page h1 {
  margin: 8px 0 6px;
  font-size: clamp(46px, 7vw, 72px);
}
.legal-updated { color: #7f7694; font: 12px "Space Mono", monospace; }
.legal-page > p,
.legal-page li { color: #beb7cf; }
.legal-page h2 {
  margin-top: 52px;
  margin-bottom: 15px;
  font-size: 27px;
  letter-spacing: -.025em;
}
.legal-page li { margin: 9px 0; }
.legal-page a { color: #c5a7ff; text-decoration: underline; text-underline-offset: 3px; }
.legal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-template-columns: none;
}
.legal-footer > small { padding: 0; border: 0; }
.legal-footer .footer-links { grid-column: auto; grid-row: auto; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero-device-stage { height: 610px; transform: scale(.86); margin-left: -60px; margin-right: -60px; }
  .benefit-row, .step-grid { grid-template-columns: 1fr; }
  .feature, .feature-screen-left { grid-template-columns: 1fr 360px; gap: 52px; }
  .feature-stack { gap: 100px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-header { min-height: 64px; }
  .site-header > .button { display: none; }
  .brand small { max-width: 190px; }
  .section { width: min(100% - 32px, var(--max)); padding: 74px 0; }
  .hero { padding-top: 52px; }
  h1 { font-size: clamp(20px, 6.4vw, 42px); }
  .hero-copy { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-device-stage { height: 535px; margin-top: 42px; transform: scale(.72); margin-left: -145px; margin-right: -145px; transform-origin: top center; }
  .problem-band, .trust { width: 100%; padding-left: 16px; padding-right: 16px; }
  .feature, .feature-screen-left { display: flex; flex-direction: column; gap: 38px; }
  .feature-screen-left .screen-card { order: 2; }
  .screen-card { width: min(350px, 90vw); max-height: 580px; }
  .trust-grid { grid-template-columns: 1fr; }
  .ios-card { padding: 40px 28px; grid-template-columns: 1fr; text-align: center; }
  .ios-card .eyebrow { justify-self: center; }
  .ios-card > img { width: 160px; justify-self: center; order: -1; }
  footer { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: auto; flex-wrap: wrap; }
  .legal-footer { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
