/* ==========================================================================
   youniverse.game — base styles
   Dark, dependency-light design system. Mobile-first.
   Brand: deep near-black violet (#08060F) with a purple-to-magenta accent.
   House rules: no em dashes in content; British/Malaysian spelling.
   ========================================================================== */

:root {
  /* Palette */
  --bg: #08060F;
  --bg-soft: #0E0B1A;
  --surface: #141021;
  --surface-2: #1B1530;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #F4F2F8;
  --text-muted: #A8A2BC;
  --text-dim: #756E8C;

  --accent: #9B3FE4;
  --accent-bright: #B85CFF;
  --accent-magenta: #FF2D9B;
  --accent-soft: rgba(155, 63, 228, 0.14);

  --good: #2ECC71;
  --warn: #F5A623;

  /* Gradients */
  --grad: linear-gradient(100deg, #B026FF 0%, #FF2D9B 100%);
  --grad-soft: linear-gradient(100deg, rgba(176,38,255,0.16), rgba(255,45,155,0.10));

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fw-normal: 400;
  --fw-med: 500;
  --fw-bold: 700;
  --fw-black: 800;

  /* Layout */
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --radius-sm: 10px;
  --gap: 1.5rem;
  --header-h: 70px;

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: var(--fw-normal);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* Accessibility ----------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Layout helpers ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.bg-soft { background: var(--bg-soft); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* Typography -------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: var(--fw-black); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: var(--fw-bold); letter-spacing: 0; }
p { color: var(--text-muted); }
strong { color: var(--text); font-weight: var(--fw-bold); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1rem;
}
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--text-muted); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--fw-bold);
  font-size: 0.95rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(176, 38, 255, 0.28); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(255, 45, 155, 0.34); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent-bright); background: var(--accent-soft); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 6, 15, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: var(--fw-black);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-right: auto;
}
.brand .mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-size: 0.95rem; font-weight: var(--fw-black);
}
.brand .word { color: var(--text); }
.brand .logo-img { height: 26px; width: auto; display: block; }
.footer-brand .brand .logo-img { height: 30px; }

.nav-menu { display: flex; align-items: center; gap: 1rem; }
.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-links a {
  color: var(--text-muted);
  font-weight: var(--fw-med);
  font-size: 0.94rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--grad); margin-top: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-cta .play { color: var(--text-muted); font-weight: var(--fw-med); font-size: 0.9rem; padding: 0.4rem 0.4rem; }
.nav-cta .play:hover { color: var(--accent-bright); }

.nav-toggle {
  display: none;
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: 9px; width: 42px; height: 40px; color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 30% 20%, rgba(176,38,255,0.22), transparent 70%),
              radial-gradient(50% 50% at 80% 10%, rgba(255,45,155,0.16), transparent 70%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; }
.hero .lede { max-width: 52ch; margin-top: 1.25rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: 0.9rem; color: var(--text-dim); }

/* Grid + cards ------------------------------------------------------------ */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card.link-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; }
.card .card-num { font-size: 0.8rem; font-weight: var(--fw-bold); color: var(--accent-bright); letter-spacing: 0.1em; }
.card-arrow { margin-top: 1rem; font-weight: var(--fw-bold); color: var(--accent-bright); font-size: 0.92rem; }

/* Stat / traction tiles --------------------------------------------------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  text-align: left;
}
.stat .num {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: var(--fw-black);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .label { margin-top: 0.6rem; font-size: 0.92rem; color: var(--text-muted); }

/* Big inline figure inside a card (sourced third-party stats) -------------- */
.num-lg {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Citation line. Every third-party stat on the site must carry one. */
.source {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: normal;
}

/* Step / process flow ----------------------------------------------------- */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
}
.step .step-n {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent-bright);
  font-weight: var(--fw-black); margin-bottom: 0.9rem;
}
.step h4 { margin-bottom: 0.35rem; }
.step p { font-size: 0.9rem; }

/* Feature list with checks ------------------------------------------------ */
.checklist { display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-muted); }
.checklist li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px; margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23B85CFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Two-column split -------------------------------------------------------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr 1fr; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.split .media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Roadmap / phases -------------------------------------------------------- */
.phases { display: grid; gap: 1rem; }
.phase {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.phase .tag {
  font-weight: var(--fw-bold);
  color: var(--accent-bright);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.phase h4 { margin-bottom: 0.3rem; }
.phase p { font-size: 0.94rem; }

/* Badges + pills ---------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: var(--fw-bold);
  background: var(--accent-soft); color: var(--accent-bright);
  border: 1px solid rgba(184, 92, 255, 0.25);
}
.pill.live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.18);
}

/* Logo row (credibility) -------------------------------------------------- */
.logo-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  align-items: center; justify-content: center;
  opacity: 0.9;
}
.logo-row .placeholder-logo {
  height: 44px; min-width: 120px;
  display: grid; place-items: center;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 0.8rem;
  padding-inline: 1rem;
}

/* Brand logo grid (white chips, uniform across mixed backgrounds) --------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.brand-grid.compact { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.brand-tile {
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.15rem;
  height: 100px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.brand-tile img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
a.brand-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.35); }

/* Placeholders (assets pending) ------------------------------------------ */
.placeholder {
  display: grid; place-items: center; text-align: center;
  background: var(--grad-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  color: var(--text-muted);
  padding: 2rem 1.5rem;
  min-height: 200px;
}
.placeholder .ph-label { font-weight: var(--fw-bold); color: var(--text); }
.placeholder .ph-hint { font-size: 0.85rem; margin-top: 0.4rem; }
.placeholder.video { aspect-ratio: 16 / 9; min-height: 0; }

.todo {
  display: inline-block;
  font-size: 0.72rem; font-weight: var(--fw-bold); letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
  border: 1px solid rgba(245, 166, 35, 0.4);
  background: rgba(245, 166, 35, 0.08);
  padding: 0.15rem 0.5rem; border-radius: 6px;
  vertical-align: middle;
}

/* Tables ------------------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 540px; }
th, td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
thead th { background: var(--surface-2); color: var(--text); font-weight: var(--fw-bold); }
tbody tr:last-child td { border-bottom: none; }
td.yes { color: var(--good); font-weight: var(--fw-bold); }
td.no { color: var(--text-dim); }

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
}
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; }

/* Forms ------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: var(--fw-med); color: var(--text); }
.field .req { color: var(--accent-magenta); }
input, select, textarea {
  font: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus { border-color: var(--accent-bright); outline: none; }
textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-dim); }
.form-error {
  background: rgba(255, 45, 155, 0.10);
  border: 1px solid rgba(255, 45, 155, 0.4);
  color: #FFB0D6;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: var(--fw-med);
}

/* Bio / team -------------------------------------------------------------- */
.bio { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.bio .avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
  display: grid; place-items: center; font-weight: var(--fw-black); font-size: 1.4rem;
  color: var(--accent-bright); margin-bottom: 1rem;
  object-fit: cover;
}
img.avatar { object-position: center top; }
.bio h3 { margin-bottom: 0.1rem; }
.bio .role { color: var(--accent-bright); font-weight: var(--fw-bold); font-size: 0.9rem; margin-bottom: 0.7rem; }
.bio p { font-size: 0.93rem; }

/* Responsive video embed -------------------------------------------------- */
.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.video-embed iframe { width: 100%; height: 100%; display: block; border: 0; }

/* Media gallery ----------------------------------------------------------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.gallery .placeholder { min-height: 150px; }
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.gallery.g2 { grid-template-columns: repeat(2, 1fr); }

/* Captioned gallery items ------------------------------------------------- */
.gallery figure { margin: 0; }
.gallery figure img { margin-bottom: 0.55rem; }
.gallery figcaption { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.gallery figcaption strong { color: var(--text-muted); font-weight: var(--fw-bold); }

/* Wide showcase shot (the "this is the game" image) ---------------------- */
.showcase { margin: 0; }
.showcase img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.showcase figcaption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  text-align: center;
}
.showcase figcaption strong { color: var(--text-muted); font-weight: var(--fw-bold); }

/* Download list ----------------------------------------------------------- */
.downloads { display: grid; gap: 0.8rem; }
.download {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem;
}
.download .d-name { font-weight: var(--fw-bold); }
.download .d-meta { font-size: 0.84rem; color: var(--text-dim); }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand address { font-style: normal; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 0.9rem; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.92rem; padding: 0.25rem 0; }
.footer-col a:hover { color: var(--text); }
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--border); display: grid; place-items: center;
  color: var(--text-muted);
}
.socials a:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,0.04); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-dim);
}

/* Prose (legal pages) ----------------------------------------------------- */
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.8rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: 0.4rem; margin: 0.6rem 0; }
.prose a { color: var(--accent-bright); text-decoration: underline; }

/* Utility spacing --------------------------------------------------------- */
.stack > * + * { margin-top: 1rem; }
.mt-sm { margin-top: 1rem; } .mt-md { margin-top: 2rem; } .mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; } .mb-md { margin-bottom: 2rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-menu { display: none; }

  .site-header.open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem 1.4rem;
  }
  .site-header.open .nav-links {
    flex-direction: column; align-items: stretch; gap: 0.1rem; width: 100%;
  }
  .site-header.open .nav-links a { padding: 0.8rem 0.5rem; font-size: 1rem; }
  .site-header.open .nav-cta {
    flex-direction: column; align-items: stretch; gap: 0.6rem; width: 100%;
    margin-top: 0.6rem; padding-top: 0.9rem; border-top: 1px solid var(--border);
  }
  .site-header.open .nav-cta .btn { justify-content: center; }
  .site-header.open .nav-cta .play { text-align: center; }
}

@media (max-width: 620px) {
  .grid-2, .split { grid-template-columns: 1fr; }
  .phase { grid-template-columns: 1fr; gap: 0.5rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .stats, .grid-3, .grid-4, .steps, .gallery { grid-template-columns: 1fr; }
}
