/* ===========================
   NTNT-LANG.ORG — OPTION B
   "Good Intentions"
   Warm light palette, amber accent
   Space Grotesk + DM Sans + DM Mono
   =========================== */

/* --- CSS Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Warm light palette */
  --bg:             #fefdf9;
  --bg-warm:        #f9f6ef;
  --bg-card:        #ffffff;
  --bg-card-hover:  #fffcf4;
  --bg-code:        #fdf6e3;
  --bg-code-dark:   #2b2118;
  --border:         #e8e2d4;
  --border-light:   #f0ead8;

  --text:           #1c1917;
  --text-2:         #44403c;
  --text-3:         #78716c;
  --text-dim:       #a8a29e;

  /* Amber accent */
  --amber:          #d97706;
  --amber-light:    #f59e0b;
  --amber-dark:     #b45309;
  --amber-bg:       rgba(245, 158, 11, 0.10);
  --amber-bg-strong:rgba(217, 119, 6, 0.18);
  --amber-glow:     rgba(245, 158, 11, 0.25);

  /* Status */
  --green:          #059669;
  --green-bg:       rgba(5, 150, 105, 0.10);
  --red:            #dc2626;
  --blue:           #2563eb;

  /* Code syntax (warm solarized-style) */
  --code-kw:        #b45309;   /* keywords — amber dark */
  --code-fn:        #0f766e;   /* functions — teal */
  --code-str:       #15803d;   /* strings — green */
  --code-num:       #7c3aed;   /* numbers — purple (one pop of color) */
  --code-comment:   #a8a29e;   /* comments — warm gray */
  --code-param:     #1c1917;   /* params — near black */
  --code-op:        #b45309;   /* operators — amber */
  --code-prompt:    #d97706;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'DM Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  --max-w:       1200px;
  --max-w-text:  720px;
  --nav-h:       64px;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 999px;

  --ease: 150ms ease;
  --ease-md: 250ms ease;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a { color: var(--amber-dark); text-decoration: none; transition: color var(--ease); }

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.pillar:nth-child(2).fade-in, .feature-card:nth-child(2).fade-in, .idd-step:nth-child(2).fade-in, .perf-stat:nth-child(2).fade-in { transition-delay: 0.1s; }
.pillar:nth-child(3).fade-in, .feature-card:nth-child(3).fade-in, .idd-step:nth-child(3).fade-in, .perf-stat:nth-child(3).fade-in { transition-delay: 0.2s; }
.pillar:nth-child(4).fade-in, .feature-card:nth-child(4).fade-in { transition-delay: 0.15s; }
.feature-card:nth-child(4).fade-in { transition-delay: 0.1s; }
.feature-card:nth-child(5).fade-in { transition-delay: 0.15s; }
.feature-card:nth-child(6).fade-in { transition-delay: 0.2s; }
.feature-card:nth-child(7).fade-in { transition-delay: 0.1s; }
.feature-card:nth-child(8).fade-in { transition-delay: 0.15s; }
.feature-card:nth-child(9).fade-in { transition-delay: 0.2s; }
a:hover { color: var(--amber); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
  font-weight: 700;
}

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

/* --- Container --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.container-text {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* ======================
   NAVIGATION
   ====================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(254, 253, 249, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease-md), box-shadow var(--ease-md);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 16px rgba(28, 25, 23, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}
.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
}
.nav-wordmark {
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-3);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); background: var(--bg-warm); }
.nav-links a.external {
  font-size: 0.85rem;
}
.nav-links a.nav-cta {
  background: var(--amber);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
}
.nav-links a.nav-cta:hover {
  background: var(--amber-dark);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text);
  cursor: pointer;
  padding: var(--s-2);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: var(--s-4);
  flex-direction: column;
  gap: var(--s-1);
  z-index: 99;
  box-shadow: 0 8px 24px rgba(28,25,23,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: var(--s-3) var(--s-4);
  color: var(--text-2);
  font-weight: 500;
  border-radius: var(--r-md);
  transition: background var(--ease);
}
.nav-mobile a:hover { background: var(--bg-warm); }

/* ======================
   BUTTONS
   ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--ease-md);
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover {
  background: var(--amber-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--amber-glow), 0 0 0 1px rgba(245,158,11,0.3);
}
.btn-secondary {
  background: var(--bg-warm);
  color: var(--text-2);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber-light);
}
.btn-ghost:hover {
  background: var(--amber-bg);
  color: var(--amber-dark);
}

/* ======================
   BADGES & LABELS
   ====================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.badge-amber {
  background: var(--amber-bg);
  color: var(--amber-dark);
  border: 1px solid rgba(217, 119, 6, 0.2);
}
.badge-green {
  background: var(--green-bg);
  color: var(--green);
}
.badge-dot::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s-4);
}

/* ======================
   RETRO RACING STRIPE
   ====================== */
.racing-stripe {
  position: fixed;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-35deg);
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent calc(50% - 29px),
    #b45309 calc(50% - 29px),
    #b45309 calc(50% - 25px),   /* 4px thin pinstripe */
    transparent calc(50% - 25px),
    transparent calc(50% - 19px),
    #d97706 calc(50% - 19px),
    #d97706 calc(50% + 19px),   /* 38px wide center */
    transparent calc(50% + 19px),
    transparent calc(50% + 25px),
    #b45309 calc(50% + 25px),
    #b45309 calc(50% + 29px),   /* 4px thin pinstripe */
    transparent calc(50% + 29px),
    transparent 100%
  );
  opacity: 0.12;
}

/* Push all page content above the stripe */
.nav { z-index: 100; }
body > *:not(.racing-stripe):not(.nav) { position: relative; z-index: 1; }

/* ======================
   HERO
   ====================== */
.hero {
  padding: calc(var(--nav-h) + var(--s-20)) 0 var(--s-20);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(217, 119, 6, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
  position: relative;
}
.hero-text {}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-6);
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--s-8);
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.install-cmd {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-2);
  max-width: fit-content;
}
.install-cmd .prompt {
  color: var(--code-prompt);
  font-weight: 500;
  user-select: none;
}
.install-cmd code {
  color: var(--text-2);
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-code-card {
  background: var(--bg-code-dark);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 60px rgba(28,25,23,0.25),
    0 4px 16px rgba(28,25,23,0.12),
    0 0 80px rgba(217,119,6,0.08);
  position: relative;
  transition: box-shadow var(--ease-md);
}
.hero-code-card:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 24px 64px rgba(28,25,23,0.30),
    0 4px 16px rgba(28,25,23,0.15),
    0 0 100px rgba(217,119,6,0.12);
}
.hero-code-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent 70%);
}
.code-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-dots {
  display: flex;
  gap: 6px;
}
.code-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.code-filename {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.code-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 var(--s-4);
  gap: 0;
}
.code-tab {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all var(--ease);
}
.code-tab:hover { color: rgba(255,255,255,0.7); }
.code-tab.active {
  color: rgba(255,255,255,0.9);
  border-bottom-color: var(--amber-light);
}
.code-panel { display: none; }
.code-panel.active { display: block; }
.code-body {
  padding: var(--s-5) var(--s-6);
  overflow-x: auto;
}
.code-body pre {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  white-space: pre;
}
/* Syntax colors on dark code bg */
.code-body .kw { color: #fbbf24; }
.code-body .fn { color: #5eead4; }
.code-body .str { color: #86efac; }
.code-body .num { color: #c084fc; }
.code-body .comment { color: rgba(255,255,255,0.3); font-style: italic; }
.code-body .param { color: rgba(255,255,255,0.85); }
.code-body .op { color: #fb923c; }
.code-body .prompt { color: var(--amber-light); }

/* ======================
   SECTIONS
   ====================== */
section {
  padding: var(--s-24) 0;
}
section.section-sm { padding: var(--s-16) 0; }
section.section-warm { background: var(--bg-warm); }
section.section-white { background: var(--bg-card); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--s-16);
}
.section-title {
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ======================
   PILLARS
   ====================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-12);
}
.pillar {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease-md), transform var(--ease-md), box-shadow var(--ease-md);
}
.pillar:hover {
  border-color: var(--amber-light);
  transform: translateY(-4px);
  box-shadow:
    0 8px 32px rgba(245,158,11,0.10),
    0 0 0 1px rgba(245,158,11,0.15);
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
  opacity: 0;
  transition: opacity var(--ease-md);
}
.pillar:hover::before { opacity: 1; }
.pillar-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar h3 {
  font-size: 1.125rem;
  margin-bottom: var(--s-3);
  font-weight: 600;
}
.pillar p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ======================
   IDD FLOW
   ====================== */
.idd-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  position: relative;
}
.idd-flow::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.6% + 24px);
  right: calc(16.6% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--amber-bg-strong), var(--amber), var(--amber-bg-strong));
  z-index: 0;
}
.idd-step {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: relative;
  z-index: 1;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  box-shadow: 0 0 0 4px var(--amber-bg);
}
.idd-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.idd-step p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: var(--s-4);
}
.step-code {
  background: var(--bg-code-dark);
  border-radius: var(--r-md);
  overflow: hidden;
}
.step-code pre {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.65;
  padding: var(--s-4);
  color: rgba(255,255,255,0.75);
  white-space: pre;
  overflow-x: auto;
}

/* ======================
   IDD OVERVIEW (homepage)
   ====================== */
.idd-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-10);
}
.idd-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  text-align: center;
  transition: border-color var(--ease-md), transform var(--ease-md);
}
.idd-card:hover {
  border-color: var(--amber-light);
  transform: translateY(-3px);
}
.idd-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.idd-card-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.idd-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.idd-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ======================
   IDD DEEP-DIVE PAGE
   ====================== */
.idd-deep-step {
  margin-bottom: var(--s-12);
}
.idd-deep-step-header {
  display: flex;
  align-items: flex-start;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}
.idd-deep-step-header .step-num {
  flex-shrink: 0;
}
.step-sub {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}
.idd-assertions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-10);
}
.assertions-category {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
}
.assertions-category h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: var(--s-4);
}
.assertions-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.assertions-category ul li {
  font-size: 0.875rem;
  color: var(--text-2);
  padding: var(--s-1) 0;
  line-height: 1.55;
}

/* ======================
   PERFORMANCE STATS
   ====================== */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.perf-stat {
  text-align: center;
  padding: var(--s-8);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--ease-md), box-shadow var(--ease-md);
}
.perf-stat:hover {
  border-color: var(--amber-light);
  box-shadow: 0 8px 32px rgba(245,158,11,0.10);
}
.perf-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--amber-dark), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--s-2);
  letter-spacing: -0.03em;
}
.perf-label {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--s-1);
}
.perf-detail {
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* ======================
   FEATURES GRID
   ====================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.feature-card {
  padding: var(--s-6);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.feature-card:hover {
  border-color: var(--amber-light);
  box-shadow: 0 4px 16px rgba(245,158,11,0.08);
}
.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--s-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-card h4 svg {
  width: 20px;
  height: 20px;
  stroke: var(--amber);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
}
.feature-card code {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1px 5px;
  font-size: 0.8125rem;
  color: var(--amber-dark);
}

/* ======================
   BLOG GRID
   ====================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease-md), transform var(--ease-md), box-shadow var(--ease-md);
  cursor: pointer;
}
.blog-card:hover {
  border-color: var(--amber-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245,158,11,0.10);
  color: inherit;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--amber-bg);
  border: 1px solid rgba(217, 119, 6, 0.15);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: var(--s-3);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.blog-date {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: var(--s-2);
  font-family: var(--font-mono);
}
.blog-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: var(--s-3);
}
.blog-card p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: var(--s-4);
}
.read-more {
  font-size: 0.875rem;
  color: var(--amber);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  transition: gap var(--ease);
}
.blog-card:hover .read-more { gap: var(--s-2); }

/* Blog page hero */
.blog-hero {
  padding: calc(var(--nav-h) + var(--s-16)) 0 var(--s-12);
  text-align: center;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.blog-hero::after {
  content: '"';
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber-bg-strong);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.blog-hero h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; margin-bottom: var(--s-4); }
.blog-hero p { font-size: 1.0625rem; color: var(--text-2); max-width: 560px; margin: 0 auto var(--s-3); }
.blog-hero .pun {
  font-size: 0.875rem;
  color: var(--text-dim);
  font-style: italic;
  display: block;
}

/* ======================
   GITHUB CTA
   ====================== */
.cta-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--s-20) 0;
  text-align: center;
}
.github-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-10);
  margin: var(--s-8) 0;
  flex-wrap: wrap;
}
.github-stat {
  text-align: center;
}
.github-stat .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.github-stat .stat-label {
  font-size: 0.8125rem;
  color: var(--text-3);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ======================
   LEARN PAGE
   ====================== */
.learn-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-12);
  align-items: start;
  padding-top: calc(var(--nav-h) + var(--s-10));
  padding-bottom: var(--s-24);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--s-6);
  padding-right: var(--s-6);
}
.learn-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-6));
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-6);
}
.learn-sidebar h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s-3);
  padding: 0 var(--s-2);
}
.learn-sidebar ul { list-style: none; }
.learn-sidebar ul + h4 { margin-top: var(--s-5); }
.learn-sidebar li a {
  display: block;
  padding: 6px var(--s-2);
  font-size: 0.875rem;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: all var(--ease);
}
.learn-sidebar li a:hover {
  color: var(--amber-dark);
  background: var(--amber-bg);
}
.sidebar-agent, .sidebar-manual { display: none; }
.sidebar-agent.show, .sidebar-manual.show { display: block; }
.learn-content h1 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
}
.learn-content > p {
  font-size: 1.0625rem;
  color: var(--text-2);
  margin-bottom: var(--s-10);
  line-height: 1.7;
}
.learn-content h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: var(--s-12) 0 var(--s-4);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
}
.learn-content h2:first-of-type { border-top: none; margin-top: 0; }
.learn-content h3 {
  font-size: 1.125rem;
  margin: var(--s-8) 0 var(--s-3);
}
.learn-content p {
  margin-bottom: var(--s-4);
  color: var(--text-2);
  line-height: 1.7;
}
.learn-content ul, .learn-content ol {
  padding-left: var(--s-6);
  margin-bottom: var(--s-4);
  color: var(--text-2);
  line-height: 1.8;
}
.learn-content code {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--amber-dark);
}

/* Code blocks on learn page */
.code-block {
  background: var(--bg-code-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: var(--s-6) 0;
}
.code-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-block-lang {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.code-block pre {
  padding: var(--s-5) var(--s-6);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  white-space: pre;
  overflow-x: auto;
}

/* Learn callout boxes */
.callout {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  border-left: 4px solid;
  margin: var(--s-6) 0;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.callout-amber {
  background: var(--amber-bg);
  border-color: var(--amber);
  color: var(--text);
}
.callout-green {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--text);
}
.callout strong { color: var(--text); }
.callout code {
  background: rgba(255,255,255,0.5);
  padding: 1px 5px;
  border-radius: var(--r-sm);
}

/* CLI command table */
.cli-table { width: 100%; border-collapse: collapse; margin: var(--s-6) 0; }
.cli-table th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: var(--s-2) var(--s-4);
  background: var(--bg-warm);
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--border);
}
.cli-table td {
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  vertical-align: top;
}
.cli-table td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--amber-dark);
  white-space: nowrap;
  background: var(--bg-code);
}
.cli-table tr:hover td { background: var(--bg-warm); }
.cli-table tr:hover td:first-child { background: var(--bg-code); }

/* ======================
   ABOUT PAGE
   ====================== */
.about-hero {
  padding: calc(var(--nav-h) + var(--s-16)) 0 var(--s-12);
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}
.about-body { padding: var(--s-16) 0; }
.about-body h2 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: var(--s-12) 0 var(--s-4);
  padding-top: var(--s-8);
  border-top: 1px solid var(--border);
}
.about-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.about-body p { margin-bottom: var(--s-5); color: var(--text-2); line-height: 1.75; font-size: 1.0625rem; }
.about-body ul { padding-left: var(--s-6); margin-bottom: var(--s-5); }
.about-body li { margin-bottom: var(--s-2); color: var(--text-2); line-height: 1.65; }
.about-body code {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--amber-dark);
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin: var(--s-6) 0;
}
.status-item {
  padding: var(--s-4) var(--s-5);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
}
.status-item .status-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: var(--s-1);
  font-family: var(--font-display);
}
.status-item .status-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}
.status-done { border-color: rgba(5,150,105,0.4); }
.status-done .status-value { color: var(--green); }
.status-progress { border-color: rgba(245,158,11,0.4); }
.status-progress .status-value { color: var(--amber); }
.status-planned { border-color: var(--border); }
.status-planned .status-value { color: var(--text-3); }

/* ======================
   FOOTER
   ====================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  padding: var(--s-16) 0 var(--s-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-10);
  margin-bottom: var(--s-12);
}
.footer-brand {}
.footer-brand .nav-logo {
  color: #fff !important;
  margin-bottom: var(--s-4);
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 300px;
  color: rgba(255,255,255,0.5);
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--s-4);
}
.footer ul { list-style: none; }
.footer li { margin-bottom: var(--s-2); }
.footer a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
}
.footer a:hover { color: var(--amber-light); }
.footer-bottom {
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--amber-light); }

/* ======================
   UTILITY
   ====================== */
.text-center { text-align: center; }
.text-amber { color: var(--amber); }
.text-dim { color: var(--text-dim); }
.mt-sm { margin-top: var(--s-4); }
.mt-md { margin-top: var(--s-6); }
.mt-lg { margin-top: var(--s-8); }
.mt-xl { margin-top: var(--s-12); }
.mb-lg { margin-bottom: var(--s-8); }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--s-8) 0;
}

/* Inline code in text */
p code, li code {
  background: var(--bg-code);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2px 6px;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--amber-dark);
}

/* Health route / general pages */
.page-wrap {
  padding: calc(var(--nav-h) + var(--s-16)) 0 var(--s-24);
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-12); }
  .hero-visual { display: none; }
  .hero-sub { max-width: 100%; }
  .pillars { grid-template-columns: 1fr; gap: var(--s-4); }
  .idd-flow { grid-template-columns: 1fr; }
  .idd-flow::before { display: none; }
  .idd-overview { grid-template-columns: 1fr; }
  .idd-assertions-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  .learn-layout { grid-template-columns: 1fr; }
  .learn-sidebar {
    position: sticky;
    top: var(--nav-h);
    z-index: 90;
    background: var(--bg);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: var(--s-3) 0;
    margin: 0 calc(-1 * var(--s-6));
    width: calc(100% + var(--s-6) * 2);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .learn-sidebar::-webkit-scrollbar { display: none; }
  .learn-sidebar h4 { display: none; }
  .learn-sidebar ul {
    display: flex;
    gap: var(--s-1);
    padding: 0 var(--s-4);
    white-space: nowrap;
  }
  .learn-sidebar ul + ul { margin-top: 0; }
  .learn-sidebar li a {
    padding: 6px var(--s-3);
    font-size: 0.8125rem;
    border-radius: var(--r-full);
    border: 1px solid var(--border);
    white-space: nowrap;
  }
  .learn-sidebar li a:hover {
    border-color: var(--amber-light);
  }
  [id] {
    scroll-margin-top: calc(var(--nav-h) + 56px);
  }
  .perf-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .status-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .github-stats { flex-direction: column; gap: var(--s-4); }
  .stat-divider { display: none; }
  section { padding: var(--s-16) 0; }
  .hero { padding: calc(var(--nav-h) + var(--s-12)) 0 var(--s-12); }
}

@media (max-width: 480px) {
  .container, .container-text { padding: 0 var(--s-4); }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .install-cmd { font-size: 0.72rem; }
}

/* ═══════════════════════════════════════════ */
/* Learn Page: Path Tabs, Agent Boxes, Steps  */
/* ═══════════════════════════════════════════ */

.path-tabs { display: flex; gap: 0; margin: 2rem 0 0; border-bottom: 2px solid var(--border); }
.path-tab { padding: 12px 24px; font-size: 0.95rem; font-weight: 600; color: var(--text-3); cursor: pointer; border: none; background: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--ease); }
.path-tab:hover { color: var(--text); }
.path-tab.active { color: var(--amber-dark); border-bottom-color: var(--amber); }
.path-content { display: none; padding-top: 1.5rem; }
.path-content.show { display: block; }

.agent-box { border-radius: 12px; overflow: hidden; background: #1a1a2e; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); margin-top: 1rem; }
.agent-tabs-bar { display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.1); background: #151525; padding: 0 4px; }
.agent-tabs-bar button { padding: 12px 20px; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: rgba(255,255,255,0.4); cursor: pointer; border: none; border-bottom: 2px solid transparent; background: none; transition: all 0.15s ease; white-space: nowrap; }
.agent-tabs-bar button:hover { color: rgba(255,255,255,0.7); }
.agent-tabs-bar button.active { color: var(--amber-light); border-bottom-color: var(--amber); }
.agent-pnl { display: none; position: relative; padding: 1.5rem; padding-right: 5rem; }
.agent-pnl.show { display: block; }
.agent-pnl pre { font-family: 'JetBrains Mono', monospace !important; font-size: 0.875rem !important; line-height: 1.7 !important; color: #e2e8f0 !important; white-space: pre-wrap !important; word-break: break-word !important; margin: 0 !important; background: none !important; border: none !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.copy-button { position: absolute; top: 12px; right: 12px; padding: 6px 14px; font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; cursor: pointer; transition: all 0.15s ease; }
.copy-button:hover { color: #fff; background: rgba(255,255,255,0.15); }
.copy-button.copied { color: #22c55e; border-color: #22c55e; }
.next-prompt { margin-top: 1.5rem; }
.next-prompt h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.next-prompt p { font-size: 0.9rem; color: var(--text-muted, #888); margin-bottom: 0.75rem; }
.text-muted { color: var(--text-muted, #888); }
.text-sm { font-size: 0.85rem; }

.step { display: flex; align-items: center; gap: 12px; margin: 2rem 0 1rem; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent, #7c3aed); color: #fff; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }

.docs-list { list-style: none; padding: 0; }
.docs-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--border, #333); }
.docs-list li:last-child { border-bottom: none; }
.docs-list p { color: var(--text-muted, #888); margin-top: 0.25rem; font-size: 0.9rem; }

/* ======================
   BLOG POST SINGLE
   ====================== */
.blog-post-single {
  padding: 0 0 var(--s-16);
}
.blog-post-single .post-header {
  padding: calc(var(--nav-h) + var(--s-12)) 0 var(--s-8);
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--s-10);
  text-align: center;
}
.blog-post-single .post-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 720px;
  margin: var(--s-3) auto;
}
.blog-post-single .container-text {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--s-4);
}
.back-link {
  display: inline-block;
  color: var(--amber);
  font-size: 0.875rem;
  margin-bottom: var(--s-8);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.post-header {
  margin-bottom: var(--s-8);
}
.post-header h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin: var(--s-3) 0;
}
.post-meta {
  color: var(--text-dim);
  font-size: 0.8125rem;
  font-family: 'JetBrains Mono', monospace;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-3);
}
.post-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
}
.post-body p {
  margin-bottom: 1.5em;
}
.post-body h2 {
  font-size: 1.5rem;
  margin: 2em 0 0.75em;
}
.post-body h3 {
  font-size: 1.25rem;
  margin: 1.5em 0 0.5em;
}
.post-body code {
  background: var(--bg-card);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}
.post-body pre {
  background: var(--bg-code-dark);
  color: #e8e2d4;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  padding: var(--s-5) var(--s-6);
  overflow-x: auto;
  margin: 1.5em 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.7;
}
.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Prism.js syntax token colors (VS Code Dark+) */
.token.comment { color: #6A9955; font-style: italic; }
.token.annotation { color: #6A9955; font-style: italic; }
.token.string { color: #CE9178; }
.token.number { color: #B5CEA8; }
.token.boolean { color: #569CD6; }
.token.keyword { color: #C586C0; }
.token.declaration { color: #569CD6; }
.token.contract { color: #C586C0; font-style: italic; }
.token.type { color: #4EC9B0; }
.token.builtin { color: #DCDCAA; }
.token.function { color: #DCDCAA; }
.token.operator { color: #D4D4D4; }
.token.punctuation { color: #808080; }
.token.label { color: #DCDCAA; }
.token.method { color: #569CD6; }
.token.assertion { color: #C586C0; }

/* Copy button on code blocks */
.code-container {
  position: relative;
}
.copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--ease);
  z-index: 2;
}
.copy-button:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.post-body a {
  color: var(--amber);
}
.post-body a:hover {
  text-decoration: underline;
}
.post-body img {
  max-width: 100%;
  border-radius: var(--r-lg);
  margin: 1.5em 0;
}
.post-body blockquote {
  border-left: 3px solid var(--amber);
  padding-left: var(--s-4);
  margin: 1.5em 0;
  color: var(--text-dim);
  font-style: italic;
}
.post-body ul, .post-body ol {
  margin: 1em 0;
  padding-left: 1.5em;
}
.post-body li {
  margin-bottom: 0.5em;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.post-body th, .post-body td {
  border: 1px solid var(--border);
  padding: 0.5em 0.75em;
  text-align: left;
}
.post-body th {
  background: var(--bg-card);
}
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  gap: var(--s-4);
}
.post-nav-link {
  color: var(--amber);
  text-decoration: none;
  font-size: 0.875rem;
  max-width: 45%;
}
.post-nav-link:hover { text-decoration: underline; }

/* Blog post chart styles (benchmark post) */
.chart-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.chart-section h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.chart-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.chart-wrap {
  position: relative;
  height: 380px !important;
  min-height: 380px;
}

/* (blog-hero and container-text defined above — no duplicates) */
