:root {
  --bg: #0B0D0C;
  --surface: #131615;
  --surface-2: #1A1E1C;
  --fg: #F2F4F1;
  --muted: #8E958F;
  --subtle: #5F6661;
  --lime: #CAFF61;
  --ink: #171B19;
  --violet: #8B6CFF;
  --red: #FF5C70;
  --display: 'Archivo', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --serif: 'Instrument Serif', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--fg); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(60vw 50vw at 85% -10%, rgba(139, 108, 255, .16), transparent 60%),
    radial-gradient(50vw 40vw at -10% 110%, rgba(202, 255, 97, .07), transparent 60%),
    var(--bg);
}
img { display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.logo.small { font-size: 16px; }
.age { font: 500 12px/1 var(--mono); padding: 9px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 48px 0 112px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin: 0 0 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); animation: pulse 2.2s ease-in-out infinite; }
h1 { font: 800 clamp(56px, 8.6vw, 120px)/.92 var(--display); letter-spacing: -.05em; margin: 0 0 24px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); margin: 0 0 36px; max-width: 26em; }

/* form */
.notify { max-width: 520px; }
.notify .row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); }
.notify input[type=email] { flex: 1; min-width: 0; font: 400 16px var(--sans); color: var(--fg); background: transparent; border: 0; padding: 12px 16px; }
.notify input[type=email]:focus { outline: none; }
.notify .row:focus-within { box-shadow: 0 0 0 2px var(--lime); }
.notify button { font: 600 15px var(--sans); color: var(--ink); background: var(--lime); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease; }
.notify button:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(202, 255, 97, .3); }
.notify button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--lime); }
.sender { margin: 8px 0 0 26px; font-size: 12px; color: var(--subtle); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* RTP infographic */
.viz { margin: 0; padding: 36px; border-radius: 28px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.viz figcaption { display: flex; flex-direction: column; margin-bottom: 28px; }
.viz .k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.viz .v { font: 800 clamp(30px, 3vw, 40px)/1 var(--display); letter-spacing: -.03em; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bars li { position: relative; display: flex; justify-content: space-between; align-items: center; height: 48px; padding: 0 18px; border-radius: 14px; background: rgba(255, 255, 255, .03); overflow: hidden; font-size: 14px; color: var(--muted); }
.bars li::before {
  content: ""; position: absolute; inset: 0 auto 0 0; border-radius: 14px; background: rgba(255, 255, 255, .07);
  width: calc((var(--w) - 90) / 7 * 100%); transform-origin: left; animation: grow 1.4s cubic-bezier(.2, .8, .2, 1) both;
}
.bars li:nth-child(2)::before { animation-delay: .12s; }
.bars li:nth-child(3)::before { animation-delay: .24s; }
.bars li:nth-child(4)::before { animation-delay: .36s; }
.bars li.best { color: var(--ink); }
.bars li.best::before { background: var(--lime); box-shadow: 0 0 40px rgba(202, 255, 97, .35); }
.bars span, .bars b { position: relative; }
.bars b { font: 700 18px/1 var(--display); color: var(--fg); }
.bars li.best b { color: var(--ink); }
.note { margin: 18px 0 0; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }

/* tools */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 96px; }
.tile { padding: 28px; border-radius: 24px; background: var(--surface); }
.tile h2 { font: 700 24px/1.15 var(--display); letter-spacing: -.02em; margin: 24px 0 6px; }
.tile p { margin: 0; color: var(--muted); }

.radar { position: relative; height: 150px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(255,255,255,.05) 23px 24px, transparent 25px 50px, rgba(255,255,255,.05) 51px 52px, transparent 53px 80px, rgba(255,255,255,.05) 81px 82px, transparent 83px), var(--surface-2); }
.sweep { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(202, 255, 97, .35), transparent 25%); animation: spin 4s linear infinite; }
.blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: blink 4s ease-in-out infinite; }
.b1 { left: 64%; top: 30%; animation-delay: .6s; }
.b2 { left: 36%; top: 62%; animation-delay: 2.1s; }
.b3 { left: 72%; top: 70%; animation-delay: 3s; }

.versions { height: 150px; border-radius: 18px; background: var(--surface-2); display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; padding: 16px; }
.chip { font: 700 22px/1 var(--display); padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--muted); animation: cycle 6s ease-in-out infinite; }
.chip:nth-child(2) { animation-delay: 1.5s; } .chip:nth-child(3) { animation-delay: 3s; } .chip:nth-child(4) { animation-delay: 4.5s; }

.sim { width: 100%; height: 150px; border-radius: 18px; background: var(--surface-2); padding: 10px; }
.sim .base { stroke: var(--subtle); stroke-dasharray: 4 5; stroke-width: 1; }
.sim .p { fill: none; stroke: var(--violet); stroke-opacity: .6; stroke-width: 2; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 5s ease-out infinite; animation-delay: var(--d); }
.sim .median { fill: none; stroke: var(--lime); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 5s ease-out infinite; animation-delay: 1.6s; }

/* steps */
.steps { display: flex; align-items: center; gap: 20px; padding-bottom: 112px; }
.step { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.step .n { font: 500 12px/1 var(--mono); color: var(--lime); }
.step b { font: 700 clamp(18px, 2vw, 24px)/1.1 var(--display); letter-spacing: -.02em; }
.line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(202, 255, 97, .5), rgba(255, 255, 255, .06)); min-width: 24px; }

/* footer */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 0 40px; color: var(--subtle); font-size: 13px; }
.foot p { margin: 0; }
.foot strong { color: var(--fg); }

/* simple pages */
.prose { padding: 24px 0 96px; max-width: 720px; }
.prose h1 { font-size: clamp(40px, 6vw, 64px); }
.prose h2 { font: 700 22px/1.3 var(--display); margin: 32px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.status { display: inline-flex; padding: 12px 20px; border-radius: 999px; background: var(--surface); text-decoration: none; font-weight: 600; }

@keyframes pulse { 50% { opacity: .35; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 0; transform: scale(.6); } 15%, 45% { opacity: 1; transform: scale(1); } 70% { opacity: 0; } }
@keyframes cycle { 0%, 20%, 100% { background: rgba(255, 255, 255, .05); color: var(--muted); } 8%, 14% { background: var(--lime); color: var(--ink); } }
@keyframes draw { 0% { stroke-dashoffset: var(--len, 520); } 60%, 100% { stroke-dashoffset: 0; } }
.sim .median { --len: 360; }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; }
  .sim .p, .sim .median { stroke-dashoffset: 0; }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 24px; padding-bottom: 80px; }
  .tools { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: flex-start; gap: 14px; }
  .line { display: none; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .viz { padding: 24px; }
  .notify .row { flex-direction: column; border-radius: 22px; }
  .notify button { width: 100%; }
}

/* FAQ */
.faq { padding-bottom: 96px; max-width: 820px; }
.faq h2 { font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -.02em; margin: 0 0 16px; }
.faq details { border-radius: 16px; background: var(--surface); margin-bottom: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime); font: 500 20px/1 var(--mono); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
