/* ==========================================================================
   Go Lancer - Shared Public Stylesheet (blog.css)
   Used by: /blog/*, /tools/*, /contact
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Caveat:wght@500;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --bg-sunk: #eef0f5;
  --card: #ffffff;
  --ink: #151826;
  --ink-soft: #5b6072;
  --ink-mute: #727889;
  --line: #e8e9ee;
  --line-strong: #cfd2db;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #e4ecff;
  --blue-border: #bfdbfe;
  --green: #16a34a;
  --green-light: #dcfce7;
  --lime: #d4f26b;
  --lime-soft: #eaf6b3;
  --lime-ink: #4a6208;
  --amber: #d47919;
  --amber-light: #fbe9c9;
  --red: #e04836;
  --red-light: #fbdcd6;
  --row: #f4f5f9;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px -4px rgba(20, 22, 40, 0.1);
  --shadow-lg: 0 16px 36px -8px rgba(20, 22, 40, 0.16);
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12141b;
    --bg-alt: #1e2028;
    --bg-sunk: #161821;
    --card: #1e2028;
    --ink: #f2ede2;
    --ink-soft: #a0a8b8;
    --ink-mute: #7d8494;
    --line: #2a2d36;
    --line-strong: #3a3e4a;
    --blue: #6b8fff;
    --blue-hover: #85a2ff;
    --blue-light: rgba(107, 143, 255, 0.14);
    --blue-border: rgba(107, 143, 255, 0.28);
    --row: #191c24;
    --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #12141b;
  --bg-alt: #1e2028;
  --bg-sunk: #161821;
  --card: #1e2028;
  --ink: #f2ede2;
  --ink-soft: #a0a8b8;
  --ink-mute: #7d8494;
  --line: #2a2d36;
  --line-strong: #3a3e4a;
  --blue: #6b8fff;
  --blue-hover: #85a2ff;
  --blue-light: rgba(107, 143, 255, 0.14);
  --blue-border: rgba(107, 143, 255, 0.28);
  --row: #191c24;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) ::selection { background: #6d54d6; color: #ffffff; }
  :root:not([data-theme="light"]) mark,
  :root:not([data-theme="light"]) .mark { background: linear-gradient(180deg, transparent 58%, rgba(156,133,255,.48) 58%); color: var(--ink); }
}
:root[data-theme="dark"] ::selection { background: #6d54d6; color: #ffffff; }
:root[data-theme="dark"] mark,
:root[data-theme="dark"] .mark { background: linear-gradient(180deg, transparent 58%, rgba(156,133,255,.48) 58%); color: var(--ink); }

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 2px;
}
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Navigation bar */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #2563EB;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 4px 12px -4px rgba(34, 71, 224, 0.5);
}
.brand-mark svg { width: 100%; height: 100%; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .12s, background .12s;
}
.nav-links a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  text-decoration: none;
}
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-links + .nav-cta { margin-left: 0; }
@media (max-width: 780px) {
  .nav-links { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font: 600 13.5px/1.2 var(--sans);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { text-decoration: none; }
.btn-small { padding: 7px 13px; font-size: 13px; }
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px -3px rgba(37, 99, 235, 0.5);
}
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
}
.btn-lime:hover { background: #c6e855; }

/* Breadcrumbs & Layout */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-mute);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

/* CTA band */
.cta-band {
  margin-top: 56px;
  padding: 32px 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.cta-band p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Footer */
footer.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}
footer.wrap div {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
footer.wrap a {
  color: var(--ink-soft);
  text-decoration: none;
}
footer.wrap a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Blog Index */
.blog-head {
  max-width: 720px;
  margin: 20px auto 44px;
  text-align: center;
}
.blog-head h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 800;
}
.blog-head p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
  line-height: 1.6;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .15s, box-shadow .15s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-link { display: block; overflow: hidden; }
.card-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.card-cover-tile {
  background: linear-gradient(135deg, var(--blue-light), var(--bg-sunk));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  font-size: 13px;
  height: 160px;
}
.tile-tag {
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .08em;
}
.tile-mark {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 12px;
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-mute);
  display: inline-block;
}
.card-body h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 10px;
  font-weight: 700;
}
.card-body h2 a {
  color: var(--ink);
  text-decoration: none;
}
.card-body h2 a:hover { color: var(--blue); }
.card-body p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}
.card-cta { align-self: flex-start; }

/* Blog Post Detail */
.post-head {
  max-width: 820px;
  margin: 0 auto 36px;
}
.post-head .tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 12px;
}
.post-head h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  font-weight: 800;
  text-wrap: balance;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.post-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.post-meta .author:hover { color: var(--blue); }
.post-meta .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.post-cover {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
}

.post-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 860px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-side { order: 2; margin-top: 32px; }
}
.post-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 84px;
}
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  font-size: 13.5px;
}
.side-cta strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--ink);
}
.side-cta p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}
.side-cta .btn {
  width: 100%;
  text-align: center;
}
.side-cta small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-top: 8px;
  text-align: center;
}
.side-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toc li a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  display: block;
}
.toc li a:hover { color: var(--blue); }
.toc li.lvl3 { padding-left: 12px; font-size: 12.5px; }
.ai-row { display: flex; flex-direction: column; gap: 6px; }
.ai-row a {
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ai-row a:hover { color: var(--blue); }

.post-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.post-body h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
  font-weight: 700;
  line-height: 1.25;
}
.post-body h3 {
  font-size: 20px;
  margin: 28px 0 10px;
  font-weight: 600;
}
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { font-weight: 700; }
.quick-answer {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.quick-answer strong {
  color: var(--blue);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.table-wrap {
  overflow-x: auto;
  margin: 24px 0 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--card);
}
.table-wrap th {
  background: var(--bg-sunk);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-soft);
}
.table-wrap td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table-wrap tr:last-child td { border-bottom: 0; }
pre {
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 20px 0;
}
code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-sunk);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--line);
}
pre code { background: none; padding: 0; border: 0; }
.related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 700;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-card);
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.related-card strong { color: var(--ink); font-size: 15.5px; line-height: 1.4; }
.related-card span { color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; }

/* Author profile */
.profile { max-width: 900px; }
.founder-section { margin-bottom: 48px; }
.founder-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 42px 44px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 780px) {
  .founder-wrap { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
}
.founder-photo {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #e6eaf1;
  aspect-ratio: 274 / 438;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.founder-role {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 3px;
}
.founder-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: all .12s;
}
.founder-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.founder-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.founder-body {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.6;
}
.founder-body p { margin: 0 0 14px; }
.founder-body .greeting {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.founder-body .greeting .flag { font-size: 24px; }
.founder-body ul { padding-left: 20px; margin: 0 0 18px; }
.founder-body ul li { margin-bottom: 8px; }
.founder-body ul li strong { color: var(--ink); }
.founder-quote {
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
}

/* "Also made by me": the books and the Redbubble store. The author card
   is lifted out of the landing page by blog/build.js, but the landing's
   styles are inline in that file, so this block has to live here too.
   Kept in step with .founder-facts in go-lancer-landing.html. */
.founder-facts {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.founder-facts-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.founder-facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.founder-facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}
.founder-facts .em { font-size: 15px; flex-shrink: 0; line-height: 1; }
.founder-facts .ff-links { display: block; margin-top: 3px; color: var(--ink-soft); }
.founder-facts a { color: var(--blue); font-weight: 600; text-decoration: none; }
.founder-facts a:hover { text-decoration: underline; }
/* A link still on its placeholder is not shown at all. */
.founder-facts a[href^="PASTE_"] { display: none; }

.profile-posts-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.profile-posts-head h2 { font-size: 22px; font-weight: 700; margin: 0; }
.author-posts { display: grid; gap: 12px; }
.author-post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: transform .12s;
}
.author-post:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.author-post strong { color: var(--ink); font-size: 15px; }
.author-post span { color: var(--ink-soft); font-size: 13px; white-space: nowrap; }

/* Author Box inside Article */
.author-box {
  margin-top: 48px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.author-box-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: flex-start;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .author-box-row { grid-template-columns: 1fr; }
}
.author-box-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.author-box-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-box .founder-name { margin-top: 0; font-size: 18px; }
.author-box .founder-name a { color: var(--ink); text-decoration: none; }
.author-box .founder-name a:hover { color: var(--blue); }
.author-box .founder-role { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.author-box p { font-size: 14.5px; color: var(--ink); margin: 10px 0 14px; line-height: 1.55; }
.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}
.author-links a { color: var(--blue); text-decoration: none; }
.author-links a:hover { text-decoration: underline; }

.toc a.is-active {
  color: var(--blue) !important;
  font-weight: 600;
}

/* Inline TOC in tools */
.toc-inline {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0;
  font-size: 14px;
}
.toc-inline ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 6px;
}
.toc-inline li a {
  color: var(--ink-soft);
  text-decoration: none;
}
.toc-inline li a:hover { color: var(--blue); }
