/* ============================================================
   YOGERA AI — LAUNCH PAGE
   ============================================================ */

:root {
  --ink: #05070e;
  --ink-2: #080c16;
  --ink-3: #0c1220;

  --cyan: #2aa6de;
  --cyan-lit: #55cbf7;
  --violet: #723b96;
  --violet-lit: #a768da;

  --text: #edf2f9;
  --text-2: #a7b4c8;
  --muted: #6c7b92;

  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.035);

  --grad: linear-gradient(100deg, #55cbf7 0%, #2aa6de 38%, #a768da 100%);
  --grad-text: linear-gradient(100deg, #55cbf7 0%, #2aa6de 38%, #a768da 100%);
  --grad-sheen: linear-gradient(
    100deg,
    #55cbf7 0%,
    #2aa6de 22%,
    #a768da 44%,
    #55cbf7 66%,
    #2aa6de 100%
  );
  --grad-soft: linear-gradient(
    100deg,
    rgba(85, 203, 247, 0.16),
    rgba(167, 104, 218, 0.16)
  );
  --btn-ink: #04121b;

  --surface-2: rgba(255, 255, 255, 0.055); /* hover fill */
  --surface-3: rgba(255, 255, 255, 0.045); /* input + tile fill */
  --perk-bg: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );
  --orb-op: 0.5;
  --veil-op: 0.5;
  --noise-op: 0.035;
  --noise-blend: overlay;
  --nav-bg: rgba(5, 7, 14, 0.72);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shell: 1160px;
  --pad: clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: dark;
}

/* ============================================================
   LIGHT THEME — set data-theme="light" on <html>
   Only the tokens change; layout and components are shared.
   ============================================================ */
:root[data-theme="light"] {
  --ink: #f6f8fc;
  --ink-2: #ffffff;
  --ink-3: #edf2f8;

  --cyan: #1587c9;
  --cyan-lit: #0e70a9;
  --violet: #6b3690;
  --violet-lit: #7a3ca6;

  --text: #0a1120;
  --text-2: #42546d;
  --muted: #566a83;

  --line: rgba(10, 17, 32, 0.1);
  --line-2: rgba(10, 17, 32, 0.17);
  --glass: rgba(10, 17, 32, 0.028);

  /* fills keep the vivid brand gradient — dark ink on cyan still reads */
  --grad: linear-gradient(100deg, #3ebbef 0%, #2aa6de 38%, #8f4ec4 100%);
  /* text gradients go darker so they hold contrast on white */
  --grad-text: linear-gradient(100deg, #1290d2 0%, #0e7cbc 40%, #6b3690 100%);
  --grad-sheen: linear-gradient(
    100deg,
    #1290d2 0%,
    #0e7cbc 22%,
    #6b3690 44%,
    #1290d2 66%,
    #0e7cbc 100%
  );
  --grad-soft: linear-gradient(
    100deg,
    rgba(42, 166, 222, 0.1),
    rgba(114, 59, 150, 0.1)
  );

  --surface-2: rgba(10, 17, 32, 0.055);
  --surface-3: rgba(10, 17, 32, 0.035);
  --perk-bg: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.55)
  );
  --orb-op: 0.34;
  --veil-op: 0.7;
  --noise-op: 0.022;
  --noise-blend: multiply;
  --nav-bg: rgba(246, 248, 252, 0.78);

  color-scheme: light;
}

/* the terminal and the app preview stay dark in both themes —
   they are screens, not page surfaces. Re-scope the tokens inside them. */
:root[data-theme="light"] .term,
:root[data-theme="light"] .preview-wrap {
  --text: #edf2f9;
  --text-2: #a7b4c8;
  --muted: #6c7b92;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --cyan-lit: #55cbf7;
  --violet-lit: #a768da;
  --grad-soft: linear-gradient(
    100deg,
    rgba(85, 203, 247, 0.16),
    rgba(167, 104, 218, 0.16)
  );
}
:root[data-theme="light"] .term {
  box-shadow: 0 40px 90px -40px rgba(10, 17, 32, 0.45);
}
:root[data-theme="light"] .preview-wrap {
  box-shadow: 0 50px 110px -50px rgba(10, 17, 32, 0.5);
}
:root[data-theme="light"] .logos span {
  background: #fff;
}
:root[data-theme="light"] .vault {
  background: linear-gradient(
    120deg,
    rgba(42, 166, 222, 0.1),
    rgba(114, 59, 150, 0.1)
  );
  border-color: rgba(21, 135, 201, 0.3);
}
:root[data-theme="light"] .card::after {
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(21, 135, 201, 0.1),
    transparent 60%
  );
}
:root[data-theme="light"] .card:hover,
:root[data-theme="light"] .perk:hover {
  box-shadow: 0 18px 44px -24px rgba(10, 17, 32, 0.28);
}
:root[data-theme="light"] .btn {
  color: #fff;
  box-shadow:
    0 10px 30px -12px rgba(21, 135, 201, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
:root[data-theme="light"] .btn:hover {
  box-shadow:
    0 18px 44px -14px rgba(21, 135, 201, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
:root[data-theme="light"] .btn-ghost {
  color: var(--text);
}
:root[data-theme="light"] .launch-mark {
  filter: drop-shadow(0 6px 22px rgba(21, 135, 201, 0.22));
}
:root[data-theme="light"] .term-bar u {
  background: rgba(255, 255, 255, 0.16);
}
:root[data-theme="light"] .final::before {
  background: radial-gradient(
    circle,
    rgba(42, 166, 222, 0.16),
    transparent 62%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
::selection {
  background: rgba(85, 203, 247, 0.28);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

h1,
h2,
h3,
.display {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
p {
  margin: 0;
}

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}
section {
  position: relative;
  scroll-margin-top: 126px;
}
.band {
  padding-block: clamp(72px, 11vw, 132px);
}
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ---------- background field ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--orb-op);
}
.orb-a {
  width: 52vw;
  height: 52vw;
  max-width: 720px;
  max-height: 720px;
  top: -16vw;
  left: -10vw;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(42, 166, 222, 0.55),
    transparent 68%
  );
}
.orb-b {
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  top: 6vw;
  right: -12vw;
  background: radial-gradient(
    circle at 60% 40%,
    rgba(114, 59, 150, 0.6),
    transparent 68%
  );
}
.orb-c {
  width: 70vw;
  height: 40vw;
  left: 12vw;
  top: 120vh;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(114, 59, 150, 0.28),
    transparent 70%
  );
}
.grid-veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(
    ellipse 90% 55% at 50% 0%,
    #000 10%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 55% at 50% 0%,
    #000 10%,
    transparent 75%
  );
  opacity: var(--veil-op);
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--noise-op);
  mix-blend-mode: var(--noise-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- launch ticker ---------- */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grad);
  box-shadow: 0 6px 34px -10px rgba(85, 203, 247, 0.55);
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: slide 70s linear infinite;
}
.ticker__seq {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker__seq b {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #04121b;
  padding: 0 26px;
  display: inline-block;
}
.ticker__seq i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(4, 18, 27, 0.45);
  flex: none;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 60;
  padding-block: 14px;
  transition:
    background 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand img {
  height: 30px;
  width: auto;
}
.brand span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--text-2);
}
.brand .ai {
  color: var(--cyan-lit);
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--grad);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--btn-ink);
  background: var(--bg);
  background-size: 180% 100%;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease),
    background-position 0.6s var(--ease);
  box-shadow:
    0 8px 30px -10px rgba(42, 166, 222, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow:
    0 16px 44px -12px rgba(85, 203, 247, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn:active {
  transform: translateY(0);
}
.btn-ghost {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: none;
  padding: 11px 20px;
  font-size: 14px;
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(85, 203, 247, 0.5);
  box-shadow: 0 0 0 4px rgba(42, 166, 222, 0.08);
}
.btn-lg {
  padding: 17px 34px;
  font-size: 16.5px;
}
:focus-visible {
  outline: 2px solid var(--cyan-lit);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- theme toggle ---------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-btn {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--glass);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    transform 0.3s var(--ease-out);
}
.theme-btn:hover {
  border-color: rgba(42, 166, 222, 0.55);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.theme-btn svg {
  position: absolute;
  width: 19px;
  height: 19px;
  stroke: var(--cyan-lit);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.4s var(--ease),
    transform 0.5s var(--ease-out);
}
.theme-btn .i-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.theme-btn .i-moon {
  opacity: 1;
  transform: none;
}
:root[data-theme="light"] .theme-btn .i-sun {
  opacity: 1;
  transform: none;
}
:root[data-theme="light"] .theme-btn .i-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

/* one smooth cross-fade when the theme flips */
.theming,
.theming * {
  transition:
    background-color 0.45s var(--ease),
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    fill 0.45s var(--ease),
    stroke 0.45s var(--ease) !important;
}

/* ---------- eyebrow / pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-lit);
  box-shadow: 0 0 0 0 rgba(85, 203, 247, 0.65);
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(85, 203, 247, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(85, 203, 247, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(85, 203, 247, 0);
  }
}

.kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-lit);
  margin-bottom: 18px;
  display: block;
}
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}
.lead {
  color: var(--text-2);
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.68;
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(120px, 14vh, 150px);
  padding-bottom: clamp(48px, 7vw, 84px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(34px, 5.8vw, 68px);
  margin: 14px auto 0;
  max-width: 16ch;
}
.hero .lead {
  max-width: 58ch;
  margin: 18px auto 0;
  font-size: clamp(15px, 1.45vw, 17.5px);
}

/* the unmissable bit */
.launch-mark {
  display: block;
  margin: 16px auto 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  background: var(--grad-sheen);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s linear infinite;
  filter: drop-shadow(0 0 40px rgba(85, 203, 247, 0.3));
}
@keyframes sheen {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -260% 0;
  }
}

/* countdown */
.count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.4vw, 15px);
  max-width: 530px;
  margin: clamp(24px, 3.2vw, 34px) auto 0;
}
.cbox {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 15px 6px 13px;
  border-radius: 18px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
}
.cbox::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad);
  opacity: 0.9;
}
.cnum {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1;
  font-size: clamp(27px, 4.4vw, 46px);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cbox.tick .cnum {
  animation: tick 0.5s var(--ease-out);
}
@keyframes tick {
  from {
    transform: translateY(-7px);
    opacity: 0.25;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.clab {
  display: block;
  margin-top: 9px;
  font-family: "JetBrains Mono", monospace;
  white-space: nowrap;
  font-size: clamp(8.5px, 2.3vw, 10.5px);
  letter-spacing: clamp(0.04em, 0.5vw, 0.2em);
  text-transform: uppercase;
  color: var(--muted);
}
.count-cap {
  margin-top: 15px;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(11px, 2.6vw, 12.5px);
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.count-cap b {
  color: var(--cyan-lit);
  font-weight: 500;
}

.triad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  margin: 26px auto 0;
  flex-wrap: wrap;
}
.triad b {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1.5vw, 16px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition:
    color 0.5s var(--ease),
    text-shadow 0.5s var(--ease);
}
.triad b.on {
  color: var(--text);
  text-shadow: 0 0 26px rgba(85, 203, 247, 0.65);
}
.triad i {
  width: clamp(18px, 4vw, 40px);
  height: 1px;
  background: var(--line-2);
  display: block;
}

/* signup form */
.signup {
  margin: 30px auto 0;
  max-width: 520px;
}
.field {
  display: flex;
  gap: 8px;
  padding: 7px;
  border-radius: 100px;
  background: var(--surface-3);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}
.field:focus-within {
  border-color: rgba(85, 203, 247, 0.6);
  box-shadow: 0 0 0 5px rgba(42, 166, 222, 0.1);
  background: var(--surface-2);
}
.field input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  padding: 0 8px 0 18px;
  font-size: 15.5px;
  color: var(--text);
}
.field input::placeholder {
  color: var(--muted);
}
.microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13px;
}
.microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.microcopy svg {
  width: 13px;
  height: 13px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2.2;
}
.form-msg {
  min-height: 22px;
  margin-top: 12px;
  font-size: 14px;
  padding-bottom:5px;
}

/* waveform */
.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  margin-top: 34px;
}
.wave i {
  width: 3px;
  border-radius: 3px;
  background: var(--grad);
  opacity: 0.75;
  height: 8px;
  animation: bar 1.5s ease-in-out infinite;
}
@keyframes bar {
  0%,
  100% {
    height: 6px;
    opacity: 0.35;
  }
  50% {
    height: var(--h, 26px);
    opacity: 0.95;
  }
}

/* ---------- terminal teaser ---------- */
.teaser {
  margin-top: clamp(40px, 6vw, 64px);
}
.term {
  position: relative;
  color: var(--text);
  max-width: 860px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(12, 18, 32, 0.92),
    rgba(6, 9, 17, 0.92)
  );
  border: 1px solid var(--line-2);
  text-align: left;
  box-shadow:
    0 40px 120px -40px rgba(42, 166, 222, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14px);
}
.term::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0.35;
  pointer-events: none;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.term-bar u {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: block;
}
.term-bar em {
  margin-left: 10px;
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}
.term-body {
  padding: clamp(20px, 3.5vw, 30px);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(12.5px, 1.5vw, 14.5px);
  line-height: 2;
  position: relative;
  min-height: 238px;
}
.tline {
  opacity: 0;
  transform: translateY(8px);
  transition: 0.5s var(--ease-out);
  display: flex;
  gap: 12px;
}
.tline.on {
  opacity: 1;
  transform: none;
}
.tline b {
  color: var(--violet-lit);
  font-weight: 500;
  flex: none;
}
.tline span {
  color: var(--text-2);
}
.tline.said span {
  color: var(--text);
}
.tline.ok b {
  color: var(--cyan-lit);
}
.caret {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--cyan-lit);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---------- section heads ---------- */
.head {
  max-width: 660px;
  margin-bottom: clamp(38px, 5vw, 58px);
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.head h2 {
  font-size: clamp(28px, 4.4vw, 50px);
}
.head .lead {
  margin-top: 18px;
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  gap: 18px;
}
.c3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.c2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease-out),
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(85, 203, 247, 0.13),
    transparent 60%
  );
  transition: opacity 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  background: var(--surface-2);
}
.card:hover::after {
  opacity: 1;
}
.card h3 {
  font-size: clamp(19px, 2.2vw, 23px);
  margin-bottom: 12px;
}
.card p {
  color: var(--text-2);
  font-size: 15.2px;
}
.num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.18em;
}

.ico {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(
    150deg,
    rgba(85, 203, 247, 0.2),
    rgba(167, 104, 218, 0.2)
  );
  border: 1px solid var(--line-2);
}
.ico svg {
  width: 23px;
  height: 23px;
  stroke: var(--cyan-lit);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 44px 40px;
}
.foot {
  display: flex;
  gap: 26px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.foot a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.25s var(--ease);
}
.foot a:hover {
  color: var(--cyan-lit);
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: 0.3s var(--ease);
}
.socials a:hover {
  border-color: rgba(85, 203, 247, 0.5);
  background: rgba(85, 203, 247, 0.1);
  transform: translateY(-2px);
}
.socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.legal {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.rv.d1 {
  transition-delay: 0.09s;
}
.rv.d2 {
  transition-delay: 0.18s;
}
.rv.d3 {
  transition-delay: 0.27s;
}
.rv.d4 {
  transition-delay: 0.36s;
}
.rv.d5 {
  transition-delay: 0.45s;
}
.rv.d6 {
  transition-delay: 0.54s;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .ui {
    grid-template-columns: 1fr;
  }
  .ui .side,
  .ui .rail {
    display: none;
  }
  .wavecol {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .wavecol:first-child {
    border-top: 0;
  }
}
@media (max-width: 620px) {
  .field {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
  }
  .field input {
    padding: 10px 12px;
    text-align: center;
  }
  .btn {
    width: 100%;
  }
  .nav .btn-ghost {
    display: none;
  }
  .vault {
    flex-direction: column;
    align-items: flex-start;
  }
  .term-body {
    line-height: 1.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  #particles {
    display: none;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  .preview {
    filter: blur(3.5px);
  }
}
