/* Gravity Flip: Neon Escape website. Plain CSS, mobile first, no frameworks.
   Brand tokens match the game (docs/brand/BRAND_IDENTITY.md). */

@font-face {
  font-family: "Orbitron";
  src: url("../fonts/orbitron-variable.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --bg: #070b18;
  --bg-deep: #04060e;
  --surface: #0f1730;
  --surface-2: #16213f;
  --line: #22305a;
  --text: #f5f7ff;
  --muted: #a9b3cc;
  --cyan: #00e5ff;
  --cyan-ice: #8af4ff;
  --magenta: #ff3dce;
  --purple: #9b5cff;
  --danger: #ff4666;
  --success: #2ee6a0;
  --orange: #ff8a3d;
  --cream: #fff1d6;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  --glow-cyan: 0 0 0 1px rgba(0, 229, 255, .35), 0 0 28px rgba(0, 229, 255, .25);
  --max: 1180px;
  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(255, 61, 206, .14), transparent 60%),
    radial-gradient(900px 600px at 10% 10%, rgba(0, 229, 255, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* the game's faint grid */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--cyan-ice); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .35rem; }
strong { color: #fff; }
code { font-size: .92em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .75rem; letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
.grad {
  background: linear-gradient(90deg, var(--cyan-ice), var(--cyan) 45%, var(--purple) 80%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-block; font: 700 .78rem/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: .9rem;
}
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(15, 23, 48, .65) 18%, rgba(15, 23, 48, .65) 82%, transparent); }
.section-head { margin-bottom: clamp(28px, 5vw, 48px); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: #001018;
  padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Header -------------------------------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 24, .72); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 11, 24, .92); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 18px rgba(0, 229, 255, .35); }
.brand span { font: 800 1rem/1.1 var(--font-display); letter-spacing: .04em; }
.brand small { display: block; font: 600 .62rem/1 var(--font-display); color: var(--magenta); letter-spacing: .2em; margin-top: 4px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-menu {
  position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 4px;
  padding: 12px 16px 20px; background: rgba(7, 11, 24, .98); border-bottom: 1px solid var(--line);
  list-style: none; margin: 0;
}
.nav-menu.is-open { display: flex; }
.nav-menu li + li { margin-top: 0; }
.nav-menu a {
  display: block; padding: .8rem 1rem; border-radius: 10px; color: var(--text); text-decoration: none;
  font: 600 .95rem/1 var(--font-display); letter-spacing: .04em;
}
.nav-menu a:hover { background: var(--surface); color: var(--cyan-ice); }
.nav-menu a[aria-current="page"] { color: var(--cyan); background: rgba(0, 229, 255, .08); }
.nav-menu .btn { margin-top: 8px; text-align: center; justify-content: center; }

@media (min-width: 940px) {
  .nav-toggle { display: none; }
  .nav-menu {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 2px; padding: 0;
    background: none; border: 0;
  }
  .nav-menu a { padding: .65rem .85rem; font-size: .82rem; }
  .nav-menu .btn { margin: 0 0 0 10px; }
}

/* ---- Buttons ------------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .95rem 1.4rem; border-radius: 999px;
  font: 700 .9rem/1 var(--font-display); letter-spacing: .05em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s;
  min-height: 48px;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: linear-gradient(90deg, var(--cyan), #00b8ff); color: #00121a; box-shadow: 0 8px 30px rgba(0, 229, 255, .35); }
.btn--primary:hover { color: #00121a; transform: translateY(-2px); box-shadow: 0 12px 38px rgba(0, 229, 255, .5); }
.btn--ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { color: var(--cyan-ice); border-color: var(--cyan); }
.nav-menu .btn--primary { color: #00121a; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Hero ---------------------------------------------------------------------------------------------------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.hero-badges li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: .45rem .85rem; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: .85rem; color: var(--muted);
}
.chip b { color: var(--text); font-family: var(--font-display); font-size: .8rem; }
.device {
  position: relative; border-radius: 26px; padding: 12px; background: linear-gradient(145deg, #1a2550, #0b1126);
  border: 1px solid #2a3a6e; box-shadow: var(--shadow), 0 0 80px rgba(0, 229, 255, .18);
}
.device img { border-radius: 16px; width: 100%; }
.device::after {
  content: ""; position: absolute; inset: -40px -30px auto auto; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 206, .35), transparent 70%); z-index: -1; filter: blur(10px);
}
.hero-note { margin-top: 1rem; font-size: .88rem; color: var(--muted); }

/* ---- Stats --------------------------------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats li { margin: 0; padding: 22px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.stats strong { display: block; font: 800 clamp(1.7rem, 4vw, 2.4rem)/1 var(--font-display); color: var(--cyan); margin-bottom: 8px; }
.stats span { color: var(--muted); font-size: .92rem; }

/* ---- Cards and grids ----------------------------------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), #0c1329);
  border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(0, 229, 255, .45); box-shadow: var(--glow-cyan); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 16px;
  background: rgba(0, 229, 255, .1); color: var(--cyan); border: 1px solid rgba(0, 229, 255, .3);
}
.card .icon svg { width: 26px; height: 26px; }
.card--magenta .icon { background: rgba(255, 61, 206, .1); color: var(--magenta); border-color: rgba(255, 61, 206, .35); }
.card--purple .icon { background: rgba(155, 92, 255, .12); color: var(--purple); border-color: rgba(155, 92, 255, .4); }
.card--green .icon { background: rgba(46, 230, 160, .1); color: var(--success); border-color: rgba(46, 230, 160, .35); }

.steps { counter-reset: step; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { margin: 0; counter-increment: step; position: relative; padding: 30px 24px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(step); display: block; font: 800 2.2rem/1 var(--font-display); margin-bottom: 14px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Worlds -------------------------------------------------------------------------------------------------- */
.worlds { display: grid; gap: 16px; }
@media (min-width: 700px) { .worlds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .worlds { grid-template-columns: repeat(5, 1fr); } }
.world { --accent: var(--cyan); padding: 24px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.world .num { font: 800 .75rem/1 var(--font-display); letter-spacing: .2em; color: var(--accent); }
.world h3 { margin: .6rem 0 .5rem; }
.world p { color: var(--muted); font-size: .95rem; margin: 0; }
.world--2 { --accent: #a57cff; } .world--3 { --accent: var(--orange); } .world--4 { --accent: var(--success); } .world--5 { --accent: var(--cream); }

/* ---- Gallery and lightbox ------------------------------------------------------------------------------------ */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0; padding: 0; list-style: none; }
.gallery li { margin: 0; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface); cursor: zoom-in; transition: transform .2s ease, border-color .2s, box-shadow .2s;
}
.gallery button:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: .88rem; color: var(--muted); text-align: left; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 4, 10, .92); }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1280px, 100%); }
.lightbox img { border-radius: 14px; max-height: 80vh; width: auto; margin: 0 auto; box-shadow: var(--shadow); }
.lightbox figcaption { text-align: center; color: var(--muted); margin-top: 12px; }
.lightbox .lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-size: 1.4rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---- Feature rows, tables, callouts -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split img { border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan-ice) 30%, var(--cyan) 60%, #0077c8);
  box-shadow: 0 0 10px rgba(0, 229, 255, .6);
}
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--surface); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 .8rem/1.3 var(--font-display); letter-spacing: .06em; color: var(--cyan); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { color: #fff; font-weight: 600; white-space: nowrap; }
.callout { padding: 20px 22px; border-radius: var(--radius); background: rgba(0, 229, 255, .06); border: 1px solid rgba(0, 229, 255, .3); }
.callout--magenta { background: rgba(255, 61, 206, .06); border-color: rgba(255, 61, 206, .35); }
.callout p:last-child { margin-bottom: 0; }

/* ---- Breadcrumbs and page header ----------------------------------------------------------------------------- */
.page-hero { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

/* ---- FAQ ----------------------------------------------------------------------------------------------------- */
.faq-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.search { position: relative; flex: 1 1 280px; }
.search input {
  width: 100%; padding: .9rem 1rem .9rem 2.8rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: inherit; min-height: 48px;
}
.search input:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.25rem; color: var(--cyan); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(0, 229, 255, .45); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font-weight: 600; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 700 1.4rem/1 var(--font-display); color: var(--cyan);
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-empty { display: none; }
.faq-empty.is-visible { display: block; }

/* ---- Policy / long-form text --------------------------------------------------------------------------------- */
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.35rem; margin-top: 2.5rem; color: var(--cyan); }
.prose h3 { font-size: 1.05rem; margin-top: 1.6rem; }
.prose p, .prose li { color: #d6dcef; }
.toc { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 32px; }
.toc h2 { font-size: .95rem; margin: 0 0 10px; color: var(--text); }
.toc ol { margin: 0; columns: 2 220px; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--cyan); }
.policy-layout { display: grid; gap: 32px; }
@media (min-width: 1040px) { .policy-layout { grid-template-columns: 260px 1fr; } .policy-layout .toc { position: sticky; top: 96px; align-self: start; } .toc ol { columns: 1; } }
.toc a.is-active { color: var(--cyan); font-weight: 600; }

/* ---- Contact ------------------------------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { margin: 0; display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-list .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 229, 255, .1); color: var(--cyan); }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list h3 { font-size: .85rem; letter-spacing: .08em; color: var(--muted); margin: 0 0 4px; }
.contact-list p { margin: 0; color: #fff; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--cyan); }
.copy-btn { margin-top: 8px; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; cursor: pointer; }
.copy-btn:hover { color: var(--cyan); border-color: var(--cyan); }
.form { padding: clamp(22px, 4vw, 34px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); font: inherit; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field .error { display: none; color: var(--danger); font-size: .85rem; margin-top: 6px; }
.field.has-error .error { display: block; }
.form-status { margin-top: 14px; font-size: .95rem; }
.form-status.is-ok { color: var(--success); }

/* ---- CTA band and footer ------------------------------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 6vw, 64px);
  background: radial-gradient(600px 300px at 85% 20%, rgba(255, 61, 206, .25), transparent 70%),
              radial-gradient(600px 300px at 10% 90%, rgba(0, 229, 255, .22), transparent 70%), var(--surface);
  border: 1px solid var(--line);
}
.cta-band .split { align-items: center; }
.cta-band img { max-width: 180px; border-radius: 36px; border: 0; box-shadow: 0 0 60px rgba(0, 229, 255, .35); margin-inline: auto; }

.site-footer { margin-top: 40px; padding: 56px 0 28px; background: var(--bg-deep); border-top: 1px solid var(--line); font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.site-footer address { font-style: normal; color: var(--muted); line-height: 1.8; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: .85rem; }

/* ---- Motion -------------------------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  body::before { display: none; }
  .prose p, .prose li { color: #000; }
}
