/* ==========================================================================
   Knowledge Living — design system
   A quiet editorial system: paper, ink, one deep green, one clay accent.
   ========================================================================== */

:root {
  --paper: #f5f2ea;
  --paper-2: #fbf9f3;
  --paper-3: #efeadf;
  --ink: #17170f;
  --ink-2: #3a382f;
  --muted: #6d685c;
  --line: #ddd5c6;
  --line-soft: #e8e2d5;
  --accent: #2b5342;
  --accent-soft: #e6ede6;
  --clay: #a94f2b;
  --clay-soft: #f4e6dd;
  --gold: #b5892f;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "Songti SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1180px;
  --measure: 68ch;
  --radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(43, 83, 66, .05), transparent 42%),
    radial-gradient(circle at 92% 8%, rgba(169, 79, 43, .045), transparent 38%);
  background-repeat: no-repeat;
}

img, svg { max-width: 100%; display: block; }
figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration-color: rgba(43, 83, 66, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.012em;
  line-height: 1.14;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.25rem); margin-top: 2.4em; }
h3 { font-size: clamp(1.16rem, 1.9vw, 1.4rem); margin-top: 1.9em; }
h4 { font-size: 1.03rem; font-family: var(--sans); font-weight: 700; letter-spacing: .01em; margin-top: 1.6em; }

p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.15em; }
li { margin-bottom: .5em; }
li::marker { color: var(--muted); }
strong { font-weight: 650; color: var(--ink); }
em { font-style: italic; }
small { font-size: .84rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
/* Narrow blocks stay aligned to the same left column as the header,
   instead of re-centring inside the 1180px container. */
.wrap.narrow { max-width: var(--maxw); }
.wrap.narrow > * { max-width: 780px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; background: currentColor; display: inline-block;
}
.eyebrow.center { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(245, 242, 234, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { color: var(--accent); font-size: 1.15rem; line-height: 1; transform: translateY(-1px); }
.brand-name { font-family: var(--serif); font-size: 1.16rem; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: .875rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: .82rem; padding: 7px 13px; color: var(--ink-2); cursor: pointer;
}

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lede {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.62;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 12px 22px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--accent); background: var(--accent); color: #f7f5ef;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: #20402f; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(43, 83, 66, .6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); box-shadow: none; }
.text-link { font-size: .9rem; font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(43, 83, 66, .3); padding-bottom: 2px; }
.text-link:hover { border-color: var(--accent); }

/* ---------- graph figure ---------- */
.graph-fig { position: relative; }
.graph-fig svg { width: 100%; height: auto; }
.graph-fig figcaption {
  font-size: .76rem; color: var(--muted); margin-top: .9rem; text-align: center; letter-spacing: .01em;
}

/* ---------- definition / answer box (AEO) ---------- */
.answer-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 2.2rem 0;
}
.answer-box .ab-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: .7rem;
}
.answer-box p { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); margin-bottom: 0; }
.answer-box p + p { margin-top: .8em; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 6.5vw, 88px) 0; }
.section-tight { padding: clamp(36px, 4.5vw, 56px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(30px, 4vw, 52px); }
.section-head p { color: var(--muted); margin-bottom: 0; }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- pillar cards ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar {
  background: var(--paper-2); padding: 26px 22px 30px; position: relative;
  transition: background .25s ease;
}
.pillar:hover { background: #fff; }
.pillar .num {
  font-family: var(--mono); font-size: .74rem; color: var(--clay); letter-spacing: .08em;
  display: block; margin-bottom: 1.1rem;
}
.pillar h3 { font-size: 1.2rem; margin-bottom: .5em; }
.pillar p { font-size: .9rem; color: var(--muted); margin-bottom: 0; line-height: 1.6; }

/* ---------- guide cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 22px; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -26px rgba(23, 23, 15, .45); border-color: #cfc6b4; }
.card-tag { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--clay); margin-bottom: .9rem; }
.card h3 { font-size: 1.24rem; margin-bottom: .55em; line-height: 1.24; }
.card p { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.2rem; }
.card-meta { margin-top: auto; font-size: .76rem; color: var(--muted); display: flex; gap: 10px; align-items: center; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

/* ---------- article ---------- */
.article-hero { padding: clamp(36px, 5vw, 60px) 0 0; }
.breadcrumbs { font-size: .78rem; color: var(--muted); margin-bottom: 1.8rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .5em; }
.breadcrumbs li + li::before { content: "/"; color: #c3bbab; }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.article-hero h1 { max-width: 20ch; margin-bottom: .4em; }
.article-standfirst { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 56ch; line-height: 1.6; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: .8rem; color: var(--muted); margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.article-meta strong { color: var(--ink); font-weight: 600; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(32px, 5vw, 68px); align-items: start; padding: clamp(32px, 4vw, 52px) 0 clamp(56px, 7vw, 96px); }
.prose { max-width: var(--measure); font-size: 1.045rem; }
.prose > p:first-of-type { font-size: 1.12rem; color: var(--ink-2); }
.prose h2 { scroll-margin-top: 92px; }
.prose h3 { scroll-margin-top: 92px; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { background: var(--accent-soft); }

.toc { position: sticky; top: 92px; font-size: .84rem; border-left: 1px solid var(--line); padding-left: 18px; }
.toc-title { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin-bottom: .6em; counter-increment: toc; }
.toc a { text-decoration: none; color: var(--muted); display: block; line-height: 1.45; }
.toc a::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--mono); font-size: .7rem; color: #b7ae9c; }
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--accent); font-weight: 600; }
.toc a.active::before { color: var(--accent); }

/* ---------- takeaways ---------- */
.takeaways {
  background: var(--accent-soft); border-radius: var(--radius); padding: 24px 26px; margin: 2rem 0 2.6rem;
  border: 1px solid #d3e0d3;
}
.takeaways h2 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.takeaways ul { margin: 0; padding-left: 1.1em; }
.takeaways li { font-size: .95rem; line-height: 1.55; margin-bottom: .45em; }
.takeaways li:last-child { margin-bottom: 0; }

/* ---------- callout ---------- */
.callout {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0; margin: 2.2rem 0;
}
.callout .callout-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--clay);
  display: block; margin-bottom: .5rem;
}
.callout p { margin: 0; font-size: .98rem; color: var(--ink-2); }
.callout p + p { margin-top: .7em; }

.pullquote {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.62rem); line-height: 1.4;
  color: var(--accent); border-left: 2px solid var(--accent); padding-left: 22px; margin: 2.4rem 0;
  font-style: italic; text-wrap: pretty;
}

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; margin: 2rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
caption { caption-side: top; text-align: left; font-size: .78rem; color: var(--muted); padding: 12px 16px 0; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper-3); border-bottom: 1px solid var(--line); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fffef9; }
td strong { font-weight: 650; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 2rem 0; counter-reset: step; }
.steps > li {
  position: relative; padding-left: 46px; margin-bottom: 1.6rem; counter-increment: step;
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line);
  font-family: var(--mono); font-size: .78rem; color: var(--accent);
  display: grid; place-items: center;
}
.steps > li h3 { margin: .1em 0 .35em; font-size: 1.1rem; }
.steps > li p { font-size: .96rem; color: var(--ink-2); margin-bottom: .6em; }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); margin: 2rem 0 1rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.15rem; color: var(--accent); font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 40px 20px 0; font-size: .97rem; color: var(--ink-2); }
.faq-item .faq-body p { margin-bottom: .8em; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- glossary ---------- */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 46px; margin-top: 2rem; }
.term { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.term dt { font-family: var(--serif); font-size: 1.14rem; margin-bottom: .35em; }
.term dt .letter { font-family: var(--mono); font-size: .68rem; color: var(--clay); margin-right: .6em; letter-spacing: .06em; }
.term dd { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.6; }
.term dd .aka { color: var(--muted); font-size: .84rem; display: block; margin-top: .4em; }

/* ---------- stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.stat .stat-num { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--accent); line-height: 1; display: block; }
.stat .stat-label { font-size: .78rem; color: var(--muted); margin-top: .5rem; display: block; line-height: 1.4; }

/* ---------- footer ---------- */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { font-size: .88rem; color: var(--muted); max-width: 32ch; margin-top: .8rem; }
.footer-col h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .55em; }
.footer-col a { font-size: .86rem; color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: .76rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }

/* ---------- misc ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.pill-row li {
  font-size: .74rem; letter-spacing: .04em; padding: 4px 11px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); margin: 0; background: var(--paper-2);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 1.6rem 0; }
.mini-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--paper-2); }
.mini-card h4 { margin-top: 0; }
.mini-card ul { margin-bottom: 0; font-size: .9rem; }
.mini-card.good { border-top: 2px solid var(--accent); }
.mini-card.bad { border-top: 2px solid var(--clay); }

.related { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 3rem; }
.related h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { border-bottom: 1px solid var(--line-soft); padding: 12px 0; margin: 0; }
.related li:last-child { border-bottom: 0; }
.related a { text-decoration: none; font-size: .96rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.related a:hover { color: var(--accent); }
.related a span { color: var(--muted); font-size: .8rem; flex-shrink: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-btn {
  font: inherit; font-size: .82rem; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--ink-2); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.reading-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--clay); width: 0; z-index: 120; }

.data-note { font-size: .8rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 14px; margin: 1.6rem 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .graph-fig { max-width: 460px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; margin-bottom: 8px; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .toc li { margin: 0; }
  .toc a::before { display: none; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .card-grid, .pillar-grid, .glossary, .two-col, .stat-strip, .footer-grid { grid-template-columns: 1fr; }
  .stat-strip { gap: 18px; }
  .article-meta { font-size: .76rem; }
  .article-hero h1 { max-width: none; }
}

@media print {
  .site-header, .toc, .site-footer, .reading-progress { display: none; }
  body { background: #fff; }
}

/* ---------- answer library ---------- */
.cluster-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 2rem 0 0; }
.cluster-nav li { margin: 0; }
.cluster-nav a {
  display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.cluster-nav a:hover { border-color: var(--accent); color: var(--accent); }
.cluster { scroll-margin-top: 84px; }
.cluster-head { border-top: 1px solid var(--line); padding-top: 22px; }
.cluster-head h2 {
  font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.72rem);
  font-weight: 400; line-height: 1.25; margin: .35em 0 0;
}
.cluster-note { color: var(--ink-2); font-size: .95rem; max-width: 58ch; margin: .7rem 0 1.6rem; }
.qa { padding: 18px 0 18px 22px; border-left: 2px solid var(--line); scroll-margin-top: 84px; transition: border-color .15s ease; }
.qa:hover { border-left-color: var(--accent); }
.qa h3 { font-family: var(--serif); font-size: 1.09rem; font-weight: 400; line-height: 1.42; margin: 0 0 .5em; color: var(--ink); }
.qa p { margin: 0; font-size: .94rem; line-height: 1.66; color: var(--ink-2); }
.qa a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.qa a:hover { background: var(--accent-soft); }

/* ---------- related searches ---------- */
.searches { margin-top: 2.6rem; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.search-tags li { margin: 0; padding: 0; border: 0; }
.search-tags a {
  display: inline-block; font-size: .83rem; line-height: 1.3; color: var(--ink-2);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px;
  padding: 6px 11px; text-decoration: none;
}
.search-tags a:hover { border-color: var(--accent); color: var(--accent); }
