/* Medawar marketing site.
   Same family as CheckMyManuscript and Unjournal: cream paper, one ink,
   pencil hairlines and a highlighter. Medawar's ink is carbon, its marker
   is coral and its pen is red: the reviewer's mark on the manuscript.
   - flat: hierarchy from 1px pencil hairlines and fills, not shadows;
   - Bricolage Grotesque 800 only at 40px and up, Inter below;
   - Roboto Mono uppercase for micro-labels and commands only;
   - the coral marker only ever as a fill behind dark text;
   - the pen red for the wordmark dot, links and the current step;
   - severity colours (critical, major, minor) only on findings.
   Dark is a full theme, not an afterthought: same rules, carbon paper.
   Web app (web/) uses the same tokens; keep both in step. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper: #fcfaf5;
  --paper-shade: #f6f2e9;
  --sheet: #fffdf9;
  --ink: #1d1b20;
  --ink-soft: #3d3a42;
  --muted: #6b7280;
  --rule: #b6b6b6;
  --rule-soft: #e4e0d6;
  --primary: #1d1b20;
  --primary-hover: #000000;
  --primary-ink: #fcfaf5;
  --pen: #c8452c;
  --pen-wash: #f9ddd5;
  --marker: #ff9d85;
  --marker-ink: #1d1b20;
  --critical: #b3261e;
  --critical-wash: #f9dedb;
  --major: #9a5b00;
  --major-wash: #fbe8c8;
  --minor: #3f6a52;
  --minor-wash: #dcebdf;
  --terminal: #1d1b20;
  --terminal-ink: #ece9e2;
  --closing: #1d1b20;
  --closing-ink: #fcfaf5;

  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius: 12px;
  --radius-sm: 6px;
  --radius-nav: 16px;
  --page-max: 1200px;
  --glow: rgba(255, 157, 133, 0.01) 0px 527px 211px 0px, rgba(255, 157, 133, 0.05) 0px 297px 178px 0px,
    rgba(255, 157, 133, 0.09) 0px 132px 132px 0px, rgba(255, 157, 133, 0.1) 0px 33px 72px 0px;
  --focus: 0 0 0 3px color-mix(in srgb, var(--ink) 22%, transparent);
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141316;
    --paper-shade: #1b1a1e;
    --sheet: #201f24;
    --ink: #fcfaf5;
    --ink-soft: #d6d2ca;
    --muted: #a19ea8;
    --rule: #45424b;
    --rule-soft: #2e2c33;
    --primary: #fcfaf5;
    --primary-hover: #ffffff;
    --primary-ink: #141316;
    --pen: #ff8a70;
    --pen-wash: #3a2420;
    --marker-ink: #141316;
    --critical: #ff8b80;
    --critical-wash: #3d2224;
    --major: #f2b45a;
    --major-wash: #3a2e1b;
    --minor: #8fc7a2;
    --minor-wash: #1f3328;
    --terminal: #0d0c0f;
    --closing: #fcfaf5;
    --closing-ink: #141316;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141316; --paper-shade: #1b1a1e; --sheet: #201f24; --ink: #fcfaf5;
  --ink-soft: #d6d2ca; --muted: #a19ea8; --rule: #45424b; --rule-soft: #2e2c33;
  --primary: #fcfaf5; --primary-hover: #ffffff; --primary-ink: #141316; --pen: #ff8a70;
  --pen-wash: #3a2420; --marker-ink: #141316; --critical: #ff8b80; --critical-wash: #3d2224;
  --major: #f2b45a; --major-wash: #3a2e1b; --minor: #8fc7a2; --minor-wash: #1f3328;
  --terminal: #0d0c0f; --closing: #fcfaf5; --closing-ink: #141316; color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--marker); color: var(--marker-ink); }
a { color: inherit; }
ul, ol { list-style: none; }
code { font-family: var(--font-mono); font-size: 0.86em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.container { max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* === Type === */

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  font-variation-settings: 'opsz' 24, 'wdth' 100;
}
.wordmark::after { content: "."; color: var(--pen); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-title, .section-title, .article-title, .closing h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.02;
  font-variation-settings: 'opsz' 48, 'wdth' 100;
  text-wrap: balance;
}
.hero-title { font-size: clamp(44px, 5.6vw, 76px); letter-spacing: 0.05em; }
.section-title { font-size: clamp(40px, 4.4vw, 55px); margin-bottom: 16px; }
.section-subtitle { color: var(--muted); max-width: 680px; font-size: 18px; margin-bottom: 40px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 580px; margin: 24px 0 32px; }
.link { color: var(--pen); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

/* The highlighter: a coral fill behind dark text, never coral text. */
.marker, .hero-title em {
  font-style: normal;
  background: var(--marker);
  color: var(--marker-ink);
  padding: 0 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* === Buttons === */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 24px;
  font: 600 16px/1 var(--font-body);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--paper-shade); }
.btn-cream { background: var(--closing-ink); color: var(--closing); }
.btn-cream:hover { background: color-mix(in srgb, var(--closing-ink) 90%, var(--closing)); }
.btn-outline-cream { border-color: var(--closing-ink); color: var(--closing-ink); }
.btn-outline-cream:hover { background: color-mix(in srgb, var(--closing-ink) 10%, transparent); }

/* === Nav: a floating pill, as on the sibling sites === */

.nav { position: sticky; top: 16px; z-index: 50; padding: 16px 16px 0; margin-top: -16px; }
.nav-pill {
  position: relative;
  max-width: var(--page-max); margin: 0 auto;
  height: 64px; padding: 0 12px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-nav);
  box-shadow: var(--glow);
}
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 15px; }
.nav-links a:not(.btn) { display: inline-block; padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 500; color: var(--ink); transition: background-color .12s var(--ease); }
.nav-links a:not(.btn):hover { background: var(--paper-shade); }
.nav-links li:nth-last-child(2) { margin-left: 8px; }
.nav-links li + li .btn { margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-pill { padding: 0 8px 0 20px; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-nav); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { display: block; padding: 10px 12px; }
  .nav-links li:nth-last-child(2) { margin-left: 0; }
  .nav-links li + li .btn { margin-left: 0; }
  .nav-links .btn { width: 100%; }
}

/* === Hero === */

.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.assurance { margin-top: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }

.manuscript { display: grid; grid-template-columns: 1fr 210px; gap: 18px; align-items: start; }
.ms-page { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 28px 32px; font-size: 17px; line-height: 1.6; }
.ms-kicker { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ms-title { font-weight: 700; font-size: 21px; line-height: 1.3; margin-bottom: 18px; }
.ms-line { margin: 12px 0; color: var(--ink-soft); }
.ms-rule { display: grid; gap: 9px; margin: 14px 0; }
.ms-rule span { height: 8px; border-radius: 9999px; background: var(--rule-soft); }
.ms-rule .short { width: 62%; }
.hl { color: var(--ink); border-radius: 3px; padding: 0 2px; }
.hl-critical { background: var(--critical-wash); box-shadow: inset 0 -2px var(--critical); }
.hl-major { background: var(--major-wash); box-shadow: inset 0 -2px var(--major); }
.hl-minor { background: var(--minor-wash); box-shadow: inset 0 -2px var(--minor); }
.ms-notes { display: grid; gap: 12px; padding-top: 54px; }
.note { border: 1px solid var(--rule); border-left: 3px solid; padding: 12px 14px; background: var(--sheet); border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.note .sev { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.note-critical { border-left-color: var(--critical); } .note-critical .sev { color: var(--critical); }
.note-major { border-left-color: var(--major); } .note-major .sev { color: var(--major); }
.note-minor { border-left-color: var(--minor); } .note-minor .sev { color: var(--minor); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 64px; }
}
@media (max-width: 560px) {
  .manuscript { grid-template-columns: 1fr; }
  .ms-notes { padding-top: 0; }
  .ms-page { padding: 22px 20px 26px; }
}

/* === Sections === */

/* Why Medawar: the essay the name comes from. */
.why-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.why-grid .section-subtitle { margin-bottom: 0; }
.why-quote { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; }
.why-quote blockquote p { font-size: 24px; line-height: 1.45; font-weight: 500; text-wrap: pretty; }
.why-quote blockquote p::before { content: "\201C"; }
.why-quote blockquote p::after { content: "\201D"; }
.why-quote figcaption { margin-top: 20px; font: 500 11px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.why-quote cite { font-style: normal; color: var(--ink); }
.why-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.why-points li { border-top: 1px solid var(--ink); padding-top: 24px; }
.why-points h3 { font-weight: 700; font-size: 20px; line-height: 1.38; margin-bottom: 8px; }
.why-points p { color: var(--muted); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-points { grid-template-columns: 1fr; margin-top: 40px; }
}
@media (max-width: 560px) {
  .why-quote { padding: 24px 22px; }
  .why-quote blockquote p { font-size: 20px; }
}

.section { padding: 96px 0; border-top: 1px solid var(--rule); }
.section-shade { background: var(--paper-shade); }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; margin-top: 32px; }
.step { border-top: 1px solid var(--ink); padding-top: 24px; }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: 0.04em; color: var(--pen); line-height: 1; }
.step h3 { font-weight: 700; font-size: 20px; line-height: 1.38; margin: 14px 0 8px; }
.step p { color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.check { background: var(--sheet); padding: 20px 22px 22px; }
.check code { font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.check h3 { font-weight: 700; font-size: 19px; line-height: 1.35; margin: 8px 0 4px; }
.check p { font-size: 15px; color: var(--muted); line-height: 1.5; }
.check-cta { background: var(--marker); color: var(--marker-ink); }
.check-cta p { color: var(--marker-ink); }
.check-cta .link { color: var(--marker-ink); }
.check-cta .link { display: inline-block; margin-top: 8px; font-size: 15px; }
@media (max-width: 560px) {
  .checks { grid-template-columns: 1fr 1fr; }
  .check { padding: 16px 14px 18px; }
  .check h3 { font-size: 17px; }
  .check p { font-size: 14px; }
}

.cli-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ticks { display: grid; gap: 10px; margin-bottom: 24px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 12px; height: 6px; border-left: 2px solid var(--minor); border-bottom: 2px solid var(--minor); transform: rotate(-45deg); }
.terminal { background: var(--terminal); color: var(--terminal-ink); border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--terminal-ink) 12%, transparent); }
.terminal-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid color-mix(in srgb, var(--terminal-ink) 10%, transparent); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: color-mix(in srgb, var(--terminal-ink) 25%, transparent); }
.terminal pre { padding: 18px 20px 22px; overflow-x: auto; font: 14px/1.75 var(--font-mono); }
.terminal .prompt { color: #ff9d85; }
.terminal .dim { color: #8f8c96; }
.terminal .ok { color: #8fc7a2; }
.terminal .crit { color: #ff8b80; } .terminal .maj { color: #f2b45a; } .terminal .min { color: #8fc7a2; }
@media (max-width: 900px) { .cli-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .terminal pre { font-size: 12.5px; padding: 14px; } }

/* === Pricing === */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 26px; }
.plan-featured { border: 1px solid var(--ink); box-shadow: var(--glow); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--marker); color: var(--marker-ink); font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.plan-name { font-weight: 700; font-size: 22px; }
.plan-price { margin: 8px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.price-amount { font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.1; }
.price-unit { color: var(--muted); }
.plan-pitch { color: var(--muted); font-size: 15px; min-height: 48px; }
.plan-list { display: grid; gap: 9px; margin: 20px 0 26px; flex: 1; font-size: 15px; }
.plan-list li { padding-left: 22px; position: relative; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 5px; border-left: 2px solid var(--minor); border-bottom: 2px solid var(--minor); transform: rotate(-45deg); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; } }
.topup-title { font-weight: 700; font-size: 22px; margin: 48px 0 8px; scroll-margin-top: 80px; }
.topup-lead { color: var(--muted); max-width: 720px; margin-bottom: 20px; }
.topup { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.topup-group { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 22px; }
.topup-kind { font: 500 11px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.topup-list { list-style: none; padding: 0; margin: 0; }
.topup-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-soft); }
.topup-list li:first-child { border-top: 0; }
.topup-label { font-weight: 600; }
.topup-price { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
@media (max-width: 900px) { .topup { grid-template-columns: 1fr; max-width: 480px; } }

/* === FAQ === */

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 32px; }
.faq-item { padding: 22px 0; border-top: 1px solid var(--rule); }
.faq-item h3 { font-weight: 700; font-size: 19px; line-height: 1.38; margin-bottom: 8px; }
.faq-item p { color: var(--muted); }
.faq-item a { color: var(--pen); text-underline-offset: 3px; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* === Closing === */

.closing, .article-cta { background: var(--closing); color: var(--closing-ink); border-radius: var(--radius-nav); padding: 56px; }
.closing h2 { font-size: clamp(40px, 4.4vw, 52px); max-width: 720px; margin-bottom: 12px; }
.closing p, .article-cta p { opacity: .82; margin-bottom: 28px; font-size: 18px; }
.article-cta h2 { font-weight: 700; font-size: 26px; line-height: 1.3; margin-bottom: 8px; }
@media (max-width: 560px) { .closing, .article-cta { padding: 32px 22px; } }

/* === Footer === */

.footer { border-top: 1px solid var(--rule); padding: 56px 0 64px; margin-top: 96px; font-size: 15px; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.footer-brand p { color: var(--muted); margin-top: 8px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { text-decoration: none; color: var(--muted); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } }

/* === Docs pages === */

.article { padding: 48px 0 32px; }
.article-container { max-width: 820px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.article-title { font-size: clamp(40px, 5vw, 56px); margin-bottom: 18px; }
.article-lead { font-size: 19px; color: var(--ink-soft); }
.article-lead code, .prose code, .faq-item code { background: var(--paper-shade); padding: 1px 6px; border-radius: 4px; }
.article-byline { font-size: 14px; color: var(--muted); margin-top: 18px; }
.article-head { padding-bottom: 28px; border-bottom: 1px solid var(--rule); margin-bottom: 28px; }
.toc { margin-bottom: 32px; }
.toc ol { display: grid; gap: 6px; padding-left: 0; counter-reset: toc; }
.toc a { color: var(--pen); text-underline-offset: 3px; }
.prose section { margin-bottom: 36px; }
.prose h2, .article-faq h2, .article-sources h2, .article-related h2 { font-weight: 700; font-size: 26px; line-height: 1.3; margin-bottom: 12px; }
.prose p, .prose ul { margin-bottom: 14px; color: var(--ink-soft); }
.prose ul { padding-left: 20px; list-style: disc; }
.prose pre { background: var(--terminal); color: var(--terminal-ink); padding: 16px 18px; border-radius: var(--radius-sm); overflow-x: auto; margin-bottom: 16px; font-size: 14px; line-height: 1.7; }
.prose pre code { background: none; padding: 0; }
.compare { overflow-x: auto; margin: 8px 0 16px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table caption { text-align: left; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.compare-table th, .compare-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare-table thead th { font: 500 11px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare-table tbody th { font-weight: 600; }
.article-faq, .article-sources, .article-related { margin: 40px 0; }
.article-related ul { display: grid; gap: 8px; }
.article-related a { color: var(--pen); text-underline-offset: 3px; }
.article-cta { margin: 48px 0; }
.hub-grid { display: grid; gap: 16px; margin-bottom: 40px; }
.hub-card a { display: block; padding: 22px 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); text-decoration: none; }
.hub-card a:hover { border-color: var(--ink); }
.hub-card h2 { font-weight: 700; font-size: 21px; line-height: 1.3; margin-bottom: 6px; }
.hub-card p { color: var(--muted); font-size: 15px; }
