:root {
  --bg: #0b0b0d;
  --surface: #151518;
  --line: #26262b;
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --lime: #d4db00;
  --violet: #af4dff;
  --radius: 18px;
  --max: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px 0 88px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
h1 {
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin: 22px 0 20px;
}
h1 .p { color: var(--lime); }
h1 .l { color: var(--violet); }
.lede { font-size: 20px; color: var(--muted); max-width: 30em; margin: 0 0 32px; }
.lede strong { color: var(--text); font-weight: 600; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text); color: var(--bg);
  padding: 14px 22px; border-radius: 14px;
  font-weight: 600; text-decoration: none;
}
.btn svg { width: 20px; height: 20px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.note { font-size: 14px; color: var(--muted); }

/* Phone mock */
.phone {
  justify-self: center;
  width: min(300px, 100%);
  aspect-ratio: 9 / 19.5;
  border-radius: 46px;
  background: #000;
  border: 1px solid #2c2c31;
  box-shadow: 0 0 0 10px #17171a, 0 40px 120px -30px rgba(175, 77, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.phone svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.frame-p { animation: breathe 4s ease-in-out infinite; }
.frame-l { animation: breathe 4s ease-in-out infinite 2s; }
@keyframes breathe { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .frame-p, .frame-l { animation: none; } }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 14px; font-weight: 700; }
.section-lede { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 44px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 18px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 40px; height: 40px; }

/* Ratios */
.ratios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ratio-list { list-style: none; margin: 16px 0 0; padding: 0; }
.ratio-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ratio-list li:first-child { border-top: 0; }
.shape { flex: none; width: 28px; height: 28px; display: grid; place-items: center; }
.shape i { display: block; border: 2px solid currentColor; border-radius: 3px; max-width: 28px; max-height: 28px; }
.ratio-list b { font-variant-numeric: tabular-nums; min-width: 58px; }
.ratio-list span { color: var(--muted); font-size: 15px; }
.tag { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Final CTA */
.final { text-align: center; padding: 96px 0; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 20px; }
.final .cta { justify-content: center; }
.final .section-lede { margin-left: auto; margin-right: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Prose pages (privacy, support) */
.prose { max-width: 720px; padding: 40px 0 80px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 8px; }
.prose .updated { color: var(--muted); margin: 0 0 36px; }
.prose h2 { font-size: 24px; margin: 40px 0 10px; }
.prose p, .prose li { color: #cfcfd4; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--lime); }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.callout p { margin: 0; color: var(--text); }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 32px 0 64px; gap: 56px; }
  .features, .steps { grid-template-columns: 1fr; }
  .ratios { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
  .lede { font-size: 18px; }
  section { padding: 56px 0; }
}
