/* ============================================================
   Cowboyspin × Fey — obsidian terminal styling
   Tokens lifted from DESIGN.md, adapted for casino content.
   ============================================================ */

:root {
  /* Colors */
  --color-ember-orange: #d89a52;
  --color-ember-deep: #9f5d26;
  --color-signal-blue: #7f4a2d;
  --color-tape-green: #d3b074;
  --color-snow: #f3e7d3;
  --color-fog: #b8a690;
  --color-ash: #d7c5af;
  --color-smoke: #9f8a72;
  --color-iron: #8b725b;
  --color-platinum: #e8d5b8;
  --color-slate: #5e4735;
  --color-void: #090503;
  --color-obsidian: #120c08;
  --color-graphite: #1b130e;
  --color-elevated: #241913;
  --color-burgundy: #6e2f20;
  --color-sand: #f0dfc3;

  /* Accent driven by Tweaks */
  --accent: var(--color-ember-orange);
  --accent-deep: var(--color-ember-deep);
  --accent-ink: #241509;

  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Bree Serif', Georgia, serif;

  --tr-body: -0.024em;
  --tr-display: -0.05em;
  --tr-display-lg: -0.062em;

  --radius-card: 16px;
  --radius-btn: 6px;
  --radius-icon: 6px;
  --radius-pill: 99px;

  --shadow-glow: rgba(0, 0, 0, 0.7) 0px 20px 80px 0px;

  --page-max: 1200px;
  --sidebar-rail: 76px;
  --sidebar-open: 256px;
  --header-h: 80px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at top, rgba(216, 154, 82, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(110, 47, 32, 0.18), transparent 24%),
    linear-gradient(180deg, #150d09 0%, #120c08 42%, #0c0806 100%);
  color: var(--color-snow);
  font-family: var(--font);
  letter-spacing: var(--tr-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 245, 226, 0.02), rgba(255, 245, 226, 0.02)),
    radial-gradient(circle at 20% 30%, rgba(255, 221, 170, 0.035), transparent 18%),
    radial-gradient(circle at 80% 60%, rgba(255, 221, 170, 0.025), transparent 20%);
  opacity: 0.9;
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; letter-spacing: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* Thin scrollbars to match terminal feel */
* { scrollbar-width: thin; scrollbar-color: #2a2a2a transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #232323; border-radius: 99px; border: 3px solid var(--color-obsidian); }
::-webkit-scrollbar-thumb:hover { background: #2f2f2f; }

/* ---------- image-slot dark theming ---------- */
image-slot { color: var(--color-fog); }
image-slot::part(frame) { background: #1c1c1c; }
image-slot::part(ring) { border-color: rgba(255, 255, 255, 0.16); }

/* ============================================================
   App shell
   ============================================================ */
#root { min-height: 100vh; }

.app {
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-rail);
  z-index: 60;
  background:
    linear-gradient(180deg, rgba(44, 28, 18, 0.98), rgba(24, 16, 11, 0.98)),
    var(--color-graphite);
  border-right: 1px solid rgba(216, 154, 82, 0.16);
  box-shadow: inset -1px 0 0 rgba(255, 227, 189, 0.04);
  display: flex;
  flex-direction: column;
  transition: width .26s cubic-bezier(.4,.0,.2,1);
  overflow: hidden;
}
.sidebar.open { width: var(--sidebar-open); }

.sidebar__brand {
  display: none;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
  min-height: var(--header-h);
  padding: 0 18px;
  border-bottom: 1px solid #1f1f1f;
}
.brand-glyph {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f2c27b, #9f5d26);
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(255, 231, 205, 0.1), 0 10px 18px rgba(0, 0, 0, 0.28);
}
.brand-glyph::after {
  content: "";
  width: 14px; height: 14px;
  background: var(--color-obsidian);
  clip-path: polygon(50% 0%, 61% 36%, 100% 36%, 68% 58%, 79% 100%, 50% 73%, 21% 100%, 32% 58%, 0% 36%, 39% 36%);
}
.brand-logo {
  width: auto;
  max-width: 100%;
  display: block;
}
.brand-word {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
  font-family: var(--font-display);
}
.brand-word b { color: var(--accent); }
.sidebar.open .brand-word { opacity: 1; transform: none; }

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--color-fog);
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background .16s, color .16s;
  white-space: nowrap;
}
.nav-item[href] { text-decoration: none; }
.nav-item:hover { background: var(--color-elevated); color: var(--color-snow); }
.nav-item.active { color: var(--color-snow); }
.nav-item.active {
  background: linear-gradient(90deg, rgba(216, 154, 82, 0.16), transparent);
  box-shadow: inset 2px 0 0 var(--accent);
}
.nav-item.active .nav-icon { color: var(--accent); }
.nav-item .nav-icon { flex: 0 0 24px; display: grid; place-items: center; color: var(--color-fog); }
.nav-item:hover .nav-icon { color: var(--color-snow); }
.nav-label {
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  transition: opacity .2s;
}
.sidebar.open .nav-label { opacity: 1; }

.sidebar__spacer { flex: 1; }

.sidebar__banner {
  margin: 14px;
  padding: 18px;
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(216, 154, 82, 0.08), rgba(36, 25, 19, 0.9)),
    var(--color-elevated);
  border: 1px solid rgba(216, 154, 82, 0.18);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 238, 213, 0.05);
}
.sidebar.open .sidebar__banner { opacity: 1; pointer-events: auto; }
.sidebar__banner .sb-over { font-size: 11px; color: var(--accent); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.sidebar__banner .sb-amt { font-size: 26px; font-weight: 700; letter-spacing: -0.05em; margin: 6px 0 2px; }
.sidebar__banner .sb-sub { font-size: 12px; color: var(--color-fog); margin-bottom: 14px; }

/* ---------- Sidebar toggle (rail bottom) ---------- */
.rail-toggle {
  margin: 0 14px 14px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(216, 154, 82, 0.14);
  background: transparent;
  color: var(--color-fog);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 14px;
  white-space: nowrap;
}
.rail-toggle:hover { color: var(--color-snow); background: var(--color-elevated); }
.rail-toggle .nav-label { opacity: 0; }
.sidebar.open .rail-toggle .nav-label { opacity: 1; }
.rail-toggle .chev { transition: transform .26s; flex: 0 0 24px; display: grid; place-items: center; }
.sidebar.open .rail-toggle .chev { transform: rotate(180deg); }

/* backdrop for mobile drawer */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.scrim.show { opacity: 1; pointer-events: auto; }

/* ---------- Main column ---------- */
.main {
  margin-left: var(--sidebar-rail);
  min-height: 100vh;
  transition: margin-left .26s cubic-bezier(.4,.0,.2,1);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  background: rgba(18,12,8,.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 154, 82, 0.12);
  box-shadow: inset 0 -1px 0 rgba(255, 232, 199, 0.03);
}
.header__burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid #242424;
  background: transparent;
  color: var(--color-snow);
  place-items: center;
}
.header__brand-m {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: 15px;
}
.header__brand-m .brand-logo { height: 76px; }
.header__brand-m b { color: var(--accent); }
.header__spacer { flex: 1; }

.support {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-fog);
  font-size: 14px;
  font-weight: 500;
}
.support .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-tape-green); box-shadow: 0 0 0 3px rgba(78,190,150,.18); }
.support:hover { color: var(--color-snow); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(232, 213, 184, 0.34);
  color: var(--color-snow);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  transition: background .16s, border-color .16s, transform .12s;
}
.pill:hover { background: rgba(255, 232, 199, 0.06); }
.pill:active { transform: translateY(1px); }
.pill--ghost { border-color: rgba(216, 154, 82, 0.14); color: var(--color-ash); }
.pill--ghost:hover { border-color: var(--color-platinum); color: var(--color-snow); }
.pill--missions .mi { color: var(--accent); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255, 231, 194, 0.16);
  background: linear-gradient(180deg, #e7b066 0%, #c8873f 100%);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: filter .16s, transform .12s;
  box-shadow: inset 0 1px 0 rgba(255, 244, 226, 0.28), 0 12px 24px rgba(0, 0, 0, 0.2);
}
.btn-cta:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 244, 226, 0.32), 0 16px 28px rgba(0, 0, 0, 0.26); }
.btn-cta:active { transform: translateY(1px); }
.btn-cta--lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: var(--radius-btn); }

/* ============================================================
   Content layout
   ============================================================ */
.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 28px;
}

section { scroll-margin-top: 80px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.overline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
  color: var(--color-sand);
}
.h2--sm { font-size: clamp(24px, 3vw, 34px); }
.sub-fog { color: var(--color-fog); font-size: 15px; max-width: 60ch; line-height: 1.55; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 40px 0 12px; }
.hero h1.h1-seo {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  color: var(--color-sand);
  margin: 0 0 24px;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at top right, rgba(216, 154, 82, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(36, 25, 19, 0.96), rgba(27, 19, 14, 0.98)),
    var(--color-graphite);
  border: 1px solid rgba(216, 154, 82, 0.15);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
 .hero-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(232, 213, 184, 0.08);
  border-radius: 12px;
  pointer-events: none;
}

/* Variant A — split */
.hero-a {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 420px;
}
.hero-a .hero-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.hero-a .hero-art { position: relative; border-left: 1px solid rgba(216, 154, 82, 0.12); }
.hero-art image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img,
.hero-art-wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero-amt {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.02;
  font-size: clamp(44px, 6.5vw, 80px);
  margin: 0;
  color: var(--color-sand);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}
.hero-amt .plus { color: var(--color-fog); font-weight: 500; }
.hero-amt .fs { color: #efc17a; }
.hero-line2 { font-size: clamp(22px, 3vw, 34px); font-weight: 400; letter-spacing: 0; margin: 8px 0 0; }
.hero-sub { color: var(--color-fog); font-size: 15px; margin: 20px 0 28px; display: flex; align-items: center; gap: 9px; }
.hero-sub .tick { color: #efc17a; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { color: var(--color-smoke); font-size: 13px; font-style: italic; }

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(216, 154, 82, 0.16);
  color: var(--color-ash);
  font-size: 13px; font-weight: 500;
  background: rgba(255, 236, 204, .03);
  box-shadow: inset 0 1px 0 rgba(255, 231, 194, 0.04);
}
.chip .k { color: var(--color-snow); font-weight: 600; }

/* Variant B — centered */
.hero-b { padding: 64px 40px 0; text-align: center; }
.hero-b .hero-amt { margin-inline: auto; }
.hero-b .hero-actions { justify-content: center; }
.hero-b .chip-row { justify-content: center; }
.hero-b .hero-art-wide {
  position: relative;
  height: 340px;
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero-b .hero-art-wide image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Variant C — asymmetric data */
.hero-c { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 440px; }
.hero-c .hero-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.hero-c .hero-art { position: relative; }
.hero-c .hero-art image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-c .hero-art::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--color-graphite) 0%, rgba(27,19,14,.05) 38%);
  pointer-events: none;
}
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 30px; background: rgba(216, 154, 82, 0.14); border: 1px solid rgba(216, 154, 82, 0.14); border-radius: 12px; overflow: hidden; }
.data-cell { background: var(--color-graphite); padding: 16px 18px; }
.data-cell .dv { font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.data-cell .dl { font-size: 11px; color: var(--color-fog); text-transform: uppercase; letter-spacing: .05em; margin-top: 3px; }
.data-cell .dv.green { color: #efc17a; }
.data-cell .dv.blue { color: #b96a44; }

/* ============================================================
   GAMES carousel
   ============================================================ */
.games-block { margin-top: 64px; }
.carousel-ctrls { display: flex; gap: 10px; }
.c-arrow {
  width: 40px; height: 40px;
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(38, 25, 18, 0.96), rgba(28, 19, 14, 0.98));
  border: 1px solid rgba(216, 154, 82, 0.18);
  color: var(--color-ash);
  display: grid; place-items: center;
  transition: border-color .16s, color .16s, opacity .16s;
}
.c-arrow:hover:not(:disabled) { border-color: var(--color-platinum); color: var(--color-snow); background: rgba(216, 154, 82, 0.08); }
.c-arrow:disabled { opacity: .35; cursor: default; }

.track-mask { overflow: hidden; }
.track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }

.game-card {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.game-thumb {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-graphite);
  border: 1px solid rgba(216, 154, 82, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 232, 199, 0.04);
}
.game-thumb image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-thumb::part(frame) { border-radius: 0; }
.game-over {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,0) 60%);
  opacity: 0;
  transition: opacity .18s;
  pointer-events: none;
}
.game-card:hover .game-over { opacity: 1; pointer-events: auto; }
.game-card:hover .game-thumb { border-color: rgba(216, 154, 82, 0.32); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22); }
.game-play {
  width: 100%;
  height: 40px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  border: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none;
}
.live-chip {
  position: absolute; top: 10px; left: 10px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 9px;
  border-radius: var(--radius-btn);
  border: 1px solid #c36b47;
  color: #f0c2a3;
  background: rgba(27,19,14,.72);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.live-chip .ld { width: 6px; height: 6px; border-radius: 50%; background: #c36b47; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.game-meta .gname { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.game-meta .gprov { font-size: 12px; color: var(--color-fog); margin-top: 3px; }

/* ============================================================
   Player Experience
   ============================================================ */
.exp-block { margin-top: 80px; }
.exp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.exp-card {
  background: linear-gradient(180deg, rgba(35, 24, 18, 0.95), rgba(27, 19, 14, 0.98));
  border: 1px solid rgba(216, 154, 82, 0.12);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: border-color .18s, background .18s, transform .18s;
}
.exp-card:hover { border-color: rgba(216, 154, 82, 0.28); background: var(--color-elevated); transform: translateY(-2px); }
.exp-ico {
  width: 42px; height: 42px;
  border-radius: var(--radius-icon);
  background: var(--color-elevated);
  border: 1px solid rgba(216, 154, 82, 0.14);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.exp-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 8px; }
.exp-card p { font-size: 13px; color: var(--color-fog); line-height: 1.5; margin: 0; }

/* ============================================================
   About
   ============================================================ */
.about-block { margin-top: 80px; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.about-card {
  background: linear-gradient(180deg, rgba(35, 24, 18, 0.95), rgba(27, 19, 14, 0.98));
  border: 1px solid rgba(216, 154, 82, 0.12);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  gap: 20px;
}
.about-card .ai {
  width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: var(--radius-icon);
  display: grid; place-items: center;
  border: 1px solid rgba(216, 154, 82, 0.14);
  background: var(--color-elevated);
  color: #d8a05f;
}
.about-card h3 { margin: 2px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.about-card p { margin: 0; color: var(--color-fog); font-size: 14px; line-height: 1.55; }
.lang-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.lang-pill { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--color-ash); border: 1px solid rgba(216, 154, 82, 0.16); border-radius: 5px; padding: 4px 8px; background: rgba(255, 231, 194, 0.02); }

/* ============================================================
   SEO content + FAQ
   ============================================================ */
.seo-block { margin-top: 88px; }
.seo-grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.seo-toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 4px; }
.seo-toc a { font-size: 13px; color: var(--color-fog); padding: 7px 12px; border-radius: 7px; border-left: 2px solid transparent; transition: color .15s, background .15s, border-color .15s; }
.seo-toc a:hover { color: var(--color-snow); background: rgba(255, 231, 194, 0.03); border-left-color: var(--accent); }

.seo-body { min-width: 0; }
.seo-section { padding: 8px 0 26px; border-bottom: 1px solid rgba(216, 154, 82, 0.08); margin-bottom: 26px; }
.seo-section:last-of-type { border-bottom: none; }
.seo-section h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; letter-spacing: 0; margin: 0 0 16px; font-family: var(--font-display); color: var(--color-sand); }
.seo-section h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 22px 0 10px; color: var(--color-ash); }
.seo-section p { color: var(--color-fog); font-size: 15px; line-height: 1.65; margin: 0 0 14px; max-width: 68ch; }
.seo-section p strong { color: var(--color-snow); font-weight: 600; }

/* FAQ accordion */
.faq { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid rgba(216, 154, 82, 0.12); border-radius: 12px; background: linear-gradient(180deg, rgba(35, 24, 18, 0.95), rgba(27, 19, 14, 0.98)); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  background: transparent; border: none; color: var(--color-snow);
  font-size: 16px; font-weight: 600; letter-spacing: -.01em;
}
.faq-q .fi { color: var(--color-fog); transition: transform .22s; flex: 0 0 auto; }
.faq-item.open .faq-q .fi { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 20px 20px; color: var(--color-fog); font-size: 14px; line-height: 1.6; }

/* ============================================================
   Footer
   ============================================================ */
.footer { margin-top: 96px; border-top: 1px solid rgba(216, 154, 82, 0.12); background: linear-gradient(180deg, rgba(27, 19, 14, 0.98), rgba(18, 12, 8, 1)); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--color-smoke); margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: var(--color-fog); font-size: 14px; }
.footer ul a:hover { color: var(--color-snow); }
.foot-brand .bword { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: .02em; margin-bottom: 14px; font-family: var(--font-display); }
.foot-brand .bword .brand-logo { height: 60px; }
.foot-brand .bword b { color: var(--accent); }
.foot-brand p { color: var(--color-fog); font-size: 14px; line-height: 1.6; max-width: 36ch; margin: 0 0 18px; }
.social-row { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 9px; border: 1px solid rgba(216, 154, 82, 0.16); background: var(--color-elevated); display: grid; place-items: center; color: var(--color-ash); transition: color .15s, border-color .15s, background .15s; }
.social-btn:hover { color: var(--color-snow); border-color: var(--color-platinum); background: rgba(216, 154, 82, 0.08); }
.email-link { color: var(--accent); font-weight: 500; }

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pay-chip {
  height: 32px; min-width: 56px; padding: 0 12px;
  border-radius: 6px; border: 1px solid rgba(216, 154, 82, 0.14); background: var(--color-elevated);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: .03em; color: var(--color-smoke);
}

.footer-bottom {
  border-top: 1px solid rgba(216, 154, 82, 0.08);
  padding: 22px 0 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; color: var(--color-smoke); font-size: 12.5px; line-height: 1.6; max-width: 72ch; }
.age-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--color-ash); font-size: 12px; font-weight: 600; }
.age-circle { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--color-slate); display: grid; place-items: center; font-size: 11px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .seo-grid { grid-template-columns: 1fr; gap: 28px; }
  .seo-toc { position: static; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 980px) {
  .header__brand-m .brand-logo { height: 48px; }
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-open);
    transition: transform .26s cubic-bezier(.4,.0,.2,1);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar .brand-word, .sidebar .nav-label, .sidebar__banner { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .sidebar .rail-toggle { display: none; }
  .sidebar__brand { display: flex; }
  .main { margin-left: 0 !important; }
  .header__burger { display: grid; }
  .header__brand-m { display: flex; }
  .header .support { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .hero-a, .hero-c { grid-template-columns: 1fr; }
  .hero-a .hero-art, .hero-c .hero-art { min-height: 280px; border-left: none; border-top: 1px solid #1f1f1f; }
  .hero-a .hero-copy, .hero-c .hero-copy { padding: 32px; }
  .hero-c .hero-art::before { background: linear-gradient(0deg, var(--color-graphite) 0%, rgba(19,19,19,0) 40%); }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 18px; }
  .header { padding: 0 16px; }
  .header {
    gap: 10px;
  }
  .header__brand-m {
    gap: 8px;
    font-size: 13px;
    letter-spacing: 0.015em;
    min-width: 0;
    flex: 1;
  }
  .header__brand-m .brand-glyph {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
  }
  .header .pill--ghost.login-text,
  .header .btn-cta {
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    flex: 0 0 auto;
  }
}

@media (max-width: 520px) {
  .exp-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .data-grid { grid-template-columns: 1fr; }
  .log-pill-label { display: none; }
  .header {
    padding: 0 12px;
    gap: 8px;
  }
  .header__burger {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
  .header__brand-m {
    font-size: 12px;
    letter-spacing: 0.01em;
    overflow: hidden;
    white-space: nowrap;
  }
  .header__brand-m .brand-glyph {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
  }
  .header .pill--ghost.login-text,
  .header .btn-cta {
    min-width: 0;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .header__brand-m {
    font-size: 11px;
    letter-spacing: 0.005em;
  }
  .header .pill--ghost.login-text,
  .header .btn-cta {
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .header {
    gap: 6px;
  }
  .header__brand-m {
    font-size: 10px;
    letter-spacing: 0;
  }
  .header .pill--ghost.login-text,
  .header .btn-cta {
    height: 36px;
    padding: 0 9px;
    font-size: 11px;
  }
}
