/* =============================================================
   HIGH ROLEPLAY — "Vinewood Noir" design system
   Dark, cinematic, minimal. One accent: #ec6823.
   ============================================================= */

/* ---------- Tokens ---------- */
:root{
  --bg:        #0a0a0b;
  --bg-2:      #0d0d0f;
  --surface:   #131316;
  --surface-2: #181819;
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.13);
  --text:      #f4f3f1;
  --muted:     #a4a3a8;
  --faint:     #6d6c72;

  --brand:     #ec6823;
  --brand-2:   #ff8038;
  --brand-ink: #1c0d03;
  --glow:      rgba(236,104,35,.42);

  --discord:   #5865f2;
  --youtube:   #ff3b30;

  --container: 1240px;
  --pad:       clamp(20px, 5vw, 40px);
  --r:         6px;

  --ease:      cubic-bezier(.22,.61,.36,1);

  --ff-display: "Archivo", system-ui, sans-serif;
  --ff-body:    "Inter", system-ui, sans-serif;
  --ff-mono:    "Space Mono", ui-monospace, monospace;
}

.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; }

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; }
::selection{ background:var(--brand); color:var(--brand-ink); }

/* ---------- Film grain (fixed overlay) ---------- */
.grain{
  position:fixed; inset:0; z-index:9999; pointer-events:none;
  opacity:.05; mix-blend-mode:overlay;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--pad); }
.section{ position:relative; padding-block:clamp(72px,11vw,140px); }
.section--alt{ background:var(--bg-2); }
.section--tight{ padding-block:clamp(56px,8vw,96px); }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.22em;
  text-transform:uppercase; color:var(--muted);
}
.eyebrow::before{
  content:""; width:9px; height:9px; background:var(--brand);
  transform:rotate(45deg); flex:none;
  box-shadow:0 0 14px var(--glow);
}
.eyebrow--center{ justify-content:center; }

.section-head{ max-width:620px; margin-bottom:clamp(40px,6vw,64px); }
.section-head.center{ margin-inline:auto; text-align:center; }

h1,h2,h3{ font-family:var(--ff-display); font-weight:800; line-height:.98; margin:0; letter-spacing:-.01em; }
.h-xl{ font-size:clamp(44px,8.5vw,116px); font-weight:900; letter-spacing:-.025em; text-transform:uppercase; }
.h-lg{ font-size:clamp(32px,5vw,58px); text-transform:uppercase; letter-spacing:-.02em; }
.h-md{ font-size:clamp(22px,2.6vw,30px); }
.lede{ color:var(--muted); font-size:clamp(16px,1.4vw,18px); max-width:60ch; }
.text-brand{ color:var(--brand); }

/* ---------- Buttons ---------- */
.btn{
  --bclip:11px;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--ff-body); font-weight:600; font-size:15px;
  padding:15px 26px; border:0; cursor:pointer; position:relative;
  letter-spacing:.01em; transition:transform .25s var(--ease), background .25s var(--ease), color .2s, box-shadow .3s;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; flex:none; }
.btn:active{ transform:translateY(1px); }

.btn--primary{
  background:var(--brand); color:var(--brand-ink); font-weight:700;
  clip-path:polygon(var(--bclip) 0, 100% 0, 100% calc(100% - var(--bclip)), calc(100% - var(--bclip)) 100%, 0 100%, 0 var(--bclip));
  box-shadow:0 8px 30px -12px var(--glow);
}
.btn--primary:hover{ background:var(--brand-2); box-shadow:0 12px 44px -10px var(--glow); transform:translateY(-2px); }

.btn--ghost{
  background:transparent; color:var(--text);
  border:1px solid var(--line-2); border-radius:var(--r);
}
.btn--ghost:hover{ border-color:var(--brand); color:#fff; background:rgba(236,104,35,.06); }

.btn--lg{ padding:18px 34px; font-size:16px; }
.btn--block{ width:100%; }

.btn--discord{ background:var(--discord); color:#fff; border-radius:var(--r); }
.btn--discord:hover{ filter:brightness(1.1); transform:translateY(-2px); }
.btn--youtube{ background:transparent; color:#fff; border:1px solid var(--line-2); border-radius:var(--r); }
.btn--youtube:hover{ border-color:var(--youtube); color:#fff; background:rgba(255,59,48,.08); }

.btn-row{ display:flex; flex-wrap:wrap; gap:14px; }

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  transition:background .3s var(--ease), border-color .3s, backdrop-filter .3s;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(10,10,11,.78);
  backdrop-filter:blur(14px) saturate(120%);
  -webkit-backdrop-filter:blur(14px) saturate(120%);
  border-bottom-color:var(--line);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:24px; height:74px; }
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ height:30px; width:auto; }
.brand .brand-tag{
  font-family:var(--ff-mono); font-size:10px; letter-spacing:.2em; color:var(--faint);
  border-left:1px solid var(--line-2); padding-left:12px; text-transform:uppercase;
}
.nav-links{ display:flex; align-items:center; gap:6px; margin-left:auto; }
.nav-links a{
  position:relative; padding:9px 14px; font-size:14px; font-weight:500; color:var(--muted);
  transition:color .2s; border-radius:var(--r);
}
.nav-links a:hover{ color:var(--text); }
.nav-links a.active{ color:var(--text); }
.nav-links a .tag{
  font-family:var(--ff-mono); font-size:8px; letter-spacing:.1em; color:var(--brand);
  vertical-align:super; margin-left:3px;
}
.nav-actions{ display:flex; align-items:center; gap:12px; flex:none; }

.play-btn{
  --bclip:9px;
  display:inline-flex; align-items:center; gap:9px;
  background:var(--brand); color:var(--brand-ink); font-weight:700; font-size:14px;
  padding:11px 20px; cursor:pointer; border:0;
  clip-path:polygon(var(--bclip) 0, 100% 0, 100% calc(100% - var(--bclip)), calc(100% - var(--bclip)) 100%, 0 100%, 0 var(--bclip));
  box-shadow:0 6px 24px -10px var(--glow);
  transition:transform .25s var(--ease), background .25s, box-shadow .3s;
}
.play-btn:hover{ background:var(--brand-2); transform:translateY(-2px); box-shadow:0 10px 32px -8px var(--glow); }
.play-btn svg{ width:15px; height:15px; }

.menu-toggle{
  display:none; width:44px; height:44px; background:transparent; border:1px solid var(--line-2);
  border-radius:var(--r); cursor:pointer; align-items:center; justify-content:center; color:var(--text);
}
.menu-toggle svg{ width:20px; height:20px; }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:center;
  padding-top:120px; padding-bottom:80px; overflow:hidden;
}
.hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.hero-glow{
  position:absolute; left:50%; top:34%; width:min(1100px,120vw); aspect-ratio:1/.62;
  translate:-50% -50%;
  background:radial-gradient(ellipse at center,
     rgba(236,104,35,.34) 0%, rgba(236,104,35,.12) 34%, rgba(236,104,35,0) 66%);
  filter:blur(8px); animation:glowpulse 9s var(--ease) infinite;
}
@keyframes glowpulse{ 0%,100%{ opacity:.85; } 50%{ opacity:1; } }
.hero-vignette{
  position:absolute; inset:0;
  background:
    radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(10,10,11,.5) 100%),
    linear-gradient(180deg, rgba(10,10,11,.2) 0%, rgba(10,10,11,0) 30%, rgba(10,10,11,.85) 100%);
}
.hero-grid{
  position:absolute; inset:0; opacity:.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 72%);
          mask-image:radial-gradient(120% 80% at 50% 30%, #000 0%, transparent 72%);
}
/* hand-drawn skyline */
.skyline{
  position:absolute; left:0; right:0; bottom:0; width:100%; height:clamp(150px,26vw,300px);
  z-index:1; color:#070708;
}
.skyline svg{ width:100%; height:100%; }

.hero-inner{ position:relative; z-index:2; width:100%; }
.hero-grid-layout{ display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }

.hero-kicker{ margin-bottom:24px; }
.hero-title{ margin:0 0 22px; }
.hero-title .line{ display:block; overflow:hidden; }
.hero-title .word{ display:inline-block; }
.hero-logo{ max-width:min(560px,82%); margin-bottom:26px; filter:drop-shadow(0 12px 40px rgba(236,104,35,.25)); }
.hero-sub{ font-size:clamp(16px,1.5vw,19px); color:var(--muted); max-width:44ch; margin:0 0 34px; }
.hero-cta{ margin-bottom:38px; }

.hero-meta{ display:flex; flex-wrap:wrap; gap:14px 30px; align-items:center; }
.meta-pill{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.08em; color:var(--muted);
  border:1px solid var(--line); border-radius:100px; padding:7px 14px;
}
.dot{ width:8px; height:8px; border-radius:50%; background:var(--brand); flex:none; }
.dot--live{ background:#2fd16a; box-shadow:0 0 0 0 rgba(47,209,106,.6); animation:ping 2s infinite; }
@keyframes ping{ 0%{ box-shadow:0 0 0 0 rgba(47,209,106,.55);} 70%{ box-shadow:0 0 0 8px rgba(47,209,106,0);} 100%{ box-shadow:0 0 0 0 rgba(47,209,106,0);} }

/* hero side card */
.hero-card{
  position:relative; border:1px solid var(--line-2); background:linear-gradient(180deg, var(--surface), #0e0e10);
  padding:28px; border-radius:8px;
}
.hero-card .eyebrow{ margin-bottom:20px; }
.hero-stat{ display:flex; align-items:baseline; justify-content:space-between; padding:16px 0; border-top:1px solid var(--line); }
.hero-stat:first-of-type{ border-top:0; }
.hero-stat .k{ font-family:var(--ff-mono); font-size:12px; letter-spacing:.1em; color:var(--faint); text-transform:uppercase; }
.hero-stat .v{ font-family:var(--ff-display); font-weight:800; font-size:22px; }
.hero-stat .v small{ font-size:12px; color:var(--muted); font-family:var(--ff-mono); font-weight:400; margin-left:4px; }

/* corner ticks */
.ticks::before,.ticks::after{
  content:""; position:absolute; width:14px; height:14px; pointer-events:none;
}
.ticks::before{ top:-1px; left:-1px; border-top:2px solid var(--brand); border-left:2px solid var(--brand); }
.ticks::after{ bottom:-1px; right:-1px; border-bottom:2px solid var(--brand); border-right:2px solid var(--brand); }

/* ---------- Marquee strip ---------- */
.strip{ border-block:1px solid var(--line); background:var(--bg-2); overflow:hidden; }
.marquee{ display:flex; gap:0; white-space:nowrap; animation:scroll 38s linear infinite; }
.marquee:hover{ animation-play-state:paused; }
.marquee span{
  display:inline-flex; align-items:center; gap:18px; padding:16px 0;
  font-family:var(--ff-display); font-weight:800; text-transform:uppercase; letter-spacing:.04em;
  font-size:15px; color:var(--faint);
}
.marquee span::after{ content:"◆"; color:var(--brand); font-size:9px; margin:0 28px; }
@keyframes scroll{ to{ transform:translateX(-50%); } }

/* ---------- Steps / How to join ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; counter-reset:step; }
.step{
  position:relative; background:var(--surface); border:1px solid var(--line);
  padding:32px 28px 30px; border-radius:8px; transition:border-color .3s, transform .3s, background .3s;
}
.step:hover{ border-color:var(--line-2); transform:translateY(-4px); background:var(--surface-2); }
.step-num{
  font-family:var(--ff-display); font-weight:900; font-size:54px; line-height:1;
  color:transparent; -webkit-text-stroke:1.4px var(--line-2); margin-bottom:22px;
  transition:-webkit-text-stroke-color .3s, color .3s;
}
.step:hover .step-num{ -webkit-text-stroke-color:var(--brand); }
.step h3{ font-size:21px; margin-bottom:10px; }
.step p{ color:var(--muted); font-size:15px; margin:0 0 20px; }
.step-foot{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.store-row{ display:flex; flex-wrap:wrap; gap:8px; }
.store-link{
  display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:500; color:var(--muted);
  border:1px solid var(--line); border-radius:100px; padding:7px 13px; transition:.2s;
}
.store-link:hover{ color:var(--text); border-color:var(--brand); }
.store-link svg{ width:14px; height:14px; }
.beta-tag{
  font-family:var(--ff-mono); font-size:10px; letter-spacing:.15em; text-transform:uppercase;
  color:var(--brand); border:1px solid var(--brand); border-radius:4px; padding:3px 7px;
}

/* ---------- Community (Discord + YouTube) ---------- */
.community-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:18px; }
.comm-card{
  position:relative; overflow:hidden; border:1px solid var(--line); border-radius:10px;
  padding:clamp(28px,4vw,44px); display:flex; flex-direction:column; min-height:280px;
  transition:border-color .3s, transform .3s;
}
.comm-card:hover{ transform:translateY(-4px); }
.comm-card .glow-blob{ position:absolute; width:340px; height:340px; border-radius:50%; filter:blur(70px); opacity:.5; pointer-events:none; }
.comm-card--discord{ background:linear-gradient(155deg, #15151b, #0e0e12); }
.comm-card--discord:hover{ border-color:rgba(88,101,242,.5); }
.comm-card--discord .glow-blob{ background:var(--discord); top:-120px; right:-80px; }
.comm-card--youtube{ background:linear-gradient(155deg, #181113, #0e0e10); }
.comm-card--youtube:hover{ border-color:rgba(255,59,48,.45); }
.comm-card--youtube .glow-blob{ background:var(--youtube); bottom:-140px; left:-90px; opacity:.35; }
.comm-ic{ width:46px; height:46px; margin-bottom:auto; }
.comm-ic svg{ width:100%; height:100%; }
.comm-card h3{ font-size:clamp(24px,3vw,34px); text-transform:uppercase; margin:24px 0 8px; }
.comm-card p{ color:var(--muted); font-size:15px; margin:0 0 24px; max-width:42ch; }

/* ---------- Feature row (small) ---------- */
.feature-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.feature{ background:var(--bg); padding:26px 22px; }
.feature .fi{ color:var(--brand); margin-bottom:14px; }
.feature .fi svg{ width:22px; height:22px; }
.feature h4{ font-family:var(--ff-display); font-weight:700; font-size:16px; text-transform:uppercase; letter-spacing:.02em; margin:0 0 6px; }
.feature p{ color:var(--muted); font-size:13.5px; margin:0; }

/* ---------- CTA band ---------- */
.cta-band{ position:relative; overflow:hidden; }
.cta-band .glow{
  position:absolute; left:50%; bottom:-60%; width:140%; aspect-ratio:2/1; translate:-50% 0;
  background:radial-gradient(ellipse at center, rgba(236,104,35,.22), transparent 60%);
}
.cta-inner{ position:relative; z-index:1; text-align:center; max-width:760px; margin-inline:auto; }
.cta-inner h2{ margin-bottom:18px; }
.cta-inner p{ color:var(--muted); margin:0 auto 32px; max-width:52ch; }
.cta-inner .btn-row{ justify-content:center; }

/* ---------- Footer ---------- */
.site-footer{ border-top:1px solid var(--line); background:var(--bg-2); padding-block:64px 30px; position:relative; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid var(--line); }
.footer-brand img{ height:30px; margin-bottom:18px; }
.footer-brand p{ color:var(--muted); font-size:14px; max-width:34ch; margin:0 0 20px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line-2); border-radius:var(--r); color:var(--muted); transition:.2s;
}
.footer-social a:hover{ color:#fff; border-color:var(--brand); background:rgba(236,104,35,.07); }
.footer-social svg{ width:18px; height:18px; }
.footer-col h5{
  font-family:var(--ff-mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--faint); margin:0 0 16px;
}
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.footer-col a{ color:var(--muted); font-size:14px; transition:color .2s; }
.footer-col a:hover{ color:var(--text); }
.footer-col .tag{ font-family:var(--ff-mono); font-size:8px; letter-spacing:.1em; color:var(--brand); vertical-align:super; margin-left:4px; }

.legal{
  margin-top:26px; padding:18px 20px; border:1px solid var(--line); border-radius:var(--r);
  background:var(--surface); color:var(--faint); font-size:12.5px; line-height:1.7;
}
.footer-bottom{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between; align-items:center;
  margin-top:26px; color:var(--faint); font-size:13px;
}
.footer-bottom .made{ font-family:var(--ff-mono); font-size:11px; letter-spacing:.06em; }

/* ---------- Under construction ---------- */
.uc{
  position:relative; min-height:100svh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:140px var(--pad) 90px; overflow:hidden;
}
.uc .hero-glow{ top:42%; }
.uc-inner{ position:relative; z-index:2; width:100%; max-width:880px; margin-inline:auto; display:flex; flex-direction:column; align-items:center; }
.uc-badge{
  display:inline-flex; align-items:center; gap:10px; margin-bottom:30px;
  font-family:var(--ff-mono); font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--brand);
  border:1px solid var(--brand); border-radius:100px; padding:9px 18px;
}
.uc h1{ font-size:clamp(52px,13vw,150px); text-transform:uppercase; letter-spacing:-.03em; margin-bottom:8px; }
.uc .uc-ghost{
  width:100%; text-align:center;
  font-family:var(--ff-display); font-weight:900; text-transform:uppercase; letter-spacing:.02em;
  font-size:clamp(44px,12vw,168px); line-height:.9; color:transparent;
  -webkit-text-stroke:1.5px var(--line-2); margin-bottom:18px; user-select:none;
}
.uc p{ color:var(--muted); font-size:clamp(16px,1.6vw,19px); max-width:50ch; margin:0 auto 36px; }
.uc .btn-row{ justify-content:center; }
.uc-progress{ max-width:360px; margin:34px auto 0; }
.uc-progress .bar{ height:4px; background:var(--line); border-radius:100px; overflow:hidden; }
.uc-progress .bar i{ display:block; height:100%; background:linear-gradient(90deg,var(--brand),var(--brand-2)); border-radius:100px; }
.uc-progress .lbl{ display:flex; justify-content:space-between; margin-top:10px; font-family:var(--ff-mono); font-size:11px; letter-spacing:.1em; color:var(--faint); text-transform:uppercase; }

/* ---------- Server status ---------- */
.dot--ok{ background:#2fd16a; box-shadow:0 0 10px rgba(47,209,106,.55); }
.dot--off{ background:#ff4d4d; box-shadow:0 0 10px rgba(255,77,77,.5); }
.dot--unknown{ background:var(--faint); box-shadow:none; }

.status-banner{ display:flex; align-items:center; gap:14px; padding:20px 24px; border:1px solid var(--line-2); border-radius:10px; background:var(--surface); margin-bottom:16px; }
.status-banner .dot{ width:12px; height:12px; flex:none; }
.status-overall-text{ font-family:var(--ff-display); font-weight:800; text-transform:uppercase; letter-spacing:.01em; font-size:clamp(17px,2vw,20px); }
.status-updated{ margin-left:auto; font-family:var(--ff-mono); font-size:11.5px; letter-spacing:.06em; color:var(--faint); text-transform:uppercase; white-space:nowrap; }
.status-list{ display:flex; flex-direction:column; gap:10px; }
.status-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; border:1px solid var(--line); border-radius:8px; background:var(--surface); transition:border-color .3s; }
.status-row:hover{ border-color:var(--line-2); }
.status-name{ font-family:var(--ff-display); font-weight:700; text-transform:uppercase; font-size:15px; letter-spacing:.02em; display:block; margin-bottom:3px; }
.status-desc{ color:var(--faint); font-size:13px; }
.status-state{ display:inline-flex; align-items:center; gap:9px; font-family:var(--ff-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.status-state .dot{ width:9px; height:9px; flex:none; }
.status-note{ color:var(--faint); font-size:13px; margin-top:20px; text-align:center; }

/* ---------- Reveal animation (JS-gated so content shows without JS) ---------- */
.js [data-reveal]{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in{ opacity:1; transform:none; }
.js [data-reveal][data-delay="1"]{ transition-delay:.08s; }
.js [data-reveal][data-delay="2"]{ transition-delay:.16s; }
.js [data-reveal][data-delay="3"]{ transition-delay:.24s; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity:1; transform:none; transition:none; }
  .marquee,.hero-glow,.dot--live{ animation:none; }
}

/* ---------- Responsive ---------- */
@media (max-width:960px){
  .hero-grid-layout{ grid-template-columns:1fr; gap:36px; }
  .hero-card{ order:2; }
  .community-grid{ grid-template-columns:1fr; }
  .feature-row{ grid-template-columns:repeat(2,1fr); }
  .footer-top{ grid-template-columns:1fr 1fr; gap:32px; }
  .footer-brand{ grid-column:1 / -1; }
}
@media (max-width:760px){
  .nav-links, .nav-actions .play-btn{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .steps{ grid-template-columns:1fr; }
  .nav{ height:64px; }
  .hero{ padding-top:100px; }
}
@media (max-width:520px){
  .feature-row{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .btn--block-sm{ width:100%; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu{
  position:fixed; inset:0; z-index:99; background:rgba(8,8,9,.97); backdrop-filter:blur(8px);
  display:flex; flex-direction:column; padding:90px var(--pad) 40px; gap:6px;
  transform:translateY(-12px); opacity:0; pointer-events:none; transition:opacity .3s, transform .3s;
}
.mobile-menu.open{ opacity:1; transform:none; pointer-events:auto; }
.mobile-menu a{
  font-family:var(--ff-display); font-weight:700; text-transform:uppercase; font-size:30px;
  padding:14px 0; border-bottom:1px solid var(--line); color:var(--text); letter-spacing:-.01em;
}
.mobile-menu a .tag{ font-family:var(--ff-mono); font-size:11px; color:var(--brand); margin-left:8px; letter-spacing:.1em; }
.mobile-menu .btn{ margin-top:26px; }
.mobile-close{
  position:absolute; top:18px; right:var(--pad); width:44px; height:44px; background:transparent;
  border:1px solid var(--line-2); border-radius:var(--r); color:var(--text); cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
}
.mobile-close svg{ width:20px; height:20px; }
