/* ========================================
   Growth Office Hours posts and the Learning articles. Shared by every
   page under /growth-office-hours/ (session recaps, the sessions index)
   and under /learning (articles, the Learning index).
   Brand tokens match index.html and growth-office-hours.html.
   ======================================== */
:root {
  --cream: #FAF8F5;
  --charcoal: #2D2A26;
  --warm-grey: #B8B2A8;
  --warm-grey-text: #6B6760;
  --sand: #F0EBE3;
  --terracotta: #E8734A;
  --violet: #8B5CF6;
  --success: #2D9F6F;
  --danger: #D94F4F;
  --gradient: linear-gradient(135deg, var(--terracotta), var(--violet));
  --font-heading: 'Satoshi', -apple-system, sans-serif;
  --font-body: 'Satoshi', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --focus-ring: 0 0 0 3px rgba(139, 92, 246, 0.4);
  --rule: rgba(184, 178, 168, 0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  background: var(--charcoal); color: var(--cream);
  font-family: var(--font-heading); font-weight: 600;
  padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Navigation (same as growth-office-hours.html) ----------
   Markup, the mobile menu and the Talk to us button match the four marketing
   pages. Behaviour is in posts.js. Keep the three in step with
   growth-office-hours.html when the nav changes. */
.nav {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; padding: 0 16px; pointer-events: none;
}
.nav .container {
  width: auto; max-width: none; margin: 0;
  padding: 10px 12px 10px 22px;
  display: flex; align-items: center; gap: 36px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(45, 42, 38, 0.06);
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(45, 42, 38, 0.1);
  pointer-events: auto;
  transition: box-shadow 0.3s var(--ease-out);
}
.nav.scrolled .container { box-shadow: 0 10px 32px rgba(45, 42, 38, 0.14); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; display: flex; align-items: center; }
.logo-mark svg { width: 28px; height: 28px; }
.logo-mark-sm svg { width: 22px; height: 22px; }
.logo-wordmark { font-family: var(--font-heading); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--charcoal); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--warm-grey-text); transition: color 0.2s var(--ease-out); letter-spacing: -0.01em; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--charcoal); }
.nav-links .nav-cta {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border: none; border-radius: 100px;
  background: var(--terracotta); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.nav-links .nav-cta:hover { background: #D6653D; transform: translateY(-1px); color: #fff; }
.nav-links .nav-cta:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.nav-toggle { display: none; }

/* Mobile nav: a full-width pill with the logo and a menu button that
   expands in place into a panel listing the links. While open, a scrim
   dims and blurs the page so the panel reads as open on light sections. */
@media (max-width: 768px) {
  .nav { top: 12px; --ease-menu: cubic-bezier(0.25, 0.8, 0.25, 1); }
  .nav::before {
    content: ''; position: fixed; inset: 0; z-index: -1;
    background: rgba(45, 42, 38, 0.32);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav.open::before { opacity: 1; pointer-events: auto; }
  .nav .container {
    width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0;
    padding: 8px 8px 8px 16px;
    transition: border-radius 0.32s var(--ease-menu), box-shadow 0.32s var(--ease-menu), background 0.32s var(--ease-menu);
  }
  .nav.open .container {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(28px) saturate(1.4); -webkit-backdrop-filter: blur(28px) saturate(1.4);
    box-shadow: 0 24px 60px rgba(45, 42, 38, 0.22);
  }
  .nav-toggle {
    order: 2; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: transparent; color: var(--charcoal); cursor: pointer;
  }
  .nav-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }
  .nav-toggle svg { width: 22px; height: 22px; overflow: visible; }
  /* The three lines fold into a cross when the menu is open */
  .nav-toggle path { transform-box: fill-box; transform-origin: center; transition: transform 0.3s var(--ease-menu), opacity 0.15s ease; }
  .nav.open .nav-toggle-line-1 { transform: translateY(6px) rotate(45deg); }
  .nav.open .nav-toggle-line-2 { opacity: 0; transform: scaleX(0); }
  .nav.open .nav-toggle-line-3 { transform: translateY(-6px) rotate(-45deg); }
  /* The list is measured by the script and animated to its exact height,
     so the panel and its links move as one. */
  .nav-links {
    order: 3; display: flex; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; padding: 0 8px 0 0; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: max-height 0.3s var(--ease-menu), opacity 0.18s ease, transform 0.3s var(--ease-menu), visibility 0s linear 0.3s;
  }
  .nav.open .nav-links {
    opacity: 1; visibility: visible; transform: none;
    transition: max-height 0.32s var(--ease-menu), opacity 0.2s ease 0.04s, transform 0.32s var(--ease-menu), visibility 0s;
  }
  .nav-links li:first-child { margin-top: 16px; }
  .nav-links li:last-child { margin-bottom: 8px; }
  .nav-links a { display: block; padding: 12px 8px; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--charcoal); }
  .nav-links .nav-cta { display: inline-flex; justify-content: center; width: calc(100% - 8px); margin: 12px 0 4px 8px; padding: 14px 20px; font-size: 16px; }
  @media (prefers-reduced-motion: reduce) {
    .nav::before, .nav .container, .nav-links, .nav-toggle path { transition: none; }
  }
}

/* ---------- Talk to us form (same as growth-office-hours.html) ----------
   Markup is injected by posts.js. */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(45, 42, 38, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--cream); border-radius: 16px; padding: 40px;
  max-width: 520px; width: 100%; position: relative;
  box-shadow: 0 20px 60px rgba(45, 42, 38, 0.15);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto;
  text-align: left;
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; color: var(--warm-grey-text); cursor: pointer; border-radius: 8px;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.modal-close:hover { background: var(--sand); color: var(--charcoal); }
.modal-title { font-family: var(--font-heading); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--charcoal); margin-bottom: 8px; padding-right: 36px; }
.modal-description { font-size: 15px; color: var(--warm-grey-text); margin-bottom: 28px; line-height: 1.5; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; letter-spacing: -0.01em; }
.form-group .required { color: var(--terracotta); }
.form-group .optional { color: var(--warm-grey-text); font-weight: 400; }
.form-group input {
  width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 16px; color: var(--charcoal);
  background: #fff; border: 1.5px solid rgba(184, 178, 168, 0.3); border-radius: 10px;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out); outline: none;
}
.form-group input::placeholder { color: var(--warm-grey); }
.form-group input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12); }
.form-group .invalid { border-color: var(--danger); }
.form-group .invalid:focus { box-shadow: 0 0 0 3px rgba(217, 79, 79, 0.12); }
.form-error { display: block; font-size: 13px; color: var(--danger); margin-top: 4px; }
.form-error:empty { display: none; }
.form-error-global { text-align: center; font-size: 14px; color: var(--danger); margin-top: 16px; }
.form-error-global:empty { display: none; }
.form-submit { width: 100%; justify-content: center; min-height: 52px; margin-top: 8px; position: relative; }
.form-submit.loading .submit-text { opacity: 0; }
.form-submit.loading .submit-loading { display: block; }
.submit-loading {
  display: none; position: absolute; width: 20px; height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: #fff; border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 16px 0; }
.form-success:focus { outline: none; }
.success-icon { margin-bottom: 20px; display: flex; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal { transition: none; }
  .modal { transform: none; }
  .submit-loading { animation: none; }
}

.btn-gradient {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--gradient); background-size: 200% 200%;
  color: #fff;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  border-radius: 100px; border: none; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  letter-spacing: -0.01em;
}
.btn-gradient:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(139, 92, 246, 0.25); }
.btn-gradient:focus-visible { box-shadow: 0 0 0 3px var(--cream), 0 0 0 6px var(--violet); border-radius: 100px; }

/* ---------- Article ---------- */
.post { padding: 150px 0 96px; }
.post .container { max-width: 760px; }

/* Breadcrumb. Same trail as the BreadcrumbList JSON-LD in the head: starts
   at Home, each level is a real page, the last item is the page's own title. */
.post-breadcrumb { margin-bottom: 20px; }
.post-breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0;
  list-style: none; font-size: 14px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.5;
}
.post-breadcrumb li { display: inline-flex; align-items: baseline; white-space: nowrap; }
/* The separator belongs to the item before it, so when the trail wraps on a
   phone the slash ends the first line instead of opening the second. */
.post-breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--warm-grey); font-weight: 400; }
.post-breadcrumb a { color: var(--terracotta); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease-out); }
.post-breadcrumb a:hover { border-bottom-color: currentColor; }
/* The last item is the page title. It may wrap onto a line of its own and
   within itself; the links before it never break mid-name. */
.post-breadcrumb li:last-child { white-space: normal; min-width: 0; }
.post-breadcrumb [aria-current="page"] { color: var(--warm-grey-text); }

.post h1 {
  font-family: var(--font-heading);
  font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--charcoal); margin-bottom: 22px;
}
/* Authors, under the title. Names link to /authors/<slug>. */
.post-authors { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; color: var(--warm-grey-text); }
.post-authors .byline-photos img { width: 36px; height: 36px; }
.post-authors .byline-photos img + img { margin-left: -10px; }
.post-authors a { color: var(--charcoal); font-weight: 600; border-bottom: 1px solid var(--rule); transition: color 0.2s var(--ease-out); }
.post-authors a:hover { color: var(--terracotta); }

/* Meta: a row of label and value pairs (published, updated, reading time,
   the session it came from). "Updated" is only shown when it differs from
   the published date. */
.post-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, max-content)); gap: 18px 44px;
  padding-bottom: 28px; margin-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.post-meta dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-grey-text); margin-bottom: 6px; }
.post-meta dd { font-size: 15px; line-height: 1.4; color: var(--charcoal); font-variant-numeric: tabular-nums; }
.post-meta a { color: var(--charcoal); border-bottom: 1px solid var(--rule); transition: color 0.2s var(--ease-out); }
.post-meta a:hover { color: var(--terracotta); }

/* Contents. Built by posts.js from the h2 headings in .post-body. A sticky
   column to the left of the article from 1100px; a collapsible block above
   the body below that. */
.post-toc-label, .post-toc-mobile summary { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-grey-text); }
.post-toc ol, .post-toc-mobile ol { list-style: none; }
.post-toc { display: none; }
.post-toc ol { margin-top: 14px; border-left: 1px solid var(--rule); }
.post-toc li + li { margin-top: 2px; }
.post-toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px;
  font-size: 14px; line-height: 1.4; color: var(--warm-grey-text);
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.post-toc a:hover { color: var(--charcoal); }
.post-toc a[aria-current="true"] { color: var(--charcoal); font-weight: 600; border-left-color: var(--terracotta); }
.post-toc-mobile { margin-bottom: 32px; padding: 14px 18px; background: var(--sand); border-radius: 12px; }
.post-toc-mobile summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.post-toc-mobile summary::-webkit-details-marker { display: none; }
.post-toc-mobile summary::after { content: "+"; font-size: 16px; line-height: 1; color: var(--charcoal); }
.post-toc-mobile[open] summary::after { content: "\2212"; }
.post-toc-mobile ol { margin-top: 12px; }
.post-toc-mobile li + li { margin-top: 8px; }
.post-toc-mobile a { font-size: 15px; line-height: 1.4; color: var(--charcoal); }
.post-toc-mobile a:hover { color: var(--terracotta); }
@media (min-width: 1100px) {
  .post .container {
    max-width: 1104px;
    display: grid; grid-template-columns: 220px minmax(0, 760px); column-gap: 60px;
    justify-content: center; align-items: start;
  }
  .post-toc { display: block; position: sticky; top: 112px; }
  .post-toc-mobile { display: none; }
}

.post-body > p, .post-body > ul, .post-body > ol, .post-body > blockquote { margin-bottom: 24px; }
.post-body p.lead { color: var(--charcoal); }
.post-body h2 {
  font-family: var(--font-heading); font-size: 29px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.025em; color: var(--charcoal);
  margin: 56px 0 18px;
  scroll-margin-top: 110px; /* land below the fixed nav when jumped to from the contents */
}
.post-body h3 {
  font-family: var(--font-heading); font-size: 21px; font-weight: 700;
  line-height: 1.3; letter-spacing: -0.02em; color: var(--charcoal);
  margin: 40px 0 12px;
}
.post-body h2 + h3 { margin-top: 20px; }
.post-body a { color: var(--charcoal); font-weight: 500; border-bottom: 1.5px solid rgba(232, 115, 74, 0.5); transition: border-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.post-body a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.post-body strong { font-weight: 700; }
.post-body em { font-style: italic; }

.post-body ul, .post-body ol { padding-left: 26px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 8px; padding-left: 4px; }
.post-body li::marker { color: var(--terracotta); font-weight: 600; }

.post-body blockquote {
  padding: 4px 0 4px 24px; border-left: 3px solid var(--terracotta);
  color: var(--charcoal);
}

.table-scroll { overflow-x: auto; margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
.post-body table {
  width: 100%; min-width: 520px; border-collapse: collapse;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.post-body th, .post-body td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.post-body th { font-weight: 700; background: var(--sand); }
.post-body td:not(:first-child), .post-body th:not(:first-child) { text-align: right; }
.post-body tbody tr:last-child td { font-weight: 700; }

.post-takeaway {
  margin: 40px 0; padding: 26px 30px;
  background: var(--sand); border-radius: 16px;
}
.post-takeaway strong { font-weight: 700; }

/* ---------- Article footer: byline and related ---------- */
.post-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule); }
.post-byline { display: flex; align-items: center; gap: 16px; color: var(--warm-grey-text); margin-bottom: 36px; }
.post-byline a { color: var(--charcoal); font-weight: 600; border-bottom: 1px solid var(--rule); }
.post-byline a:hover { color: var(--terracotta); }
.byline-photos { display: flex; flex-shrink: 0; }
.byline-photos img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--cream); }
.byline-photos img + img { margin-left: -12px; }


.post-related h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warm-grey-text); margin-bottom: 14px; }
.post-related ul { list-style: none; display: flex; flex-direction: column; }
.post-related li { border-top: 1px solid var(--rule); }
.post-related li:last-child { border-bottom: 1px solid var(--rule); }
.post-related a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 0; }
.post-related a:hover .related-title { color: var(--terracotta); }
.related-title { font-weight: 600; color: var(--charcoal); transition: color 0.2s var(--ease-out); }
.related-type { flex-shrink: 0; color: var(--warm-grey-text); }

/* ---------- Index pages: /growth-office-hours/sessions and /learning ---------- */
.index { padding: 150px 0 96px; }
.index .container { max-width: 760px; }
.index h1 {
  font-family: var(--font-heading);
  font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--charcoal); margin-bottom: 18px;
}
.index-list { list-style: none; }
/* A list straight after the title (no lead paragraph) brings its own divider. */
.index h1 + .index-list { margin-top: 24px; border-top: 1px solid var(--rule); }
.index-item { padding: 32px 0; border-bottom: 1px solid var(--rule); }
.index-item-link { display: block; }
.index-item-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-family: var(--font-mono); font-size: 13px; color: var(--warm-grey-text);
  font-variant-numeric: tabular-nums; margin-bottom: 12px;
}
.index-tag {
  display: inline-flex; padding: 3px 9px; border-radius: 6px;
  background: rgba(139, 92, 246, 0.1); color: #6D43D6;
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
}
.index-item h2 {
  font-family: var(--font-heading); font-size: 26px; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.025em; color: var(--charcoal);
  margin-bottom: 10px; transition: color 0.2s var(--ease-out);
}
.index-item-link:hover h2 { color: var(--terracotta); }
.index-item-desc { font-size: 16px; line-height: 1.6; color: var(--warm-grey-text); }

/* ---------- Author pages: /authors/<slug> ---------- */
.author-head { display: flex; align-items: flex-start; gap: 28px; }
.author-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-head h1 { margin-bottom: 4px; }
.author-role { font-family: var(--font-mono); font-size: 13px; color: var(--warm-grey-text); margin-bottom: 16px; }
.author-bio { font-size: 17px; line-height: 1.6; color: var(--charcoal); max-width: 600px; }
.author-links { margin-top: 16px; font-size: 15px; }
.author-links a { color: var(--charcoal); font-weight: 500; border-bottom: 1.5px solid rgba(232, 115, 74, 0.5); transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out); }
.author-links a:hover { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.author-section { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm-grey-text); margin-top: 56px; }
.author-section + .index-list { margin-top: 14px; border-top: 1px solid var(--rule); }
@media (max-width: 600px) {
  .author-head { flex-direction: column; gap: 18px; }
  .author-photo { width: 80px; height: 80px; }
}

/* ---------- Footer (same as growth-office-hours.html) ---------- */
.footer { padding: 48px 0; border-top: 1px solid rgba(184, 178, 168, 0.15); }
.footer .container { display: flex; align-items: center; justify-content: space-between; }
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-copy { font-size: 14px; color: var(--warm-grey-text); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 14px; color: var(--warm-grey-text); transition: color 0.2s var(--ease-out); padding: 8px 4px; }
.footer-links a:hover { color: var(--charcoal); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .post, .index { padding: 128px 0 72px; }
  .post h1, .index h1 { font-size: 36px; }
  .post-body h2 { font-size: 25px; margin-top: 44px; }
  .footer .container { flex-direction: column; gap: 20px; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .modal-overlay { padding: 12px; }
  .modal { padding: 28px 20px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .post h1, .index h1 { font-size: 32px; }
  .index-item h2 { font-size: 22px; }
  .post-takeaway { padding: 20px 22px; }
  .post-authors { font-size: 16px; gap: 10px; }
  .post-body table { font-size: 15px; min-width: 460px; }
  .post-body th, .post-body td { padding: 10px 10px; }
  .post-body h2 { scroll-margin-top: 90px; }
}
