:root {
  --violet: #6d4aff;
  --violet-deep: #4b2fd6;
  --coral: #ff6b5a;
  --mint: #12b886;
  --sun: #f59f00;
  --ink: #15121f;
  --ink-2: #4a4558;
  --ink-3: #7a7489;
  --paper: #fbfaff;
  --card: #ffffff;
  --line: #ebe8f5;
  --tint: #f2efff;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(21, 18, 31, 0.04), 0 12px 40px -12px rgba(75, 47, 214, 0.18);
  --max: 1120px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f1fa;
    --ink-2: #c4bfd4;
    --ink-3: #8d87a0;
    --paper: #0e0c16;
    --card: #17141f;
    --line: #2a2536;
    --tint: #1d1830;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 48px -16px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  /* System fonts only: no font CDN ever sees our visitors. */
  font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #a996ff; } }

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

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 550; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 0;
  background: var(--violet); color: #fff; font-weight: 650; font-size: 15px;
  text-decoration: none; transition: transform .15s ease, background .15s ease;
  box-shadow: 0 8px 24px -10px rgba(109, 74, 255, 0.7);
}
.btn:hover { background: var(--violet-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: var(--tint); }
.btn.small { padding: 9px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 900px; z-index: -1;
  background:
    radial-gradient(40% 40% at 25% 35%, color-mix(in srgb, var(--violet) 26%, transparent), transparent 70%),
    radial-gradient(35% 35% at 80% 30%, color-mix(in srgb, var(--coral) 22%, transparent), transparent 70%);
  filter: blur(10px);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2);
  font-size: 13px; font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 25%, transparent); }
h1 {
  font-size: clamp(44px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
  margin: 20px 0 18px; font-weight: 820;
}
h1 .grad {
  background: linear-gradient(100deg, var(--violet) 10%, #b24bf3 50%, var(--coral) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* Phone */
.phone {
  justify-self: center; width: 320px; max-width: 100%; aspect-ratio: 9 / 18.5;
  border-radius: 46px; padding: 12px; background: #0b0a10;
  box-shadow: 0 40px 80px -30px rgba(40, 20, 120, 0.55), inset 0 0 0 2px #2a2733;
  position: relative;
}
.screen {
  height: 100%; border-radius: 36px; overflow: hidden; background: #f7f6fb; color: #15121f;
  display: flex; flex-direction: column; font-size: 14px;
}
@media (prefers-color-scheme: dark) { .screen { background: #121019; color: #f3f1fa; } }
.screen picture { display: block; height: 100%; }
.screen .shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; flex: none; }

/* Sections */
section { padding: 84px 0; }
.kicker { color: var(--violet); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; margin: 10px 0 14px; font-weight: 800; }
h3 { font-size: 20px; letter-spacing: -0.01em; margin: 14px 0 6px; }
.sub { color: var(--ink-2); font-size: 19px; max-width: 40em; margin: 0; }

.grid { display: grid; gap: 18px; margin-top: 40px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.card p { color: var(--ink-2); margin: 0; }
.ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }

/* Personas */
.personas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 15px;
}
.chip .av { width: 28px; height: 28px; font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.who {
  display: grid; gap: 12px;
}
.who-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px;
  border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.who-row .l { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.who-row .r { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.who-row .r .av { width: 28px; height: 28px; font-size: 14px; }

/* Ledger */
.ledger { margin-top: 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); background: var(--card); }
.ledger table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ledger th, .ledger td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ledger tr:last-child td { border-bottom: 0; }
.ledger th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--tint); }
.yes { color: var(--mint); font-weight: 700; }
.no { color: var(--coral); font-weight: 700; }
@media (max-width: 640px) { .ledger th, .ledger td { padding: 12px 14px; font-size: 14px; } }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: s; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--violet); font-weight: 800; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Band */
.band {
  border-radius: 32px; padding: 56px 40px; text-align: center; color: #fff;
  background: radial-gradient(80% 120% at 0% 0%, #8a6bff 0%, var(--violet) 40%, #3a22b8 100%);
  box-shadow: 0 30px 80px -30px rgba(75, 47, 214, 0.6); position: relative; overflow: hidden;
}
.band::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 60px; background: var(--coral); opacity: .9; transform: rotate(18deg); mix-blend-mode: screen; filter: blur(2px); }
.band h2 { color: #fff; position: relative; z-index: 1; }
.band p { color: rgba(255,255,255,.85); font-size: 19px; margin: 0 auto 26px; max-width: 34em; position: relative; z-index: 1; }
.band .btn { background: #fff; color: var(--violet-deep); position: relative; z-index: 1; }
.band .btn:hover { background: #f1edff; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--violet); font-weight: 700; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 10px 0 0; }

/* Prose pages */
.prose { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h1 { font-size: clamp(36px, 5vw, 52px); }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose p, .prose li { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink-3); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.prose code { background: var(--tint); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.updated { color: var(--ink-3); font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .float { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
}
