/* ==========================================================================
   RBX Multiple — shared stylesheet for inner pages (V2: mono + liquid glass)
   Used by the legal/info pages and the Multi Roblox guide so every page
   matches the homepage. Homepage keeps its own home.css.
   ========================================================================== */

:root {
  --bg: #000;
  --card: #050505;
  --card-2: #0A0A0A;
  --line: #1A1A1A;
  --line-2: #262626;
  --text: #F5F5F5;
  --text-2: #D4D4D4;
  --muted: #A8A8A8;
  --dim: #9A9A9A;
  --faint: #8A8A8A;

  --f-sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 24px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --glass-blur: 22px;
  --glass-fill: linear-gradient(145deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0.03) 62%, rgba(255,255,255,0.11) 100%);
  --glass-edge: rgba(255, 255, 255, 0.16);
  --glass-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -1px 0 rgba(255,255,255,0.10),
    inset 1px 0 0 rgba(255,255,255,0.14),
    inset -1px 0 0 rgba(255,255,255,0.07),
    inset 0 0 32px rgba(255,255,255,0.04),
    0 24px 70px rgba(0,0,0,0.55);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 32px);
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(255,255,255,0.07), transparent 58%),
    radial-gradient(720px 420px at -8% 18%, rgba(255,255,255,0.045), transparent 55%),
    var(--bg);
  color: var(--text-2);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: #fff; letter-spacing: -0.03em; }
p { margin: 0; }
code { font-family: var(--f-mono); }
a { color: #fff; }
a:hover { color: var(--text-2); }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
::selection { background: #fff; color: #000; }

.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--f-mono); }
.shell, .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: #000;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #000; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 500;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.15), #fff);
  box-shadow: 0 0 14px rgba(255,255,255,0.55);
  pointer-events: none;
}

/* ---------- Glass ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
.glass::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.08) 28%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.05) 72%, rgba(255,255,255,0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 18% 0%, rgba(255,255,255,0.14), transparent 55%);
}
.glass--chip { --glass-blur: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 6px 20px rgba(0,0,0,0.35); }
.glass--chip::after { display: none; }

/* ---------- Buttons ---------- */
.btn, .btn-w, .btn-g, .btn-aqua, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font: 600 16px/1 var(--f-sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-w, .btn-aqua, .btn.btn-primary, .btn-white {
  background: #fff; color: #000; box-shadow: 0 10px 40px rgba(255,255,255,0.12);
}
.btn-w:hover, .btn-aqua:hover, .btn.btn-primary:hover, .btn-white:hover { color: #000; transform: translateY(-2px); box-shadow: 0 16px 50px rgba(255,255,255,0.22); }
.btn-g, .btn-ghost, .btn-glass {
  color: #fff; font-weight: 500; background: var(--glass-fill);
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -1px 0 rgba(255,255,255,0.06);
}
.btn-g:hover, .btn-ghost:hover, .btn-glass:hover { color: #fff; transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 18px; gap: 8px; font-size: 14px; border-radius: 999px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px;
  border-radius: 999px; font-size: 14px; font-weight: 500; color: #F0F0F0; text-decoration: none;
}
.chip img { width: 18px; height: 18px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.9); flex: none; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; padding: 16px var(--gutter) 0; }
.nav {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; height: var(--nav-h);
  padding: 0 8px 0 18px; border-radius: 999px; display: flex; align-items: center; gap: 16px;
  transition: max-width 0.7s var(--ease-out), height 0.5s var(--ease-out);
}
.site-head.is-compact .nav { max-width: 900px; height: 54px; }
.brand {
  display: flex; align-items: center; gap: 10px; flex: none; color: #fff; text-decoration: none;
  font-weight: 600; font-size: 17px; letter-spacing: -0.02em;
}
.brand:hover { color: #fff; }
.brand img, .brand .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.brand .brand-text { font-weight: 600; }
.nav__links { flex: 1; display: flex; justify-content: center; gap: 2px; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; color: #C8C8C8; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color 0.15s, background-color 0.15s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,0.08); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__dl-short { display: none; }
.nav__menu {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06); color: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.nav__menu svg { transition: transform 0.3s var(--ease-out); }
.nav__menu[aria-expanded="true"] svg { transform: rotate(90deg); }

.nav-sheet {
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 8px auto 0; padding: 10px;
  border-radius: 24px; display: flex; flex-direction: column; gap: 2px;
  transform-origin: top center; animation: sheet-in 0.3s var(--ease-out);
}
.nav-sheet[hidden] { display: none; }
.nav-sheet a:not(.btn-w):not(.btn-g) {
  padding: 14px; border-radius: 14px; color: #E6E6E6; font-size: 17px; font-weight: 500; text-decoration: none;
}
.nav-sheet a:not(.btn-w):not(.btn-g):hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-sheet .btn-w { margin-top: 6px; width: 100%; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- Page shell ---------- */
.page, .stack { max-width: var(--wrap); margin: 16px auto 0; padding: 0 var(--gutter) 24px; }
.card {
  position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
}
.card, .legal-hero, .prose, .guide-hero-grid, .guide-block > .shell, .guide-cta-band {
  --gx: 22%;
  --gy: 0%;
}
.kicker, .lbl, .sec-kicker {
  font: 500 12px/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb, .guide-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 8px 8px 0;
  font: 400 13px/1.4 var(--f-mono); color: var(--dim);
}
.breadcrumb a, .guide-breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover, .guide-breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current], .guide-breadcrumb [aria-current] { color: #fff; }

/* ---------- Legal / prose pages ---------- */
.legal {
  max-width: var(--wrap);
  margin: 16px auto 0;
  padding: 0 var(--gutter) 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-hero {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  min-height: 320px; margin: 0;
  padding: 56px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 48%, rgba(0,0,0,0.2) 100%),
    url("images/hero-glyphs.webp") 72% 42% / cover no-repeat,
    #000;
}
.legal-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,0.16) 46%, transparent 62%);
  mix-blend-mode: overlay;
  animation: shine 7.5s ease-in-out infinite;
}
.legal-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx) var(--gy), rgba(255,255,255,0.14), transparent 68%);
}
.legal-hero > * { position: relative; z-index: 1; }
.legal-hero h1 {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(56px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.03em;
}
.legal-hero .legal-updated { margin-top: 14px; font: 400 13px/1.5 var(--f-mono); color: var(--dim); }
.prose {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
  padding: 48px 56px;
  max-width: none;
}
.prose > :first-child { margin-top: 0; }
.prose > * { max-width: 68ch; }
.prose h2 {
  margin: 36px 0 12px; font-size: 22px; letter-spacing: -0.02em;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.prose h2:first-of-type { padding-top: 0; border-top: 0; }
.prose h3 { margin: 24px 0 8px; font-size: 17px; }
.prose p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.prose ul { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose li {
  position: relative; padding-left: 24px; color: var(--muted); font-size: 16px;
}
.prose li::before {
  content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.4); transition: text-decoration-color 0.15s; }
.prose a:hover { text-decoration-color: #fff; }
.prose strong { color: var(--text); font-weight: 600; }
.prose code {
  font-family: var(--f-mono); font-size: 0.86em; padding: 2px 7px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); color: #fff;
}

/* ---------- Guide page ---------- */
body.guide-page #main { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
.guide-hero { padding: 0; }
.guide-hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding: 48px 56px; border-radius: var(--radius); border: 1px solid var(--line);
  position: relative; overflow: hidden; min-height: 420px;
  background:
    linear-gradient(100deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 46%, rgba(0,0,0,0.25) 100%),
    url("images/hero-glyphs.webp") 78% 40% / cover no-repeat,
    #000;
}
.guide-hero-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255,255,255,0.14) 48%, transparent 64%);
  mix-blend-mode: overlay;
  animation: shine 8s ease-in-out infinite;
}
.guide-hero-grid::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px circle at var(--gx) var(--gy), rgba(255,255,255,0.12), transparent 70%);
}
.guide-hero-grid > * { position: relative; z-index: 1; }
.guide-hero h1 { margin: 16px 0 0; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.guide-hero h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: #fff; letter-spacing: -0.01em; }
.guide-hero-lead { margin: 18px 0 0; font-size: 17px; color: var(--muted); text-wrap: pretty; max-width: 540px; }
.guide-hero-lead a { color: #fff; }
.guide-hero-actions { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.guide-hero-meta { margin: 16px 0 0; font: 400 12px/1.5 var(--f-mono); color: var(--dim); }
.guide-hero-visual img {
  width: 100%; height: auto; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.splash-badge, .guide-badge {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px;
  border-radius: 999px; font-size: 13px; font-weight: 500; color: #EDEDED;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}
.splash-badge-dot, .splash-badge .splash-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.9);
  animation: live-pulse 2.2s ease-in-out infinite;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }
.splash-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.guide-anchor-nav {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 14px;
  border-radius: 20px; border: 1px solid var(--line); background: rgba(10,10,10,0.9);
}
.guide-anchor-nav a {
  padding: 7px 14px; border-radius: 999px; font: 500 13px/1 var(--f-sans); color: #C8C8C8;
  text-decoration: none; border: 1px solid var(--line-2); transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.guide-anchor-nav a:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); }

.guide-block { padding: 0; }
.guide-block--alt { background: transparent; }
.guide-block > .shell {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 48px 56px;
}
.shell.guide-hero-grid,
.guide-block > .shell { max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.guide-prose { max-width: none; }
.guide-prose > p, .guide-prose > ul { max-width: 68ch; }
.guide-prose h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; margin: 12px 0 0; }
.guide-prose > p { margin: 18px 0 0; color: var(--muted); font-size: 16.5px; }
.guide-prose > p a, .guide-prose li a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.4); }
.guide-prose strong { color: var(--text); font-weight: 600; }
.guide-prose em { color: var(--text-2); font-style: italic; }
.guide-prose > ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.guide-prose > ul li { position: relative; padding-left: 24px; color: var(--muted); font-size: 16.5px; }
.guide-prose > ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.5); }
.guide-prose code { font-family: var(--f-mono); font-size: 0.86em; padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid var(--line-2); color: #fff; }

.guide-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; margin: 28px 0 0; }
.guide-card {
  padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #0A0A0A;
  transition: transform 0.35s var(--ease-out), border-color 0.25s, background-color 0.25s;
}
.guide-card:hover { transform: translateY(-3px); border-color: #2E2E2E; background: #101010; }
.guide-card h3 { font-size: 18px; letter-spacing: -0.02em; }
.guide-card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

.guide-compare-wrap { margin: 28px 0 0; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
.guide-compare { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.guide-compare th, .guide-compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-compare thead th { font: 500 11px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: var(--card-2); }
.guide-compare tbody th { color: #fff; font-weight: 600; }
.guide-compare td { color: var(--muted); }
.guide-compare tr:last-child th, .guide-compare tr:last-child td { border-bottom: 0; }
.guide-compare .is-highlight th, .guide-compare .is-highlight td { background: rgba(255,255,255,0.05); color: var(--text-2); }
.guide-compare .is-highlight th { color: #fff; }

/* Timeline */
.timeline-sec .sec-head, .faq-sec .sec-head, .sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
.sec-head p { color: var(--muted); font-size: 16px; }
.timeline { margin: 40px 0 0; display: flex; flex-direction: column; gap: 12px; }
.tl-item {
  border-radius: 18px; border: 1px solid var(--line); background: #0A0A0A; padding: 24px;
  transition: transform 0.35s var(--ease-out), border-color 0.25s;
}
.tl-item:hover { transform: translateY(-2px); border-color: #2A2A2A; }
.tl-main { display: flex; gap: 20px; }
.tl-rail { flex: none; }
.tl-num {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-2); color: #fff;
  font: 500 15px/1 var(--f-mono);
}
.tl-copy h3 { font-size: 19px; letter-spacing: -0.02em; }
.tl-copy p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.timeline-sec > .shell > p { margin: 24px 0 0; color: var(--muted); font-size: 15px; max-width: 860px; }

/* FAQ */
.faq-list { margin: 40px 0 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 500 18px/1.4 var(--f-sans); color: #fff; letter-spacing: -0.01em;
}
.faq-chevron {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  color: #E6E6E6; border: 1px solid var(--line-2); transition: transform 0.3s var(--ease-out), background-color 0.2s, border-color 0.2s;
}
.faq-item.open .faq-chevron, .faq-item[open] .faq-chevron { transform: rotate(180deg); background: #fff; color: #000; border-color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease-out); }
.faq-item.open .faq-a, .faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0 0 24px; color: var(--muted); font-size: 15.5px; max-width: 760px; }
.faq-a-inner a { color: #fff; }
/* native <details> variant used on the game-copier style pages */
details.gc-faq-item, details.faq-item { border-bottom: 1px solid var(--line); }
details.gc-faq-item summary, details.faq-item > summary {
  list-style: none; cursor: pointer; padding: 22px 0; font: 500 18px/1.4 var(--f-sans); color: #fff;
}
details summary::-webkit-details-marker { display: none; }

/* CTA band */
.guide-cta-band {
  position: relative; overflow: hidden; margin: 0; min-height: 360px;
  padding: 180px 40px 48px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background:
    linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05)),
    url("images/cta-horizon.webp") center 30% / cover no-repeat,
    #000;
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 16px;
}
.guide-cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 48%, transparent 64%);
  mix-blend-mode: overlay; animation: shine 8s ease-in-out infinite;
}
.guide-cta-band > * { position: relative; z-index: 1; }
.guide-cta-band h2 {
  font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.04em;
}
.guide-cta-band h2 em, .guide-hero h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.guide-cta-band p { color: #D4D4D4; max-width: 560px; }

/* ---------- Footer (same card as the homepage) ---------- */
footer.wrap { max-width: var(--wrap); margin: 16px auto 0; padding: 0 var(--gutter); }
.card.foot {
  display: flex; flex-direction: column; gap: 32px; padding: 48px 56px; margin-bottom: 24px;
}
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot__brand { flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 12px; }
.foot__brand .brand { font-size: 18px; }
.foot__brand .brand img { width: 32px; height: 32px; }
.foot__brand p { font-size: 14px; color: var(--dim); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__h { font: 400 11px/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.foot__col a { color: #C8C8C8; font-size: 14px; text-decoration: none; transition: color 0.15s; }
.foot__col a:hover, .foot__col a[aria-current="page"] { color: #fff; }
.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot__also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.foot__also > span { font-size: 13px; color: var(--dim); margin-right: 6px; }
.chip--line { height: 34px; padding: 0 14px 0 10px; border: 1px solid var(--line-2); font-size: 13px; color: #E0E0E0; }
.chip--line img { width: 16px; height: 16px; }
.foot__copy { font-size: 13px; color: var(--faint); }

/* ---------- Reveal ---------- */
@keyframes shine { 0% { transform: translateX(-55%); } 55%, 100% { transform: translateX(55%); } }
.js .rv { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out), filter 0.9s var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
.js .rv.d1 { transition-delay: 0.08s; }
.js .rv.d2 { transition-delay: 0.16s; }
.js .rv.d3 { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-flex; }
}
@media (max-width: 760px) {
  :root { --gutter: 14px; --radius: 22px; --nav-h: 56px; }
  .guide-hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; min-height: 0; }
  .guide-hero-visual { order: -1; }
  .legal-hero { min-height: 240px; padding: 36px 22px; }
  .legal-hero h1 { font-size: 52px; }
  .prose, .guide-block > .shell { padding: 28px 22px; }
  .guide-cta-band { min-height: 300px; padding: 140px 20px 28px; }
  .card.foot { padding: 32px 20px; }
  .foot__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .rv { opacity: 1; transform: none; filter: none; }
}

/* Nav pill matches the homepage's darker smoked glass (home.css) */
.nav.glass {
  --glass-blur: 14px;
  background: linear-gradient(100deg, rgba(32,32,32,0.92) 0%, rgba(12,12,12,0.94) 42%, rgba(0,0,0,0.96) 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 16px 36px rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  backdrop-filter: blur(14px) saturate(110%);
}
.nav.glass::before { background: linear-gradient(160deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04) 34%, rgba(255,255,255,0) 58%); }
.nav.glass::after { background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent 46%); }
