/* =====================================================================
   astra · 「愿の小窝」主题样式
   设计语言：xAI —— 近黑画布、白色细描边胶囊、400 字重、大写等宽小标签、
   细线代替阴影、几乎只有黑白。设计说明见项目根目录 DESIGN.md。
   ===================================================================== */

/* ---------- 字体（只含拉丁字符；中文走系统字体） ---------- */
@font-face {
  font-family: "Inter Web";
  src: url("/fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono Web";
  src: url("/fonts/geist-mono-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 设计变量 ---------- */
:root {
  --canvas: #0a0a0a;
  --canvas-soft: #1a1c20;
  --canvas-card: #141414;
  --canvas-mid: #363a3f;
  --hairline: #212327;
  --hair-strong: rgba(255, 255, 255, 0.25);
  --hair-hover: rgba(255, 255, 255, 0.55);
  --ink: #ffffff;
  --body: #dadbdf;
  --mute: #7d8187;
  --accent: #ff7a17;         /* 日落橙：只用在首屏小圆点和选中文字 */
  --twilight: #c4b5fd;
  --breeze: #a0c3ec;
  --sunset-soft: #ffc285;

  --sans: "Inter Web", "Inter", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono Web", "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

  --r-sm: 8px;
  --r-pill: 9999px;
  --nav-h: 64px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --t-hover: 150ms;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
a, button, .pill { touch-action: manipulation; }
html {
  background: var(--canvas);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--body);
  font: 400 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-weight: 400; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(255, 122, 23, 0.4); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--canvas); font-size: 14px;
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 768px; }

/* ---------- 字号阶梯（全部 400 字重，展示字号负字距） ---------- */
.display-xl {
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.display-md {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* 大写等宽小标签：像代码注释 */
.eyebrow {
  margin: 0 0 16px;
  font: 400 14px/20px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow--sm { font-size: 12px; line-height: 16px; color: var(--mute); margin-bottom: 12px; }
.eyebrow a { transition: color var(--t-hover) ease; }
.eyebrow--dot::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}
.meta {
  display: flex; flex-wrap: wrap; gap: 4px 20px;
  font: 400 12px/16px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- 胶囊按钮：唯一的交互形状 ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font: 400 14px/20px var(--sans);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease,
              color var(--t-hover) ease, transform 160ms var(--ease-out);
}
.pill--sm { min-height: 32px; padding: 4px 12px; }
.pill--primary { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.pill .arrow { display: inline-block; transition: transform var(--t-hover) var(--ease-out); }
.pill .count { font: 12px/16px var(--mono); color: var(--mute); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav__brand { display: inline-flex; align-items: center; height: 44px; color: var(--ink); white-space: nowrap; }
.nav__logo { display: block; width: auto; height: 40px; }
@media (max-width: 767px) { .nav__logo { height: 34px; } }
.nav__links { display: flex; gap: 4px; }
.nav__link {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  color: var(--body);
  font-size: 14px; line-height: 20px;
  transition: color var(--t-hover) ease, background-color var(--t-hover) ease;
}
.nav__link[aria-current="page"] { color: var(--ink); background: var(--canvas-soft); }
.nav__toggle { display: none; }

@media (max-width: 767px) {
  .js .nav__toggle { display: inline-flex; min-height: 36px; }
  .nav__links { flex-wrap: wrap; justify-content: flex-end; }
  .js .nav__links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0;
    padding: 4px 20px 16px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    opacity: 0; transform: translateY(-6px); visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .js .nav[data-open] .nav__links {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
  }
  .js .nav[data-open] { border-bottom-color: var(--hairline); }
  .js .nav__link {
    display: flex; align-items: center; min-height: 52px;
    padding: 0; border-radius: 0; background: none;
    border-bottom: 1px solid var(--hairline);
    font-size: 16px;
  }
  .js .nav__link:last-child { border-bottom: 0; }
  .js .nav__link[aria-current="page"] { background: none; }
}

/* ---------- 首屏 ---------- */
.hero { position: relative; padding: 144px 0 112px; }
/* 首屏背景图：只在首页；左侧和底部渐变到画布黑，保证标题可读、与下方内容无缝衔接 */
.hero--bg { min-height: min(86vh, 760px); min-height: min(86svh, 760px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero--bg > .container { position: relative; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg img {
  position: absolute; top: 0; right: 0;
  width: min(100%, 1180px); height: 100%;
  object-fit: cover; object-position: 45% 20%;
  filter: brightness(.62) saturate(.82);
  /* 图片自身的左边、上边渐隐：无论屏幕多宽，图片边缘都融进黑色，不出现硬边 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 42%), linear-gradient(180deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 42%), linear-gradient(180deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--canvas) 0%, rgba(10,10,10,.92) 26%, rgba(10,10,10,.45) 52%, rgba(10,10,10,.12) 78%, rgba(10,10,10,.35) 100%),
    linear-gradient(0deg, var(--canvas) 0%, rgba(10,10,10,0) 34%),
    linear-gradient(180deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,0) 18%);
}
.hero--bg .hero__lead { color: var(--ink); }
.hero--bg .hero__sub { color: var(--body); }
.hero__title { margin: 8px 0 32px; }
.hero__lead { max-width: 600px; font-size: 18px; line-height: 28px; color: var(--body); }
.hero__sub { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--mute); }

/* ---------- 内容区块 ---------- */
.band { padding: 64px 0 80px; border-top: 1px solid var(--hairline); }
.band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }

/* ---------- 卡片：细线描边，无阴影 ---------- */
.card {
  position: relative;
  background: var(--canvas-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 24px;
  transition: border-color var(--t-hover) ease;
}
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.post-card { display: flex; flex-direction: column; min-height: 248px; }
.post-card__cover {
  margin: -24px -24px 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas-soft);
}
.post-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-size: 22px; line-height: 30px; letter-spacing: -0.01em; }
.post-card__text {
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 14px; line-height: 22px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* 按钮贴底；正文和按钮之间至少 32px */
.post-card__cta { align-self: flex-start; margin-top: auto; }
.post-card__title, .post-card__text { margin-bottom: 32px; }
.post-card__title:has(+ .post-card__text) { margin-bottom: 0; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.empty { color: var(--mute); }

/* 关于这里 */
.profile { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.profile__card { display: flex; flex-direction: column; gap: 24px; }
.profile__who { display: flex; align-items: center; gap: 16px; }
.avatar {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--hairline);
  background: var(--canvas-soft);
}
.avatar--lg { width: 72px; height: 72px; }
.profile__name { color: var(--ink); font-size: 20px; line-height: 28px; }
.profile__desc { color: var(--mute); font-size: 14px; line-height: 22px; }
.notice { padding-top: 24px; border-top: 1px solid var(--hairline); }
.notice p:last-child { color: var(--body); font-size: 15px; line-height: 26px; }
.profile__more { align-self: flex-start; margin-top: auto; }

.metrics { display: grid; grid-template-rows: repeat(3, 1fr); padding: 0; }
.metric {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--hairline);
  transition: background-color var(--t-hover) ease;
}
.metric:last-child { border-bottom: 0; }
.metric .eyebrow { margin: 0; }
.metric__num { color: var(--ink); font-size: 40px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ---------- 分页 ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-number,
.pagination .extend,
.pagination .space {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1px solid var(--hair-strong);
  border-radius: var(--r-pill);
  color: var(--ink);
  font: 400 13px/1 var(--mono);
  transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease;
}
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.pagination .space { border-color: transparent; color: var(--mute); }

/* ---------- 页面 / 归档 ---------- */
.page, .post { padding: 96px 0 96px; }
.page__head { margin-bottom: 48px; }
.page__head .display-md { margin-bottom: 20px; }
.page__who { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }

.year + .year { margin-top: 48px; }
.year__label {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  color: var(--mute);
  font: 400 14px/20px var(--mono);
  letter-spacing: 0.1em;
}
.row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--body);
  transition: color var(--t-hover) ease;
}
.rows > .row:first-child { border-top: 1px solid var(--hairline); }
.row__date { color: var(--mute); font: 400 13px/20px var(--mono); letter-spacing: 0.06em; }
.row__title { font-size: 17px; line-height: 26px; }
.row__arrow { color: var(--mute); transition: color var(--t-hover) ease, transform var(--t-hover) var(--ease-out); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.tags--cloud { margin-top: 0; }

/* ---------- 文章 ---------- */
.post__head { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.post__title { margin-bottom: 24px; }
.post__cover {
  display: block; width: 100%;
  margin: 0 0 48px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
}

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.post-nav__item { display: flex; flex-direction: column; }
.post-nav__item--next { text-align: right; grid-column: 2; }
.post-nav__title { color: var(--ink); font-size: 17px; line-height: 26px; }

/* 正文排版：中文阅读优先 */
.prose { font-size: 17px; line-height: 1.85; color: var(--body); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.2em; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  scroll-margin-top: calc(var(--nav-h) + 16px);
  letter-spacing: -0.015em;
}
.prose h1, .prose h2 { margin-top: 2.2em; font-size: 28px; line-height: 36px; }
.prose h3 { margin-top: 1.8em; font-size: 22px; line-height: 30px; }
.prose h4, .prose h5, .prose h6 { margin-top: 1.6em; font-size: 18px; line-height: 28px; }
.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color var(--t-hover) ease;
}
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--mute); }
.prose blockquote {
  margin-left: 0; margin-right: 0;
  padding: 2px 0 2px 20px;
  border-left: 1px solid var(--hair-strong);
  color: var(--mute);
}
.prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--hairline); }
.prose img { display: block; margin-left: auto; margin-right: auto; border: 1px solid var(--hairline); border-radius: var(--r-sm); }
.prose :not(pre) > code {
  padding: 0.15em 0.4em;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--canvas-soft);
  color: var(--ink);
  font: 0.86em/1 var(--mono);
}
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 24px; }
.prose th {
  background: var(--canvas-soft);
  color: var(--mute);
  font: 400 12px/16px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  text-align: left;
}
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--hairline); }

/* 代码块（highlight.js，Hexo 不带 hljs- 前缀） */
.prose figure.highlight, .prose > pre {
  margin-left: 0; margin-right: 0;
  overflow-x: auto;
  background: var(--canvas-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  font: 400 14px/1.7 var(--mono);
  color: var(--body);
}
.prose > pre { padding: 16px 20px; }
.prose figure.highlight table { display: table; width: 100%; border-collapse: collapse; margin: 0; font-size: inherit; line-height: inherit; }
.prose figure.highlight td { padding: 0; border: 0; vertical-align: top; }
.prose figure.highlight pre { margin: 0; font: inherit; background: none; }
.prose figure.highlight .gutter pre {
  padding: 16px 12px 16px 16px;
  border-right: 1px solid var(--hairline);
  color: #4b4f56;
  text-align: right;
  user-select: none;
}
.prose figure.highlight .code pre { padding: 16px 20px; }
.prose figure.highlight figcaption {
  padding: 10px 20px;
  border-bottom: 1px solid var(--hairline);
  color: var(--mute);
  font: 400 12px/16px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.highlight .comment, .highlight .quote, .highlight .meta { color: #5f646b; }
.highlight .keyword, .highlight .selector-tag, .highlight .built_in, .highlight .name, .highlight .tag { color: var(--twilight); }
.highlight .string, .highlight .attr-value, .highlight .regexp, .highlight .addition { color: var(--sunset-soft); }
.highlight .number, .highlight .literal, .highlight .attr, .highlight .attribute, .highlight .property, .highlight .symbol, .highlight .variable { color: var(--breeze); }
.highlight .title, .highlight .section, .highlight .type, .highlight .class .title { color: var(--ink); }
.highlight .deletion { color: #f28b82; }

/* ---------- 页脚 ---------- */
.footer { margin-top: 0; padding: 48px 0 32px; border-top: 1px solid var(--hairline); font-size: 14px; line-height: 20px; color: var(--body); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__brand { color: var(--ink); font-size: 16px; }
.footer__about p { margin-top: 8px; color: var(--mute); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-content: flex-start; }
.footer__links a {
  color: var(--mute);
  font: 400 12px/20px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
  transition: color var(--t-hover) ease;
}
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--mute);
  font: 400 12px/16px var(--mono); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- 悬停：只在有鼠标的设备上 ---------- */
@media (hover: hover) and (pointer: fine) {
  .pill:hover { border-color: var(--hair-hover); background: rgba(255, 255, 255, 0.04); }
  .pill--primary:hover { background: rgba(255, 255, 255, 0.86); border-color: rgba(255, 255, 255, 0.86); }
  .pill:hover .arrow { transform: translateX(2px); }
  .nav__link:hover { color: var(--ink); background: var(--canvas-soft); }
  .card:has(.stretch):hover, a.card:hover { border-color: var(--hair-strong); }
  .card:hover .post-card__cta { border-color: var(--hair-hover); }
  .card:hover .post-card__cta .arrow { transform: translateX(2px); }
  .metric:hover { background: var(--canvas-soft); }
  .row:hover { color: var(--ink); }
  .row:hover .row__arrow { color: var(--ink); transform: translateX(3px); }
  .pagination a:hover { border-color: var(--hair-hover); background: rgba(255, 255, 255, 0.04); }
  .prose a:hover { text-decoration-color: var(--ink); }
  .footer__links a:hover, .eyebrow a:hover { color: var(--ink); }
}

/* ---------- 按下反馈 ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .pill:active, .pagination a:active { transform: scale(0.97); }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .nav__links, .js .nav[data-open] .nav__links { transform: none; }
  .pill .arrow, .row__arrow { transition: none; }
}

/* ---------- 手机 ---------- */
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .hero { padding: 88px 0 72px; }
  .hero__title { margin-bottom: 24px; }
  .hero__lead { font-size: 16px; line-height: 26px; }
  /* 手机：图放在上半部分，文字压在下半部分的黑色渐变上 */
  .hero--bg { min-height: 0; padding: 0 0 64px; flex-direction: column; align-items: stretch; }
  .hero--bg .hero__bg { position: relative; inset: auto; z-index: 0; height: 58vh; height: 58svh; max-height: 520px; margin-bottom: -150px; }
  .hero--bg .hero__bg img { width: 100%; object-position: 50% 15%; -webkit-mask-image: none; mask-image: none; }
  .hero--bg .hero__bg::after {
    background:
      linear-gradient(0deg, var(--canvas) 0%, rgba(10,10,10,.72) 30%, rgba(10,10,10,0) 62%),
      linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 22%);
  }
  .hero--bg > .container { z-index: 1; }
  .band { padding: 48px 0 56px; }
  .band__head { margin-bottom: 28px; }
  .cards, .profile, .post-nav { grid-template-columns: minmax(0, 1fr); }
  .post-nav__item--next { grid-column: auto; }
  .post-card { min-height: 0; }
  .page, .post { padding: 56px 0 72px; }
  .page__head, .post__head { margin-bottom: 36px; }
  .prose { font-size: 16px; }
  .prose h1, .prose h2 { font-size: 24px; line-height: 32px; }
  .row { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; }
  .row__title { font-size: 16px; line-height: 24px; }
  .footer__base { margin-top: 32px; }
}
@media (pointer: coarse) {
  .pill--sm { min-height: 40px; padding: 8px 14px; }
}
