/*
 * saliq.ai/blog stylesheet. One file, content-hashed by the build (assets/blog.<hash>.css).
 * Tokens are copied from the landing (frontend/src/index.css @theme): canvas/ink/brand colours,
 * pill buttons, 0.75/1rem radii, hairline cards. Light theme only, like the landing.
 * The font URL placeholder below is replaced by the build with the hashed font path.
 */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/blog/assets/fonts/HankenGrotesk-var.5257af7ac5.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
/* Same metrics as Hanken Grotesk on Arial, so the swap does not move the text. */
@font-face {
  font-family: "Hanken Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 101.1%;
  ascent-override: 98.9%;
  descent-override: 30%;
  line-gap-override: 0%;
}

:root {
  --canvas: oklch(98.5% 0.002 247.839);
  --surface: #fff;
  --rail: oklch(20.8% 0.042 265.755);
  --rail-deep: oklch(12.9% 0.042 264.695);
  --line: oklch(0.86 0.01 0.14);
  --line-soft: oklch(96.7% 0.003 264.542);
  --ink: oklch(21% 0.034 264.665);
  --ink-2: oklch(0.27 0.01 256.86);
  --ink-muted: oklch(0.48 0.02 264.39);
  --brand: oklch(0.65 0.19 256.95);
  --brand-hover: oklch(0.59 0.17 256.94);
  --link: oklch(0.52 0.19 262);
  --ring: #818cf8;
  --radius-card: 0.75rem;
  --radius-panel: 1rem;
  --shadow-raised: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-overlay: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --font: "Hanken Grotesk", "Hanken Fallback", "Inter", ui-sans-serif, system-ui, Arial, sans-serif;
  --gutter: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) {
  body {
    font-size: 18px;
  }
  :root {
    --gutter: 24px;
  }
}
@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
  }
}
main {
  flex: 1 0 auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--link);
}
a:hover {
  color: var(--brand-hover);
}
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 9999px;
  z-index: 100;
  font-size: 14px;
}
.skip:focus {
  left: 8px;
}
.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Buttons (landing: pills; near-black primary, light-grey secondary) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
  font: 500 13px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  transition: background-color 0.2s, transform 0.2s;
}
.btn:hover {
  background: #000;
  color: #fff;
}
.btn:active {
  transform: scale(0.98);
}
.btn-secondary {
  background: var(--line-soft);
  color: var(--ink);
}
.btn-secondary:hover {
  background: #e5e7eb;
  color: var(--ink);
}
.btn-md {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}
.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}
.btn-inverse {
  background: #fff;
  color: var(--ink);
}
.btn-inverse:hover {
  background: #f3f4f6;
  color: var(--ink);
}
.btn-outline-inverse {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
}
.btn-outline-inverse:hover {
  background: rgb(255 255 255 / 0.1);
  color: #fff;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  flex-shrink: 0;
}
.logo img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0 auto 0 24px;
  padding: 0;
}
.nav-links a,
.menu-panel a:not(.btn) {
  display: inline-flex;
  align-items: center;
  height: 64px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  position: relative;
}
.nav-links a:hover {
  color: #000;
}
.nav-links a[aria-current="page"] {
  color: var(--ink);
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 9999px;
  background: var(--brand);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-login {
  display: none;
}
.menu {
  position: static;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--ink-2);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary:hover {
  background: var(--line-soft);
}
.menu .icon-close {
  display: none;
}
.menu[open] .icon-open {
  display: none;
}
.menu[open] .icon-close {
  display: block;
}
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-overlay);
  padding: 8px var(--gutter) 16px;
}
.menu-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-panel li a:not(.btn) {
  display: block;
  height: auto;
  padding: 12px;
  border-radius: 0.5rem;
}
.menu-panel li a:not(.btn):hover {
  background: var(--line-soft);
}
@media (min-width: 768px) {
  .menu {
    display: none;
  }
  .nav-links {
    display: flex;
  }
  .nav-login {
    display: inline-flex;
  }
}

/* ── Shared bits ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--brand);
}
.crumbs {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0 0 20px;
  line-height: 1.4;
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.crumbs li + li::before {
  content: "\203A";
  margin-right: 6px;
}
.crumbs a {
  color: var(--ink-muted);
}
.crumbs a:hover {
  color: var(--ink);
}
.crumbs [aria-current] {
  color: var(--ink);
}

/* ── Article ── */
.article {
  padding: 32px 0 24px;
}
@media (min-width: 640px) {
  .article {
    padding-top: 48px;
  }
}
.col {
  max-width: 52rem;
  margin: 0 auto;
}
.article h1,
.page-title {
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .article h1,
  .page-title {
    font-size: 2.75rem;
  }
}
.lead {
  margin: 20px 0 0;
  max-width: 70ch;
  font-size: 1.15em;
  line-height: 1.55;
  color: var(--ink-2);
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  object-fit: cover;
}
.byline-text {
  font-size: 15px;
  line-height: 1.4;
}
.byline-name {
  font-weight: 600;
  color: var(--ink);
}
.byline-role,
.byline-meta {
  color: var(--ink-muted);
}
.cover {
  margin: 32px 0 0;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--rail-deep);
}
.cover img {
  width: 100%;
  height: auto;
}

.toc {
  margin: 32px 0 0;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  max-width: 70ch;
}
.toc h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}
.toc ol {
  margin: 0;
  padding-left: 1.3em;
  font-size: 16px;
  line-height: 1.5;
}
.toc li {
  margin: 6px 0;
  padding-left: 4px;
}
.toc a {
  color: var(--ink-2);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.toc a:hover {
  color: var(--link);
}

.prose {
  margin-top: 8px;
  overflow-wrap: break-word;
}
.prose > p,
.prose > ul,
.prose > ol,
.prose > h2,
.prose > h3 {
  max-width: 70ch;
}
.prose h2,
.section-h {
  margin: 2.6em 0 0.6em;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  scroll-margin-top: 5rem;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .prose h2,
  .section-h {
    font-size: 1.85rem;
  }
}
.prose p {
  margin: 0 0 1.15em;
}
.prose a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose ul {
  margin: 0 0 1.3em;
  padding-left: 1.3em;
}
.prose ul li {
  margin: 0.45em 0;
  padding-left: 0.2em;
}
.prose ul li::marker {
  color: var(--brand);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.5em;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 0 52px;
  margin: 0 0 1.2em;
  min-height: 36px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.steps .step-title {
  display: block;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
  margin-top: 5px;
}
.steps .step-text {
  display: block;
  margin-top: 4px;
}

.table-wrap {
  margin: 0 0 1.6em;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  max-width: 100%;
}
.table-wrap table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.5;
}
.table-wrap caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 10px;
  font-weight: 600;
  color: var(--ink);
}
.table-wrap th,
.table-wrap td {
  text-align: left;
  vertical-align: top;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
}
.table-wrap th {
  background: var(--line-soft);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.asset {
  margin: 0 0 1.8em;
}
.asset-label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 10px;
  border-radius: 9999px;
  background: var(--line-soft);
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.asset-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-raised);
}
.asset-frame img {
  width: 100%;
  height: auto;
}
.asset figcaption {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 70ch;
}

/* WhatsApp-style transcript: business inbox view (customer left, agent right). */
.chat {
  max-width: 28rem;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #efe9e0;
  box-shadow: var(--shadow-raised);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.chat-initial {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: #dbeafe;
  color: #1d4ed8;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px;
}
.chat-name {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--ink);
}
.chat-status {
  display: block;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink-muted);
}
.chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  list-style: none;
  margin: 0;
}
.msg {
  max-width: 86%;
  padding: 8px 12px;
  border-radius: 1rem;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: #000;
  box-shadow: 0 1px 1px rgb(0 0 0 / 0.08);
  overflow-wrap: anywhere;
}
.msg p {
  margin: 0;
}
.msg time {
  display: block;
  margin-top: 2px;
  text-align: right;
  font-size: 11px;
  line-height: 1.3;
  color: #6b7280;
  font-weight: 400;
}
.msg-customer {
  align-self: flex-start;
  background: #fff;
  border-top-left-radius: 0.375rem;
}
.msg-agent {
  align-self: flex-end;
  background: #d9fdd3;
  border: 1px solid #dcfce7;
  border-top-right-radius: 0.375rem;
}
.msg-system {
  align-self: center;
  max-width: 92%;
  padding: 3px 12px;
  border-radius: 9999px;
  background: #fffbeb;
  color: #b45309;
  box-shadow: inset 0 0 0 1px #fde68a;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.callout {
  margin: 2.2em 0 2.4em;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  max-width: 100%;
}
.callout h3 {
  margin: 8px 0 8px;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 600;
}
.callout p {
  margin: 0 0 16px;
  max-width: 62ch;
}
.callout .btn {
  color: #fff;
}

/* ── FAQ, sources, related ── */
.faq,
.sources,
.related {
  margin-top: 3em;
}
.faq h2,
.sources h2,
.related h2 {
  margin: 0 0 0.6em;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
@media (min-width: 640px) {
  .faq h2,
  .sources h2,
  .related h2 {
    font-size: 1.85rem;
  }
}
.faq details {
  max-width: 70ch;
  border-top: 1px solid var(--line);
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 12px;
}
.faq details > div {
  padding: 0 0 18px;
}
.faq details > div p {
  margin: 0;
}
.sources ol {
  max-width: 70ch;
  margin: 0;
  padding-left: 1.4em;
  font-size: 15.5px;
  line-height: 1.55;
}
.sources li {
  margin: 0 0 0.7em;
  padding-left: 4px;
  overflow-wrap: anywhere;
}
.sources .src-meta {
  color: var(--ink-muted);
}

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: #d1d5db;
  transform: translateY(-2px);
  color: inherit;
}
.card img {
  width: 100%;
  height: auto;
  background: var(--rail-deep);
}
.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.card-sum {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.card-meta {
  margin: auto 0 0;
  padding-top: 4px;
  font-size: 14px;
  color: var(--ink-muted);
}
.card-featured {
  margin-top: 0;
}
@media (min-width: 900px) {
  .card-featured {
    flex-direction: row;
  }
  .card-featured img {
    width: 58%;
    flex: none;
    align-self: flex-start;
  }
  .card-featured .card-body {
    padding: 36px;
    justify-content: center;
    gap: 14px;
  }
  .card-featured .card-title {
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.025em;
  }
  .card-featured .card-sum {
    font-size: 17px;
  }
}

.index-head {
  padding: 40px 0 28px;
}
@media (min-width: 640px) {
  .index-head {
    padding: 56px 0 36px;
  }
}
.index-head .lead {
  max-width: 56ch;
}
.index-head h1 {
  margin-top: 12px;
}
.index-list {
  padding-bottom: 56px;
}
.index-list h2 {
  margin: 40px 0 16px;
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 600;
}
.empty {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 40px 24px;
  text-align: center;
}
.empty h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.4rem;
}
.empty p {
  margin: 0;
}

/* ── CTA band ── */
.cta {
  margin: 56px 0 0;
}
.cta-band {
  background: var(--rail-deep);
  color: #fff;
  border-radius: var(--radius-panel);
  padding: 36px 24px;
  text-align: center;
}
@media (min-width: 640px) {
  .cta-band {
    padding: 56px 40px;
  }
}
.cta-band h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .cta-band h2 {
    font-size: 2.4rem;
  }
}
.cta-band p {
  margin: 14px auto 0;
  max-width: 44ch;
  color: #cbd5e1;
}
.cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Footer (landing footer: dark, logo + tagline + columns + legal line) ── */
.site-footer {
  margin-top: 64px;
  background: var(--rail-deep);
  color: #cbd5e1;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-top: 56px;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 64px;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.6fr repeat(4, 1fr);
  }
}
.footer-brand img {
  height: 32px;
  width: auto;
}
.footer-tag {
  margin: 20px 0 0;
  max-width: 24rem;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}
.social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.15);
  color: #cbd5e1;
}
.social a:hover {
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}
.footer-col h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.footer-col li {
  margin: 0 0 10px;
}
.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.footer-col a:hover {
  color: #fff;
}
.footer-legal {
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
}

/* ── 404 ── */
.nf {
  padding: 72px 0 24px;
  text-align: center;
}
.nf p {
  margin: 16px auto 0;
  max-width: 44ch;
}
.nf .cta-actions {
  margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ── Author page and byline link ── */
a.byline-name {
  text-decoration: none;
}
a.byline-name:hover,
a.byline-name:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}
.avatar-lg {
  width: 96px;
  height: 96px;
  font-size: 30px;
}
.author-card .page-title {
  margin: 4px 0 0;
}
.author-role {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 17px;
}
.index-head .author-card + .lead {
  margin-top: 20px;
}
.author-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 16px 0 0;
  padding: 0;
}
.author-links a {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 480px) {
  .author-card {
    gap: 14px;
  }
  .avatar-lg {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }
}
