@import url('/css/fonts.css?v=fr1119c');
/* ============================================================
   blog.css: the zerosettle.io/blog stylesheet.

   The one owner of the article template (header, byline, lede, takeaways,
   contents rail, prose, tables, FAQ, sources, author). The k-* components a
   post drops into that template live in css/blog-kit.css; posts load both.

   Self-contained otherwise: blog pages load nothing else from /css/ but the
   kit and the shared iMessage parts. It carries the homepage's tokens (landing.css, arc-concept
   values), the type (css/fonts.css), the floating nav pill, the footer and
   every article component. Markup conventions live in the comment
   at the top of research/template-post.html.

   Theme: js/landing-theme.js sets <html data-theme="light|dark">.
   Without JS the system preference applies through the
   prefers-color-scheme block, which an explicit data-theme overrides.
   ============================================================ */

/* ---------- fonts (same files and weights as the homepage) ---------- */

/* ---------- tokens: light ---------- */
:root {
  --font: var(--zs-font);
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Roboto Mono', Menlo, monospace;
  --ios: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Geist', 'Segoe UI', sans-serif;

  --canvas: #fafafa;
  --surface: #ffffff;
  --surface-2: #f4f5f6;
  --ink: #24262c;
  --ink-strong: #101210;
  --text: #3b3e45;          /* article body copy */
  --ink-2: #5b5f67;
  --ink-3: #686c75;         /* meta text; 4.9:1 on canvas */
  --hairline: #e8e9eb;
  --hairline-2: #d6d8dd;

  --accent: #3266d8;
  --accent-deep: #244fae;
  --accent-tint: #dce8ff;
  --on-accent: #ffffff;
  --link: #2469c7;

  --wash: linear-gradient(120deg, #edf1fa, #f7f3ea 55%, #edf6f1);
  --wash-cool: linear-gradient(145deg, #f2f4fc, #edf4f2);

  --note-bg: #eef3fd;  --note-bd: #cfdcf7;  --note-ink: #1d4396;
  --warn-bg: #fdf5e6;  --warn-bd: #f0d9a8;  --warn-ink: #7a4a00;

  --code-bg: #17191e;  --code-bd: #17191e;  --code-ink: #e6e8ee;  --code-muted: #a3aab6;
  --inline-code-bg: #eef0f3;

  --exchange-bg: #ffffff;
  --bubble-out: #0a6cff;  --bubble-out-ink: #ffffff;
  --bubble-in: #e9e9eb;   --bubble-in-ink: #000000;
  --bubble-meta: #6c6c70;

  --pill-bg: rgba(255,255,255,.72);
  --pill-bd: rgba(23,20,13,.18);
  --menu-shadow: 0 24px 48px rgba(11,11,12,.10), 0 48px 96px rgba(11,11,12,.10);
  --card-shadow: 0 1px 2px rgba(16,18,24,.04);
  --card-shadow-hover: 0 10px 30px rgba(28,39,48,.08);

  --brand-a1: #3266d8; --brand-a2: #7a5af8;
  --brand-grad: linear-gradient(100deg, var(--brand-a1), var(--brand-a2));

  --gutter: 16px;
  --col: 720px;
  --post-wide: 1180px;      /* header, kit figures and the article column all fit inside this */
  --post-rail: 220px;
  --post-read: 700px;       /* measure of running text; tables, figures and kit components use the whole column */
  --wide: 1408px;
  --blog-top: calc(var(--nav-h) + 18px);
  color-scheme: light;
}

/* ---------- tokens: dark (explicit toggle) ---------- */
:root[data-theme="dark"] {
  --canvas: #141518;
  --surface: #1b1d21;
  --surface-2: #22252a;
  --ink: #f0f1f4;
  --ink-strong: #f6f7f9;
  --text: #d0d4dc;
  --ink-2: #b9bdc7;
  --ink-3: #a0a6b2;
  --hairline: #30343c;
  --hairline-2: #454a54;

  --accent: #a8c9ff;
  --accent-deep: #e4edff;
  --accent-tint: #31476c;
  --on-accent: #182b50;
  --link: #9dc3ff;

  --wash: linear-gradient(120deg, #252d40, #2e2b28 55%, #21342d);
  --wash-cool: linear-gradient(145deg, #242938, #202c2b);

  --note-bg: #1c2638;  --note-bd: #31476c;  --note-ink: #c6dcff;
  --warn-bg: #2d2516;  --warn-bd: #5c4720;  --warn-ink: #f3d49a;

  --code-bg: #0e0f12;  --code-bd: #2c3038;  --code-ink: #e6e8ee;  --code-muted: #a3aab6;
  --inline-code-bg: #262a31;

  --exchange-bg: #0b0b0c;
  --bubble-in: #26252a;   --bubble-in-ink: #ffffff;
  --bubble-meta: #98989f;

  --pill-bg: rgba(27,29,33,.72);
  --pill-bd: #454a54;
  --menu-shadow: 0 30px 70px rgba(0,0,0,.55);
  --card-shadow: none;
  --card-shadow-hover: 0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}

/* ---------- tokens: dark (system preference, no explicit choice / no JS) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #141518;
    --surface: #1b1d21;
    --surface-2: #22252a;
    --ink: #f0f1f4;
    --ink-strong: #f6f7f9;
    --text: #d0d4dc;
    --ink-2: #b9bdc7;
    --ink-3: #a0a6b2;
    --hairline: #30343c;
    --hairline-2: #454a54;

    --accent: #a8c9ff;
    --accent-deep: #e4edff;
    --accent-tint: #31476c;
    --on-accent: #182b50;
    --link: #9dc3ff;

    --wash: linear-gradient(120deg, #252d40, #2e2b28 55%, #21342d);
    --wash-cool: linear-gradient(145deg, #242938, #202c2b);

    --note-bg: #1c2638;  --note-bd: #31476c;  --note-ink: #c6dcff;
    --warn-bg: #2d2516;  --warn-bd: #5c4720;  --warn-ink: #f3d49a;

    --code-bg: #0e0f12;  --code-bd: #2c3038;  --code-ink: #e6e8ee;  --code-muted: #a3aab6;
    --inline-code-bg: #262a31;

    --exchange-bg: #0b0b0c;
    --bubble-in: #26252a;   --bubble-in-ink: #ffffff;
    --bubble-meta: #98989f;

    --pill-bg: rgba(27,29,33,.72);
    --pill-bd: #454a54;
    --menu-shadow: 0 30px 70px rgba(0,0,0,.55);
    --card-shadow: none;
    --card-shadow-hover: 0 10px 30px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent-tint); color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
:where(a[href], button:not(:disabled), summary, [role="button"]) { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* light/dark logo swap (both mechanisms) */
.logo-on-dark { display: none !important; }
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block !important; }
}

/* ============================================================
   Nav: the homepage's floating pill (data-nav="minimal")
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: var(--nav-gap) var(--gutter) 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 8px;
  max-width: 1408px; min-height: 66px; margin: 0 auto;
  padding: 10px 12px 10px 14px;
}
.nav-logo { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; border-radius: 8px; }
.nav-logo img { width: 120px; height: 28px; object-fit: contain; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions > a { display: none; }
/* .nav-link pill: owned by css/nav-surface.css, shared with the landing pages' .nav-docs-link */
.nav-link[aria-current] { color: var(--accent-deep); background: var(--accent-tint); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 5px 16px rgba(50,102,216,.11); }
.btn-secondary { background: var(--pill-bg); border-color: var(--pill-bd); color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--pill-bd); color: var(--ink); }   /* the quiet button: the same hairline pill as the landing pages' .btn-ghost */
.nav-login-pill { min-height: 40px; padding: 12px 18px; font-size: 14.5px; }
.nav-get-started { padding: 13px 24px; font-size: 15.5px; }
@media (hover: hover) {
  .nav-login-pill:hover { background: var(--accent-tint); color: var(--accent-deep); }
  .btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); }
  :root[data-theme="dark"] .btn-primary:hover { background: #c6dcff; border-color: #c6dcff; }
  .btn-secondary:hover { background: var(--accent-tint); border-color: transparent; color: var(--accent-deep); }
  .btn-ghost:hover { background: var(--pill-bg); border-color: var(--ink-3); }
}

/* the theme control landing-theme.js injects into .nav-actions */
.arc-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--hairline); border-radius: 50%;
  background: var(--surface); color: var(--ink);
}
.arc-theme-toggle svg { width: 20px; height: 20px; }
.arc-theme-toggle .arc-sun { display: none; }
:root[data-theme="dark"] .arc-theme-toggle .arc-sun { display: block; }
:root[data-theme="dark"] .arc-theme-toggle .arc-moon { display: none; }
@media (hover: hover) { .arc-theme-toggle:hover { background: var(--accent-tint); color: var(--accent-deep); } }

/* mobile menu: a <details> so it opens without JS */
.nav-more { position: static; }
.nav-more > summary {
  list-style: none;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 44px; height: 44px;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface);
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary span { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-more[open] > summary span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-more[open] > summary span:nth-child(2) { opacity: 0; }
.nav-more[open] > summary span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.nav-mobile-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 18px;
  box-shadow: var(--menu-shadow);
}
.nav-mobile-item {
  display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav-mobile-item[aria-current] { background: var(--accent-tint); color: var(--accent-deep); }
.nav-mobile-menu .btn { width: 100%; margin-top: 8px; }
@media (min-width: 1150px) {
  .nav { padding: var(--nav-gap) 32px 0; }
  .nav-inner { gap: 24px; padding: 10px 12px 10px 22px; }
  .nav-logo img { width: 137px; height: 32px; }
  .nav-actions { gap: 18px; }
  .nav-actions > a { display: inline-flex; }
  .nav-more { display: none; }
}

/* ============================================================
   Page frame
   ============================================================ */
.blog-main { padding-top: var(--blog-top); }
@media (min-width: 1150px) { .blog-main { --blog-top: calc(var(--nav-h) + 32px); } }

/* --wide is the nav pill's width (.nav-inner); the gutter is shared with .nav, so the page edges and the pill edges are one box */
.wrap-wide { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1150px) { :root { --gutter: 32px; } }

/* ============================================================
   Post layout: one grid. Crumbs and header span the full width
   (up to --post-wide). Below 1080px the rest is one column and the
   contents list sits inline; from 1080px the contents list is a sticky
   rail on the left (220px) beside the article column.
   ============================================================ */
.post {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: calc(var(--post-wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 8px var(--gutter) 0;
}
.post > * { min-width: 0; grid-column: 1; }
.post > :not(.crumbs):not(.post-header) { max-width: calc(var(--col) + 40px); }
@media (min-width: 1080px) {
  .post { grid-template-columns: var(--post-rail) minmax(0, 1fr); column-gap: 64px; }
  .post > .crumbs, .post > .post-header { grid-column: 1 / -1; }
  .post > :not(.crumbs):not(.post-header):not(.toc) { grid-column: 2; max-width: none; }
  .post > .toc {
    grid-column: 1; grid-row: 3 / span 24; align-self: start;
    position: sticky; top: calc(var(--nav-h) + 32px); max-width: none;
    margin: 4px 0 0; padding: 0; background: none; border: 0; border-radius: 0;
  }
}

/* ---------- breadcrumbs ---------- */
.crumbs { margin: 0 0 20px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "\203A"; margin: 0 8px; color: var(--hairline-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.crumbs a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.crumbs li:last-child { flex: 1 1 0; min-width: 6em; }
.crumbs [aria-current="page"] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); }
@media (max-width: 599px) { .post .crumbs li:last-child { display: none; } }

/* ---------- post header ---------- */
.post-header { margin: 0 0 40px; }
.post-kicker {
  display: inline-flex; align-items: center; min-height: 32px; margin: 0 0 18px; padding: 4px 12px;
  border: 1px solid var(--hairline-2); border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; background: var(--surface);
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.post-kicker:hover { color: var(--accent-deep); border-color: var(--accent); background: var(--accent-tint); }
.post-header h1 {
  margin: 0; max-width: 20em;
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.625rem);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.035em;
  font-variant-numeric: proportional-nums;   /* figures are tabular site-wide; a big headline reads better proportional */
  color: var(--ink-strong);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.post :is(h2, h3) { font-variant-numeric: proportional-nums; }

/* a post that opens on a key figure: words left, the tile (figure.k-hero-tile, last child) right */
@media (min-width: 820px) {
  .post-header:has(> .k-hero-tile) {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-rows: 1fr repeat(4, auto) 1fr;
    column-gap: 56px; align-items: start;
  }
  .post-header:has(> .k-hero-tile) > * { grid-column: 1; }
  .post-header:has(> .k-hero-tile) > .post-kicker { grid-row: 2; justify-self: start; }
  .post-header:has(> .k-hero-tile) > h1 { grid-row: 3; }
  .post-header:has(> .k-hero-tile) > .byline { grid-row: 4; }
  .post-header:has(> .k-hero-tile) > .post-disclosure { grid-row: 5; }
  .post-header:has(> .k-hero-tile) > .k-hero-tile { grid-column: 2; grid-row: 1 / -1; align-self: center; }
}
@media (max-width: 819px) { .post .post-header > .k-hero-tile { margin-top: 36px; } }

/* byline: legacy markup is one flowing line; the avatar markup is avatar left, name over dates */
.byline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0;
  margin: 20px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3);
}
.byline > span + span::before { content: "\00B7"; margin: 0 10px; color: var(--hairline-2); }
.byline a { color: var(--ink); text-decoration: none; font-weight: 500; }
.byline a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.byline time { color: var(--ink-2); }

.byline-av {
  --av: 40px;
  display: grid; place-items: center; flex: none; width: var(--av); height: var(--av); border-radius: 50%;
  background: var(--k-grad, var(--brand-grad)); color: #fff;
  font-size: calc(var(--av) * .35); font-weight: 600; letter-spacing: .02em; line-height: 1;
}
.byline:has(> .byline-av) {
  display: grid; grid-template-columns: 52px repeat(3, max-content) 1fr; column-gap: 0; row-gap: 1px; align-items: center;
  margin-top: 28px;
}
.byline:has(> .byline-av) > span::before { content: none; }
.byline > .byline-av { grid-row: 1 / span 2; grid-column: 1; margin-right: 12px; }
.byline > .byline-by { grid-row: 1; grid-column: 2 / -1; font-size: 15px; font-weight: 500; color: var(--ink); }
.byline > .byline-av ~ span:nth-child(n+3) { grid-row: 2; font-size: 14px; }
.byline > .byline-av ~ span:nth-child(n+4)::before { content: "\00B7"; margin: 0 8px; color: var(--hairline-2); }
@media (max-width: 599px) {
  .byline { flex-direction: column; align-items: flex-start; gap: 2px; }
  .byline > span + span::before { content: none; }
  .byline:has(> .byline-av) { display: grid; grid-template-columns: 52px 1fr; }
  .byline > .byline-av { grid-row: 1 / span 4; align-self: start; }
  .byline > .byline-by, .byline > .byline-av ~ span:nth-child(n+3) { grid-column: 2; }
  .byline > .byline-av ~ span:nth-child(n+3) { grid-row: auto; }
  .byline > .byline-av ~ span:nth-child(n+4)::before { content: none; }
}
.post-disclosure {
  margin: 14px 0 0; padding: 10px 14px;
  border: 1px dashed var(--hairline-2); border-radius: 12px;
  font-size: 14px; line-height: 1.5; color: var(--ink-2);
}

/* ---------- answer-first lede ---------- */
.post-lede { margin: 0 0 8px; }
.post-lede p { margin: 0 0 14px; max-width: 40em; overflow-wrap: break-word; font-size: 19px; line-height: 1.6; color: var(--ink); letter-spacing: -0.005em; text-wrap: pretty; }
.post-lede p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .post-lede p { font-size: 21px; } }

/* ---------- key takeaways: a two-column list of rows, the bold lead on its own line ---------- */
.takeaways { margin: 40px 0 0; padding: 0; border: 0; background: none; }
.takeaways h2 {
  margin: 0 0 4px; font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: .01em; color: var(--ink-3);
}
.takeaways ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.takeaways li {
  margin: 0; padding: 16px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15.5px; line-height: 1.55; color: var(--text);
}
.takeaways strong { display: block; margin-bottom: 3px; color: var(--ink-strong); font-weight: 500; font-size: 16px; }
.takeaways a { color: var(--link); text-underline-offset: 3px; }
@media (min-width: 720px) { .takeaways ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- contents: a card inline below 1080px, a sticky rail with a progress bar from 1080px ---------- */
.toc {
  margin: 36px 0 0; padding: 18px 20px;
  border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface);
}
.toc-title { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink-3); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; font-size: 15px; line-height: 1.45; }
.toc li { counter-increment: toc; }
.toc li a {
  display: flex; gap: 10px; padding: 7px 0; color: var(--ink-2); text-decoration: none;
  transition: color .18s ease;
}
.toc li a::before { content: counter(toc, decimal-leading-zero); flex: 0 0 auto; min-width: 1.6em; font-family: var(--mono); font-size: .82em; line-height: 1.75; color: var(--ink-3); }
.toc li a:hover, .toc li a[aria-current="true"] { color: var(--link); }
@media (min-width: 1080px) {
  .toc-title { margin-bottom: 12px; font-size: 12.5px; }
  .toc ol { font-size: 14px; line-height: 1.35; border-left: 1px solid var(--hairline); }
  .toc li a {
    padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease;
  }
  .toc li a::before { content: none; }
  .toc li a:hover { color: var(--ink-strong); }
  .toc li a[aria-current="true"] { color: var(--ink-strong); border-left-color: var(--k-a1, var(--brand-a1)); }
  /* reading progress: js/blog-kit.js sets --k-p (0 to 1) on .toc */
  .toc::after {
    content: ""; display: block; height: 3px; margin-top: 20px; border-radius: 99px;
    background: linear-gradient(to right, var(--k-a1, var(--brand-a1)) calc(var(--k-p, 0) * 100%), var(--hairline) 0);
  }
}

/* ============================================================
   Prose (BODY and FAQ)
   ============================================================ */
.prose { font-size: 17px; line-height: 1.72; color: var(--text); overflow-wrap: break-word; }
@media (min-width: 768px) { .prose { font-size: 18px; } }
.prose > :first-child { margin-top: 0; }
.post-body { margin-top: 64px; }
.prose h2 {
  margin: 80px 0 18px; scroll-margin-top: calc(var(--nav-h) + 30px);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink-strong);
  text-wrap: balance;
}
.prose h3 {
  margin: 36px 0 10px; scroll-margin-top: calc(var(--nav-h) + 30px);
  font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink-strong);
}
.prose h4 { margin: 28px 0 8px; font-size: 1rem; font-weight: 600; color: var(--ink-strong); }
@media (min-width: 768px) { .prose h3 { font-size: 1.22rem; } }
/* running text keeps a reading measure; tables, figures, threads and kit components use the whole column */
.prose :is(h2, h3, h4, p, ul, ol, dl, blockquote, hr) { max-width: var(--post-read); }
.prose p { margin: 0 0 20px; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--ink-strong); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.4em; }
.prose li { margin: 0 0 8px; padding-left: .2em; }
.prose li::marker { color: var(--ink-3); }
.prose ol > li::marker { font-weight: 500; font-variant-numeric: tabular-nums; }
.prose li > ul, .prose li > ol { margin: 8px 0 0; }
.prose hr { margin: 48px 0; border: 0; border-top: 1px solid var(--hairline); }
.prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent);
  color: var(--ink); font-size: 1.05em;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: 8px; font-size: .85em; font-style: normal; color: var(--ink-3); }
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: 16px; border: 1px solid var(--hairline); }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.prose dl { margin: 0 0 22px; }
.prose dt { font-weight: 600; color: var(--ink-strong); }
.prose dd { margin: 2px 0 14px; }

/* inline code + keyboard */
.prose :not(pre) > code, .post-lede code, .takeaways code, .faq-item code, .callout code {
  padding: .1em .36em; border-radius: 6px;
  background: var(--inline-code-bg); color: var(--ink-strong);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-family: var(--mono); font-size: .86em; overflow-wrap: anywhere;
}
.prose kbd { padding: .1em .4em; border: 1px solid var(--hairline-2); border-bottom-width: 2px; border-radius: 6px; font-family: var(--mono); font-size: .85em; }

/* ---------- code blocks ---------- */
.code-block { margin: 28px 0; border: 1px solid var(--code-bd); border-radius: 16px; background: var(--code-bg); overflow: hidden; }
.code-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 40px; padding: 6px 8px 6px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--mono); font-size: 12.5px; color: var(--code-muted);
}
.code-copy {
  min-height: 30px; padding: 4px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px;
  background: transparent; color: var(--code-ink); font-family: var(--font); font-size: 12.5px; font-weight: 500;
}
.code-copy:hover { background: rgba(255,255,255,.08); }
.prose pre, .code-block pre {
  margin: 28px 0; padding: 16px 18px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--code-bg); color: var(--code-ink);
  border: 1px solid var(--code-bd); border-radius: 16px;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.65; tab-size: 2;
}
.code-block pre { margin: 0; border: 0; border-radius: 0; }
.prose pre code { font: inherit; color: inherit; background: none; padding: 0; white-space: pre; }
.prose pre:focus-visible { outline-offset: -2px; }
.code-comment { color: var(--code-muted); }

/* ---------- tables: scroll inside .table-wrap, never the page ---------- */
.table-wrap {
  /* the edge shadows show only while the table overflows that side */
  --scroll-cue: color-mix(in srgb, var(--ink-strong) 24%, transparent);
  container-type: inline-size;
  margin: 32px 0; max-width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 0; border-radius: 22px; box-shadow: 0 0 0 1px var(--hairline);
  background:
    linear-gradient(to right, var(--surface) 30%, transparent) left / 32px 100% no-repeat local,
    linear-gradient(to left, var(--surface) 30%, transparent) right / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, var(--scroll-cue), transparent) left / 16px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, var(--scroll-cue), transparent) right / 16px 100% no-repeat scroll,
    var(--surface);
}
.table-wrap:focus-visible { outline-offset: 2px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; color: var(--text); }
.table-wrap caption {
  /* pinned to the wrapper's width so a wide table scrolls under a caption that never clips */
  position: sticky; left: 0; width: 100cqw; box-sizing: border-box;
  caption-side: top; text-align: left; padding: 18px 20px 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-3);
}
.table-wrap th, .table-wrap td { min-width: 7.5rem; padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--hairline); }
.table-wrap thead th { border-top: 1px solid var(--hairline); border-bottom: 0; font-size: 12.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.table-wrap tbody th { font-weight: 500; color: var(--ink-strong); }
.table-wrap tbody tr { transition: background-color .15s ease; }
@media (hover: hover) { .table-wrap tbody tr:hover > * { background: color-mix(in srgb, var(--ink) 3%, transparent); } }
.table-wrap td.num, .table-wrap th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap .yes { color: #1f7a45; font-weight: 600; }
.table-wrap .no { color: #b3261e; font-weight: 600; }
:root[data-theme="dark"] .table-wrap .yes { color: #7fd6a2; }
:root[data-theme="dark"] .table-wrap .no { color: #ff9a92; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .table-wrap .yes { color: #7fd6a2; }
  :root:not([data-theme="light"]) .table-wrap .no { color: #ff9a92; }
}
.table-wrap a { color: var(--link); }
.table-wrap code { white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 479px) { .table-wrap td code { white-space: normal; overflow-wrap: anywhere; } }
@media (max-width: 599px) {
  .table-wrap table { font-size: 14.5px; }
  .table-wrap th, .table-wrap td { min-width: 6.5rem; padding: 10px 12px; }
  .table-wrap caption { padding: 12px 12px 8px; }
}
.table-note { margin: -16px 0 24px; font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }

/* ---------- callouts ---------- */
.callout {
  position: relative; margin: 28px 0; padding: 16px 18px 16px 50px;
  border: 1px solid var(--note-bd); border-radius: 16px;
  background: var(--note-bg); color: var(--text);
  font-size: .95em; line-height: 1.6;
}
.callout::before {
  content: "i"; position: absolute; left: 16px; top: 17px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--note-ink); color: var(--note-bg);
  font-family: Georgia, 'Times New Roman', serif; font-size: 14px; font-weight: 700; font-style: italic; line-height: 1;
}
.callout-title { margin: 0 0 4px !important; font-weight: 600; color: var(--note-ink); }
.callout p { margin: 0 0 10px; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { margin: 0 0 10px; }
.callout-warning { border-color: var(--warn-bd); background: var(--warn-bg); }
.callout-warning::before { content: "!"; background: var(--warn-ink); color: var(--warn-bg); font-family: var(--font); font-style: normal; }
.callout-warning .callout-title { color: var(--warn-ink); }

/* ---------- iMessage example exchange (plain HTML, no images) ---------- */
.exchange { margin: 32px 0; }
.exchange-screen {
  max-width: 420px; margin: 0 auto; padding: 0 0 18px;
  border: 1px solid var(--hairline); border-radius: 28px;
  background: var(--exchange-bg); overflow: hidden;
  box-shadow: 0 12px 36px rgba(37,42,57,.08);
}
.exchange-head {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 16px 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--ios); text-align: center;
}
.exchange-avatar {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(180deg, #a5abb8, #858b98); color: #fff;
  font-size: 17px; font-weight: 600; letter-spacing: .02em;
}
.exchange-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* a group chat: up to three overlapping contact photos, each ringed in the screen colour */
.exchange-avatar--group { display: flex; place-items: initial; width: auto; background: none; }
.exchange-avatar--group img { width: 30px; height: 30px; box-shadow: 0 0 0 2px var(--exchange-bg); }
.exchange-avatar--group img + img { margin-left: -9px; }
.exchange-name { font-size: 13px; font-weight: 500; color: var(--ink-strong); line-height: 1.3; }
.exchange-kind { font-size: 11.5px; color: var(--bubble-meta); line-height: 1.2; }
.exchange-thread {
  display: flex; flex-direction: column;
  margin: 0; padding: 4px 16px 0; list-style: none;
  font-family: var(--ios); font-size: 16px; line-height: 1.34; letter-spacing: -0.01em;
}
.exchange .msg {
  position: relative; max-width: 78%; margin: 2px 0 0; padding: 8px 13px;
  border-radius: 19px; white-space: pre-line; overflow-wrap: anywhere; text-align: left;
}
.exchange .msg-out { align-self: flex-end; background: var(--bubble-out); color: var(--bubble-out-ink); }
.exchange .msg-in { align-self: flex-start; background: var(--bubble-in); color: var(--bubble-in-ink); }
.exchange .msg-out + .msg-in, .exchange .msg-in + .msg-out { margin-top: 10px; }
.exchange .msg a { color: inherit; text-decoration: underline; }
/* tails: css/bubble-tail.css (the bubbles carry .bt-in / .bt-out); 16 px text is 17 pt, so one pt is .94 px */
.exchange .msg { --bt-u: .94px; }
/* a timestamp row and a small status row */
.exchange .msg-time { align-self: center; margin: 12px 0 6px; font-size: 11.5px; color: var(--bubble-meta); }
.exchange .msg-time:first-child { margin-top: 4px; }
.exchange .msg-note { align-self: flex-end; margin: 3px 2px 0; font-size: 11px; color: var(--bubble-meta); }
.exchange .msg-in + .msg-note { align-self: flex-start; }
/* tapback badges: css/tapback.css. The thread's colours feed it. */
.exchange { --tb-size: 28px; --tb-ring: var(--exchange-bg); --tb-theirs: var(--bubble-in); }
/* typing indicator: css/typing.css owns the shape; the thread sets its size, its grey and its spacing */
.exchange { --ty-size: 32px; --ty-fill: var(--bubble-in); }
.exchange .ty { margin-top: 2px; }
.exchange .msg-out + .ty { margin-top: 10px; }
.exchange figcaption { max-width: 420px; margin: 12px auto 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); text-align: center; }
.exchange figcaption strong { color: var(--ink-2); font-weight: 600; }

/* ---------- sources + changelog ---------- */
.prose .sources ol, .prose ol.sources { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.prose .sources li { margin-bottom: 8px; }
.prose .sources .src-date { color: var(--ink-3); }
.prose .changelog { padding-left: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.prose .changelog time { font-family: var(--mono); font-size: .9em; color: var(--ink-3); margin-right: 8px; }

/* ---------- FAQ (always visible: no accordion): full-width rows with dividers ---------- */
.post-faq { margin: 96px 0 0; scroll-margin-top: calc(var(--nav-h) + 30px); }
.post-sources { margin-top: 8px; }
.post-sources > h2:first-child { margin-top: 72px; font-size: 1.35rem; letter-spacing: -0.02em; }
.post-sources h2 { font-size: 1.35rem; letter-spacing: -0.02em; }
.post-faq > h2 {
  margin: 0 0 8px; scroll-margin-top: calc(var(--nav-h) + 30px);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink-strong);
  text-wrap: balance;
}
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.faq-item:first-of-type { border-top: 1px solid var(--hairline); margin-top: 24px; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink-strong); scroll-margin-top: calc(var(--nav-h) + 30px); }
.faq-item p { margin: 0 0 10px; max-width: 46em; font-size: 16.5px; line-height: 1.7; color: var(--text); }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item a { color: var(--link); text-underline-offset: 3px; }

/* ---------- post footer: the author ---------- */
.post-footer {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start;
  margin: 64px 0 0; padding: 32px 0 0; border-top: 1px solid var(--hairline);
  font-size: 14.5px; line-height: 1.6; color: var(--ink-2);
}
.post-footer .byline-av { --av: 56px; }
.post-footer img { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--hairline); padding: 6px; object-fit: contain; }
.post-footer p { margin: 0 0 8px; max-width: 46em; }
.post-footer strong { color: var(--ink-strong); font-weight: 500; }
.post-footer a { color: var(--link); text-underline-offset: 3px; }

/* ============================================================
   Cards (related posts + blog index)
   ============================================================ */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  min-width: 0; padding: 22px 22px 20px;
  border: 1px solid var(--hairline); border-radius: 24px;
  background: var(--surface); box-shadow: var(--card-shadow);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card-cat { font-size: 13px; font-weight: 500; color: var(--accent-deep); }
:root[data-theme="dark"] .card-cat { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card-cat { color: var(--accent); } }
.card h3 { margin: 0; font-size: 1.1rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink-strong); text-wrap: balance; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card h3 a:focus-visible { outline: none; }
.card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.card-meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--ink-3); }
@media (hover: hover) {
  .card:hover { border-color: var(--hairline-2); box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
  .card:hover h3 a { color: var(--link); }
}
@media (prefers-reduced-motion: reduce) { .card, .btn { transition: none; } .card:hover, .btn-primary:hover { transform: none; } }

/* related */
.related { margin-top: 72px; }
.related h2 { margin: 0 0 20px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-strong); }
.related-more { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }   /* its links are quiet buttons (.btn.btn-ghost) */

/* ============================================================
   CTA panel
   ============================================================ */
.cta-panel { margin-top: 72px; }
.cta-panel-inner {
  position: relative; overflow: hidden;
  padding: 36px 22px; border-radius: 28px;
  background: var(--wash); border: 1px solid var(--hairline);
  text-align: center;
}
.cta-panel h2 {
  margin: 0 auto; max-width: 20ch;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.035em; color: var(--ink-strong);
  text-wrap: balance;
}
.cta-panel p { margin: 16px auto 0; max-width: 52ch; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin: 26px auto 0; max-width: 360px; }
.cta-actions .btn { min-height: 48px; }
.cta-fine { font-size: 13.5px !important; color: var(--ink-3) !important; }
@media (min-width: 640px) {
  .cta-panel-inner { padding: 56px 40px; border-radius: 32px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
}

/* ============================================================
   Blog index
   ============================================================ */
.blog-hero {
  position: relative; overflow: hidden;
  margin: 0 0 32px; padding: 28px 20px 24px; border-radius: 28px;
  background: var(--wash); border: 1px solid var(--hairline);
}
.blog-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); font-weight: 400; line-height: 1.08; letter-spacing: var(--track-display); color: var(--ink-strong);
  text-wrap: balance;
}
.blog-hero .blog-intro { margin: 14px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.blog-hero .blog-intro a, .blog-about a { color: var(--link); font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 768px) { .blog-hero { padding: 36px 40px 32px; border-radius: 34px; } .blog-hero .blog-intro { font-size: 19px; } }
/* wide: copy on the left, search and chips on the right, so the card is short and full */
@media (min-width: 960px) {
  .blog-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 56px; align-items: center; }
  .blog-search { margin-top: 0; }
}

.blog-about { margin: 0 0 8px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.blog-about h2 { margin: 0 0 12px; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-strong); }
.blog-about p { margin: 0 0 12px; max-width: 75ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.blog-search { margin-top: 22px; max-width: 760px; }
.blog-search[hidden] { display: none; }
.blog-search label { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 500; color: var(--ink-strong); }
.blog-search-field { display: flex; align-items: center; gap: 8px; padding: 5px; border: 1px solid var(--hairline-2); border-radius: 16px; background: var(--surface); }
.blog-search button:focus-visible { outline-offset: -2px; }
/* the Clear button is the one clear control; hide the browser's own x */
.blog-search input::-webkit-search-cancel-button { appearance: none; -webkit-appearance: none; display: none; }
.blog-search input { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 0; outline: 0; background: transparent; color: var(--ink-strong); font: inherit; font-size: 16px; }
.blog-search button { min-height: 44px; padding: 8px 14px; border: 0; border-radius: 10px; background: var(--pill-bg); color: var(--ink); font: inherit; cursor: pointer; }
.blog-search p, .blog-search-status { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.blog-search p { margin: 10px 0 0; }
.blog-search-status:empty { display: none; }
.blog-search-status { margin: 0 0 18px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  border: 1px solid var(--pill-bd); border-radius: 999px; background: var(--pill-bg);
  font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { background: var(--accent-tint); color: var(--accent-deep); border-color: transparent; }
.chip[aria-current="true"] { background: var(--ink-strong); color: var(--canvas); border-color: var(--ink-strong); }

.blog-section { margin: 0 0 56px; scroll-margin-top: calc(var(--nav-h) + 30px); }
.blog-section[hidden] { display: none; }
.blog-section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 20px; margin: 0 0 18px; }
.blog-section-head h2 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; color: var(--ink-strong); }
.blog-section-head p { grid-column: 1 / -1; margin: 0; max-width: 64ch; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.blog-section-head .hub-link { font-size: 15px; font-weight: 500; color: var(--link); text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 600px) { .blog-section-head { grid-template-columns: minmax(0, 1fr); } }
.blog-empty { margin: 0; padding: 22px; border: 1px dashed var(--hairline-2); border-radius: 20px; font-size: 15px; color: var(--ink-3); }

/* ============================================================
   Footer (homepage markup)
   ============================================================ */
.footer { margin-top: 88px; padding: 56px 0 40px; border-top: 1px solid var(--hairline); background: var(--canvas); }
.footer .container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-logo img { width: 171px; height: auto; }
.footer-tagline { margin: 10px 0 14px; max-width: 24ch; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.footer-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer-column h2, .footer-column h4 { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .07em; line-height: 1.6; color: var(--ink-3); }
.footer-column a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.footer-column a:hover { color: var(--link); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--ink-3); }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) {
  .footer { padding: 88px 0 40px; }
  .footer .container { padding: 0 40px; }
  .footer-grid { grid-template-columns: 1.4fr 3fr; gap: 48px; }
  .footer-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================================
   Print: the article only
   ============================================================ */
@media print {
  .nav, .footer, .cta-panel, .related, .toc, .code-copy, .skip-link { display: none !important; }
  .blog-main { padding-top: 0; }
  body { background: #fff; color: #000; }
  .prose a::after { content: " (" attr(href) ")"; font-size: .85em; }
}
