/* KyroPlay website — shared styles for the landing page and legal pages. */

:root {
  --bg: #06070b;
  --bg-raise: #0b0d14;
  --panel: #10131c;
  --panel-2: #161a26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fb;
  --muted: #a3a9b8;
  --dim: #6f7688;
  --lime: #45e03a;
  --lime-hi: #a4ff4f;
  --sun: #ffd21f;
  --violet: #8d7dff;
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --f-display: "Unbounded", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lime-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lime);
  color: #05140a;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Backdrop ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% -10%, rgba(69, 224, 58, 0.14), transparent 70%),
    radial-gradient(50vw 40vh at -10% 30%, rgba(141, 125, 255, 0.12), transparent 70%),
    var(--bg);
}

.backdrop::before {
  content: "";
  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 at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.55;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled,
.legal-page .site-header {
  background: rgba(6, 7, 11, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 132px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav .nav-cta {
  margin-left: 8px;
  background: var(--text);
  color: #0a0b10;
  font-weight: 700;
}

.nav .nav-cta:hover {
  background: var(--lime-hi);
  color: #06140a;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.section-label {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--lime-hi);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h2 {
  font-size: clamp(32px, 5vw, 56px);
}

h2 em,
h1 em {
  font-style: normal;
  color: var(--sun);
}

.lede {
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 34em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 16px;
  font: 700 16px/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: #04160a;
  box-shadow: 0 10px 40px -10px rgba(69, 224, 58, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: var(--lime-hi);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-store {
  gap: 12px;
  padding: 0 20px 0 16px;
  background: var(--text);
  color: #07080c;
  text-align: left;
}

.btn-store svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.btn-store small {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}

.btn-store strong {
  display: block;
  font-size: 17px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 110px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero h1 {
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.98;
  margin-bottom: 26px;
}

.hero h1 .glow {
  color: var(--sun);
  text-shadow: 0 0 40px rgba(255, 210, 31, 0.35);
}

.hero .lede {
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-note {
  margin: 22px 0 0;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 13px;
}

/* Phone demo */

.stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.stage-mascot {
  position: absolute;
  z-index: 3;
  right: max(-10px, 2%);
  bottom: -28px;
  width: clamp(110px, 16vw, 170px);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6));
  animation: bob 4.5s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

.stage::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 224, 58, 0.35), transparent 65%);
  filter: blur(30px);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a2f3d, #0d0f15 40%, #1b1f2b);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px -20px rgba(0, 0, 0, 0.9),
    0 0 120px -30px rgba(69, 224, 58, 0.45);
  transform: rotate(-2deg);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #07080d;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  z-index: 2;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 46px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.app-bar img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #000;
}

.app-bar b {
  display: block;
  font-size: 14px;
}

.app-bar span {
  display: block;
  color: var(--dim);
  font-size: 11px;
}

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px;
  min-height: 0;
}

.bubble-user {
  align-self: flex-end;
  max-width: 86%;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 18px 18px 4px 18px;
  background: #1f2433;
  font-size: 13.5px;
  line-height: 1.45;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--lime-hi);
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.build-card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.build-card.is-on {
  opacity: 1;
  transform: none;
}

.build-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 700;
}

.build-title .spark {
  color: var(--lime-hi);
  animation: spin 1.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.stages li {
  list-style: none;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stages li::before {
  content: "";
  display: block;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 4px;
  background: var(--panel-2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.stages li.done {
  color: var(--muted);
}

.stages li.done::before {
  background: var(--lime);
}

.stages li.now {
  color: var(--text);
}

.stages li.now::before {
  background: var(--lime-hi);
  box-shadow: 0 0 10px var(--lime-hi);
}

.stages ul,
ul.stages {
  margin: 0;
  padding: 0;
}

.play-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.play-card.is-on {
  opacity: 1;
  transform: none;
}

.play-card canvas {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #0d1020;
  cursor: pointer;
  touch-action: manipulation;
}

.play-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 4px 2px;
  font-size: 12px;
}

.play-row .pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--text);
  color: #07080c;
  font-weight: 800;
}

.play-row span:first-child {
  color: var(--muted);
}

.composer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 14px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-size: 12.5px;
}

.composer span {
  flex: 1;
}

.composer i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: #04160a;
  font-style: normal;
  font-weight: 900;
}

/* ---------- Ticker ---------- */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 20px 0;
  animation: marquee 48s linear infinite;
}

.ticker-track span {
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 15px;
  white-space: nowrap;
}

.ticker-track span::before {
  content: "> ";
  color: var(--lime-hi);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 10vw, 130px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head .lede {
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-raise));
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 224, 58, 0.14), transparent 70%);
}

.step-num {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--lime-hi);
  font-family: var(--f-mono);
  font-size: 13px;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 26px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.stage-chips span {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 11.5px;
}

/* Features bento */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  grid-column: span 2;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.card.wide {
  grid-column: span 3;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: rgba(69, 224, 58, 0.12);
  color: var(--lime-hi);
}

.card-icon.sun {
  background: rgba(255, 210, 31, 0.12);
  color: var(--sun);
}

.card-icon.violet {
  background: rgba(141, 125, 255, 0.14);
  color: var(--violet);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* Credits */

.credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(255, 210, 31, 0.14), transparent 70%),
    linear-gradient(180deg, var(--panel), var(--bg-raise));
}

.credits h2 {
  margin-bottom: 18px;
}

.credits .lede {
  margin: 0;
}

.tiers {
  display: grid;
  gap: 12px;
}

.tier {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.25);
}

.tier b {
  display: block;
  font-size: 17px;
}

.tier span {
  color: var(--muted);
  font-size: 15px;
}

.tier .bolt {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 210, 31, 0.14);
  color: var(--sun);
}

.fine-print {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 14px;
}

/* Safety */

.safety-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--muted);
}

.checklist li b {
  color: var(--text);
}

.checklist svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--lime-hi);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime-hi);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Download CTA */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(600px 300px at 20% 120%, rgba(69, 224, 58, 0.35), transparent 70%),
    radial-gradient(500px 300px at 100% -20%, rgba(141, 125, 255, 0.28), transparent 70%),
    #0c0f18;
  border: 1px solid var(--line-strong);
  text-align: center;
}

.cta img {
  width: 120px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.6));
}

.cta h2 {
  max-width: 14em;
  margin: 0 auto 18px;
}

.cta .lede {
  margin: 0 auto 30px;
}

.cta .hero-actions {
  justify-content: center;
}

/* Contact address, written as plain text on purpose (no mailto) to limit scraping. */

.email-text {
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 0.95em;
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: clamp(60px, 8vw, 100px);
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-grid img {
  width: 128px;
  margin-bottom: 16px;
}

.footer-grid h4 {
  margin: 0 0 14px;
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-grid p {
  margin: 0;
  max-width: 26em;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13.5px;
}

/* ---------- Legal pages ---------- */

.legal-page .site-footer {
  padding: 28px 0 32px;
}

.legal-page .footer-bottom {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text);
}

.legal-hero {
  padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px);
}

.legal-hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  margin-bottom: 18px;
}

.legal-meta {
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 13px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);

  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  font-size: 14px;
}

.toc b {
  display: block;
  margin-bottom: 12px;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--dim);
}

.toc a {
  color: var(--muted);
  text-decoration: none;
}

.toc a:hover {
  color: var(--text);
}

.prose {
  max-width: 74ch;
  color: #d5d9e3;
}

.prose h2 {
  margin: 56px 0 16px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 30px 0 10px;
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.prose p,
.prose li {
  color: #cdd2dc;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 8px;
}

.prose a {
  color: var(--lime-hi);
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--text);
}

.callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(69, 224, 58, 0.3);
  border-left-width: 4px;
  border-radius: 14px;
  background: rgba(69, 224, 58, 0.06);
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 10px;
}

.table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.steps-list {
  counter-reset: s;
  list-style: none;
  padding: 0 !important;
}

.steps-list li {
  position: relative;
  padding: 16px 18px 16px 62px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.steps-list li::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 18px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lime);
  color: #04160a;
  font-weight: 800;
  font-size: 14px;
}

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 60px 0;
  text-align: center;
}

.not-found img {
  width: 150px;
  margin: 0 auto 24px;
  animation: bob 4.5s ease-in-out infinite;
}

.not-found h1 {
  font-size: clamp(40px, 7vw, 76px);
  margin-bottom: 14px;
}

.not-found p {
  margin: 0 auto 28px;
  color: var(--muted);
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .credits,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .lede {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card,
  .card.wide {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: rgba(6, 7, 11, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 12px;
    font-size: 17px;
  }

  .nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  .site-header.menu-open {
    background: rgba(6, 7, 11, 0.96);
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone {
    width: min(320px, 100%);
    transform: none;
  }

  .stage-mascot {
    right: -6px;
    bottom: -44px;
    width: 92px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    max-width: 360px;
  }
}

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

  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    padding-inline: var(--gutter);
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
