/* Ruvee landing. Fonts: Hanken Grotesk and JetBrains Mono, SIL OFL 1.1 (fonts/OFL.txt). */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range:
    U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  --bg: #0d0b14;
  --bg-2: #120f1c;
  --surface: #17141f;
  --surface-2: #1e1a2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #eeecf4;
  --ink-2: #c9c6d6;
  --muted: #9a97aa;
  --brand: #7357ff;
  --brand-2: #8f78ff;
  --brand-3: #b3a1ff;
  --brand-glow: rgba(115, 87, 255, 0.45);
  --ok: #5fe3b0;
  --warn: #f5c26b;
  --bad: #f97066;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-in: cubic-bezier(0.05, 0.7, 0.1, 1);
  --ease-exit: cubic-bezier(0.3, 0, 1, 1);
  --t-quick: 160ms;
  --t-std: 450ms;
  --t-slow: 900ms;

  --radius: 18px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
}
code,
pre {
  font-family: var(--mono);
}
h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
p {
  margin: 0;
}
::selection {
  background: var(--brand);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--brand-3);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background var(--t-std) var(--ease),
    border-color var(--t-std) var(--ease),
    backdrop-filter var(--t-std) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 11, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
  font-size: 15px;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--t-quick) var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand__mark {
  width: 30px;
  height: 30px;
}
.brand__mark rect {
  fill: var(--brand);
}
.brand__mark circle,
.brand__mark path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.brand--sm {
  font-size: 16px;
}
.brand--sm .brand__mark {
  width: 24px;
  height: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  --lift: 0px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transform: translateY(var(--lift));
  transition:
    transform var(--t-quick) var(--ease),
    box-shadow var(--t-std) var(--ease),
    background var(--t-quick) var(--ease);
}
.btn:hover {
  --lift: -1px;
}
.btn:active {
  --lift: 1px;
  transition-duration: 80ms;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 24px -8px var(--brand-glow),
    0 2px 6px rgba(0, 0, 0, 0.3);
}
.btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 14px 36px -8px var(--brand-glow),
    0 2px 6px rgba(0, 0, 0, 0.3);
}
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}
.btn--sm {
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 14px;
}
.btn__spinner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  opacity: 0;
  animation: spin 700ms linear infinite;
}
.is-loading .btn__label {
  opacity: 0;
}
.is-loading .btn__spinner {
  opacity: 1;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease-in),
    transform 700ms var(--ease-in);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob--a {
  width: 620px;
  height: 620px;
  left: -160px;
  top: -220px;
  background: radial-gradient(circle, #5b3cff 0%, transparent 70%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.blob--b {
  width: 520px;
  height: 520px;
  right: -140px;
  top: 40px;
  background: radial-gradient(circle, #9a4dff 0%, transparent 70%);
  opacity: 0.4;
  animation: drift-b 26s ease-in-out infinite alternate;
}
.blob--c {
  width: 460px;
  height: 460px;
  left: 35%;
  bottom: -260px;
  background: radial-gradient(circle, #2f6bff 0%, transparent 70%);
  opacity: 0.3;
  animation: drift-a 30s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a {
  to {
    transform: translate(80px, 60px) scale(1.08);
  }
}
@keyframes drift-b {
  to {
    transform: translate(-70px, 50px) scale(0.94);
  }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.6;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  background: rgba(115, 87, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(143, 120, 255, 0.3) inset;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(95, 227, 176, 0.6);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 227, 176, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px rgba(95, 227, 176, 0);
  }
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.grad {
  background: linear-gradient(100deg, #fff 0%, var(--brand-3) 45%, #8f78ff 70%, #c9b9ff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 8s ease-in-out infinite alternate;
}
@keyframes sheen {
  to {
    background-position: 100% 0;
  }
}
.hero__lede {
  margin-top: 22px;
  max-width: 540px;
  font-size: 19px;
  color: var(--ink-2);
}

/* ---------- Waitlist form ---------- */
.waitlist {
  margin-top: 34px;
  max-width: 520px;
}
.waitlist__row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px var(--line-2) inset;
  transition: box-shadow var(--t-std) var(--ease);
}
.waitlist__row:focus-within {
  box-shadow:
    0 0 0 1px rgba(143, 120, 255, 0.7) inset,
    0 0 0 5px rgba(115, 87, 255, 0.16);
}
.waitlist input[type='email'] {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.waitlist input::placeholder {
  color: #6f6c80;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.waitlist__msg {
  min-height: 24px;
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.waitlist__msg.is-error {
  color: var(--bad);
}
.waitlist__fine {
  font-size: 14px;
  color: #77748a;
}
.waitlist.is-error .waitlist__row {
  animation: shake 360ms var(--ease) both;
  box-shadow: 0 0 0 1px rgba(249, 112, 102, 0.7) inset;
}
@keyframes shake {
  20% {
    transform: translateX(-10px);
  }
  45% {
    transform: translateX(8px);
  }
  70% {
    transform: translateX(-4px);
  }
  100% {
    transform: none;
  }
}
.waitlist.is-done .waitlist__row {
  display: none;
}
.waitlist.is-done .waitlist__fine {
  display: none;
}
.done {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(95, 227, 176, 0.08);
  box-shadow: 0 0 0 1px rgba(95, 227, 176, 0.3) inset;
  color: var(--ink);
  animation: pop 500ms var(--ease-in) both;
}
.done svg {
  flex: none;
  width: 34px;
  height: 34px;
}
.done circle {
  fill: rgba(95, 227, 176, 0.15);
  stroke: var(--ok);
  stroke-width: 2;
}
.done path {
  fill: none;
  stroke: var(--ok);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: draw 420ms 220ms var(--ease) forwards;
}
.done b {
  display: block;
}
.done span {
  color: var(--muted);
  font-size: 15px;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(6px);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Flow visual ---------- */
.flow {
  position: relative;
  display: grid;
  justify-items: center;
}
.card {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 26, 42, 0.92), rgba(20, 17, 29, 0.92));
  box-shadow:
    0 0 0 1px var(--line-2) inset,
    0 30px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 60px -20px rgba(115, 87, 255, 0.25);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.card__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.card__title {
  font-weight: 600;
  color: var(--ink-2);
  margin-right: auto;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--brand-3);
  background: rgba(115, 87, 255, 0.14);
}
.tag--ok {
  color: var(--ok);
  background: rgba(95, 227, 176, 0.1);
}
.vault {
  list-style: none;
  margin: 0;
  padding: 8px;
}
.vault__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  transition: background var(--t-std) var(--ease);
}
.vault__row.is-active {
  background: rgba(115, 87, 255, 0.12);
}
.ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.ico--a {
  background: linear-gradient(135deg, #7357ff, #4b2fe0);
}
.ico--b {
  background: linear-gradient(135deg, #2f9bff, #1d63d6);
}
.ico--c {
  background: linear-gradient(135deg, #22c493, #12906a);
}
.vault__meta {
  display: grid;
  min-width: 0;
}
.vault__meta b {
  font-size: 14px;
  font-weight: 600;
}
.vault__meta code {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.vault__row.is-active code {
  color: var(--brand-3);
}
.lockline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.lockline svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--brand-3);
  stroke-width: 2;
  stroke-linecap: round;
}
.wire {
  position: relative;
  width: 40px;
  height: 84px;
}
.wire svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wire__path {
  fill: none;
  stroke: rgba(143, 120, 255, 0.4);
  stroke-width: 2;
  stroke-dasharray: 4 6;
  animation: dash 1.2s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}
.packet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 4px;
  background: var(--brand-3);
  box-shadow:
    0 0 0 4px rgba(143, 120, 255, 0.2),
    0 0 24px var(--brand);
  opacity: 0;
}
.packet.is-go {
  animation: travel 900ms var(--ease) forwards;
}
@keyframes travel {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  15% {
    opacity: 1;
    transform: translateY(6px) scale(1);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(72px) scale(0.7);
  }
}
.log {
  margin: 0;
  height: 148px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  overflow: hidden;
  white-space: pre;
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%);
}
.log .l {
  display: block;
  animation: logline 500ms var(--ease-in) both;
}
.log .k {
  color: var(--brand-3);
}
.log .ok {
  color: var(--ok);
}
@keyframes logline {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- Trust strip ---------- */
.trust {
  list-style: none;
  padding: 0;
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.trust li {
  padding: 22px 20px;
  background: rgba(13, 11, 20, 0.85);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.trust__k {
  display: block;
  color: var(--ink);
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.01em;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section--tint {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(115, 87, 255, 0.1), transparent 70%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.section__head {
  max-width: 720px;
  margin-bottom: 56px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-3);
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 720;
}
.section__lede {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-2);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.step__art {
  height: 110px;
  display: grid;
  place-items: center;
  margin: 8px 0 14px;
}
.step__art svg {
  width: 150px;
  height: 100px;
}
.step .draw {
  fill: none;
  stroke: var(--brand-3);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1400ms var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms + 200ms);
}
.step .draw.dash {
  stroke-dasharray: 4 5;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 600ms var(--ease) 900ms;
}
.step.is-in .draw {
  stroke-dashoffset: 0;
}
.step.is-in .draw.dash {
  opacity: 1;
  animation: dash 1s linear infinite;
}
.step h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  font-size: 16px;
}

/* Server view */
.sv__panel {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow:
    0 0 0 1px var(--line-2) inset,
    0 40px 100px -40px rgba(0, 0, 0, 0.7);
}
.switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px var(--line) inset;
  margin-bottom: 24px;
}
.switch__opt {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: color var(--t-std) var(--ease);
}
.switch__opt.is-on {
  color: #fff;
}
.switch__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 6px 18px -6px var(--brand-glow);
  transition: transform var(--t-std) var(--ease);
}
.switch.is-server .switch__thumb {
  transform: translateX(100%);
}
.sv__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sv__grid li {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  transition: box-shadow var(--t-std) var(--ease);
}
.sv__grid span {
  font-size: 13px;
  color: var(--muted);
}
.sv__grid code {
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--t-std) var(--ease);
}
.sv.is-server .sv__grid code {
  color: var(--brand-3);
}
.sv.is-server .sv__grid li {
  box-shadow: 0 0 0 1px rgba(143, 120, 255, 0.25) inset;
}
.sv__caption {
  margin-top: 18px;
  font-size: 15px;
  color: var(--muted);
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  --mx: 50%;
  --my: 50%;
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line) inset;
  overflow: hidden;
  isolation: isolate;
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(115, 87, 255, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--t-std) var(--ease);
}
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    300px circle at var(--mx) var(--my),
    rgba(179, 161, 255, 0.55),
    transparent 60%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-std) var(--ease);
  pointer-events: none;
}
.tile:hover::before,
.tile:hover::after {
  opacity: 1;
}
.tile--wide {
  grid-column: span 2;
}
.tile__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 20px;
  background: rgba(115, 87, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(143, 120, 255, 0.28) inset;
}
.tile__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brand-3);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.tile p {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
}
.cipher-strip {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(179, 161, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.origin {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.origin__item {
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line) inset;
  color: var(--ink-2);
}
.origin__item b {
  margin-left: 8px;
  font-weight: 400;
}
.origin__item--ok b {
  color: var(--ok);
}
.origin__item--no b {
  color: var(--bad);
}

/* Roadmap */
.road {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 34px;
}
.road__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.road__line span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--ok), var(--brand-3) 50%, rgba(179, 161, 255, 0.2));
  transition: transform 1600ms var(--ease);
}
.road.is-in .road__line span {
  transform: scaleX(1);
}
.road__col {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line) inset;
}
.road__col::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-2);
  box-shadow: 0 0 0 2px var(--brand-3);
}
.road__col:first-of-type::before {
  background: var(--ok);
  box-shadow: 0 0 0 2px var(--ok), 0 0 16px var(--ok);
}
.road__col ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
.road__col li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 16px;
}
.road__col li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(179, 161, 255, 0.45);
}
.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 8px;
}
.badge--done {
  color: var(--ok);
  background: rgba(95, 227, 176, 0.1);
}
.badge--now {
  color: var(--brand-3);
  background: rgba(115, 87, 255, 0.15);
}
.badge--next {
  color: var(--warn);
  background: rgba(245, 194, 107, 0.1);
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.faq .section__head {
  position: sticky;
  top: 110px;
}
.faq__list {
  display: grid;
  gap: 10px;
}
.faq details {
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line) inset;
  transition: box-shadow var(--t-std) var(--ease);
}
.faq details[open] {
  box-shadow: 0 0 0 1px rgba(143, 120, 255, 0.35) inset;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 17px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t-std) var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 16px;
}
.faq details[open] p {
  animation: logline 400ms var(--ease-in) both;
}

/* CTA */
.cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 500px;
  transform: translate(-50%, -50%);
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(115, 87, 255, 0.35), transparent 65%);
  filter: blur(40px);
  animation: breathe 6s ease-in-out infinite alternate;
}
@keyframes breathe {
  to {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}
.cta__inner {
  display: grid;
  justify-items: center;
}
.cta__mark {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  box-shadow: 0 20px 50px -12px var(--brand-glow);
  margin-bottom: 28px;
}
.cta__mark circle,
.cta__mark path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.8;
  stroke-linecap: round;
}
.cta h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 750;
}
.cta p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-2);
}
.waitlist--center {
  width: 100%;
  margin-inline: auto;
}
.waitlist--center .done {
  text-align: left;
}

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
}
.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot p {
  font-size: 14px;
  color: #77748a;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nav__links {
    display: none;
  }
  .nav__inner {
    justify-content: space-between;
  }
  .steps,
  .road {
    grid-template-columns: 1fr;
  }
  .road {
    padding-top: 0;
    padding-left: 30px;
  }
  .road__line {
    top: 0;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .road__line span {
    transform-origin: top;
    transform: scaleY(0);
    background: linear-gradient(180deg, var(--ok), var(--brand-3) 50%, rgba(179, 161, 255, 0.2));
  }
  .road.is-in .road__line span {
    transform: scaleY(1);
  }
  .road__col::before {
    top: 28px;
    left: -30px;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .sv__grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq .section__head {
    position: static;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .hero {
    padding: 112px 0 56px;
  }
  .hero__lede {
    font-size: 17px;
  }
  .waitlist__row {
    flex-direction: column;
  }
  .waitlist .btn {
    width: 100%;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
  }
  .section {
    padding: 84px 0;
  }
  .bento,
  .sv__grid {
    grid-template-columns: 1fr;
  }
  .tile--wide {
    grid-column: auto;
  }
  .sv__panel {
    padding: 18px;
  }
  .cta {
    padding: 100px 0;
  }
  .foot__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
