/* pumpdotfam wiki — design system extended from the game's own login screen.
   Deadpan Liquidity: premium dark software polish, neon used sparingly, meme on the second read. */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-var.woff2') format('woff2');
}

:root {
  --bg0: #04050c;
  --bg1: #080a18;
  --panel: rgba(15, 18, 38, 0.6);
  --panel-solid: #0c0f22;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #eaedfa;
  --muted: #9aa2c0;
  --dim: #6b7392;
  --pink: #ff3fd8;
  --violet: #a44bff;
  --cyan: #2bd8ff;
  --green: #55ff9d;
  --amber: #ffc24b;
  --red: #ff5470;
  --grad: linear-gradient(92deg, #ff3fd8 0%, #a44bff 34%, #2bd8ff 66%, #55ff9d 100%);
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 20px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ambient glows behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52rem 34rem at 12% -6%, rgba(255, 63, 216, 0.09), transparent 60%),
    radial-gradient(46rem 30rem at 106% 18%, rgba(43, 216, 255, 0.075), transparent 62%),
    radial-gradient(60rem 42rem at 50% 118%, rgba(164, 75, 255, 0.09), transparent 64%),
    var(--bg0);
}

::selection { background: rgba(164, 75, 255, 0.5); }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.center { text-align: center; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
.h-xl { font-size: clamp(2.5rem, 7vw, 4.4rem); font-weight: 700; }
.h-lg { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 700; }
.h-md { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; }
.h-sm { font-size: 1.12rem; font-weight: 600; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--muted); max-width: 46em; }
.lead strong, p strong { color: var(--text); font-weight: 600; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.microtag {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.1em;
}
.microtag::before {
  content: '';
  width: 2.2em;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.txt-link { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(43, 216, 255, 0.35); }
.txt-link:hover { border-bottom-color: var(--cyan); }

/* ---------- pills / badges ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.42em 0.95em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 26, 0.72);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px currentColor; }
.pill.p-green .dot { background: var(--green); color: var(--green); }
.pill.p-cyan .dot { background: var(--cyan); color: var(--cyan); }
.pill.p-pink .dot { background: var(--pink); color: var(--pink); }
.pill.p-violet .dot { background: var(--violet); color: var(--violet); }
.pill.p-amber .dot { background: var(--amber); color: var(--amber); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  border-radius: 999px;
  padding: 0.28em 0.8em;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.st-shipped { color: var(--green); background: rgba(85, 255, 157, 0.08); border: 1px solid rgba(85, 255, 157, 0.28); }
.st-wip { color: var(--amber); background: rgba(255, 194, 75, 0.08); border: 1px solid rgba(255, 194, 75, 0.28); }
.st-plan { color: var(--violet); background: rgba(164, 75, 255, 0.1); border: 1px solid rgba(164, 75, 255, 0.32); }
.st-retired { color: var(--dim); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }

/* concept marker — non-negotiable honesty device */
.figure { position: relative; margin: 0; }
.figure .concept-badge,
.figure .live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.34em 0.85em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.concept-badge { color: var(--amber); background: rgba(20, 14, 2, 0.72); border: 1px solid rgba(255, 194, 75, 0.45); }
.live-badge { color: var(--green); background: rgba(2, 18, 10, 0.72); border: 1px solid rgba(85, 255, 157, 0.45); }
.figcap { font-size: 0.85rem; color: var(--dim); margin-top: 0.7rem; line-height: 1.5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--grad);
  color: #06070f;
  box-shadow: 0 6px 28px rgba(164, 75, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(43, 216, 255, 0.4); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(12, 15, 34, 0.5);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(4, 5, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.brand .wiki-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2em 0.5em;
  margin-left: 0.1rem;
}
.nav { display: flex; align-items: center; gap: 0.2rem; }
.nav a {
  padding: 0.5em 0.75em;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.nav .nav-play {
  margin-left: 0.5rem;
  background: var(--grad);
  color: #06070f;
  font-weight: 700;
  padding: 0.5em 1.1em;
  border-radius: 999px;
}
.nav .nav-play:hover { color: #06070f; background: var(--grad); filter: brightness(1.12); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  color: var(--text);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

main { padding-top: 64px; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 5, 12, 0.62) 0%, rgba(4, 5, 12, 0.18) 34%, rgba(4, 5, 12, 0.82) 74%, var(--bg0) 98%),
    radial-gradient(70% 60% at 50% 100%, rgba(4, 5, 12, 0.55), transparent 70%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding-block: clamp(3rem, 9vh, 6rem) clamp(3.4rem, 8vh, 5.5rem); }
.hero-mark { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.4rem; }
.hero-mark img { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 30px rgba(255, 63, 216, 0.4); }
.hero-mark .wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-mark .subtag { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }

/* page hero (inner pages) */
.page-hero { position: relative; padding: clamp(3.6rem, 8vw, 5.6rem) 0 clamp(2rem, 4vw, 3rem); overflow: clip; }
.page-hero .ghost {
  position: absolute;
  right: -2%;
  top: 8%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.05;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* ---------- sections & cards ---------- */
.section { padding: clamp(3rem, 7vw, 5.4rem) 0; }
.section-tight { padding: clamp(1.8rem, 4vw, 3rem) 0; }
.section-head { max-width: 46em; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }

.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45); }
.card h3 { margin-top: 0.2rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { font-size: 1.5rem; line-height: 1; margin-bottom: 0.7rem; }

/* gradient-edged feature panel (login-page energy) */
.g-panel {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 63, 216, 0.5), rgba(164, 75, 255, 0.3) 30%, rgba(43, 216, 255, 0.35) 65%, rgba(85, 255, 157, 0.5));
}
.g-panel > .inner {
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0b0e20, #080a18);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  height: 100%;
}

/* nav cards on home */
.nav-card { display: block; text-decoration: none; overflow: clip; padding: 0; }
.nav-card .thumb { aspect-ratio: 16/9; overflow: clip; border-bottom: 1px solid var(--line-soft); }
.nav-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.nav-card:hover .thumb img { transform: scale(1.045); }
.nav-card .body { padding: 1.1rem 1.3rem 1.2rem; }
.nav-card .body h3 { display: flex; align-items: center; gap: 0.5em; font-size: 1.08rem; margin: 0 0 0.3rem; }
.nav-card .body h3::after { content: '→'; color: var(--cyan); font-weight: 400; transition: transform 0.2s; }
.nav-card:hover .body h3::after { transform: translateX(4px); }
.nav-card .body p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* screenshots / media */
.shot { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55); overflow: clip; }
.shot img, .shot video { width: 100%; }
.media-duo { display: grid; grid-template-columns: 2.4fr 1fr; gap: 1.1rem; align-items: start; }
@media (max-width: 760px) { .media-duo { grid-template-columns: 1fr; } .media-duo .phone-shot { max-width: 280px; } }

/* split feature rows */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split.rev .split-copy { order: 2; }
@media (max-width: 860px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-copy { order: 0; }
}

/* ---------- steps / chain diagram ---------- */
.chain { display: grid; gap: 0.6rem; margin: 1.6rem 0; }
.chain-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1.2rem;
}
.chain-step .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  width: 2em;
  height: 2em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.chain-step .what { font-weight: 600; font-family: var(--font-display); }
.chain-step .what small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.88rem; margin-top: 0.15rem; }
.chain-step .note { font-size: 0.75rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); text-align: right; }
.chain-step.final { border-color: rgba(85, 255, 157, 0.35); background: rgba(85, 255, 157, 0.05); }
.chain-step.final .num { background: rgba(85, 255, 157, 0.14); border-color: rgba(85, 255, 157, 0.4); color: var(--green); }
.chain-arrow { text-align: center; color: var(--dim); line-height: 0.6; font-size: 1.1rem; }
@media (max-width: 640px) { .chain-step { grid-template-columns: auto 1fr; } .chain-step .note { display: none; } }

/* ---------- roadmap ---------- */
.timeline { position: relative; margin: 2.2rem 0 0; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--dim), var(--green) 26%, var(--amber) 58%, var(--violet));
  border-radius: 2px;
  opacity: 0.7;
}
.tl-item { position: relative; padding: 0 0 2.4rem; }
.tl-item:last-child { padding-bottom: 0.4rem; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--bg0);
  background: var(--dim);
}
.tl-item.done::before { background: var(--green); box-shadow: 0 0 12px rgba(85, 255, 157, 0.6); }
.tl-item.wip::before { background: var(--amber); box-shadow: 0 0 12px rgba(255, 194, 75, 0.6); }
.tl-item.plan::before { background: var(--violet); box-shadow: 0 0 12px rgba(164, 75, 255, 0.6); }
.tl-item h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }

.board { display: grid; gap: 0.5rem; margin-top: 1.4rem; }
.board-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
}
.board-row .f { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.board-row .f small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: 0.85rem; }

/* ---------- characters ---------- */
.char-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 860px) { .char-grid { grid-template-columns: 1fr; } }
.char-card { padding: 0; overflow: clip; }
.char-card .stage {
  position: relative;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(164, 75, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #0d1024, #080a18);
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  place-items: end center;
  min-height: 320px;
  padding: 1.4rem 1rem 0;
}
.char-card .stage img, .char-card .stage video { max-height: 330px; width: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.6)); }
.char-card .stage::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(43, 216, 255, 0.22), transparent 70%);
}
.char-card .body { padding: 1.15rem 1.3rem 1.25rem; }
.char-card .body h3 { margin: 0 0 0.25rem; }
.char-card .body .role { font-size: 0.78rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.55rem; }
.char-card .body p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.cast-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 700px) { .cast-list { grid-template-columns: 1fr; } }
.cast-item { display: flex; gap: 1.05rem; align-items: flex-start; }
.cast-item .monogram {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #06070f;
}
.cast-item h3 { margin-bottom: 0.15rem; font-size: 1.05rem; }
.cast-item p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* turnaround sheet: white-background art framed deliberately */
.sheet {
  background: #f4f4f6;
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  place-items: center;
}
.sheet img { max-height: 520px; width: auto; }

/* ---------- economy ---------- */
.currency-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 700px) { .currency-duo { grid-template-columns: 1fr; } }
.tier-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.tier-table th, .tier-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.tier-table th { font-family: var(--font-display); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.tier-table td:first-child { font-weight: 600; font-family: var(--font-display); white-space: nowrap; }
.tier-table tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; }

.funnel { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 1.4rem 0; }
.funnel .f-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.funnel .f-arrow { color: var(--dim); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0.7rem; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  overflow: clip;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--cyan); transition: transform 0.2s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- callouts ---------- */
.callout {
  border-radius: var(--radius);
  border: 1px solid rgba(85, 255, 157, 0.3);
  background: rgba(85, 255, 157, 0.05);
  padding: 1.3rem 1.5rem;
}
.callout.warn { border-color: rgba(255, 194, 75, 0.35); background: rgba(255, 194, 75, 0.05); }
.callout.info { border-color: rgba(43, 216, 255, 0.3); background: rgba(43, 216, 255, 0.05); }
.callout h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.02rem; margin-bottom: 0.5rem; }
.callout p { margin-bottom: 0.4em; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); margin-top: clamp(2rem, 6vw, 4rem); padding: 2.8rem 0 2.4rem; background: rgba(4, 5, 12, 0.6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 0.8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.footer a:hover { color: var(--text); }
.footer .brandline { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.footer .brandline img { width: 30px; height: 30px; border-radius: 50%; }
.footer .disclaimer { color: var(--dim); font-size: 0.84rem; max-width: 34em; }
.footer .fineprint { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--dim); font-size: 0.8rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- mobile nav ---------- */
@media (max-width: 920px) {
  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(5, 6, 15, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem clamp(20px, 5vw, 40px) 1.2rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 55;
  }
  .nav.open { transform: none; }
  .nav a { padding: 0.8em 0.9em; font-size: 1rem; }
  .nav .nav-play { margin: 0.5rem 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .brand .wiki-tag { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 15.5px; }
  .hero { min-height: 78vh; }
  .card { padding: 1.25rem 1.2rem 1.1rem; }
}
