/* =============================================================================
   Hunter Design System — Variant A2: Cal.com Softness
   -----------------------------------------------------------------------------
   Single drop-in CSS for Hunter UIs. Self-contained: tokens, reset, typography,
   layout primitives, all components.

   Usage in any HTML page:
     <link rel="stylesheet" href="/hunter-design.css" />
     <link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap" rel="stylesheet" />

   Source-of-truth spec: /design.md
   Live components: /components.html
   ============================================================================= */

/* =========================================================================
   1. TOKENS (CSS custom properties)
   ========================================================================= */
:root {
  /* Surfaces */
  --bg:           #ffffff;
  --surface-1:    #ffffff;
  --surface-2:    #f5f5f5;
  --surface-3:    #101010;        /* warm-black code blocks */

  /* Borders — hairlines */
  --border:       #e5e5e5;
  --border-soft:  #f0f0f0;
  --border-strong:#1F1F1F;

  /* Text — warm black */
  --text:         #101010;
  --text-2:       #6F6F6F;
  --text-3:       #8F8F8F;
  --text-4:       #B0B0B0;
  --text-on-dark: #ededed;

  /* CTAs are warm-black, not blue */
  --primary:      #101010;
  --primary-hov:  #2A2A2A;
  --primary-soft: rgba(16, 16, 16, 0.06);

  /* Indigo reserved for inline links only (rare) */
  --link:         #3B49DF;

  /* Semantic */
  --success:      #101010;
  --danger:       #D63E3E;
  --danger-soft:  rgba(214, 62, 62, 0.06);

  /* Fonts */
  --font-sans:  "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:  "Geist Mono", "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* Radius scale (rounder than pure Vercel) */
  --radius-sm:  6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 16px;

  /* Container */
  --container-max: 1200px;
  --container-pad: 32px;
  --container-pad-mobile: 20px;
}

/* =========================================================================
   2. RESET + BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: var(--text); color: #fff; }

@media (prefers-reduced-motion) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   3. TYPOGRAPHY
   ========================================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--text);
  margin: 0;
}
h1 { font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; font-size: 34px; }
h3 { font-weight: 600; letter-spacing: -0.02em;  line-height: 1.25; font-size: 22px; }
h4 { font-weight: 600; letter-spacing: -0.015em; font-size: 16px; }
@media (max-width: 768px) { h2 { font-size: 28px; } }

p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.65; }

.lead {
  font-size: 18px; line-height: 1.6;
  color: var(--text-2); letter-spacing: -0.005em;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 16px;
}

code, kbd, pre { font-family: var(--font-mono); }
.mono { font-family: var(--font-mono); }

/* Inline code (in prose) */
.prose code, .md p code, .md li code, .md td code, .md h2 code, .md h3 code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--text);
}

/* =========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--container-pad-mobile); }
}

.section { padding: 128px 0; }
@media (max-width: 768px) { .section { padding: 80px 0; } }

.divider { height: 1px; background: var(--border); }

.section__head {
  max-width: 720px; margin: 0 auto 64px; text-align: center;
}
.section__head .eyebrow { display: block; }
.section__head h2 { margin-bottom: 16px; }
.section__head p { font-size: 16px; max-width: 600px; margin: 0 auto; color: var(--text-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =========================================================================
   5. NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 768px) {
  .nav__inner { padding: 0 var(--container-pad-mobile); }
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand__mark {
  width: 22px; height: 22px;
  background: var(--text);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.nav__links { display: flex; align-items: center; gap: 24px; font-size: 13px; color: var(--text-2); }
.nav__links a:hover { color: var(--text); }
@media (max-width: 768px) { .nav__links { display: none; } }

.nav__pill {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--text);
}

/* =========================================================================
   6. BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 500; font-size: 14px;
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.08s;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-hov); border-color: var(--primary-hov); }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary {
  background: #fff; color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover { border-color: var(--border-strong); }
.btn--lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn--sm { height: 32px; padding: 0 14px; font-size: 13px; }

/* =========================================================================
   7. CARDS
   ========================================================================= */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-1px); }

.card__index {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-weight: 600; font-size: 11px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.card strong { color: var(--text); font-weight: 600; }
.card__foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-3);
}

/* =========================================================================
   8. PERSONA CARD
   ========================================================================= */
.persona {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.15s, transform 0.15s;
}
.persona:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.persona__name {
  font-family: var(--font-sans);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 6px;
}
.persona__role {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.10em;
  margin-bottom: 22px;
}
.persona__quote {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 400;
}
.persona__quote::before { content: "“ "; color: var(--text-3); }
.persona__quote::after  { content: " ”"; color: var(--text-3); }
.persona__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border-soft);
}
.persona__stat__value {
  color: var(--text); font-weight: 600; font-size: 18px;
  font-family: var(--font-mono); letter-spacing: -0.01em;
}
.persona__stat__label {
  color: var(--text-3); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.10em; margin-top: 2px;
}

/* =========================================================================
   9. KPI STRIP
   ========================================================================= */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kpi {
  background: var(--surface-1);
  padding: 36px 22px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.kpi:last-child { border-right: 0; }
.kpi__value {
  font-family: var(--font-mono);
  font-size: 44px; font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}
.kpi__label {
  text-transform: uppercase; letter-spacing: 0.10em;
  font-size: 11px; font-weight: 500;
  color: var(--text-2);
}
.kpi__meta {
  font-size: 11px; color: var(--text-3); margin-top: 6px;
  font-family: var(--font-mono);
}
@media (max-width: 768px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .kpi:nth-child(even) { border-right: 0; }
  .kpi:nth-last-child(-n+2) { border-bottom: 0; }
  .kpi__value { font-size: 34px; }
}

/* =========================================================================
   10. PILLS / BADGES
   ========================================================================= */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--text-2);
  transition: border-color 0.15s, color 0.15s;
}
.pill:hover { border-color: var(--border-strong); color: var(--text); }
.pill__count { color: var(--text); font-weight: 500; }
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text);
}

.meta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px;
  border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-2);
}
.meta-pill strong { color: var(--text); font-weight: 500; }

.sources {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}

/* =========================================================================
   11. CALLOUT / PULL-QUOTE
   ========================================================================= */
.callout {
  border-left: 2px solid var(--text);
  padding: 6px 28px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 760px;
  margin: 64px auto 0;
}

/* =========================================================================
   12. TERMINAL MOCKUP
   ========================================================================= */
.terminal,
.hero__terminal {
  background: var(--surface-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(16, 16, 16, 0.18),
              0 8px 20px -8px rgba(16, 16, 16, 0.10);
}
.hero__terminal { margin: 72px auto 0; max-width: 720px; }
.terminal__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #1a1a1a;
  border-bottom: 1px solid #262626;
}
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.terminal__title {
  color: #666; font-size: 12px; margin-left: 12px;
  font-family: var(--font-mono);
}
.terminal__body {
  padding: 22px 24px;
  font-family: var(--font-mono); font-size: 13px;
  line-height: 1.85; text-align: left;
  color: var(--text-on-dark);
}
.terminal__body .pmt { color: #888; }
.terminal__body .cmd { color: #fff; font-weight: 500; }
.terminal__body .out { color: #aaa; }
.terminal__body .ok  { color: #fff; font-weight: 500; }
.terminal__body .num { color: #fff; font-weight: 500; }
.terminal__body .dim { color: #666; }

/* =========================================================================
   13. PIPELINE / STEP STRIP
   ========================================================================= */
.pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .pipeline { grid-template-columns: 1fr 1fr; } }
.stage {
  background: var(--surface-1);
  border-right: 1px solid var(--border);
  padding: 22px 14px;
  text-align: center;
  transition: background 0.12s;
}
.stage:last-child { border-right: 0; }
.stage:hover { background: var(--surface-2); }
.stage__num { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); font-weight: 500; }
.stage__name { font-weight: 600; font-size: 14px; margin: 6px 0 4px; color: var(--text); letter-spacing: -0.015em; }
.stage__sub { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.stage--accent { background: var(--text); }
.stage--accent .stage__num,
.stage--accent .stage__name,
.stage--accent .stage__sub { color: #fff; }
.stage--accent .stage__num { color: #B0B0B0; }
.stage--accent:hover { background: var(--primary-hov); }
@media (max-width: 900px) {
  .stage { border-bottom: 1px solid var(--border); }
  .stage:nth-child(even) { border-right: 0; }
}

/* =========================================================================
   14. BEFORE/AFTER DEMO SPLIT
   ========================================================================= */
.demo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
.demo__col {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.demo__col--bad   { border-color: rgba(214, 62, 62, 0.20); }
.demo__col--good  { border-color: var(--border-strong); }
.demo__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.10em;
  margin-bottom: 16px; font-weight: 500;
}
.demo__title--bad  { color: var(--danger); }
.demo__title--good { color: var(--text); }
.demo__bullet {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 12px;
}
.demo__bullet code {
  background: var(--danger-soft);
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 1px 5px; border-radius: 4px;
  text-decoration: line-through;
}
.demo__col--good .demo__bullet code {
  background: var(--text);
  color: #fff;
  text-decoration: none; font-weight: 500;
}
.demo__note {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-3); margin-top: 14px; line-height: 1.55;
}

/* =========================================================================
   15. PRICING PLAN
   ========================================================================= */
.plan {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.15s, border-color 0.15s;
}
.plan:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.plan--featured {
  border-color: var(--border-strong);
  border-width: 2px;
  padding: 31px 27px;
}
.plan__badge {
  position: absolute; top: -10px; right: 22px;
  padding: 4px 12px;
  background: var(--text); color: white;
  font-size: 10px; font-weight: 500; letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 999px;
  font-family: var(--font-sans);
}
.plan__name {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.10em;
  margin-bottom: 14px;
}
.plan__price {
  font-family: var(--font-mono);
  font-size: 44px; font-weight: 600; line-height: 1;
  color: var(--text); margin-bottom: 6px;
  letter-spacing: -0.025em;
}
.plan__price small {
  font-family: var(--font-mono);
  font-size: 13px; color: var(--text-3); font-weight: 400;
  letter-spacing: 0;
}
.plan__tagline { color: var(--text-2); font-size: 13px; margin-bottom: 24px; }
.plan__features { list-style: none; padding: 0; margin: 0 0 24px; }
.plan__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.55;
}
.plan__features li:last-child { border-bottom: 0; }
.plan__features li::before {
  content: "→"; color: var(--text); font-weight: 500; margin-top: 1px;
  font-family: var(--font-mono);
}
.plan__features strong { color: var(--text); font-weight: 600; }

/* =========================================================================
   16. WAITLIST / CTA BOX
   ========================================================================= */
.waitlist {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
}
.waitlist h2 { margin-bottom: 14px; }
.waitlist p { max-width: 520px; margin: 0 auto 28px; font-size: 15px; }
.waitlist form {
  display: flex; gap: 8px;
  max-width: 480px; margin: 0 auto;
}
@media (max-width: 600px) { .waitlist form { flex-direction: column; } }
.waitlist input {
  flex: 1;
  height: 50px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s;
}
.waitlist input:focus { outline: none; border-color: var(--border-strong); background: var(--surface-1); }
.waitlist input::placeholder { color: var(--text-4); }

/* =========================================================================
   17. FOOTER
   ========================================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 64px;
  font-size: 12px;
  color: var(--text-3);
}
.footer__row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  max-width: var(--container-max); margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 768px) {
  .footer__row { padding: 0 var(--container-pad-mobile); }
}
.footer .brand { font-size: 14px; }
.footer__meta { font-family: var(--font-mono); font-size: 11px; }

/* =========================================================================
   18. UTILITIES
   ========================================================================= */
.reveal {
  opacity: 0; transform: translateY(4px);
  transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

.text-mono { font-family: var(--font-mono); }
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-center { text-align: center; }

/* =========================================================================
   19. HERO BACKGROUND VARIATIONS
   ========================================================================= */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#eaeaea 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at center top, black 30%, transparent 70%);
          mask-image: radial-gradient(ellipse at center top, black 30%, transparent 70%);
  opacity: 0.85;
}
.hero__inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(42px, 7vw, 84px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--text);
  font-weight: 600;
}
.hero h1 span { color: var(--text-3); }
.hero p.lead { max-width: 640px; margin: 0 auto 36px; }
.hero__cta {
  display: inline-flex; gap: 10px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.hero__hint {
  color: var(--text-3); font-size: 12px; margin-top: 22px;
  font-family: var(--font-mono);
}

/* =========================================================================
   20. MARKDOWN CONTENT (.md container)
   For pages that render markdown (docs, blog posts, README).
   ========================================================================= */
.md { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--text); }
.md > h1:first-child { display: none; }
.md h2 {
  font-size: 28px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.2; margin: 64px 0 20px; padding-top: 24px;
  scroll-margin-top: 80px; color: var(--text);
}
.md > h2:first-of-type { margin-top: 0; padding-top: 0; }
.md h3 {
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.3; margin: 36px 0 12px; scroll-margin-top: 80px;
  color: var(--text);
}
.md h4 {
  font-size: 15px; font-weight: 600; margin: 28px 0 10px;
  color: var(--text);
}
.md p { margin: 0 0 18px; color: var(--text-2); }
.md p strong { color: var(--text); font-weight: 600; }
.md > blockquote {
  border-left: 2px solid var(--text);
  padding: 4px 24px; margin: 24px 0;
  font-size: 17px; color: var(--text);
  font-weight: 500; letter-spacing: -0.01em;
}
.md > blockquote p { color: var(--text); margin: 0; }
.md ul, .md ol { padding-left: 22px; margin: 0 0 20px; }
.md li { margin: 4px 0; color: var(--text-2); }
.md li strong { color: var(--text); font-weight: 600; }
.md li::marker { color: var(--text-3); }
.md hr { border: 0; height: 1px; background: var(--border); margin: 56px 0; }
.md a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(59, 73, 223, 0.3);
  text-underline-offset: 3px;
}
.md a:hover { text-decoration-color: var(--link); }
.md pre {
  background: var(--surface-3); color: var(--text-on-dark);
  border-radius: var(--radius); padding: 18px 22px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
  overflow-x: auto; margin: 20px 0 24px;
}
.md pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; }
.md table {
  width: 100%; border-collapse: collapse; margin: 20px 0 28px;
  font-size: 14px; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.md thead { background: var(--surface-2); }
.md th, .md td {
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.md th {
  font-weight: 600; color: var(--text);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
}
.md tr:last-child td { border-bottom: 0; }
.md td { color: var(--text-2); }
.md td strong { color: var(--text); font-weight: 600; }
.md input[type="checkbox"] { margin-right: 8px; accent-color: var(--text); }
