/* ═══════════════════════════════════════════
   VR Realms — site design system
   #101010 · #2d2d2d
   ═══════════════════════════════════════════ */

:root,
[data-theme="dark"] {
  --bg:       #101010;
  --bg-soft:  #161616;
  --surface:  #2d2d2d;
  --surface2: #252525;
  --line:     #383838;
  --line2:    #2a2a2a;
  --text:     #f4f4f4;
  --text2:    #c9c9c9;
  --muted:    #8a8a8a;
  --faint:    #5c5c5c;
  --ok:       #34d399;
  --wip:      #eab308;
  --r:        10px;
  --r-sm:     6px;
  --max:      1100px;
  --font:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
  --bg:       #f5f5f5;
  --bg-soft:  #ebebeb;
  --surface:  #ffffff;
  --surface2: #f7f7f7;
  --line:     #e2e2e2;
  --line2:    #ececec;
  --text:     #111111;
  --text2:    #3a3a3a;
  --muted:    #6b6b6b;
  --faint:    #9a9a9a;
  --ok:       #059669;
  --wip:      #a16207;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
code, kbd {
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 0.88em;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
}

.wrap { width: min(100% - 48px, var(--max)); margin-inline: auto; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line2);
}
.top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; gap: 24px;
}
.mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 650; font-size: 14.5px; letter-spacing: -0.02em; flex-shrink: 0;
}
.mark img { width: 28px; height: 28px; border-radius: 6px; }
.mark:hover { opacity: 0.7; }
.top-end { display: flex; align-items: center; gap: 8px 22px; margin-left: auto; }
.tabs { display: flex; align-items: center; gap: 1px; }
.tabs a {
  padding: 7px 12px; font-size: 13px; font-weight: 500;
  color: var(--muted); border-radius: 7px;
  transition: color .15s, background .15s;
}
.tabs a:hover { color: var(--text); background: var(--surface); }
.tabs a[aria-current="page"] { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.togg {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); cursor: pointer;
}
.togg:hover { border-color: var(--muted); }
.togg .sun { display: none; }
[data-theme="light"] .togg .sun { display: block; }
[data-theme="light"] .togg .moon { display: none; }

/* Buttons */
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 15px; font: 500 13px/1.2 var(--font);
  border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: opacity .12s, background .12s, border-color .12s, transform .1s;
}
.b:hover { opacity: 0.88; }
.b:active { transform: scale(0.98); }
.b-fill { background: var(--text); color: var(--bg); border-color: var(--text); }
.b-line { background: transparent; color: var(--text); border-color: var(--line); }
.b-line:hover { border-color: var(--muted); background: var(--surface); opacity: 1; }
.b-ghost { background: transparent; color: var(--muted); border: none; padding-inline: 10px; }
.b-ghost:hover { color: var(--text); opacity: 1; }
.b-lg { padding: 12px 20px; font-size: 14px; border-radius: 9px; }
.b-block { width: 100%; }

/* Hero */
.hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line2); }
.hero-layout {
  display: grid; grid-template-columns: 1.15fr 0.95fr;
  gap: 56px; align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 10px; font-size: 12px; font-weight: 500;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--line); border-radius: 100px; margin-bottom: 22px;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent);
}
.hero h1 {
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 650;
  letter-spacing: -0.04em; line-height: 1.12; margin-bottom: 18px;
}
.hero h1 em { font-style: normal; color: var(--text2); font-weight: 500; }
.hero-lead {
  font-size: 17px; color: var(--text2); line-height: 1.65;
  max-width: 38ch; margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-meta { font-size: 13px; color: var(--muted); }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.frame {
  position: relative; padding-top: 56.25%; border-radius: 12px;
  overflow: hidden; border: 1px solid var(--line); background: #000;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.5);
}
.frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hero-stats div {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; text-align: center;
}
.hero-stats strong { display: block; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.hero-stats span { font-size: 11.5px; color: var(--muted); }

/* Bands */
.band { padding: 72px 0; border-bottom: 1px solid var(--line2); }
.band-alt { background: var(--bg-soft); }
.band-head { margin-bottom: 40px; max-width: 480px; }
.band-head h2 {
  font-size: clamp(24px, 2.8vw, 30px); font-weight: 650;
  letter-spacing: -0.03em; margin-bottom: 8px;
}
.band-head p { font-size: 15px; color: var(--muted); line-height: 1.55; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px 22px; transition: border-color .15s;
}
.feat:hover { border-color: var(--muted); }
.feat-n {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--faint); margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.feat h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.55; }

.create { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 48px; align-items: start; }
.create-copy h2 {
  font-size: clamp(26px, 3vw, 34px); font-weight: 650;
  letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 12px;
}
.create-copy > p {
  font-size: 15.5px; color: var(--muted); max-width: 42ch;
  margin-bottom: 28px; line-height: 1.55;
}
.ladder { margin-bottom: 28px; border-top: 1px solid var(--line); counter-reset: step; }
.ladder li {
  display: grid; gap: 3px; padding: 16px 0 16px 36px;
  border-bottom: 1px solid var(--line); position: relative;
}
.ladder li::before {
  content: counter(step); counter-increment: step;
  position: absolute; left: 0; top: 17px;
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 11px; font-weight: 600; color: var(--muted);
}
.ladder b { font-size: 14.5px; font-weight: 600; }
.ladder span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.create-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.create-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 26px; position: sticky; top: 80px;
}
.create-card-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 16px;
}
.create-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.create-card li {
  font-size: 14px; color: var(--text2); padding-left: 16px; position: relative;
}
.create-card li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
}
.create-card-meta {
  font-size: 12.5px; color: var(--muted); margin-bottom: 12px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.create-card-link {
  font-size: 13.5px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
}
.create-card-link:hover { border-color: var(--text); }

.status-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.status-col h3 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.status-col h3.wip { margin-top: 24px; color: var(--wip); }
.status-col li {
  position: relative; padding: 6px 0 6px 18px; font-size: 14px; color: var(--text2);
}
.status-col li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok);
}
.status-col li[data-s="live"]::before {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
}
.wip-list li::before { background: var(--wip); }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 26px 24px;
}
.spec-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 4px; margin-bottom: 12px;
}
.spec-box h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 18px; }
.spec-box dl { display: flex; flex-direction: column; gap: 10px; }
.spec-box dl div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; font-size: 13.5px; }
.spec-box dt { color: var(--muted); font-weight: 500; }
.spec-box dd { color: var(--text2); }
.spec-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); line-height: 1.45;
}

.end-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 48px; align-items: start; }
.end-about h2 {
  font-size: clamp(26px, 3vw, 34px); font-weight: 650;
  letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 16px;
}
.end-about p {
  font-size: 15px; color: var(--text2); line-height: 1.65;
  max-width: 44ch; margin-bottom: 12px;
}
.end-about .b { margin-top: 12px; }
.end-join {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 32px 28px;
}
.end-join h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.025em; margin-bottom: 8px; }
.end-join > p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; line-height: 1.55; }
.end-or {
  text-align: center; font-size: 12px; color: var(--faint);
  margin: 12px 0; display: flex; align-items: center; gap: 12px;
}
.end-or::before, .end-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.foot { padding: 32px 0 40px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; flex: 1; }
.foot-nav a { font-size: 13px; color: var(--muted); transition: color .12s; }
.foot-nav a:hover { color: var(--text); }
.foot-copy { font-size: 12.5px; color: var(--faint); }

/* ── Inner pages ── */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line2);
}
.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.55;
}

.content { padding: 48px 0 72px; }
.content-narrow { max-width: 680px; }

.prose h2 {
  font-size: 22px; font-weight: 650; letter-spacing: -0.025em;
  margin: 40px 0 12px; padding-top: 8px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 16px; font-weight: 600; margin: 28px 0 8px; color: var(--text);
}
.prose p { color: var(--text2); margin-bottom: 14px; line-height: 1.65; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 0; }
.prose li {
  position: relative; padding: 5px 0 5px 18px;
  color: var(--text2); font-size: 14.5px; line-height: 1.55;
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
}
.prose ol { counter-reset: ol; }
.prose ol li { padding-left: 28px; }
.prose ol li::before {
  content: counter(ol) "."; counter-increment: ol;
  position: absolute; left: 0; top: 5px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.prose a {
  color: var(--text); border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.prose a:hover { border-color: var(--text); }
.prose hr {
  border: 0; border-top: 1px solid var(--line);
  margin: 36px 0;
}
.prose strong { color: var(--text); font-weight: 600; }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.55;
}
.callout strong { color: var(--text); }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 32px;
}
.doc-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  transition: border-color .15s;
}
.doc-card:hover { border-color: var(--muted); }
.doc-card h3 {
  font-size: 15px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em;
}
.doc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 0; }

.update-list { display: flex; flex-direction: column; gap: 0; }
.update-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.update-item:first-child { padding-top: 0; }
.update-date {
  font-size: 12px; font-weight: 500; color: var(--muted);
  letter-spacing: 0.02em; margin-bottom: 6px;
}
.update-item h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px;
}
.update-item p { font-size: 14.5px; color: var(--text2); line-height: 1.6; margin: 0; }

.contact-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 20px;
}
.contact-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text);
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { order: -1; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .create { grid-template-columns: 1fr; gap: 32px; }
  .create-card { position: static; }
  .status-board { grid-template-columns: 1fr; gap: 32px; }
  .spec-grid { grid-template-columns: 1fr; }
  .end-grid { grid-template-columns: 1fr; gap: 32px; }
  .doc-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .tabs { display: none; }
  .tabs.open {
    display: flex; flex-direction: column;
    position: absolute; top: 58px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 24px 16px; gap: 2px; z-index: 90;
  }
  .tabs.open a { padding: 10px 12px; }
  .nav-toggle { display: flex; }
  .top-inner { position: relative; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, var(--max)); }
  .hero { padding: 48px 0 40px; }
  .band { padding: 48px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-cta .b { width: 100%; }
  .top-actions .b-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .b { transition: none; }
}

/* ── Docs page ── */
.page-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
  transition: border-color .15s;
  text-decoration: none;
  color: inherit;
}
.guide-card:hover { border-color: var(--muted); }
.guide-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.guide-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 14px;
}
.guide-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  padding-bottom: 1px;
}
.guide-card:hover .guide-link { border-color: var(--text); }

.table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.std-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.std-table th,
.std-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.std-table th {
  background: var(--bg-soft);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.std-table tr:last-child td { border-bottom: 0; }
.std-table td:first-child {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  width: 28%;
}
.std-table td { color: var(--text2); line-height: 1.5; }
.std-table code {
  font-size: 12px;
  word-break: break-all;
}

@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: 1fr; }
  .std-table td:first-child { white-space: normal; width: auto; }
}

/* Language select */
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 28px 7px 10px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  line-height: 1.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.lang-select:hover { border-color: var(--muted); }
.lang-select:focus-visible { outline: 2px solid var(--muted); outline-offset: 2px; }

/* Hide Google Translate chrome */
#google_translate_element,
.skiptranslate,
#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-menu-frame {
  display: none !important;
}
body { top: 0 !important; }
font { background: transparent !important; box-shadow: none !important; }

@media (max-width: 560px) {
  .lang-select { display: none; }
}

/* ═══════════════════════════════════════════
   Docs shell (Hash/Docusaurus-style sidebar)
   ═══════════════════════════════════════════ */
.docs-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: calc(100vh - 58px);
  border-bottom: 1px solid var(--line2);
}
.docs-side {
  border-right: 1px solid var(--line2);
  background: var(--bg-soft);
  padding: 28px 0 48px;
  position: sticky;
  top: 58px;
  align-self: start;
  max-height: calc(100vh - 58px);
  overflow-y: auto;
}
.docs-side-inner { padding: 0 16px; }
.docs-side h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 18px 0 8px;
  padding: 0 10px;
}
.docs-side h5:first-child { margin-top: 0; }
.docs-side a {
  display: block;
  padding: 7px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 7px;
  text-decoration: none;
  transition: color .12s, background .12s;
}
.docs-side a:hover { color: var(--text); background: var(--surface); }
.docs-side a.on {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
}

.docs-main {
  padding: 40px 48px 72px;
  max-width: 780px;
}
.docs-main .page-kicker {
  margin-bottom: 8px;
}
.docs-main h1 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.docs-main > .lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.docs-toc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.docs-toc strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}
.docs-toc a {
  display: block;
  padding: 3px 0;
  color: var(--text2);
  text-decoration: none;
  border: none;
}
.docs-toc a:hover { color: var(--text); }

@media (max-width: 900px) {
  .docs-shell { grid-template-columns: 1fr; }
  .docs-side {
    position: static;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line2);
    padding: 16px 0;
  }
  .docs-side-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0 16px;
  }
  .docs-side h5 { width: 100%; margin-top: 8px; }
  .docs-main { padding: 28px 20px 56px; }
}

/* ═══════════════════════════════════════════
   Blurred site background (all pages)
   ═══════════════════════════════════════════ */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.site-bg-img {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(48px) saturate(1.15);
  transform: scale(1.12);
  opacity: 0.35;
}
.site-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 72%, transparent) 0%,
      color-mix(in srgb, var(--bg) 88%, transparent) 40%,
      color-mix(in srgb, var(--bg) 94%, transparent) 100%);
}
[data-theme="light"] .site-bg-img { opacity: 0.22; filter: blur(56px) saturate(1.05); }

/* Soften solid sections so bg peeks through */
.top {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
}
.band, .hero, .page-hero, .content, .foot {
  background: transparent;
}
.band-alt {
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
}
.feat, .guide-card, .spec-box, .card, .create-card, .end-join,
.contact-card, .doc-card, .note, .cta-box, .hero-stats div {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Feature rows with screenshots */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 16 / 10;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.45);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-media.missing {
  background: var(--surface2);
  min-height: 180px;
}
.feature-copy h3 {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.feature-copy p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
}

/* Shot gallery */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--surface);
  transition: transform .2s, border-color .15s;
}
.shot:hover {
  transform: translateY(-2px);
  border-color: var(--muted);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shot-wide {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

@media (max-width: 800px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .shot-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) {
  .shot-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   Hero stage — live-site style + blur slideshow
   ═══════════════════════════════════════════ */
.hero-stage {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 0;
  border-bottom: 1px solid var(--line2);
  overflow: hidden;
}
.hero-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-stage-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  transform: scale(1.08);
}
.hero-slide.is-on { opacity: 1; }
.hero-stage-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  background: color-mix(in srgb, var(--bg) 35%, transparent);
}
.hero-stage-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, transparent 0%, color-mix(in srgb, var(--bg) 55%, transparent) 70%, var(--bg) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 50%, transparent) 0%, transparent 30%, color-mix(in srgb, var(--bg) 80%, transparent) 100%);
}

.hero-stage-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
}
.hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.hero-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.hero-brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text2);
}
.hero-brand-name strong {
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
}
.hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line));
  padding: 4px 10px;
  border-radius: 100px;
}
.hub-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-stage-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.18;
  max-width: 18ch;
  margin-bottom: 36px;
}
.hero-stage-title em {
  font-style: normal;
  color: var(--ok);
  font-weight: 650;
}

.hero-stage-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 40px;
  align-items: start;
}

.hero-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  border: 1px solid transparent;
}
.hero-link:hover {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.hero-link-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 2px;
}
.hero-link:first-child .hero-link-title { color: var(--ok); }
.hero-link-sub {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.sketch-bubble {
  margin-top: 18px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  border: 1px solid var(--line);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sketch-who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.sketch-who img { border-radius: 50%; }
.sketch-bubble p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
  margin: 0;
}
.sketch-bubble code {
  font-size: 11.5px;
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 30%, var(--line));
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
}

.hero-video-card {
  max-width: 560px;
  margin-left: auto;
}
.hero-video-card .frame {
  border-radius: 14px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.65);
  border: 1px solid color-mix(in srgb, var(--line) 80%, #fff 10%);
}
.yt-caption {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.yt-caption:hover { color: var(--text); }

.hero-stage-bar {
  position: relative;
  z-index: 1;
  margin-top: auto;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
}
.hero-stage-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}
.hero-stage-bar p {
  font-size: 14px;
  color: var(--text2);
  margin: 0;
}
.hero-stage-bar strong { color: var(--text); font-weight: 600; }
.hero-stage-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 860px) {
  .hero-stage { min-height: auto; padding-top: 36px; }
  .hero-stage-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-video-card { margin-left: 0; max-width: none; order: -1; }
  .hero-stage-title { max-width: none; margin-bottom: 24px; }
}

/* Header hub pill */
.hub-pill-nav {
  margin-left: auto;
  margin-right: 4px;
  flex-shrink: 0;
}
.top-inner { gap: 12px 16px; }
@media (max-width: 700px) {
  .hub-pill-nav { display: none; }
}

/* Less blur, bigger video */
.hero-stage-blur {
  backdrop-filter: blur(6px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(6px) saturate(1.15) !important;
  background: color-mix(in srgb, var(--bg) 22%, transparent) !important;
}
.hero-stage-veil {
  background:
    radial-gradient(ellipse 90% 80% at 50% 35%, transparent 0%, color-mix(in srgb, var(--bg) 40%, transparent) 75%, var(--bg) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 30%, transparent) 0%, transparent 35%, color-mix(in srgb, var(--bg) 70%, transparent) 100%) !important;
}
.hero-slide {
  transform: scale(1.04) !important;
  filter: brightness(0.85);
}

.hero-stage-grid {
  grid-template-columns: minmax(220px, 280px) 1fr !important;
  gap: 48px !important;
  align-items: center !important;
}
.hero-video-card {
  max-width: none !important;
  width: 100%;
}
.frame-lg {
  padding-top: 56.25%;
  border-radius: 16px !important;
  box-shadow: 0 28px 64px -12px rgba(0,0,0,0.7) !important;
}
.hero-stage-title {
  max-width: 22ch !important;
  margin-bottom: 28px !important;
}

/* Hide old brand block if residual */
.hero-brand { display: none !important; }
.sketch-bubble { display: none !important; }

/* Overall polish */
.top {
  background: color-mix(in srgb, var(--bg) 82%, transparent) !important;
}
.feature-media {
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5);
}
.b-fill {
  box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 20%, transparent);
}

@media (max-width: 860px) {
  .hero-stage-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-video-card { order: -1; }
}

/* Bubble button links */
.hero-link.hero-btn {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px -6px rgba(0,0,0,0.35);
  transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
.hero-link.hero-btn:hover {
  transform: translateY(-2px);
  border-color: var(--muted);
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  box-shadow: 0 10px 28px -8px rgba(0,0,0,0.45);
  opacity: 1;
}
.hero-link.hero-btn:active {
  transform: translateY(0);
}
.hero-link.hero-btn:first-child {
  border-color: color-mix(in srgb, var(--ok) 40%, var(--line));
  background: color-mix(in srgb, var(--ok) 10%, var(--surface));
}
.hero-link.hero-btn:first-child:hover {
  border-color: color-mix(in srgb, var(--ok) 60%, var(--line));
  background: color-mix(in srgb, var(--ok) 16%, var(--surface));
}

/* Hub online above video, top right */
.video-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.video-head .hub-pill {
  margin: 0;
}

.yt-fallback {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}
.yt-fallback a {
  color: var(--text2);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.yt-fallback a:hover { color: var(--text); border-color: var(--text); }

/* Hide old yt-caption if left */
.yt-caption { display: none; }

.yt-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000;
  display: block;
}
.yt-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
  transition: opacity .2s, transform .35s;
}
.yt-poster:hover img {
  opacity: 1;
  transform: scale(1.03);
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--text) 92%, transparent);
  color: var(--bg);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  transition: transform .15s, background .15s;
}
.yt-poster:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--text);
}
.yt-play-btn svg { margin-left: 3px; }

/* Wishlist = green */
.b-fill,
a.b-fill {
  background: var(--ok) !important;
  color: #0a0f0c !important;
  border-color: var(--ok) !important;
  font-weight: 600;
}
.b-fill:hover,
a.b-fill:hover {
  opacity: 0.92;
  filter: brightness(1.05);
}

/* Discord / secondary solid */
.b-discord,
a.b-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  font: 600 13px/1.2 var(--font);
  border-radius: 8px;
  border: 1px solid #4752c4;
  background: #5865F2;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s, border-color .12s, transform .1s;
}
.b-discord:hover {
  background: #4752c4;
  border-color: #3c45a5;
  opacity: 1;
}
.b-discord.b-lg { padding: 12px 20px; font-size: 14px; border-radius: 9px; }

/* Accordion */
.acc {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  margin: 0 0 10px;
  overflow: hidden;
}
.acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s;
  flex-shrink: 0;
  margin-top: -4px;
}
.acc[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 2px;
}
.acc > summary:hover { background: color-mix(in srgb, var(--surface2) 80%, transparent); }
.acc-body {
  padding: 0 16px 18px;
  border-top: 1px solid var(--line2);
}
.acc-body > *:first-child { margin-top: 14px; }
.acc-body p, .acc-body li { font-size: 14px; color: var(--text2); line-height: 1.6; }
.acc-body h3 { font-size: 14.5px; margin: 18px 0 8px; }
.acc-stack { margin: 20px 0 28px; }


/* Nested docs sidebar (Hash/Docusaurus style) */
.docs-side details.nav-cat {
  border: 0;
  margin: 0 0 4px;
  background: transparent;
}
.docs-side details.nav-cat > summary {
  list-style: none;
  cursor: pointer;
  padding: 7px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.docs-side details.nav-cat > summary::-webkit-details-marker { display: none; }
.docs-side details.nav-cat > summary:hover {
  color: var(--text);
  background: var(--surface);
}
.docs-side details.nav-cat > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .15s;
  margin-top: -3px;
}
.docs-side details.nav-cat[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 2px;
}
.docs-side .nav-sub {
  padding: 2px 0 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.docs-side .nav-sub a {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px 6px 12px;
  border-left: 2px solid var(--line2);
  border-radius: 0 7px 7px 0;
}
.docs-side .nav-sub a.on {
  border-left-color: var(--ok);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--ok);
}

/* Category grid (like Hash Udon list) */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 24px 0;
}
.cat-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .12s;
}
.cat-card:hover {
  border-color: var(--muted);
  transform: translateY(-1px);
}
.cat-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.cat-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

/* Docs search */
.docs-search-wrap {
  position: relative;
  margin: 0 0 16px;
  padding: 0 4px;
}
.docs-search {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 10px;
  font: 500 13px/1.3 var(--font);
}
.docs-search:focus {
  outline: none;
  border-color: var(--muted);
}
.docs-search-results {
  position: absolute;
  left: 4px;
  right: 4px;
  top: calc(100% + 4px);
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  max-height: 320px;
  overflow: auto;
  padding: 6px;
}
.docs-search-hit {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  text-decoration: none;
  color: inherit;
}
.docs-search-hit:hover { background: var(--surface2); }
.docs-search-hit strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.docs-search-hit span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}
.docs-search-empty {
  padding: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Support plan + Steam button */
.support-plan {
  margin: 28px 0 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  max-width: 420px;
}
.support-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ok) 35%, var(--line));
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.support-price {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin: 4px 0 6px;
  color: var(--text);
}
.support-price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.support-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.b-steam,
a.b-steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  font: 600 14px/1.2 var(--font);
  border-radius: 9px;
  border: 1px solid color-mix(in srgb, #1b2838 40%, var(--line));
  background: #171a21;
  color: #fff !important;
  text-decoration: none;
  cursor: pointer;
  transition: background .12s, transform .1s;
}
.b-steam:hover {
  background: #2a475e;
  opacity: 1;
}
.b-steam.b-lg { padding: 14px 20px; font-size: 14.5px; }
.support-hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Support page — friendlier layout */
.support-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 48px;
  align-items: start;
}
.support-intro {
  font-size: 15.5px;
  color: var(--text2);
  max-width: 52ch;
  margin-bottom: 28px;
  line-height: 1.6;
}
.perk-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.perk {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ok) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--ok) 30%, var(--line));
  color: var(--ok);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.perk h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.perk p {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.55;
  margin: 0;
}
.support-steps {
  margin: 12px 0 16px;
  padding-left: 20px;
}
.support-steps li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--text2);
  line-height: 1.5;
}
.support-soft {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 32px;
}
.support-fine {
  margin: 8px 0 0;
  padding-left: 18px;
}
.support-fine li {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 8px;
  line-height: 1.5;
}

.support-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.support-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,0.4);
}
.support-tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.support-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.support-card-list li {
  font-size: 13.5px;
  color: var(--text2);
  padding: 7px 0;
  border-bottom: 1px solid var(--line2);
  padding-left: 18px;
  position: relative;
}
.support-card-list li:last-child { border-bottom: 0; }
.support-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--ok);
  opacity: 0.85;
}
.support-alt {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 80%, transparent);
}
.support-alt h3 {
  font-size: 14.5px;
  font-weight: 650;
  margin-bottom: 6px;
}
.support-alt p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.45;
}
.support-alt-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.support-alt-actions .b { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .support-layout { grid-template-columns: 1fr; gap: 28px; }
  .support-aside { position: static; }
}

/* ═══════════════════════════════════════════
   Smooth motion (respect reduced-motion)
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  a, button, .b, .hero-link, .guide-card, .cat-card, .feat,
  .shot, .nav a, .docs-side a, .docs-search-hit, .perk,
  .support-card, summary {
    transition:
      color .15s ease,
      background .15s ease,
      border-color .15s ease,
      transform .18s ease,
      box-shadow .18s ease,
      opacity .15s ease;
  }

  .docs-side details.nav-cat > summary::after {
    transition: transform .2s ease;
  }

  .docs-search-results {
    animation: docsDrop .16s ease;
    transform-origin: top center;
  }
  @keyframes docsDrop {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  .docs-search-hit {
    animation: hitIn .18s ease both;
  }
  .docs-search-hit:nth-child(1) { animation-delay: .02s; }
  .docs-search-hit:nth-child(2) { animation-delay: .04s; }
  .docs-search-hit:nth-child(3) { animation-delay: .06s; }
  .docs-search-hit:nth-child(4) { animation-delay: .08s; }
  .docs-search-hit:nth-child(5) { animation-delay: .10s; }
  @keyframes hitIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-slide {
    transition: opacity 1.2s ease !important;
  }

  .guide-card:hover, .cat-card:hover, .feat:hover {
    transform: translateY(-2px);
  }

  .b:active, .hero-btn:active, .b-steam:active {
    transform: translateY(1px) scale(0.98);
  }

  /* Soft page content fade-in */
  .docs-main, .content, .hero-stage-inner {
    animation: pageIn .35s ease both;
  }
  @keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Faster search dropdown readability */
.docs-search-results {
  z-index: 50;
}

/* Light mode: Discord button goes solid blurple so it pops on pale surfaces */
[data-theme="light"] .b-discord,
[data-theme="light"] a.b-discord {
  background: #5865F2;
  border-color: #4752c4;
  color: #ffffff !important;
}
[data-theme="light"] .b-discord:hover {
  background: #4752c4;
  border-color: #3c45a5;
}
