/* HealthTimeline marketing site. Mirrors docs/DESIGN-SYSTEM.md ("quiet clinical"):
   warm off-white, ink, serif headlines, mono numbers, no shadows or gradients, green only for evidence. */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "PingFang SC", "Noto Sans TC", "Noto Sans SC", system-ui, sans-serif;
  --serif: "New York", ui-serif, Georgia, "Songti TC", "Songti SC", serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1160px;
  --gutter: 24px;
  --bezel: #141414;
  --band-muted: rgb(255 255 255 / 0.66);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bezel: #3A3A36; --band-muted: rgb(20 20 20 / 0.66); }
}
:root[data-theme="dark"] { --bezel: #3A3A36; --band-muted: rgb(20 20 20 / 0.66); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ht-bg); color: var(--ht-ink);
  font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
.lead { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ht-green); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
.mono { font-family: var(--mono); font-weight: 500; }
.muted { color: var(--ht-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ht-ink); color: var(--ht-on-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.section-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ht-muted); margin: 0 0 16px; }
.display { font-family: var(--serif); font-size: clamp(36px, min(5vw, 7.4vh), 64px); line-height: 1.05; letter-spacing: -0.025em; }
.title { font-family: var(--serif); font-size: clamp(30px, min(4.2vw, 6.4vh), 50px); line-height: 1.08; letter-spacing: -0.02em; max-width: 18ch; }
.title.wide { max-width: 24ch; }
.title.sm { font-size: clamp(28px, 3vw, 36px); margin-bottom: 28px; }
.lead { font-size: clamp(17px, min(1.5vw, 2.5vh), 20px); line-height: 1.5; color: var(--ht-muted); max-width: 34em; }
.section { padding: clamp(72px, 12vh, 120px) 0; }
.section-head { margin-bottom: 56px; }
.section-head .lead { margin-top: 20px; }
@media (max-width: 760px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

/* Buttons (PrimaryButton: 52 pt capsule, ink fill; ghost uses soft) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; background: var(--ht-ink); color: var(--ht-on-ink); font-size: 16px; font-weight: 500;
  text-decoration: none; white-space: nowrap; transition: opacity 0.15s, transform 0.15s;
}
.btn:hover { opacity: 0.86; }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: var(--ht-soft); color: var(--ht-ink); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--ht-green); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Evidence marks (EvidenceMark: only "Original" gets the green check) */
.evidence { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--ht-soft); color: var(--ht-muted); }
.evidence.document { background: var(--ht-green-soft); color: var(--ht-green); }
.evidence svg { width: 13px; height: 13px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(250 249 246 / 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--ht-divider); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header { background: rgb(18 18 17 / 0.86); } }
:root[data-theme="dark"] .site-header { background: rgb(18 18 17 / 0.86); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.mark-tile { fill: var(--ht-ink); }
.mark-line { stroke: var(--ht-bg); }
.mark-dot { fill: var(--ht-bg); }
.mark-dot.accent { fill: var(--ht-green); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mark-dot.accent { fill: #1E6B52; } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--ht-muted); text-decoration: none; }
.nav a:hover { color: var(--ht-ink); }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--ht-soft); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(280px, calc(100vw - 32px)); background: var(--ht-surface); border-radius: 22px; padding: 10px; border: 1px solid var(--ht-border); display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-size: 16px; }
.menu-panel a:hover { background: var(--ht-soft); }
.menu-panel .btn { margin-top: 6px; }
@media (max-width: 880px) { .nav, .header-cta { display: none; } .menu { display: block; } }

/* Hero */
.hero {
  /* The phones take their size from the window height, so the whole hero fits on one laptop screen. */
  --hero-pad-top: clamp(20px, 5vh, 64px);
  --hero-pad-bottom: clamp(28px, 6vh, 80px);
  --stack-h: clamp(380px, calc(100svh - 68px - var(--hero-pad-top) - var(--hero-pad-bottom) - 34px), 620px);
  --front-h: calc(var(--stack-h) * 0.95);
  --back-h: calc(var(--stack-h) * 0.85);
  --front-w: calc((var(--front-h) - 20px) / 2.168 + 20px);
  --back-w: calc((var(--back-h) - 20px) / 2.168 + 20px);
  --overlap: 48px;
  padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy .display { margin: clamp(14px, 2.6vh, 22px) 0 clamp(14px, 2.6vh, 24px); }
.hero-copy .actions { margin-top: clamp(20px, 4vh, 36px); }
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--ht-surface); font-size: 14px; }
.badge .evidence { min-height: 24px; font-size: 12.5px; }
.hero-points { list-style: none; margin: clamp(18px, 3.6vh, 40px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--ht-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--ht-ink); }

.device-stack { position: relative; height: var(--stack-h); width: calc(var(--front-w) + var(--back-w) - var(--overlap)); max-width: 100%; margin-left: auto; }
.phone { position: relative; background: var(--bezel); border-radius: 48px; padding: 10px; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; transform: translateX(-50%); border-radius: 999px; background: var(--bezel); z-index: 1; }
.phone img { width: 100%; border-radius: 38px; }
.device-stack .phone.front { position: absolute; right: 0; top: 0; width: var(--front-w); z-index: 2; }
.device-stack .phone.back { position: absolute; left: 0; top: calc(var(--stack-h) * 0.1); width: var(--back-w); z-index: 1; }
.float-card { position: absolute; z-index: 3; border-radius: 20px; padding: 14px 16px; font-size: 14px; line-height: 1.4; }
.float-card.ink { background: var(--ht-ink); color: var(--ht-on-ink); width: 250px; left: 24px; bottom: 0; }
.float-card.ink .float-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.62; margin-bottom: 4px; }
.caption { margin-top: 14px; font-size: 12.5px; color: var(--ht-faint); text-align: right; }
@media (max-height: 700px) and (min-width: 981px) {
  .phone { border-radius: 40px; padding: 8px; }
  .phone img { border-radius: 32px; }
  .phone::before { top: 15px; height: 18px; }
  .float-card.ink { width: 220px; font-size: 13px; padding: 12px 14px; }
}
@media (max-width: 980px) {
  .hero { --stack-h: 560px; --hero-pad-top: 40px; --hero-pad-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .device-stack { margin: 0 auto; }
  .caption { text-align: center; }
}
@media (max-width: 480px) {
  .hero { --stack-h: 460px; --overlap: 52px; --hero-pad-top: 28px; }
  .device-stack .phone { border-radius: 38px; padding: 8px; }
  .device-stack .phone img { border-radius: 30px; }
  .device-stack .phone::before { top: 15px; height: 18px; }
  .float-card.ink { width: 214px; left: 0; font-size: 13px; }
  .hero-copy .actions .btn { flex: 1 1 100%; }
}
@media (max-width: 360px) { .hero { --stack-h: 400px; } }

/* Reads strip */
.reads { padding: 28px 0; border-top: 1px solid var(--ht-divider); border-bottom: 1px solid var(--ht-divider); }
.reads-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.reads-row .section-label { margin: 0 10px 0 0; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ht-surface); font-size: 14px; }
.chip.lang { font-family: var(--sans); background: var(--ht-soft); }

/* Problem */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split .title + .lead { margin-top: 24px; }
.split .lead + .lead { margin-top: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }
.doc-fan { position: relative; height: 420px; max-width: 480px; width: 100%; margin: 0 auto; }
.doc { position: absolute; width: 58%; aspect-ratio: 3 / 2.3; object-fit: cover; object-position: top; background: #fff; border: 1px solid var(--ht-border); border-radius: 10px; }
.doc.d1 { left: 0; top: 30px; transform: rotate(-7deg); }
.doc.d2 { right: 2%; top: 0; transform: rotate(5deg); }
.doc.d3 { left: 8%; bottom: 20px; transform: rotate(3deg); }
.doc.d4 { right: 0; bottom: 0; transform: rotate(-4deg); }
@media (max-width: 480px) { .doc-fan { height: 300px; } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 72px; }
.stat { background: var(--ht-surface); border-radius: 22px; padding: 28px; }
.stat .num { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(44px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 16px; }
.stat p { font-size: 16px; color: var(--ht-muted); }
.stat sup a { color: var(--ht-green); text-decoration: none; font-family: var(--mono); font-size: 12px; margin-left: 2px; }
.sources { margin: 24px 0 0; padding: 0 0 0 18px; font-size: 13px; color: var(--ht-faint); }
.sources li + li { margin-top: 4px; }
.sources a { color: var(--ht-muted); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--ht-surface); border-radius: 22px; padding: 26px 24px 0; display: flex; flex-direction: column; overflow: hidden; }
.step-num { font-family: var(--mono); font-size: 13px; color: var(--ht-faint); }
.step h3 { font-size: 21px; line-height: 1.25; margin: 10px 0 8px; }
.step p { font-size: 15.5px; color: var(--ht-muted); }
.step-shot { margin-top: auto; padding-top: 28px; display: flex; justify-content: center; }
.phone.mini { width: 84%; height: 320px; overflow: hidden; border-radius: 34px 34px 0 0; padding: 8px 8px 0; }
.phone.mini::before { top: 16px; height: 18px; }
.phone.mini img { border-radius: 27px 27px 0 0; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } .phone.mini { width: 72%; height: 300px; } }

/* Trust band (inverse) */
.band-ink { background: var(--ht-ink); color: var(--ht-on-ink); }
.band-ink .section-label, .band-ink .lead, .band-ink .pillar p, .band-ink .legend p { color: var(--band-muted); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 72px; align-items: start; }
.trust-grid .lead { margin-top: 20px; }
.pillars { display: grid; gap: 26px; margin-top: 44px; }
.pillar { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.pillar .icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / 0.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pillar .icon { background: rgb(0 0 0 / 0.07); } }
:root[data-theme="dark"] .pillar .icon { background: rgb(0 0 0 / 0.07); }
.pillar .icon svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 18px; margin-bottom: 4px; }
.pillar p { font-size: 15.5px; }
.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 72px; padding-top: 32px; border-top: 1px solid rgb(127 127 127 / 0.25); }
.legend p { font-size: 14.5px; margin-top: 10px; }
.evidence.relayed { background: var(--ht-blue-soft); color: var(--ht-blue); }
.evidence.self { background: var(--ht-soft); color: var(--ht-muted); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; gap: 48px; } .legend { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; } }

/* Answer card: an HTML copy of the app's cited chat answer */
.answer { margin: 0; background: var(--ht-bg); color: var(--ht-ink); border-radius: 28px; padding: 22px; font-size: 15.5px; line-height: 1.5; }
.bubble-q { margin-left: auto; max-width: 86%; background: var(--ht-soft-warm); padding: 12px 16px; border-radius: 20px 20px 6px 20px; }
.bubble-a { margin-top: 14px; background: var(--ht-surface); padding: 18px; border-radius: 20px 20px 20px 6px; }
.bubble-a h4 { font-size: 16px; margin-bottom: 8px; }
.bubble-a ul { margin: 0; padding-left: 18px; }
.bubble-a li + li { margin-top: 8px; }
.bubble-a .hi { color: var(--ht-warn-text); }
.cite { font-family: var(--mono); font-size: 12.5px; color: var(--ht-green); white-space: nowrap; }
.refs { margin-top: 14px; background: var(--ht-soft); border-radius: 14px; padding: 10px 12px; display: grid; gap: 8px; font-size: 13.5px; color: var(--ht-muted); }
.refs div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.refs .mono { font-size: 12.5px; color: var(--ht-faint); }
.unknown { margin-top: 14px; border-radius: 14px; padding: 10px 12px; border: 1.5px dashed var(--ht-border); font-size: 14px; }
.unknown strong { display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ht-muted); margin-bottom: 2px; }
.disclaimer { margin-top: 12px; font-size: 12px; color: var(--ht-faint); }
.answer figcaption { margin-top: 12px; font-size: 12px; color: var(--ht-faint); text-align: center; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--ht-surface); border-radius: 22px; padding: 28px; }
.feature .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ht-soft); display: grid; place-items: center; margin-bottom: 22px; }
.feature .icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--ht-muted); }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.privacy-grid .lead { margin-top: 20px; }
.note { margin-top: 20px; font-size: 13.5px; color: var(--ht-faint); max-width: 34em; }
.checklist { list-style: none; margin: 0; padding: 8px 28px; background: var(--ht-surface); border-radius: 22px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 20px 0; }
.checklist li + li { border-top: 1px solid var(--ht-divider); }
.checklist svg { width: 22px; height: 22px; margin-top: 2px; }
.checklist h3 { font-size: 17px; margin-bottom: 3px; }
.checklist p { font-size: 15.5px; color: var(--ht-muted); }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr; gap: 40px; } .checklist { padding: 4px 20px; } }

/* Partners */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--ht-surface); border-radius: 22px; padding: 28px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p, .card li { font-size: 15.5px; color: var(--ht-muted); }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.card li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--ht-ink); }
.audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; align-items: center; }
.audience .section-label { margin: 0 8px 0 0; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.cta { background: var(--ht-surface); border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.cta .lead { margin-top: 16px; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; }
.faq details { border-top: 1px solid var(--ht-border); }
.faq details:last-child { border-bottom: 1px solid var(--ht-border); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--ht-muted); transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ht-muted); max-width: 40em; }
.faq details p + p { margin-top: -12px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Footer */
.site-footer { padding: 72px 0 48px; border-top: 1px solid var(--ht-divider); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.5fr)); gap: 40px; }
.footer-grid p { color: var(--ht-muted); margin-top: 14px; max-width: 30em; }
.footer-grid h2 { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ht-muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fineprint { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ht-divider); color: var(--ht-faint); font-size: 12.5px; display: grid; gap: 6px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Inner pages (book, privacy, 404) */
.page-head { padding: 72px 0 40px; }
.page-head .display { margin-top: 4px; max-width: 18ch; }
.page-head .lead { margin-top: 20px; }
.book-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; padding-bottom: 96px; }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; display: grid; gap: 18px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.numbered li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; background: var(--ht-ink); color: var(--ht-on-ink); display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.numbered h3 { font-size: 17px; margin-bottom: 2px; }
.numbered p { color: var(--ht-muted); font-size: 15.5px; }
.book-card { background: var(--ht-surface); border-radius: 28px; padding: 32px; position: sticky; top: 92px; }
.book-card h2 { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.book-card .btn { width: 100%; margin-top: 24px; }
.book-card .alt { margin-top: 18px; font-size: 15px; color: var(--ht-muted); text-align: center; }
.book-card .alt a { color: var(--ht-ink); }
.book-card .small-print { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ht-divider); font-size: 13px; color: var(--ht-faint); }
.beta { background: var(--ht-surface); border-radius: 32px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; margin-bottom: 120px; }
.beta .lead { margin-top: 14px; }
@media (max-width: 860px) { .book-grid, .beta { grid-template-columns: 1fr; } .book-card { position: static; order: -1; } }
.prose { max-width: 720px; padding-bottom: 120px; }
.prose h2 { font-family: var(--serif); font-size: 26px; margin: 48px 0 12px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--ht-muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ht-green); }
.prose .meta { font-size: 14px; color: var(--ht-faint); }
.notfound { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 20px; padding: 96px 0; }
