/* VibeCore Digital | site stylesheet
   One accent, hairline borders, no shadows. Tokens first, then layout, then components. */

@font-face { font-family: "Geist"; src: url("fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --sunk: #efede7;
  --ink: #111317;
  --text: #2a2e35;
  --muted: #5f6570;
  --faint: #8a8f98;
  --line: #e2dfd7;
  --line-strong: #cfcbc1;
  --accent: #2f4fe0;
  --accent-ink: #ffffff;
  --accent-soft: #e8ecfd;
  --ok: #1f7a4d;
  --ok-soft: #e3f2ea;
  --wait: #8a5a00;
  --wait-soft: #f7eed9;
  --band: #0f1115;
  --band-text: #e9e8e3;
  --band-muted: #9a9ea6;
  --band-line: #262a31;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1013;
    --surface: #15181d;
    --sunk: #111418;
    --ink: #f2f1ec;
    --text: #d4d5d2;
    --muted: #9ba0a8;
    --faint: #767b84;
    --line: #23272e;
    --line-strong: #323741;
    --accent: #8fa2ff;
    --accent-ink: #0e1013;
    --accent-soft: #1b2140;
    --ok: #6fd1a0;
    --ok-soft: #13271e;
    --wait: #e5b85c;
    --wait-soft: #2a2213;
    --band: #07080a;
    --band-line: #1d2026;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1013;
  --surface: #15181d;
  --sunk: #111418;
  --ink: #f2f1ec;
  --text: #d4d5d2;
  --muted: #9ba0a8;
  --faint: #767b84;
  --line: #23272e;
  --line-strong: #323741;
  --accent: #8fa2ff;
  --accent-ink: #0e1013;
  --accent-soft: #1b2140;
  --ok: #6fd1a0;
  --ok-soft: #13271e;
  --wait: #e5b85c;
  --wait-soft: #2a2213;
  --band: #07080a;
  --band-line: #1d2026;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, td a, .prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a:hover, li a:hover, td a:hover, .prose a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow {
  font: 500 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
}
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; font-size: 16px; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand .brand-sub { color: var(--muted); font-weight: 400; }
.site-header .nav { display: flex; align-items: center; gap: 4px; }
.site-header .nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 15px; transition: color .15s, background .15s; }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { color: var(--ink); background: var(--sunk); }
.theme-toggle {
  width: 36px; height: 36px; margin-left: 6px; border-radius: 9px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
}
@media (max-width: 640px) {
  .site-header .nav a.opt { display: none; }
  .brand .brand-sub { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 11px; font-weight: 500; font-size: 15px; border: 1px solid var(--line-strong);
  color: var(--ink); background: var(--surface); transition: border-color .15s, background .15s, transform .15s var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--accent)); }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero (home) ---------- */
.hero { padding: 112px 0 72px; }
@media (max-width: 640px) { .hero { padding: 64px 0 56px; } .section { padding: 80px 0; } .icon-row { margin-top: 44px; } }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 15ch; line-height: 1.02; letter-spacing: -0.035em; margin-top: 22px; }
.hero .lede { margin-top: 26px; max-width: 60ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.icon-row { display: flex; gap: 14px; margin-top: 64px; flex-wrap: wrap; align-items: center; }
.icon-row a { display: block; border-radius: 22%; transition: transform .2s var(--ease); }
.icon-row a:hover { transform: translateY(-3px); }
.icon-row img { width: 56px; height: 56px; border-radius: 22%; border: 1px solid var(--line); background: var(--surface); }
.icon-row .glyph { width: 56px; height: 56px; border-radius: 22%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 600; font-size: 15px; color: var(--ink); background: var(--surface); letter-spacing: -0.02em; }

/* ---------- facts ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 24px 28px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact .k { font-size: 15px; color: var(--muted); margin-top: 8px; }
.fact .v { font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
@media (max-width: 820px) {
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: 112px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 14px; }
.section-head p { max-width: 46ch; color: var(--muted); }
.group-label { display: flex; align-items: center; gap: 14px; margin: 64px 0 22px; }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- product cards ---------- */
.grid { display: grid; gap: 20px; }
.grid.games { grid-template-columns: repeat(6, 1fr); }
.grid.games .card { grid-column: span 2; }
.grid.games .card.wide { grid-column: span 3; }
@media (max-width: 960px) { .grid.games .card, .grid.games .card.wide { grid-column: span 3; } }
@media (max-width: 640px) { .grid.games { grid-template-columns: 1fr; } .grid.games .card, .grid.games .card.wide { grid-column: auto; } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card .art { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--sunk); border-bottom: 1px solid var(--line); }
.card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .art img { transform: scale(1.025); }
.card .body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .title-row { display: flex; align-items: center; gap: 12px; }
.card .title-row img { width: 40px; height: 40px; border-radius: 22%; border: 1px solid var(--line); flex: none; }
.card h3 { font-size: 20px; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .desc { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.card .meta { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.card .aka { font-size: 14px; color: var(--muted); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: .02em; color: var(--muted); border: 1px solid var(--line); background: var(--bg);
  white-space: nowrap;
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.tag.live .dot { background: var(--ok); }
.tag.wait .dot { background: var(--wait); }

/* software rows */
.rows { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .rows { grid-template-columns: 1fr; } }
.rows .card .art { aspect-ratio: 16 / 9; }
.rows .card .art.pad { display: grid; place-items: center; padding: 28px; }
.rows .card .art.pad img { width: auto; height: auto; max-height: 100%; max-width: 70%; object-fit: contain; }
.ext { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.ext svg { width: 13px; height: 13px; }

/* ---------- studio band ---------- */
.band { background: var(--band); color: var(--band-text); }
.band h2, .band h3 { color: #f6f5f1; }
.band .eyebrow { color: var(--band-muted); }
.band .section-head p { color: var(--band-muted); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--band-line); }
.principle { padding: 28px 24px 0 0; }
.principle + .principle { padding-left: 24px; border-left: 1px solid var(--band-line); }
.principle .n { font: 500 12px/1 var(--mono); color: var(--band-muted); letter-spacing: .08em; }
.principle h3 { font-size: 19px; margin: 18px 0 10px; }
.principle p { color: var(--band-muted); font-size: 15.5px; }
@media (max-width: 960px) {
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--band-line); }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding-left: 0; border-left: 0; }
  .principle + .principle { margin-top: 28px; border-top: 1px solid var(--band-line); }
}
.stack { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack span { font: 500 13px/1 var(--mono); color: var(--band-text); border: 1px solid var(--band-line); padding: 9px 12px; border-radius: 8px; }

/* ---------- directory table ---------- */
.directory { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.directory th, .directory td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.directory tr:last-child td { border-bottom: 0; }
.directory thead th { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--sunk); }
.directory td.app { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.directory td.app img { width: 32px; height: 32px; border-radius: 22%; border: 1px solid var(--line); }
.directory td a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.directory td a:hover { border-bottom-color: var(--ink); }
.directory .sep { color: var(--faint); margin: 0 6px; }
.directory .none { color: var(--faint); }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }
@media (max-width: 720px) {
  .directory thead { display: none; }
  .directory, .directory tbody, .directory tr, .directory td { display: block; width: 100%; }
  .directory tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .directory td { border: 0; padding: 8px 18px; }
  .directory td[data-label]::before { content: attr(data-label); display: block; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
}

/* ---------- contact ---------- */
.contact-block { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact-block h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 14px; }
.contact-block p { color: var(--muted); margin-top: 16px; max-width: 48ch; }
.mail {
  display: block; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s;
}
.mail:hover { border-color: var(--ink); }
.mail .addr { display: block; font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; margin-top: 12px; word-break: break-all; }
.mail .note { display: block; color: var(--muted); font-size: 15px; margin-top: 10px; }
@media (max-width: 820px) { .contact-block { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: var(--text); }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot-grid .about p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid .about { grid-column: 1 / -1; } }

/* ---------- app page ---------- */
.crumbs { padding-top: 28px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--faint); }

.app-hero { position: relative; margin-top: 20px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--band); color: #fff; isolation: isolate; }
.app-hero .bg { position: absolute; inset: 0; z-index: -1; }
.app-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.app-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,10,.92) 0%, rgba(7,8,10,.72) 45%, rgba(7,8,10,.25) 100%); }
.app-hero .inner { padding: clamp(32px, 6vw, 72px); display: grid; gap: 22px; max-width: 720px; }
.app-hero .icon { width: 96px; height: 96px; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.app-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; }
.app-hero .tagline { font-size: clamp(17px, 1.7vw, 20px); color: rgba(255,255,255,.78); max-width: 52ch; line-height: 1.5; }
.app-hero .eyebrow { color: rgba(255,255,255,.62); }
.badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.badges a { display: inline-block; line-height: 0; }
.badges .apple { height: 48px; width: auto; }
.badges .google { height: 71px; width: auto; margin: -11px -10px; }
.pending {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.86); font-size: 14px;
}
.pending .dot { width: 7px; height: 7px; border-radius: 50%; background: #e5b85c; }
.also { font-size: 15px; color: rgba(255,255,255,.7); }
.also a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 18px; margin-top: 56px; scrollbar-width: thin; }
.shots figure { margin: 0; flex: none; scroll-snap-align: start; }
.shots img { border-radius: 16px; border: 1px solid var(--line); background: var(--sunk); }
.shots.portrait img { height: 480px; width: auto; }
.shots.landscape img { height: 300px; width: auto; }
@media (max-width: 640px) { .shots.portrait img { height: 380px; } .shots.landscape img { height: 200px; } }

.app-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; margin-top: 72px; align-items: start; }
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr; } }
.app-grid h2 { font-size: 28px; margin-bottom: 8px; }
.intro { font-size: 18px; color: var(--text); margin-top: 18px; max-width: 62ch; }
.features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.features li { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); }
.features li:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.features strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.features span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } .features li:nth-child(even) { padding-left: 0; border-left: 0; } }

.facts-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts-table th, .facts-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table th { color: var(--muted); font-weight: 400; width: 42%; }
.facts-table td { color: var(--ink); }

.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
@media (max-width: 720px) { .platforms { grid-template-columns: 1fr; } }
.platform-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 24px; }
.platform-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.platform-card h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.platform-card h3 svg { width: 20px; height: 20px; color: var(--muted); }
.platform-card .sub { color: var(--muted); font-size: 14.5px; }
.platform-card ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.platform-card li a { text-decoration: none; display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: 15.5px; }
.platform-card li:last-child a { border-bottom: 0; padding-bottom: 0; }
.platform-card li a:hover { color: var(--accent); }
.platform-card li a svg { width: 15px; height: 15px; color: var(--faint); }

/* ---------- document pages (legal + support) ---------- */
.doc-head { padding: 44px 0 0; }
.doc-head .row { display: flex; align-items: center; gap: 14px; }
.doc-head .row img { width: 44px; height: 44px; border-radius: 22%; border: 1px solid var(--line); }
.doc-switch { display: inline-flex; margin-top: 24px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); gap: 4px; flex-wrap: wrap; }
.doc-switch a { padding: 7px 14px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.doc-switch a:hover { color: var(--ink); }
.doc-switch a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; padding: 36px 0 112px; align-items: start; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; gap: 28px; } }
.doc-aside { position: sticky; top: 88px; font-size: 14.5px; }
@media (max-width: 960px) { .doc-aside { position: static; } }
.doc-aside .box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px; }
.doc-aside .box + .box { margin-top: 14px; }
.doc-aside h4 { font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.doc-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.doc-aside a { color: var(--text); text-decoration: none; }
.doc-aside a:hover, .doc-aside a[aria-current="page"] { color: var(--accent); }
.doc-aside .source { color: var(--faint); font-size: 13px; margin-top: 10px; line-height: 1.5; }

.prose {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4.5vw, 56px); max-width: 780px; font-size: 16.5px; line-height: 1.72; color: var(--text);
  overflow-wrap: anywhere;
}
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 18px; letter-spacing: -0.028em; line-height: 1.15; }
.prose h2 { font-size: 21px; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); letter-spacing: -0.015em; }
.prose h3 { font-size: 17px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.prose h4 { font-size: 16px; margin: 22px 0 6px; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font: 14px var(--mono); background: var(--sunk); padding: 2px 6px; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--sunk); color: var(--ink); font-weight: 600; }
.prose .contact, .prose .panel { background: var(--sunk); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin: 26px 0; }
.prose .contact h2, .prose .panel h2 { border: 0; padding-top: 0; margin-top: 0; }
.prose .platform, .prose .note, .prose .callout {
  background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 20px 0; font-size: 15.5px;
}
.prose .nav { font-size: 15px; }
.prose .updated, .prose .meta { color: var(--muted); font-size: 15px; }

/* support FAQ (native pages) */
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p, .faq details ul { margin-top: 10px; color: var(--text); }

/* ---------- misc pages ---------- */
.page-head { padding: 80px 0 40px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 18px; letter-spacing: -0.03em; }
.page-head p { margin-top: 18px; color: var(--muted); max-width: 60ch; font-size: 18px; }
.notfound { padding: 160px 0; text-align: left; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .doc-aside, .doc-switch, .theme-toggle { display: none !important; }
  body { background: #fff; }
  .prose { border: 0; padding: 0; }
}
