/* Vanadian LLC · vanadian.org
   Identity: "the ember forge". A night sky, a phoenix rising, and vanadium's four colours (gold V5+, blue V4+,
   green V3+, violet V2+) as accents. Unbounded for display and Manrope for text, both OFL from Google Fonts.
   Each game keeps its own identity inside its showcase. */

:root {
  --night: #0b0714; --night-2: #140c24; --night-3: #1d1233;
  --panel: rgba(28, 18, 50, 0.72); --panel-solid: #1a1030; --line: rgba(255, 190, 120, 0.16); --line-2: rgba(255, 255, 255, 0.08);
  --text: #f6f1ff; --muted: #b7abd0; --dim: #8b7fa6;
  --gold: #ffd84a; --ember: #ff8a2a; --flame: #e8366e; --violet: #7b3cff; --blue: #3d7bff; --green: #21c98a;
  --fire: linear-gradient(100deg, #ffd84a 0%, #ff8a2a 30%, #e8366e 62%, #7b3cff 100%);
  --display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --r: 22px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; color: var(--text); background: var(--night); font: 400 17px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: #ffc27a; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1a0b2e; padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* bilingual: every translatable piece exists twice; the <html lang> picks one */
html[lang="es"] [data-l="en"], html[lang="en"] [data-l="es"] { display: none !important; }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(11, 7, 20, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-2); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 0 12px rgba(255, 138, 42, 0.45)); }
.brand b { font: 800 17px/1 var(--display); letter-spacing: 0.16em; }
.brand small { display: block; font: 600 10px/1 var(--body); letter-spacing: 0.32em; color: var(--muted); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { font: 800 12px/1 var(--body); letter-spacing: .1em; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 7px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--fire); color: #1a0b2e; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; display: block; margin: auto; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: rgba(11, 7, 20, 0.97);
    border-bottom: 1px solid var(--line-2); padding: 8px 16px 16px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .top .wrap { gap: 10px; }
}

/* ---------- buttons and chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 800 15px/1 var(--body); letter-spacing: .02em; text-decoration: none;
  padding: 15px 22px; border-radius: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.fire { background: var(--fire); color: #1a0b2e; box-shadow: 0 10px 30px -8px rgba(232, 54, 110, 0.6); }
.btn.fire:hover { color: #1a0b2e; box-shadow: 0 14px 36px -8px rgba(255, 138, 42, 0.7); }
.btn.ghost { color: var(--text); border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.04); }
.btn.ghost:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.35); }
.btn svg { width: 20px; height: 20px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chip { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid currentColor; }

/* store badges: drawn in CSS so they can say "coming soon" until a listing is live */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; padding: 9px 16px 9px 12px; border-radius: 12px; text-decoration: none;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); transition: transform .15s, border-color .15s; }
.store:hover { color: #fff; transform: translateY(-2px); border-color: #fff; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: block; font: 600 10px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.store b { display: block; font: 800 17px/1.1 var(--body); }
.store.soon { cursor: default; opacity: .78; }
.store.soon:hover { transform: none; border-color: rgba(255, 255, 255, 0.28); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 110px 0 80px;
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(255, 120, 40, 0.20), transparent 70%),
    radial-gradient(40% 40% at 18% 20%, rgba(123, 60, 255, 0.22), transparent 70%),
    radial-gradient(40% 40% at 85% 25%, rgba(61, 123, 255, 0.14), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 60%, var(--night) 100%); }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-bird { position: relative; width: min(380px, 70vw); margin: 0 auto -10px; }
.hero-bird img { width: 100%; animation: rise 6s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(255, 138, 42, 0.5)) drop-shadow(0 0 90px rgba(232, 54, 110, 0.35)); }
.hero-bird::before { content: ""; position: absolute; inset: 18% 18% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 90, 0.35), transparent 65%); filter: blur(20px); animation: glow 6s ease-in-out infinite; }
@keyframes rise { 0%, 100% { transform: translateY(6px) scale(1); } 50% { transform: translateY(-10px) scale(1.02); } }
@keyframes glow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.eyebrow { font: 800 13px/1 var(--body); letter-spacing: .38em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.hero h1 { font-size: clamp(40px, 7.4vw, 92px); font-weight: 800; letter-spacing: -0.025em; margin: 0 auto; max-width: 15ch; }
.hero h1 em { font-style: normal; background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 640px; margin: 24px auto 34px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.3); border-radius: 14px; z-index: 1; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 110px 0; }
.sec-head { max-width: 760px; margin: 0 0 54px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 800 12px/1 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--ember); margin: 0 0 16px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--fire); }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 54px); }
.sec-head p { color: var(--muted); font-size: 19px; margin: 18px 0 0; }

/* ---------- game showcases (each in its own identity) ---------- */
.games { display: grid; gap: 34px; }
.game { position: relative; border-radius: 30px; overflow: hidden; isolation: isolate; scroll-margin-top: 90px; }
.game-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; min-height: 560px; }
.game .copy { padding: 52px 48px; display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 2; }
.game .art { position: relative; min-height: 340px; }
.game .art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game .logo-row { display: flex; align-items: center; gap: 16px; }
.game .logo-row img { width: 74px; height: 74px; flex: none; }
.game .status { font: 800 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; }
.game .pitch { font-size: 17.5px; margin: 0; }
.game ul.feats { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.game ul.feats li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.game ul.feats li::before { content: "◆"; font-size: 12px; line-height: 1.9; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; padding: 0 48px 44px; scroll-snap-type: x mandatory; scrollbar-width: thin; position: relative; z-index: 2; }
.shots img { border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; scroll-snap-align: start; width: 100%; cursor: zoom-in; }

/* Badge and Bullets: dark glass, gold badge, Barlow Condensed */
.g-bb { background: radial-gradient(120% 90% at 0% 0%, #1d2a4e 0%, #101a36 40%, #070b18 100%); border: 1px solid rgba(255, 200, 58, 0.25);
  --accent: #ffc83a; color: #e8ecf8; font-family: 'Barlow', var(--body); }
.g-bb h3 { font: 700 clamp(44px, 5.6vw, 72px)/0.9 'Barlow Condensed', var(--display); letter-spacing: .01em; text-transform: uppercase; }
.g-bb h3 small { display: block; font-size: .36em; letter-spacing: .42em; color: #e8ecf8; margin-bottom: 6px; }
.g-bb h3 span { background: linear-gradient(180deg, #fff 8%, #fff3c0 25%, #ffc83a 60%, #ff8a2a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-bb .status, .g-bb ul.feats li::before { color: var(--accent); }
.g-bb .tagline { font: 700 18px/1 'Barlow Condensed', var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); }
.g-bb .chip { color: #9fd6ff; border-color: #7cc8ff55; }
.g-bb .art > img { object-position: 50% 100%; }
.g-bb .game-inner { grid-template-columns: 1.25fr 0.9fr; }
.g-bb .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1124 0%, transparent 35%); }
.g-bb .logo-row img { filter: drop-shadow(0 6px 10px #000a) drop-shadow(0 0 18px #ffc83a55); }

/* Moth: Midnight Heists: neon midnight caper, cream case cards with tape, Lilita One + Nunito */
.g-moth { background: radial-gradient(110% 90% at 100% 0%, #3a1f7a 0%, #1b1446 40%, #0d0a24 100%); border: 1px solid rgba(160, 140, 255, 0.28);
  --accent: #ffbe2e; color: #f4f0ff; font-family: 'Nunito', var(--body); }
.g-moth::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .8;
  background: linear-gradient(rgba(160, 140, 255, 0.10) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(90deg, rgba(160, 140, 255, 0.10) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(160, 140, 255, 0.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(160, 140, 255, 0.05) 1px, transparent 1px) 0 0 / 24px 24px; }
.g-moth .game-inner { grid-template-columns: 1fr 1.05fr; }
.g-moth .art { order: -1; }
.g-moth .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, #160f3a 0%, transparent 40%); }
.g-moth h3 { font: 400 clamp(52px, 6.4vw, 84px)/0.86 'Lilita One', var(--display); letter-spacing: .01em; color: #fff4dc; text-shadow: 0 5px 0 #4a2a9a, 0 10px 24px rgba(0, 0, 0, 0.5); }
.g-moth .stamp { display: inline-block; align-self: flex-start; padding: 5px 16px 3px; border-radius: 10px; background: linear-gradient(#ff7088, #e8304f); color: #fff;
  font: 400 22px/1.1 'Lilita One', var(--display); letter-spacing: .12em; transform: rotate(-3deg); box-shadow: 0 5px 0 #8e1530, 0 9px 14px rgba(0, 0, 0, 0.4); }
.g-moth .status { color: #4cd8ff; }
.g-moth ul.feats li::before { color: var(--accent); }
.g-moth .chip { color: #2fd38a; border-color: #2fd38a66; }
.g-moth .case { background: #fff4dc; color: #24163f; border-radius: 14px; padding: 16px 18px 14px; position: relative; transform: rotate(-.6deg); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); font-weight: 700; font-size: 15px; }
.g-moth .case::before { content: ""; position: absolute; left: 50%; top: -11px; width: 86px; height: 22px; margin-left: -43px; background: rgba(255, 227, 173, 0.85); transform: rotate(-2deg); }
.g-moth .case b { font: 400 13px/1 'Lilita One', var(--display); letter-spacing: .14em; color: #e8304f; display: block; margin-bottom: 6px; }
.cast { display: flex; gap: 0; padding: 0 48px 44px; position: relative; z-index: 2; flex-wrap: wrap; }
.cast figure { margin: 0 -10px 0 0; text-align: center; width: 112px; }
.cast img { width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff4dc; box-shadow: 0 6px 0 #4a2a9a, 0 10px 20px rgba(0, 0, 0, 0.4); margin: 0 auto 8px; object-fit: cover; }
.cast figcaption { font: 400 15px/1.1 'Lilita One', var(--display); color: #fff4dc; }
.cast figcaption small { display: block; font: 700 11px/1.3 'Nunito', var(--body); color: #b9acec; letter-spacing: .04em; }


@media (max-width: 960px) {
  .game-inner, .g-moth .game-inner, .g-bb .game-inner { grid-template-columns: 1fr; min-height: 0; }
  .g-moth .art { order: 0; }
  .game .art { min-height: 0; aspect-ratio: 16 / 9; }
  .game .copy { padding: 34px 24px; }
  .shots, .cast { padding: 0 24px 30px; }
  .g-bb .art::after { background: linear-gradient(0deg, #0a1124 0%, transparent 40%); }
  .g-moth .art::after { background: linear-gradient(0deg, #160f3a 0%, transparent 40%); }
}

/* ---------- studio / culture ---------- */
.studio { background: linear-gradient(180deg, var(--night) 0%, var(--night-3) 50%, var(--night) 100%); }
.element { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; margin-bottom: 70px; }
.tile { width: 230px; aspect-ratio: 1; border-radius: 26px; padding: 22px; position: relative; background: linear-gradient(145deg, #2a1a48, #160d28);
  border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 60px -20px rgba(123, 60, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.tile .z { font: 700 22px/1 var(--display); color: var(--muted); }
.tile .sym { font: 800 108px/1 var(--display); background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 14px 0 6px; }
.tile .nm { font: 700 15px/1 var(--display); letter-spacing: .08em; }
.tile .w { position: absolute; right: 22px; top: 24px; font: 600 13px/1 var(--body); color: var(--dim); }
.element h3 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.element p { color: var(--muted); font-size: 18px; }
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; max-width: 560px; }
.states div { border-radius: 14px; padding: 12px 12px 10px; font: 700 12px/1.3 var(--body); color: #120a20; }
.states b { display: block; font: 800 18px/1 var(--display); margin-bottom: 4px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 22px; position: relative; overflow: hidden; }
.value::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c, var(--fire)); }
.value .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); margin-bottom: 16px; }
.value .ic svg { width: 24px; height: 24px; }
.value h4 { font-size: 19px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 960px) {
  .element { grid-template-columns: 1fr; gap: 30px; }
  .tile { width: 190px; }
  .tile .sym { font-size: 86px; }
  .values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) { .values { grid-template-columns: 1fr; } .states { grid-template-columns: 1fr 1fr; } }

/* ---------- platforms strip ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plat { border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px; background: rgba(255, 255, 255, 0.025); }
.plat svg { width: 34px; height: 34px; margin-bottom: 14px; color: var(--gold); }
.plat h4 { font-size: 18px; margin-bottom: 8px; }
.plat p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } }

/* ---------- contact band ---------- */
.contact-band { border-radius: 30px; padding: 60px 48px; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 50% 120%, rgba(255, 138, 42, 0.35), transparent 60%), linear-gradient(160deg, #2a1546, #140c24); border: 1px solid var(--line); }
.contact-band h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 14px; }
.contact-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 18px; }
.contact-band .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 620px) { .contact-band { padding: 44px 20px; } }

/* ---------- footer ---------- */
footer.site { border-top: 1px solid var(--line-2); padding: 56px 0 40px; margin-top: 110px; color: var(--muted); font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h5 { font: 800 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--text); margin: 6px 0 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .brand { margin-bottom: 14px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--dim); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

/* ---------- document pages (privacy, terms, support) ---------- */
.doc-hero { padding: 150px 0 50px; text-align: left;
  background: radial-gradient(50% 80% at 85% 0%, rgba(232, 54, 110, 0.18), transparent 70%), radial-gradient(40% 70% at 10% 0%, rgba(123, 60, 255, 0.2), transparent 70%); }
.doc-hero h1 { font-size: clamp(36px, 5.4vw, 62px); margin: 0 0 16px; }
.doc-hero p { color: var(--muted); font-size: 19px; max-width: 720px; margin: 0; }
.doc-hero .updated { margin-top: 18px; font-size: 14px; color: var(--dim); letter-spacing: .04em; }
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: 14.5px; }
.toc a { color: var(--muted); text-decoration: none; padding: 7px 12px; border-left: 2px solid var(--line-2); }
.toc a:hover { color: var(--text); border-color: var(--ember); }
.doc-body { max-width: 780px; }
.doc-body section { padding: 0 0 8px; scroll-margin-top: 96px; }
.doc-body h2 { font-size: 24px; margin: 38px 0 14px; display: flex; align-items: center; gap: 12px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h2 .n { font: 700 13px/1 var(--display); color: #1a0b2e; background: var(--fire); border-radius: 8px; padding: 6px 8px; }
.doc-body h3 { font-size: 17px; margin: 22px 0 10px; color: #ffd9a8; }
.doc-body p, .doc-body li { color: #ddd4ee; }
.doc-body ul { padding-left: 22px; margin: 0 0 1em; }
.doc-body li { margin-bottom: 6px; }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 18px; }
.doc-body th, .doc-body td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.doc-body th { font: 800 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.tag { display: inline-block; font: 800 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #9fd6ff; border: 1px solid #7cc8ff55; border-radius: 6px; padding: 4px 7px; margin-left: 6px; vertical-align: 3px; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.note p:last-child { margin: 0; }
@media (max-width: 960px) { .doc { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; grid-template-columns: 1fr 1fr; } }

/* support page */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .btn { margin-top: 4px; }
details.faq { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font: 700 17px/1.35 var(--body); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 26px/1 var(--display); color: var(--ember); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > div { padding: 0 0 18px; color: #ddd4ee; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 3, 10, 0.92); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }

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