/* DM Sans — 300 800 italic (latin-ext) */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-300-800-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — 300 800 italic (latin) */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-300-800-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans — 300 800 normal (latin-ext) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-300-800-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — 300 800 normal (latin) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-300-800-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono — 400 normal (latin-ext) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono — 400 normal (latin) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Kufi Arabic — 300 normal (arabic) */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-300-normal-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Noto Kufi Arabic — 300 normal (latin-ext) */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-300-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Noto Kufi Arabic — 300 normal (latin) */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/noto-kufi-arabic-300-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ============================================================
   Prelab public website — shared design system
   Aligned with client-home tokens (PRELAB navy on cold slate)
   ============================================================ */

:root {
  --ch-bg-0: #f5f7fa;
  --ch-bg-1: #eef1f6;

  --ch-ink:   #0f172a;
  --ch-ink-2: #334155;
  --ch-ink-3: #64748b;
  --ch-ink-4: #94a3b8;

  --ch-line:   rgba(15, 23, 42, 0.08);
  --ch-line-2: rgba(15, 23, 42, 0.14);

  --ch-accent:      #003366;
  --ch-accent-2:    #336699;
  --ch-accent-soft: rgba(0, 51, 102, 0.08);
  --ch-accent-line: rgba(0, 51, 102, 0.18);

  --ch-glass-bg:        rgba(255, 255, 255, 0.7);
  --ch-glass-bg-strong: rgba(255, 255, 255, 0.86);
  --ch-glass-border:    rgba(255, 255, 255, 0.8);
  --ch-glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px -28px rgba(15, 23, 42, 0.14),
    0 1px 3px -1px rgba(15, 23, 42, 0.05);

  --ch-status-done:    #047857;
  --ch-status-ongoing: #b45309;
  --ch-status-rose:    #b91c1c;

  --ch-wash:
    radial-gradient(120% 70% at 100% 0%,
      rgba(0, 51, 102, 0.06) 0%,
      rgba(0, 51, 102, 0) 55%),
    radial-gradient(80% 60% at 0% 100%,
      rgba(15, 23, 42, 0.04) 0%,
      rgba(15, 23, 42, 0) 55%);

  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ch-bg-0: #0b1120;
    --ch-bg-1: #0e152a;

    --ch-ink:   #e2e8f0;
    --ch-ink-2: #cbd5e1;
    --ch-ink-3: #94a3b8;
    --ch-ink-4: #64748b;

    --ch-line:   rgba(255, 255, 255, 0.07);
    --ch-line-2: rgba(255, 255, 255, 0.12);

    --ch-accent:      #7ab3e0;
    --ch-accent-2:    #5c9ccc;
    --ch-accent-soft: rgba(122, 179, 224, 0.12);
    --ch-accent-line: rgba(122, 179, 224, 0.28);

    --ch-glass-bg:        rgba(22, 29, 48, 0.62);
    --ch-glass-bg-strong: rgba(24, 32, 56, 0.82);
    --ch-glass-border:    rgba(255, 255, 255, 0.06);
    --ch-glass-shadow:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 20px 50px -28px rgba(0, 0, 0, 0.7),
      0 1px 3px -1px rgba(0, 0, 0, 0.5);

    --ch-wash:
      radial-gradient(120% 70% at 100% 0%,
        rgba(122, 179, 224, 0.08) 0%,
        rgba(122, 179, 224, 0) 55%),
      radial-gradient(80% 60% at 0% 100%,
        rgba(255, 255, 255, 0.02) 0%,
        rgba(255, 255, 255, 0) 55%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ch-ink);
  background: var(--ch-bg-0);
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--ch-wash);
}

::selection { background: var(--ch-accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ch-ink-3);
  font-weight: 600;
}
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }

/* ── Nav ────────────────────────────────────────────────────── */
.ch-toolbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--ch-bg-0);
  border-bottom: 1px solid var(--ch-line);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.ch-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px; gap: 12px;
  max-width: 1080px; margin: 0 auto; width: 100%;
}
.ch-nav-mark { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ch-nav-dot {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><rect x='0' y='0' width='48' height='48' rx='10' fill='%23003366'/><g stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'><line x1='24' y1='8' x2='24' y2='40' stroke-width='0.6' opacity='0.28'/><line x1='8' y1='24' x2='40' y2='24' stroke-width='0.6' opacity='0.28'/></g><path d='M14.5 9 C14.5 9, 10.5 14, 10.5 17 A4 4 0 0 0 18.5 17 C18.5 14, 14.5 9, 14.5 9 Z' fill='%23fff'/><g fill='none' stroke='%23fff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'><rect x='31' y='11' width='6' height='1.8' rx='0.4' fill='%23fff' stroke='none'/><path d='M32 13 L32 19 Q32 21 34 21 Q36 21 36 19 L36 13'/><path d='M32.2 17 L35.8 17' stroke-width='1.1'/></g><g fill='none' stroke='%23fff' stroke-linecap='round'><circle cx='14' cy='33' r='4.2' stroke-width='1.4'/><line x1='17.2' y1='36.2' x2='19.5' y2='38.5' stroke-width='1.6'/></g><g fill='none' stroke='%23fff' stroke-width='1.1' stroke-linecap='round'><rect x='29.5' y='28.5' width='9' height='10.5' rx='1'/><line x1='31.5' y1='31.8' x2='36.5' y2='31.8'/><line x1='31.5' y1='34.2' x2='35.5' y2='34.2'/><line x1='31.5' y1='36.6' x2='36.5' y2='36.6'/></g></svg>");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.ch-nav-copy { display: flex; flex-direction: column; line-height: 1.1; }
.ch-nav-eyebrow {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ch-ink-3); font-weight: 600;
}
.ch-nav-title { font-size: 15px; font-weight: 600; color: var(--ch-ink); letter-spacing: -0.005em; margin-top: 2px; }
.ch-toolbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; font-size: 13.5px; color: var(--ch-ink-2); }
.ch-toolbar ul a { transition: color 0.18s ease; }
.ch-toolbar ul a:hover, .ch-toolbar ul a.active { color: var(--ch-accent); }
.ch-toolbar ul a.active { font-weight: 600; }
.nav-cta {
  padding: 8px 16px; border-radius: 8px;
  background: var(--ch-accent); color: #fff;
  font-size: 12.5px; font-weight: 600;
  transition: background 0.18s ease;
}
.nav-cta:hover { background: var(--ch-accent-2); color: #fff; }
.nav-ctas { display: inline-flex; align-items: center; gap: 8px; }
.nav-login {
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid var(--ch-line-2);
  color: var(--ch-ink-2); background: transparent;
  font-size: 12.5px; font-weight: 600;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.nav-login:hover { color: var(--ch-accent); border-color: var(--ch-accent); background: rgba(4, 120, 87, 0.04); }
.nav-mobile-only { display: none; }
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--ch-line-2);
  background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--ch-ink-2);
}
.nav-burger svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .ch-toolbar ul, .ch-toolbar .nav-cta-desktop { display: none; }
  .nav-burger { display: inline-flex; }
  .ch-toolbar ul.open {
    display: flex;
    position: absolute;
    top: 58px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ch-bg-0);
    border-bottom: 1px solid var(--ch-line);
    padding: 8px 0;
    box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.15);
  }
  .ch-toolbar ul.open li { padding: 12px 22px; border-bottom: 1px solid var(--ch-line); }
  .ch-toolbar ul.open li:last-child { border-bottom: 0; }
  .ch-toolbar ul.open .nav-mobile-only { display: list-item; }
  .ch-toolbar ul.open .nav-mobile-only a { color: var(--ch-accent); font-weight: 600; }
}

/* ── Stage ──────────────────────────────────────────────────── */
.ch-stage {
  max-width: 1080px; margin: 0 auto;
  padding: 24px 22px 56px;
  display: flex; flex-direction: column; gap: 32px;
  position: relative; z-index: 1;
}

/* ── Animation ──────────────────────────────────────────────── */
@keyframes chReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { opacity: 0; animation: chReveal 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ── Primitives ─────────────────────────────────────────────── */
.glass {
  background: var(--ch-glass-bg);
  border: 1px solid var(--ch-glass-border);
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--ch-glass-shadow);
}
.glass-strong { background: var(--ch-glass-bg-strong); }

/* ── Section header ─────────────────────────────────────────── */
.ch-panel-hd {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 2px;
  margin-bottom: 14px;
}
.ch-panel-title {
  font-size: 17px; font-weight: 600; color: var(--ch-ink);
  margin: 0; letter-spacing: -0.005em;
}

/* ── Hero base ──────────────────────────────────────────────── */
.hero {
  background: var(--ch-glass-bg-strong);
  border: 1px solid var(--ch-glass-border);
  border-radius: 16px;
  padding: 36px 36px 40px;
  box-shadow: var(--ch-glass-shadow);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(0, 51, 102, 0.1), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 10px 0 0;
  color: var(--ch-ink);
  font-weight: 600;
  max-width: 22ch;
}
.hero-sub {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ch-ink-2);
  max-width: 58ch;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 12px; height: 12px; transition: transform 0.18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--ch-accent); color: #fff; }
.btn--solid:hover { background: var(--ch-accent-2); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--ch-line-2); color: var(--ch-ink-2); }
.btn--ghost:hover { background: var(--ch-accent-soft); border-color: var(--ch-accent-line); color: var(--ch-accent); }

/* ── Grid helpers ───────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; gap: 10px; } }

/* ── Card (generic) ─────────────────────────────────────────── */
.card {
  background: var(--ch-glass-bg);
  border: 1px solid var(--ch-glass-border);
  border-radius: 12px;
  box-shadow: var(--ch-glass-shadow);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.card:hover {
  border-color: var(--ch-accent-line);
  background: var(--ch-glass-bg-strong);
  transform: translateY(-2px);
}
.card-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ch-accent-soft);
  border: 1px solid var(--ch-accent-line);
  color: var(--ch-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-icon svg { width: 18px; height: 18px; }
.card-title {
  font-size: 15px; font-weight: 600; color: var(--ch-ink);
  margin: 0; letter-spacing: -0.005em; line-height: 1.3;
}
.card-body { font-size: 13px; color: var(--ch-ink-2); margin: 0; line-height: 1.55; }
.card-link {
  margin-top: auto; padding-top: 8px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ch-accent);
  display: inline-flex; align-items: center; gap: 5px;
}
.card-link svg { width: 11px; height: 11px; transition: transform 0.18s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* ── Footer ─────────────────────────────────────────────────── */
footer.site-foot {
  padding: 40px 0 28px;
  border-top: 1px solid var(--ch-line);
  background: var(--ch-bg-0);
  position: relative; z-index: 1;
  margin-top: 40px;
}
.foot-grid {
  max-width: 1080px; margin: 0 auto; padding: 0 22px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px 24px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-brand { display: flex; flex-direction: column; gap: 12px; max-width: 30ch; }
.foot-brand .ch-nav-mark { margin-bottom: 4px; }
.foot-brand p { font-size: 12.5px; color: var(--ch-ink-3); margin: 0; line-height: 1.5; }

.foot-col h4 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ch-ink-3); font-weight: 600;
  margin: 0 0 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-col ul a {
  font-size: 13px; color: var(--ch-ink-2);
  transition: color 0.18s ease;
}
.foot-col ul a:hover { color: var(--ch-accent); }

.foot-bot {
  max-width: 1080px; margin: 32px auto 0; padding: 20px 22px 0;
  border-top: 1px solid var(--ch-line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.foot-bot p {
  font-size: 11.5px; color: var(--ch-ink-3); margin: 0;
  letter-spacing: 0.02em;
}
.foot-mk {
  display: inline-flex; gap: 18px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ch-ink-4);
}

/* ── Prose (legal pages) ────────────────────────────────────── */
.prose {
  background: var(--ch-glass-bg);
  border: 1px solid var(--ch-glass-border);
  border-radius: 14px;
  box-shadow: var(--ch-glass-shadow);
  padding: 36px 40px;
  max-width: 780px;
  margin: 0 auto;
}
.prose h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 10px; color: var(--ch-ink);
}
.prose .lead {
  font-size: 14px; color: var(--ch-ink-3);
  margin: 0 0 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--ch-line);
}
.prose h2 {
  font-size: 17px; font-weight: 600;
  margin: 28px 0 10px; color: var(--ch-ink);
  letter-spacing: -0.005em;
}
.prose h3 {
  font-size: 14px; font-weight: 600;
  margin: 20px 0 8px; color: var(--ch-ink);
  letter-spacing: 0;
}
.prose p, .prose li {
  font-size: 14px; color: var(--ch-ink-2);
  line-height: 1.65;
}
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ch-ink); font-weight: 600; }
.prose a { color: var(--ch-accent); }
.prose a:hover { text-decoration: underline; }
.prose dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 0 0 18px;
  font-size: 13.5px;
}
.prose dt { color: var(--ch-ink-3); font-weight: 500; }
.prose dd { color: var(--ch-ink); margin: 0; font-family: var(--mono); font-size: 13px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ch-stage { padding: 16px 14px 40px; gap: 24px; }
  .hero { padding: 24px 20px; }
  .hero-title { font-size: 24px; }
  .prose { padding: 24px 20px; }
  .ch-panel-title { font-size: 15px; }
}

/* ── Language switcher pill ────────────────────────────────── */
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  background: var(--ch-bg-1);
  border: 1px solid var(--ch-line);
  border-radius: 999px;
  direction: ltr;
}
.lang-pill a {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ch-ink-3);
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1;
}
.lang-pill a:hover { color: var(--ch-ink); }
.lang-pill a.active {
  background: var(--ch-ink);
  color: #fff;
}
.lang-pill a.active:hover { color: #fff; }

/* Mobile menu — lang pill overrides */
@media (max-width: 860px) {
  .ch-toolbar ul.open li.lang-mobile { padding: 14px 22px; border-bottom: 0; }
  .ch-toolbar ul.open li.lang-mobile .lang-pill a { color: var(--ch-ink-3); font-weight: 700; }
  .ch-toolbar ul.open li.lang-mobile .lang-pill a.active { color: #fff; background: var(--ch-ink); }
  .ch-toolbar ul.open li.lang-mobile .lang-pill a:not(.active):hover { color: var(--ch-ink); background: transparent; }
}
