:root {
  --bg: #07131a;
  --bg-soft: #0b1220;
  --surface: #121a2b;
  --surface-2: #182338;
  --line: #2a3550;
  --text: #e8edf7;
  --muted: #a7b3c9;
  --teal: #14b8a6;
  --teal-deep: #0f766e;
  --mint: #5eead4;
  --route: #2563ff;
  --route-soft: #7aa2ff;
  --amber: #fbbf24;
  --radius: 26px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(20, 184, 166, .22), transparent 60%),
    radial-gradient(760px 460px at 92% 2%, rgba(37, 99, 255, .18), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(20, 184, 166, .08), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 19, 26, .76);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  box-shadow: 0 8px 24px rgba(20, 184, 166, .35);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav .btn { margin-left: 8px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 16px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s ease, filter .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; box-shadow: 0 12px 30px rgba(20, 184, 166, .3); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--text); }
.play-badge-link { display: inline-flex; align-items: center; }
.play-badge { height: 58px; width: auto; display: block; transition: transform .15s ease, filter .15s ease; }
.play-badge-link:hover .play-badge { transform: translateY(-1px); filter: brightness(1.06); }

/* hero */
.hero { padding: 76px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #c9fff6;
  background: rgba(20, 184, 166, .14); border: 1px solid rgba(20, 184, 166, .38);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(94, 234, 212, .16); }
h1 { margin: 18px 0 16px; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -.035em; font-weight: 800; }
.grad { background: linear-gradient(100deg, #99f6e4 0%, #14b8a6 38%, #7aa2ff 78%, #fbbf24 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 14px; font-size: 13px; color: #8fa0b8; }
.stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 17px; letter-spacing: -.01em; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* phones */
.phones { position: relative; min-height: 620px; display: flex; justify-content: center; }
.phone {
  position: absolute; width: 250px; border-radius: 34px; padding: 9px;
  background: linear-gradient(180deg, #22314a, #111a2b);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.phone img { width: 100%; display: block; border-radius: 26px; }
.phone-main { transform: rotate(-4deg) translateX(-58px) translateY(6px); z-index: 2; }
.phone-back { transform: rotate(6deg) translateX(86px) translateY(46px) scale(.92); opacity: .92; filter: saturate(.92); }
.glow { position: absolute; inset: auto 0 40px; height: 260px; z-index: 0; background: radial-gradient(closest-side, rgba(20, 184, 166, .42), transparent); filter: blur(20px); }

/* sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7dd3c7; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; margin: 10px 0 10px; line-height: 1.1; }
.section-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: #3e5a74; transform: translateY(-3px); }
.tile { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; }
.tile svg { width: 22px; height: 22px; }
.t-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.t-blue { background: linear-gradient(135deg, #2563ff, #1740b8); }
.t-mint { background: linear-gradient(135deg, #5eead4, #14b8a6); }
.t-amber { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.t-sky { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.t-rose { background: linear-gradient(135deg, #fb7185, #e11d48); }
.feature h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* screenshots */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; padding: 4px 4px 18px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: #2f4a5a; border-radius: 999px; }
.shot { scroll-snap-align: start; }
.shot img { width: 100%; display: block; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.shot figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step-num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; background: linear-gradient(135deg, #14b8a6, #0f766e); margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 820px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
details[open] { border-color: #3e5a74; }
summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #7dd3c7; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }

/* closed test */
.test-banner {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 28px; align-items: center;
  border: 1px solid var(--line); border-radius: 30px; padding: 34px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(20, 184, 166, .18), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
}
.test-banner .kicker { color: #7dd3c7; }
.test-banner h2 { margin: 8px 0; }
.test-banner p { margin: 0 0 8px; color: var(--muted); }
.test-meta { font-size: 13.5px; color: #8fa0b8 !important; }
.test-action { display: flex; flex-direction: column; gap: 10px; }

/* cta */
.cta {
  border-radius: 34px; padding: 54px 40px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 260px at 50% -30%, rgba(255, 255, 255, .2), transparent 70%),
    linear-gradient(120deg, #0f766e 0%, #14b8a6 45%, #2563ff 100%);
  box-shadow: 0 30px 80px rgba(20, 184, 166, .28);
}
.cta h2 { margin: 0 0 10px; }
.cta p { margin: 0 auto 24px; color: rgba(255, 255, 255, .88); max-width: 52ch; }
.cta .btn { background: #fff; color: #0f4f4a; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.cta .btn:hover { filter: brightness(.97); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 46px; color: #8fa0b8; font-size: 13.5px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a:hover { color: var(--text); }

/* legal pages */
.legal-wrap { width: min(860px, 100%); margin: 0 auto; padding: 48px 0 70px; }
.legal-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 5vw, 44px); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.legal-card h1 { font-size: clamp(30px, 6vw, 48px); margin: 0 0 8px; }
.legal-card h2 { font-size: 20px; margin: 30px 0 8px; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.7; }
.legal-card a { color: var(--mint); font-weight: 600; }
.legal-card ul { padding-left: 22px; }
.legal-muted { color: #8fa0b8; font-size: 13px; }
.legal-section { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 2px; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .phones { min-height: 560px; }
  .phone { width: 230px; }
  .phone-main { transform: rotate(-3deg) translateX(-46px); }
  .phone-back { transform: rotate(5deg) translateX(70px) translateY(40px) scale(.9); }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .test-banner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .features, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .phones { min-height: 500px; }
  .phone { width: 200px; }
  .cta { padding: 40px 22px; }
  .hero-actions .btn { width: 100%; }
}
