/* ===========================
   Localix Website
   Visual language follows the desktop app:
   light first, sky-blue accent, rounded cards, pill buttons.
   =========================== */

:root {
  --bg: #f6f8fb;
  --bg-alt: #eef3f8;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --border: #dbe3ec;
  --border-strong: #cbd5e1;

  --brand: #0ea5e9;
  --brand-strong: #0284c7;
  --brand-soft: #e0f2fe;
  --brand-btn: #38bdf8;
  --brand-btn-text: #082f49;

  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 60px rgba(15, 23, 42, 0.14);

  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220;
    --bg-alt: #0f172a;
    --surface: #111a2b;
    --surface-2: #162236;
    --text: #e2e8f0;
    --text-muted: #a3b1c6;
    --text-dim: #7c8ba1;
    --border: #1f2c42;
    --border-strong: #2b3a54;
    --brand: #38bdf8;
    --brand-strong: #7dd3fc;
    --brand-soft: rgba(56, 189, 248, 0.12);
    --ok: #4ade80;
    --ok-soft: rgba(74, 222, 128, 0.12);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.5);
  }
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #0f172a;
  --surface: #111a2b;
  --surface-2: #162236;
  --text: #e2e8f0;
  --text-muted: #a3b1c6;
  --text-dim: #7c8ba1;
  --border: #1f2c42;
  --border-strong: #2b3a54;
  --brand: #38bdf8;
  --brand-strong: #7dd3fc;
  --brand-soft: rgba(56, 189, 248, 0.12);
  --ok: #4ade80;
  --ok-soft: rgba(74, 222, 128, 0.12);
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 6px;
}
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 24px; } }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin-bottom: 10px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
.section-sub { color: var(--text-muted); margin-top: 12px; font-size: 1.05rem; }

/* ---------- Buttons (pill, like the app) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--brand-btn); border-color: var(--brand-btn); color: var(--brand-btn-text); }
.btn-primary:hover { background: #7dd3fc; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  padding: 7px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
}
.icon-btn:hover { color: var(--text); }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-dark { display: block; }
  :root:not([data-theme="light"]) .theme-icon-light { display: none; }
}


/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.release-pill:hover { text-decoration: none; color: var(--text); }
.release-pill .tag {
  background: var(--brand-soft);
  color: var(--brand-strong);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.release-pill .arrow { padding-right: 8px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; }
.hero h1 .hl { color: var(--brand); }
.hero-sub { margin: 20px auto 0; color: var(--text-muted); font-size: clamp(1.02rem, 2vw, 1.15rem); max-width: 620px; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 14px; font-size: 0.85rem; color: var(--text-dim); }
.hero-shot {
  margin: 56px auto 0;
  max-width: 1028px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  /* The window is mostly empty at the bottom: fade it into the page. */
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}
.hero-shot img { width: 100%; height: auto; }
@media (max-width: 560px) { .hero-shot { margin-top: 40px; border-radius: 8px; } }

/* ---------- Stack strip ---------- */
.stack-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 24px 0 0;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.stack-item { display: inline-flex; align-items: center; gap: 8px; }
.stack-item .dot { width: 8px; height: 8px; border-radius: 50%; }
.stack-item b { color: var(--text); }

/* ---------- Product tour ---------- */
.tabs {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  width: max-content;
  max-width: 100%;
  margin: 0 auto 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface-2); border-color: var(--border-strong); color: var(--text); }

.tour-panel {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.tour-panel[hidden] { display: none; }
.tour-panel h3 { font-size: 1.5rem; font-weight: 800; }
.tour-panel p { color: var(--text-muted); margin-top: 12px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); font-size: 0.95rem; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284c7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: auto; }
.shot-stack { display: grid; gap: 14px; }
@media (max-width: 860px) {
  .tour-panel { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
}

/* ---------- PHP versions (live from runtimes.json) ---------- */
.php-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .php-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .php-grid { grid-template-columns: 1fr; } }
.php-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}
.php-card.recommended { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.php-card .ver { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; }
.php-card .patch { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-dim); }
.php-card .meta { margin-top: 14px; display: grid; gap: 6px; font-size: 0.86rem; color: var(--text-muted); }
.php-card .meta div { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding-top: 6px; }
.php-card .meta b { color: var(--text); font-weight: 600; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; min-height: 24px; margin-bottom: 8px; }
.badge { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-brand { background: var(--brand-soft); color: var(--brand-strong); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.php-note { margin-top: 20px; font-size: 0.88rem; color: var(--text-dim); text-align: center; }

/* ---------- Generic cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-top: 14px; }
.card p { color: var(--text-muted); font-size: 0.92rem; margin-top: 6px; }
.card-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

/* ---------- Migrate from XAMPP ---------- */
.migrate { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .migrate { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.steps li::before {
  content: counter(step);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 800;
}
.steps b { display: block; }
.steps span { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Trust ---------- */
.trust {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; padding: 24px; } }
.terminal {
  background: #0b1220;
  color: #cbd5e1;
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
  border: 1px solid #1f2c42;
}
.terminal .c { color: #64748b; }
.terminal .p { color: #38bdf8; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text-dim); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--text-muted); }

/* ---------- CTA + footer ---------- */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--brand-soft), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
}
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
.cta p { color: var(--text-muted); margin-top: 10px; }
.cta .hero-cta { margin-top: 24px; }

.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  margin-top: 88px;
  padding: 40px 0 28px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-brand p { margin-top: 10px; color: var(--text-muted); max-width: 420px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

/* ---------- Nav: language link + mobile menu ---------- */
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.lang-opt {
  display: inline-grid;
  place-items: center;
  height: 100%;
  padding: 0 9px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
a.lang-opt:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.lang-opt[aria-current="true"] { background: var(--brand-soft); color: var(--brand-strong); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav-github { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 1rem; }
}
@media (max-width: 420px) {
  .nav-download { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { color: var(--text-muted); margin-top: 12px; font-size: 1.08rem; max-width: 640px; }

/* ---------- Docs ---------- */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding-top: 40px; }
.docs-toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 104px); overflow-y: auto; }
.docs-toc summary { display: none; }
.toc-group + .toc-group { margin-top: 22px; }
.toc-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
  padding-left: 12px;
}
.toc-link {
  display: block;
  padding: 6px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  border-left: 2px solid transparent;
}
.toc-link:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.toc-link.active { color: var(--brand-strong); background: var(--brand-soft); font-weight: 600; }
@media (max-width: 960px) {
  .docs { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  .docs-toc {
    position: static;
    max-height: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 16px;
    margin-bottom: 32px;
  }
  .docs-toc summary { display: block; cursor: pointer; padding: 14px 0; font-weight: 700; }
  .docs-toc[open] { padding-bottom: 14px; }
}

.prose { max-width: 760px; }
.prose > section { scroll-margin-top: 84px; padding-bottom: 8px; }
.prose > section + section { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 40px; }
.prose .crumb { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); margin-bottom: 8px; }
.prose h2 { font-size: 1.65rem; font-weight: 800; }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin-top: 28px; }
.prose p { margin-top: 14px; color: var(--text-muted); }
.prose p.lead { font-size: 1.08rem; color: var(--text); }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; color: var(--text-muted); display: grid; gap: 8px; }
.prose li::marker { color: var(--text-dim); }
.prose strong, .prose b { color: var(--text); }
.prose .cards { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
@media (max-width: 560px) { .prose .cards { grid-template-columns: 1fr; } }
.prose .card p { margin-top: 6px; }
.prose .card code { display: inline-block; margin-top: 12px; }

.code {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1f2c42;
  background: #0b1220;
}
.code-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #7c8ba1;
  padding: 9px 16px;
  border-bottom: 1px solid #1f2c42;
}
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; }
.code code {
  background: none;
  border: 0;
  padding: 0;
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.7;
}

.callout {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.94rem;
}
.callout svg { margin-top: 3px; }
.callout-info { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); background: var(--brand-soft); }
.callout-info svg { color: var(--brand-strong); }
.callout-warn { border-color: color-mix(in srgb, var(--warn) 35%, var(--border)); background: var(--warn-soft); }
.callout-warn svg { color: var(--warn); }
.callout-tip { border-color: color-mix(in srgb, var(--ok) 35%, var(--border)); background: var(--ok-soft); }
.callout-tip svg { color: var(--ok); }

.prose .faq { margin-top: 20px; }

/* ---------- Changelog ---------- */
.releases { max-width: 780px; margin: 0 auto; display: grid; gap: 28px; padding-top: 48px; }
.release {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  scroll-margin-top: 84px;
}
@media (max-width: 560px) { .release { padding: 22px; } }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.version-tag {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 3px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.release-date { margin-left: auto; color: var(--text-dim); font-size: 0.9rem; }
.release h2 { font-size: 1.5rem; font-weight: 800; margin-top: 16px; }
.release > p { color: var(--text-muted); margin-top: 8px; }
.release-group { margin-top: 24px; }
.release-group h3 {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}
.release-group.new h3 { background: var(--brand-soft); color: var(--brand-strong); }
.release-group.improved h3 { background: var(--ok-soft); color: var(--ok); }
.release-group.fixed h3 { background: var(--warn-soft); color: var(--warn); }
.release-group ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text-muted); }
.release-group li::marker { color: var(--text-dim); }
.release-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.release-assets { margin-top: 20px; font-size: 0.88rem; color: var(--text-dim); }
.release-assets code { font-size: 0.82rem; }
