/* ================================================================
   Axle Network — style.css
   Dark, atmospheric, portfolio. Gold accents. Literary serif.
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --bg:           #0a0a0f;
  --surface:      #0f0f1a;
  --surface2:     #141420;
  --border:       #1e1e35;
  --border-light: #2a2a45;
  --gold:         #c9a84c;
  --gold-dim:     #8a6f32;
  --gold-glow:    rgba(201, 168, 76, 0.12);
  --crimson:      #8b1a2a;
  --crimson-bright:#c0392b;
  --text:         #e8e4d9;
  --text-muted:   #9990b0;
  --text-faint:   #4a4465;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --max-w:        1100px;
  --container-px: 24px;
  --radius:       6px;
  --transition:   0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Subtle noise grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p { color: var(--text); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: #e0c068; }

em { font-style: italic; color: var(--gold); }

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
  position: relative;
  z-index: 1;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.see-all {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition);
}
.see-all:hover { color: var(--gold); }

/* ── Header / Nav ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 120px;
  gap: 24px;
  padding-bottom: 12px;
}

.logo {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 108px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.logo:hover .logo-img { opacity: 0.85; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--surface2); }

.nav-cta {
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  margin-left: 8px;
}
.nav-cta:hover { background: var(--gold-glow); color: var(--gold); border-color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0f;
  border-color: var(--gold);
}
.btn-primary:hover { background: #e0c068; border-color: #e0c068; color: #0a0a0f; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-light);
}
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold); background: var(--gold-glow); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-dim);
}
.btn-outline:hover { background: var(--gold-glow); border-color: var(--gold); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  border-radius: 50%;
  animation: floatGlyph 7s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.18));
}

@keyframes floatGlyph {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── Page Hero (inner pages) ────────────────────────────────────── */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ── Project Cards (homepage grid) ─────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, var(--accent, var(--gold-glow)), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.project-card:hover {
  border-color: var(--gold-dim);
  box-shadow: 0 0 32px rgba(201, 168, 76, 0.08);
  transform: translateY(-3px);
}
.project-card:hover::before { opacity: 0.15; }

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.project-glyph {
  font-size: 1.8rem;
  line-height: 1;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.project-tagline {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.project-link:hover { color: #e0c068; }

/* ── Projects Full List ─────────────────────────────────────────── */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-full {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.project-full::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent, var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 0 2px 2px 0;
}
.project-full:hover::before { opacity: 0.7; }

.project-full:first-child { border-top: 1px solid var(--border); }

.project-full-left {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.project-full-glyph {
  font-size: 2.4rem;
  opacity: 0.6;
  transition: opacity var(--transition);
}
.project-full:hover .project-full-glyph { opacity: 1; }

.project-full-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.project-full-name {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0;
}

.project-full-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-full-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.project-full-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 20px;
}

/* ── Tags / Badges ──────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
}

.tag-sm {
  font-size: 0.68rem;
  padding: 2px 8px;
}

/* ── Blog preview (homepage) ────────────────────────────────────── */
.blog-preview {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-preview-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.blog-preview-item:first-child { border-top: 1px solid var(--border); }

.post-date {
  font-size: 0.82rem;
  color: var(--text-faint);
  font-weight: 500;
  white-space: nowrap;
}

.post-title-link {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
  transition: color var(--transition);
}
.post-title-link:hover { color: var(--gold); }

.post-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Blog list page ─────────────────────────────────────────────── */
.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-list-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.blog-list-item:first-child { border-top: 1px solid var(--border); }

.blog-list-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.blog-list-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color var(--transition);
}
.blog-list-title:hover { color: var(--gold); }

.blog-list-summary {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 640px;
}

.post-author {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.post-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* ── Blog post page ─────────────────────────────────────────────── */
.post-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.post-container {
  max-width: 720px;
}

.post-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.post-standfirst {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

.post-body {
  padding: 48px 0;
  font-size: 1.05rem;
  line-height: 1.85;
}

.post-body h2 { font-size: 1.7rem; margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.post-body h3 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--gold); }
.post-body p  { margin-bottom: 1.4rem; }
.post-body ul,
.post-body ol { margin: 1rem 0 1.4rem 1.5rem; }
.post-body li { margin-bottom: 0.4rem; color: var(--text); }
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 24px;
  margin: 1.5rem 0;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
}
.post-body code {
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.87em;
  color: var(--gold);
}
.post-body pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 1.5rem 0;
}
.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 0.88rem;
}
.post-body a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-dim); }
.post-body a:hover { text-decoration-color: var(--gold); }
.post-body img { max-width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

.post-footer { padding-bottom: 64px; }

/* ── About block ────────────────────────────────────────────────── */
.about-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 560px;
  font-size: 1.02rem;
}
.about-content .btn { margin-top: 8px; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-top: 4px;
}

/* ── CTA strip ──────────────────────────────────────────────────── */
.cta-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.cta-strip p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
}

.cta-strip a {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

/* ── Repo cards ─────────────────────────────────────────────────── */
.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.repo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  transition: border-color var(--transition), transform var(--transition);
}
.repo-card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }

.repo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.repo-name {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin: 0;
}
.repo-name a { color: var(--text); text-decoration: none; }
.repo-name a:hover { color: var(--gold); }

.repo-lang {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.repo-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.repo-topics {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.repo-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.repo-stat {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 600;
}

.repo-updated {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-left: auto;
}

/* ── Contact form ───────────────────────────────────────────────── */
.contact-container {
  max-width: 660px;
}

.contact-form {
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
textarea {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
}
input:focus, textarea:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
input::placeholder, textarea::placeholder {
  color: var(--text-faint);
}

.flash {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 28px;
}
.flash-success {
  background: rgba(74, 180, 100, 0.08);
  border: 1px solid rgba(74, 180, 100, 0.25);
  color: #7ecf8e;
}
.flash-error {
  background: rgba(139, 26, 42, 0.1);
  border: 1px solid rgba(139, 26, 42, 0.3);
  color: #e8888a;
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 8px;
  opacity: 0.8;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin: 0;
  font-style: italic;
}

.footer-right {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-faint);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold); }

.footer-base {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ── Utilities ──────────────────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.empty-state { color: var(--text-faint); font-style: italic; font-size: 0.95rem; }

/* ── Scroll Reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero-deco { display: none; }
  .about-block { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { flex-direction: row; justify-content: flex-start; }
}

@media (max-width: 768px) {
  :root { --container-px: 20px; }

  .section { padding: 56px 0; }
  .hero    { padding: 64px 0 56px; }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 99;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    padding: 10px 14px;
    border-radius: var(--radius);
  }
  .nav-cta { margin-left: 0; text-align: center; }
  .hamburger { display: flex; }

  .form-row { grid-template-columns: 1fr; }
  .project-full { grid-template-columns: 1fr; gap: 16px; }
  .project-full-left { display: none; }
  .project-full::before { left: -20px; }
  .blog-preview-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .section-header { flex-direction: column; gap: 8px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .about-stats { display: none; }
}

/* ── Prose (Privacy Policy / long-form content) ──────────────────────────── */
.prose { max-width: 720px; }
.prose h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.2rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 0.6rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border, #e5e7eb); }
.prose p  { line-height: 1.85; margin-bottom: 1rem; color: var(--text-secondary, #4b5563); }
.prose ul, .prose ol { margin: 0.5rem 0 1rem 1.5rem; }
.prose li { line-height: 1.8; margin-bottom: 0.25rem; color: var(--text-secondary, #4b5563); }
.prose strong { color: var(--text-primary, #111827); }
.prose a { color: var(--accent, #2465c6); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose hr { border: none; border-top: 1px solid var(--border, #e5e7eb); margin: 2rem 0; }
.prose code { background: #f3f4f6; border-radius: 4px; padding: 1px 6px; font-size: 0.88em; }
