/* KAREOKIE website. Tokens match the app (frontend/src/styles.css). Mobile first. */
:root {
  --bg: #0a0c12;
  --surface: #12151f;
  --surface-2: #191d2a;
  --surface-3: #222839;
  --border: #2a3144;
  --border-strong: #3a4360;
  --text: #eef1f8;
  --text-2: #c3c9d8;
  --muted: #8b93a8;
  --accent: #ff4d8d;
  --accent-strong: #ff2e78;
  --accent-soft: rgba(255, 77, 141, 0.14);
  --cyan: #4dd6ff;
  --gold: #ffd166;
  --success: #3ddc97;
  --warning: #ffb547;
  --focus: #8ab4ff;
  --radius: 12px;
  --radius-sm: 8px;
  --grad: linear-gradient(120deg, var(--accent) 0%, #c86bd0 50%, var(--cyan) 100%);
  --font: 'Microsoft JhengHei UI', 'Microsoft JhengHei', 'Noto Sans TC', 'PingFang TC', 'Segoe UI', system-ui,
    sans-serif;
  --mono: 'Cascadia Mono', 'Consolas', ui-monospace, monospace;
  --wrap: 1120px;
  color-scheme: dark;
}
html:lang(ja) {
  --font: 'Yu Gothic UI', 'Meiryo UI', 'Meiryo', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Segoe UI', system-ui,
    sans-serif;
}
html:lang(en) {
  --font: 'Segoe UI', system-ui, -apple-system, 'Microsoft JhengHei UI', 'Noto Sans TC', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--cyan);
  text-underline-offset: 3px;
}
a:hover {
  color: #8be4ff;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.05em 0.35em;
  overflow-wrap: anywhere;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
.wrap.narrow {
  max-width: 820px;
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.icon-sm {
  width: 0.95em;
  height: 0.95em;
  display: inline-block;
  vertical-align: -0.1em;
  margin-left: 0.3em;
}
.icon-xl {
  width: 56px;
  height: 56px;
}

/* ---------- skip link, header */
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
  color: var(--bg);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  margin-right: auto;
}
.brand:hover {
  color: var(--text);
}
.main-nav {
  display: none;
}
.main-nav ul,
.lang ul,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 6px 12px;
  color: var(--text-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.main-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.lang ul {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang a {
  display: block;
  min-width: 44px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.lang a:hover {
  color: var(--text);
  background: var(--surface-3);
}
.lang a[aria-current='page'] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
@media (min-width: 900px) {
  .main-nav {
    display: block;
  }
}

/* language hint bar (shown by site.js instead of an automatic redirect) */
.lang-hint {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.lang-hint[hidden] {
  display: none;
}
.lang-hint-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.lang-hint p {
  margin: 0;
  flex: 1;
  color: var(--text-2);
}
.lang-hint a {
  font-weight: 700;
  white-space: nowrap;
}
.lang-hint-close {
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lang-hint-close:hover {
  background: var(--surface-3);
  color: var(--text);
}
.translations {
  font-size: 14px;
  margin: -6px 0 16px;
}

/* ---------- buttons, badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 46, 120, 0.35);
}
.btn-primary:hover {
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(255, 46, 120, 0.45);
}
/* white on the pink accent is 3.1:1, so primary buttons stay large bold text (>= 18.66px) */
.btn-xl {
  font-size: 19px;
  padding: 16px 20px;
  min-height: 60px;
  width: 100%;
}
.btn-xl .icon {
  width: 22px;
  height: 22px;
}
[data-state='none'] .btn-primary {
  background: var(--surface-3);
  color: var(--text-2);
  border-color: var(--border-strong);
  box-shadow: none;
  cursor: default;
  transform: none;
}
.badge {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  vertical-align: middle;
  letter-spacing: 0.02em;
}
.badge-latest {
  background: rgba(61, 220, 151, 0.14);
  color: var(--success);
}
.badge-soon {
  background: var(--accent-soft);
  color: var(--accent);
}
.badge-draft {
  background: rgba(255, 181, 71, 0.16);
  color: var(--warning);
  border: 1px solid rgba(255, 181, 71, 0.4);
  font-size: 14px;
  padding: 2px 12px;
}

/* ---------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(600px 360px at 85% 10%, rgba(77, 214, 255, 0.12), transparent 70%),
    radial-gradient(700px 420px at 0% 0%, rgba(255, 77, 141, 0.16), transparent 70%);
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 141, 0.35);
  background: var(--accent-soft);
  color: #ff8ab4;
  font-size: 13px;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(30px, 7.4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
html:lang(ja) body {
  word-break: auto-phrase;
}
.hero h1 .grad {
  display: inline-block;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--text-2);
  font-size: 17px;
  max-width: 34em;
  margin-bottom: 26px;
}
.download {
  max-width: 420px;
}
.download-meta {
  min-height: 1.6em;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.download-meta a {
  white-space: nowrap;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  padding: 0;
  margin: 18px 0 6px;
  color: var(--text-2);
  font-size: 14px;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.facts li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.hint {
  font-size: 14px;
  margin: 8px 0 0;
}
@media (min-width: 900px) {
  .hero {
    padding: 72px 0 88px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
  .btn-xl {
    width: auto;
    padding: 16px 30px;
  }
  .download-meta {
    text-align: left;
  }
}

/* ---------- screenshots and placeholders */
.shot {
  position: relative;
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.78);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}
.shot-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 77, 141, 0.18), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(77, 214, 255, 0.16), transparent 60%),
    repeating-linear-gradient(135deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
}
.placeholder-art {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 28px;
  background: rgba(10, 12, 18, 0.6);
  border: 1px solid var(--border-strong);
  color: var(--accent);
}

/* hero stage illustration: the tag sits over the pitch lane so it never covers the lyrics */
.shot-hero {
  aspect-ratio: 4 / 3;
}
.shot-hero .shot-tag {
  top: 46px;
  bottom: auto;
}
@media (min-width: 900px) {
  .shot-hero {
    aspect-ratio: 16 / 11;
  }
}
.mock-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(120% 90% at 50% 0%, #1c1630 0%, #0d0f18 70%);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.mock-dots {
  display: flex;
  gap: 5px;
}
.mock-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.mock-title {
  margin-right: auto;
}
.mock-score {
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0;
}
.mock-score small {
  font-size: 11px;
  margin-left: 2px;
}
.mock-pitch {
  position: relative;
  flex: 1;
  margin: 12px 14px 0;
  border-radius: 10px;
  background: repeating-linear-gradient(0deg, transparent 0 21px, rgba(255, 255, 255, 0.04) 21px 22px);
}
.mock-pitch i {
  position: absolute;
  height: 9%;
  min-height: 7px;
  border-radius: 99px;
  background: rgba(195, 201, 216, 0.25);
}
.mock-pitch i.b1 { left: 4%; top: 62%; width: 12%; }
.mock-pitch i.b2 { left: 17%; top: 48%; width: 9%; }
.mock-pitch i.b3 { left: 27%; top: 36%; width: 14%; }
.mock-pitch i.b4 { left: 42%; top: 50%; width: 8%; }
.mock-pitch i.b5 { left: 51%; top: 28%; width: 12%; }
.mock-pitch i.b6 { left: 64%; top: 40%; width: 10%; }
.mock-pitch i.b7 { left: 75%; top: 56%; width: 9%; }
.mock-pitch i.b8 { left: 85%; top: 44%; width: 11%; }
.mock-pitch i.b9 { left: 96%; top: 30%; width: 6%; }
.mock-pitch i.b1,
.mock-pitch i.b2,
.mock-pitch i.b3,
.mock-pitch i.b4 {
  background: var(--sung, var(--cyan));
  box-shadow: 0 0 12px rgba(77, 214, 255, 0.6);
}
.mock-cursor {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.mock-lyrics {
  padding: 8px 16px 14px;
  text-align: center;
  font-family: 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', var(--font);
  font-weight: 800;
  line-height: 1.5;
}
.mock-lyrics p {
  margin: 0;
  font-size: clamp(17px, 4.6vw, 26px);
  color: var(--text-2);
}
.mock-lyrics p + p {
  font-size: clamp(14px, 3.6vw, 19px);
  color: var(--muted);
}
.mock-lyrics .sung {
  background: linear-gradient(90deg, var(--cyan) 0 55%, var(--text) 55%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mock-lyrics rt {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
}
.mock-progress {
  height: 4px;
  background: var(--surface-3);
}
.mock-progress i {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--grad);
}

/* ---------- sections */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: clamp(25px, 5.4vw, 36px);
  font-weight: 900;
  margin-bottom: 10px;
}
.section-lead {
  color: var(--text-2);
  margin-bottom: 36px;
}

/* features */
.features {
  display: grid;
  gap: 48px;
}
.feature {
  display: grid;
  gap: 20px;
  align-items: center;
}
.feature h3 {
  font-size: 22px;
  margin: 12px 0 8px;
}
.feature p {
  color: var(--text-2);
  margin: 0;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.cards {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 {
  font-size: 17px;
  margin: 12px 0 6px;
}
.card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
  }
  .feature-flip .feature-copy {
    order: 2;
  }
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* requirements */
.req {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.req-row {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
}
.req-row + .req-row {
  border-top: 1px solid var(--border);
}
.req dt {
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
}
.req dd {
  margin: 0;
  color: var(--text-2);
}
@media (min-width: 640px) {
  .req-row {
    grid-template-columns: 9.5em 1fr;
    gap: 16px;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.faq-item[open] {
  border-color: var(--border-strong);
}
.faq-item summary {
  position: relative;
  display: block;
  padding: 16px 48px 16px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-item summary:hover {
  color: #fff;
}
.faq-body {
  padding: 0 18px 6px;
  color: var(--text-2);
}
.faq-body ul,
.faq-body ol {
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.faq-body li + li {
  margin-top: 4px;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0 !important;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 36px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* SmartScreen illustration */
.ss {
  margin: 0 0 1em;
}
.ss-flow {
  display: grid;
  gap: 10px;
  align-items: center;
}
.ss-win {
  background: #0d5fa8;
  color: #fff;
  border-radius: 6px;
  padding: 16px 16px 14px;
  font-family: 'Segoe UI', var(--font);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.ss-win p {
  margin: 0 0 8px;
}
.ss-title {
  font-size: 17px;
  font-weight: 600;
}
.ss-body {
  opacity: 0.92;
}
.ss-meta {
  opacity: 0.92;
  overflow-wrap: anywhere;
}
.ss-more .ss-hl {
  text-decoration: underline;
}
.ss-hl {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.ss-num {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 12px;
  vertical-align: 1px;
}
.ss-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.ss-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}
.ss-arrow {
  justify-self: center;
  color: var(--gold);
  font-size: 22px;
  transform: rotate(90deg);
}
@media (min-width: 720px) {
  .ss-flow {
    grid-template-columns: 1fr auto 1fr;
  }
  .ss-arrow {
    transform: none;
  }
}

/* changelog */
.releases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.release {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 6px;
}
.release-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.release-head h3 {
  font-family: var(--mono);
  font-size: 19px;
}
.release-date {
  font-size: 14px;
}
.more-link {
  margin: 18px 0 0;
}

/* CTA */
.cta {
  padding: 72px 0;
  text-align: center;
  background:
    radial-gradient(500px 260px at 50% 100%, rgba(255, 77, 141, 0.2), transparent 70%),
    radial-gradient(500px 260px at 50% 0%, rgba(77, 214, 255, 0.08), transparent 70%);
}
.cta h2 {
  font-size: clamp(26px, 6vw, 40px);
  font-weight: 900;
  margin-bottom: 10px;
}
.cta p {
  color: var(--text-2);
}
.cta .download {
  margin: 26px auto 0;
}
.cta .download-meta {
  text-align: center;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 40px;
  font-size: 14px;
}
.footer-inner {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.footer-links {
  gap: 4px 20px;
}
.footer-links a {
  color: var(--text-2);
}
.footer-note {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-note {
    grid-column: 1 / -1;
  }
}

/* ---------- policy pages */
.policy h1 {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 900;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 8px 0 18px;
}
.crumbs {
  font-size: 14px;
  margin: 0;
}
.draft-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 181, 71, 0.45);
  background: rgba(255, 181, 71, 0.1);
  color: #ffd9a0;
}
.draft-notice .icon {
  color: var(--warning);
  margin-top: 3px;
}
.draft-notice p {
  margin: 0;
}
.updated {
  font-size: 14px;
}
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 32px;
}
.toc h2 {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}
.toc ol {
  margin: 0;
  padding-left: 1.4em;
  columns: 2 14em;
  column-gap: 32px;
}
.toc a {
  color: var(--text-2);
}
.prose h2 {
  font-size: 21px;
  margin: 36px 0 12px;
  padding-top: 4px;
}
.prose h3 {
  font-size: 18px;
  margin: 24px 0 10px;
}
.prose p,
.prose li {
  color: var(--text-2);
}
.prose ul,
.prose ol {
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.prose li + li {
  margin-top: 6px;
}
.prose strong {
  color: var(--text);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.prose blockquote {
  margin: 0 0 1em;
  padding: 10px 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote p:last-child {
  margin: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.2em;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 14px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.prose th {
  background: var(--surface-2);
  color: var(--text);
}
.prose tr:last-child td {
  border-bottom: 0;
}
mark.blank {
  background: rgba(255, 181, 71, 0.18);
  color: var(--warning);
  border-radius: 4px;
  padding: 0 2px;
}
.release-body {
  font-size: 15px;
}

/* ---------- small standalone pages (/download fallback, 404) */
.center-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.center {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.center h1 {
  font-size: 30px;
  margin: 12px 0 6px;
}
.center p {
  color: var(--text-2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
