/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-card: #161616;
  --line: #232323;
  --line-strong: #333333;

  --text: #eadbb0;          /* brand cream */
  --text-strong: #f5e9c8;
  --text-muted: #8a8273;
  --text-dim: #6b6555;

  --accent: #eadbb0;
  --accent-soft: rgba(234, 219, 176, 0.08);
  --accent-line: rgba(234, 219, 176, 0.18);

  --edge: #b91c1c;          /* edgy crimson */
  --edge-soft: rgba(185, 28, 28, 0.12);

  --radius: 14px;
  --radius-lg: 22px;

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
  --pad: clamp(20px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
::selection { background: var(--text); color: var(--bg); }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--text);
}
.brand-mark.small { width: 22px; height: 22px; border-radius: 5px; }
.brand-name { font-size: 16px; }
.brand-accent { color: var(--text-muted); }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
}
.nav-links a {
  position: relative;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- CTA Buttons ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.cta-primary {
  background: var(--text);
  color: var(--bg);
}
.cta-primary:hover {
  transform: translateY(-1px);
  background: var(--text-strong);
}
.cta-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.cta-ghost:hover {
  border-color: var(--text);
  background: var(--accent-soft);
}
.cta.big { padding: 14px 24px; font-size: 15px; }
.cta.full { width: 100%; justify-content: center; }

/* ---------- Layout helpers ---------- */
main { display: block; }
section {
  padding: clamp(72px, 10vw, 140px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--text-dim);
  margin: 0 0 18px;
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding-top: clamp(60px, 8vw, 100px);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  opacity: 0.6;
}
.hero-inner { max-width: 600px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.eyebrow em {
  font-style: italic;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0;
}
.lead strong {
  color: var(--text-strong);
  font-weight: 500;
}
.lead em {
  font-style: italic;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.08em;
  letter-spacing: -0.005em;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--edge);
  box-shadow: 0 0 5px rgba(185, 28, 28, 0.4);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--text-strong);
}
.display em {
  font-style: italic;
  color: var(--text-muted);
}
.display.small { font-size: clamp(40px, 5.5vw, 64px); }

.lead {
  font-size: clamp(16px, 1.7vw, 18px);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-meta strong {
  display: block;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-meta span { font-size: 12px; color: var(--text-dim); }
.meta-sep { width: 1px; height: 28px; background: var(--line-strong); }

/* Hero visual / chat preview */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 60% 40%, var(--edge-soft), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.chat-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 60px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(-1deg);
  transition: transform .4s ease;
}
.chat-card:hover { transform: rotate(0); }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #3a2a2a, #1a1010);
  border: 1px solid var(--line-strong);
}
.chat-name { font-size: 14px; font-weight: 500; color: var(--text); }
.chat-status {
  font-size: 12px;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
}
.pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--edge);
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  max-width: 85%;
  line-height: 1.4;
}
.bubble-them {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.bubble-me {
  background: var(--text);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.bubble.typing {
  display: inline-flex;
  gap: 4px;
  padding: 14px 16px;
}
.bubble.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg);
  opacity: 0.55;
}
.bubble.typing span:nth-child(2) { opacity: 0.7; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; margin: 0 auto; }
  .meta-sep { display: none; }
}

/* ---------- Manifesto ---------- */
.manifesto {
  text-align: center;
  max-width: 880px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.big {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--text-strong);
}
.big .muted { color: var(--text-muted); font-style: italic; }
.manifesto-copy {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Characters / Archetypes ---------- */
.characters .big { max-width: 820px; margin-bottom: 24px; }
.characters-lead {
  max-width: 720px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 48px;
}
.archetype-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.archetype {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.archetype::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 60px; height: 60px;
  background: radial-gradient(circle at top right, var(--edge-soft), transparent 70%);
  pointer-events: none;
}
.archetype:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: var(--bg-card);
}
.archetype-tag {
  display: inline-block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-bottom: 14px;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.archetype h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text-strong);
}
.archetype p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}
.characters-foot {
  margin: 40px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}
.inline-link {
  color: var(--text);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 1px;
  margin-left: 4px;
  transition: border-color .2s ease;
}
.inline-link:hover { border-color: var(--text); }
@media (max-width: 980px) { .archetype-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .archetype-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { }
.features .big { max-width: 720px; margin-bottom: 56px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 36px 32px;
  transition: background .25s ease;
}
.feature:hover { background: var(--bg-elev); }
.feature-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--text);
  margin-bottom: 18px;
  border: 1px solid var(--accent-line);
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.feature p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
@media (max-width: 880px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing .big { max-width: 720px; margin-bottom: 56px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tier {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.tier:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.tier.featured {
  background:
    linear-gradient(180deg, rgba(234, 219, 176, 0.04), transparent 50%),
    var(--bg-elev);
  border-color: var(--accent-line);
}
.tier-badge {
  position: absolute;
  top: -10px; left: 24px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.tier-name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.tier-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}
.tier-price .price {
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  line-height: 1;
}
.tier-price .per {
  font-size: 13px;
  color: var(--text-dim);
}
.tier-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 18px;
  font-style: italic;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.tier ul li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.tier ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text);
  margin-top: 7px;
  flex-shrink: 0;
}
.fineprint {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 32px;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq .big { max-width: 720px; margin-bottom: 40px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--text-muted);
  line-height: 1;
  transition: transform .25s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
}

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.cta-final .display { margin-bottom: 36px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }
.footer-meta { display: flex; gap: 10px; align-items: center; color: var(--text-dim); }
.footer-meta a:hover { color: var(--text); }
.dot-sep { color: var(--text-dim); }

/* ---------- From the Blog (homepage) ---------- */
.blog-preview .big { max-width: 720px; margin-bottom: 48px; }
.blog-preview .post-list {
  grid-template-columns: repeat(3, 1fr);
}
.blog-preview .post-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--text-strong);
}
.blog-preview-foot {
  text-align: center;
  margin: 36px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 880px) {
  .blog-preview .post-list { grid-template-columns: 1fr; }
}

/* ---------- Blog ---------- */
.blog-hero {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(40px, 6vw, 60px);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  color: var(--text-strong);
}
.blog-hero p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.post-card {
  display: block;
  padding: 28px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.post-card:hover {
  border-color: var(--line-strong);
  background: var(--bg-card);
  transform: translateY(-2px);
}
.post-card .post-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.post-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--text-strong);
}
.post-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.post-card .post-meta {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ---------- Article ---------- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad) clamp(72px, 10vw, 120px);
}
.breadcrumbs {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-dim); }

.article h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text-strong);
}
.article-meta {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.article-body {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text);
}
.article-body > p:first-of-type {
  font-size: 18px;
  color: var(--text-strong);
  line-height: 1.65;
  margin-top: 0;
}
.article-body p {
  margin: 0 0 22px;
  color: var(--text-muted);
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 56px 0 16px;
  color: var(--text-strong);
}
.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 36px 0 12px;
  color: var(--text-strong);
}
.article-body ul, .article-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
  color: var(--text-muted);
}
.article-body li {
  margin: 6px 0;
}
.article-body strong {
  color: var(--text-strong);
  font-weight: 600;
}
.article-body em {
  color: var(--text);
  font-style: italic;
}
.article-body a {
  color: var(--text-strong);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.article-body a:hover { border-color: var(--text); }
.article-body blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 2px solid var(--text);
  background: var(--accent-soft);
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--text-strong);
  font-style: italic;
  line-height: 1.5;
}
.article-cta {
  margin-top: 56px;
  padding: 32px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}
.article-cta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text-strong);
}
.article-cta p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.related {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.related h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin: 0 0 18px;
  font-weight: 500;
}
.related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.related a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease;
}
.related a:hover {
  border-color: var(--line-strong);
  background: var(--bg-elev);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
