/* Marketing and content pages (site/). The editor at /web/ has its own style.css
   with the same color tokens. Heavy bars echo the Nutrition Facts panel;
   headings are Fraunces (self-hosted, OFL, site/fonts/). */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/fraunces-latin.woff2) format('woff2');
}

:root {
  --bg: #fbf8f1;
  --panel: #ffffff;
  --text: #1d1c19;
  --muted: #5e5b53;
  --line: #e3ddd0;
  --ink: #141412;
  --accent: #1f5f4a;
  --accent-strong: #174a39;
  --accent-soft: #e2efe8;
  --accent-text: #ffffff;
  --butter: #f6e4ae;
  --butter-soft: #fbf1d4;
  --tomato: #d4552b;
  --tomato-soft: #fbe3d8;
  --band: #173f32;
  --band-text: #f3efe4;
  --warn-bg: #fff3d6;
  --warn-text: #6b4a00;
  --shadow: 0 1px 2px rgba(40, 32, 12, .06), 0 10px 30px rgba(40, 32, 12, .10);
  --radius: 14px;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --measure: 68ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151513;
    --panel: #1f1f1c;
    --text: #ecebe6;
    --muted: #a8a59c;
    --line: #34332e;
    --ink: #f1efe8;
    --accent: #6cc0a0;
    --accent-strong: #8fd4b8;
    --accent-soft: #1c2e27;
    --accent-text: #0e1a15;
    --butter: #4a3f1f;
    --butter-soft: #2b2617;
    --tomato: #f08a62;
    --tomato-soft: #3a2219;
    --band: #10261f;
    --band-text: #ecebe6;
    --warn-bg: #3a2f14;
    --warn-text: #f3d48a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.62 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
::selection { background: var(--butter); color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: var(--measure); }
.center { text-align: center; }
.center .prose, .prose.center { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; gap: 4px 22px; flex-wrap: wrap; margin-left: auto; align-items: center; font-size: 15px; }
.site-nav a { color: var(--text); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
@media (max-width: 760px) {
  .site-head { position: static; }
  .site-nav { margin-left: 0; width: 100%; gap: 4px 16px; }
  .site-nav .btn { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2;
  background: var(--accent); color: var(--accent-text); text-decoration: none; border: 2px solid var(--accent);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 6px 16px color-mix(in srgb, var(--accent) 28%, transparent);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; background: var(--accent-strong); border-color: var(--accent-strong); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: none; }
.btn.ghost:hover { background: var(--accent-soft); }
.btn.small { padding: 8px 16px; font-size: 15px; box-shadow: none; }
.btn.light { background: var(--butter); border-color: var(--butter); color: #2a230f; box-shadow: none; }
.btn.light:hover { background: #fff; border-color: #fff; }
.site-nav .btn { color: var(--accent-text); text-decoration: none; }
/* .site-nav a:hover would otherwise paint the label in the button colour. */
.site-nav .btn:hover { color: var(--accent-text); text-decoration: none; }

/* ---------- Type ---------- */
h1, h2, h3 { color: var(--ink); line-height: 1.15; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5.4vw, 58px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 56px 0 14px; }
h3 { font-size: 19px; font-weight: 750; margin: 28px 0 6px; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 62%, var(--butter) 62%); padding: 0 .08em; }
.lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

/* The label's 7 pt and 3 pt bars, as section rules */
.bar { border: 0; border-top: 8px solid var(--ink); margin: 0; }
.bar.thin { border-top-width: 3px; margin-top: 48px; }

main { padding-bottom: 0; }
section.block { padding: 80px 0; }
section.block.tint { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 700px) { section.block { padding: 56px 0; } }

/* ---------- Home hero ---------- */
.hero-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(1000px 500px at 85% 10%, var(--accent-soft), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, var(--butter-soft), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; min-height: 470px; }
.recipe-card {
  position: absolute; left: 0; top: 70px; width: 50%; z-index: 1; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 18px 14px; transform: rotate(-3deg); font-size: 14px;
}
.rc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.rc-head span { font-family: system-ui, sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 99px; }
.recipe-card ul { list-style: none; margin: 0; padding: 0; }
.recipe-card li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.recipe-card li b { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink); white-space: nowrap; }
.rc-foot { margin-top: 10px; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.rc-foot svg { width: 16px; height: 16px; color: var(--accent); }
.label-card { position: absolute; right: 0; top: 10px; width: 45%; max-width: 270px; z-index: 1; background: #fff; padding: 10px; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(2.5deg); }
.label-card svg, .label-frame svg { display: block; width: 100%; height: auto; }
.hero-arrow { position: absolute; left: 46%; top: 47%; width: 64px; color: var(--tomato); transform: rotate(-10deg); z-index: 2; }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--bg);
  font-size: 12.5px; font-weight: 650; padding: 6px 11px; border-radius: 99px; box-shadow: var(--shadow); white-space: nowrap;
}
.hero-chip svg { width: 14px; height: 14px; }
.hero-chip { z-index: 3; }
.hero-chip.c1 { left: 2%; top: 18px; background: var(--tomato); color: #fff; }
.hero-chip.c2 { right: 4%; bottom: 22px; background: var(--accent); color: var(--accent-text); }
.hero-chip.c3 { left: 14%; bottom: 2px; background: var(--butter); color: #2a230f; }
@media (max-width: 920px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 44px; padding-bottom: 56px; }
  .hero-visual { min-height: 430px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 430px; }
  .recipe-card { width: 54%; top: 56px; padding: 12px 10px 8px; font-size: 12px; }
  .rc-head { font-size: 15px; }
  .rc-head span { display: none; }
  .label-card { width: 46%; }
  .hero-chip { font-size: 11.5px; padding: 5px 9px; }
  .hero-chip.c1 { left: 0; top: 8px; }
  .hero-chip.c2 { right: 0; bottom: 6px; }
  .hero-chip.c3 { left: 0; bottom: 6px; }
  .hero-chip.c2 { bottom: 40px; }
  .hero-arrow { display: none; }
}

/* ---------- Trust strip ---------- */
.strip { background: var(--band); color: var(--band-text); }
.strip ul { list-style: none; margin: 0 auto; padding: 18px 20px; max-width: 1120px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; }
.strip li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; text-wrap: balance; }
.strip svg { width: 22px; height: 22px; flex: none; color: var(--butter); }
.strip a { color: inherit; text-decoration-color: var(--butter); }
.strip a:hover { color: var(--butter); }
/* --butter turns dark in dark mode; the band stays dark, so keep the light yellow. */
@media (prefers-color-scheme: dark) { .strip svg, .strip a:hover { color: #e9cf83; } .strip a { text-decoration-color: #e9cf83; } }
@media (max-width: 820px) { .strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; position: relative; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; counter-increment: step; }
.steps .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.steps .ico svg { width: 26px; height: 26px; }
.steps li::after { content: counter(step); position: absolute; top: 16px; right: 18px; font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; color: color-mix(in srgb, var(--ink) 12%, transparent); }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .ico { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--butter-soft); color: #8a5a00; }
@media (prefers-color-scheme: dark) { .feature .ico { color: #e9cf83; } }
.feature .ico.green { background: var(--accent-soft); color: var(--accent); }
.feature .ico.red { background: var(--tomato-soft); color: var(--tomato); }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { margin: 2px 0 0; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.formats { display: flex; gap: 6px; margin-top: 10px; grid-column: 2; }
.formats span { font-size: 12px; font-weight: 750; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; border: 1.5px solid var(--ink); color: var(--ink); }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px 24px; display: flex; flex-direction: column; }
.price h3 { margin: 0; font-size: 18px; }
.price .amount { font-family: var(--display); font-size: 52px; font-weight: 700; color: var(--ink); margin: 8px 0 0; letter-spacing: -0.03em; line-height: 1; }
.price .amount small { font-family: system-ui, sans-serif; font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price .per { color: var(--muted); font-size: 15px; margin: 8px 0 16px; }
.price ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 15.5px; }
.price li { position: relative; padding: 5px 0 5px 28px; }
.price li svg { position: absolute; left: 0; top: 8px; width: 18px; height: 18px; color: var(--accent); }
.price .btn { margin-top: auto; justify-content: center; }
.price.featured { background: var(--band); color: var(--band-text); border-color: var(--band); box-shadow: var(--shadow); }
.price.featured h3, .price.featured .amount { color: #fff; }
.price.featured .per, .price.featured .amount small { color: color-mix(in srgb, var(--band-text) 75%, transparent); }
.price.featured li svg { color: var(--butter); }
.badge { position: absolute; top: -13px; left: 24px; background: var(--tomato); color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; }
.price-note { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.price-note span { display: inline-flex; align-items: center; gap: 7px; }
.price-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 860px) { .prices { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
thead th { border-bottom: 3px solid var(--ink); font-weight: 750; font-size: 14px; letter-spacing: .02em; background: color-mix(in srgb, var(--panel) 92%, var(--ink)); }
tbody th { font-weight: 650; }
tbody tr:nth-child(even) td, tbody tr:nth-child(even) th { background: color-mix(in srgb, var(--panel) 96%, var(--ink)); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare td.ours, .compare th.ours { background: var(--accent-soft) !important; }
.compare thead th.ours { color: var(--accent); }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; }
.yes svg, .no svg { width: 18px; height: 18px; flex: none; }
.yes svg { color: var(--accent); }
.no svg { color: var(--tomato); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--accent-soft); color: var(--accent); }
.pill.need { background: var(--tomato-soft); color: var(--tomato); }

/* ---------- Notes ---------- */
.note { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; background: var(--accent-soft); padding: 16px 18px; margin: 24px 0; border-radius: 12px; }
.note > svg { width: 24px; height: 24px; color: var(--accent); margin-top: 1px; }
.note.warn { background: var(--tomato-soft); }
.note.warn > svg { color: var(--tomato); }
.note.plain { display: block; background: var(--panel); border: 1px solid var(--line); font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 14.5px; }
.note p { margin: 0; }
.note p + p { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 11px; font-size: 24px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Inner page head ---------- */
.page-band {
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 8%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(800px 360px at 90% 0%, var(--accent-soft), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.page-band h1 { margin-bottom: 12px; }
.page-band .lede { margin: 0; }
.page-band .art { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent); transform: rotate(4deg); }
.page-band .art svg { width: 76px; height: 76px; }
.page-band .art.butter { background: var(--butter-soft); color: #8a5a00; }
.page-band .art.red { background: var(--tomato-soft); color: var(--tomato); }
@media (prefers-color-scheme: dark) { .page-band .art.butter { color: #e9cf83; } }
@media (max-width: 760px) { .page-band .wrap { grid-template-columns: minmax(0, 1fr); } .page-band .art { display: none; } }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); }
.legal-meta { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); padding: 4px 12px; border-radius: 99px; }

.article { padding: 48px 0 24px; }
.article h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 52px; }
.article h2:first-child { margin-top: 0; }
.step-h { display: flex; align-items: center; gap: 14px; }
.step-h .n { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 20px; }

/* ---------- Template page ---------- */
.template { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 48px; }
.template .label-frame { transform: rotate(-1.5deg); }
.label-frame { background: #fff; padding: 12px; border-radius: 10px; box-shadow: var(--shadow); }
.label-caption { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 22px; }
.download-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.download-card h2 { margin-top: 0; }
@media (max-width: 760px) { .template { grid-template-columns: minmax(0, 1fr); } .template .label-frame { max-width: 270px; margin: 0 auto; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--band); color: var(--band-text); position: relative; overflow: hidden; margin-top: 72px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0) 0 0 / 22px 22px; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: #fff; margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 42px); }
.cta-band p { margin: 0; max-width: 56ch; color: color-mix(in srgb, var(--band-text) 82%, transparent); font-size: 18px; }
.cta-band .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cta-band .actions small { color: color-mix(in srgb, var(--band-text) 70%, transparent); font-size: 14px; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 48px; padding-bottom: 48px; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 8px solid var(--ink); background: var(--panel); padding: 36px 0 44px; font-size: 15px; color: var(--muted); }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)); gap: 24px 40px; }
.site-foot h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.site-foot nav { display: flex; flex-direction: column; gap: 6px; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--accent); text-decoration: underline; }
.site-foot p { margin: 6px 0; max-width: 60ch; }
.site-foot .brand { font-size: 20px; margin-bottom: 6px; }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-foot .about { grid-column: 1 / -1; } }

code { font-size: 0.92em; background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* ---------- Article with sidebar ---------- */
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 56px; align-items: start; }
.doc-main { min-width: 0; max-width: 760px; }
.doc-main .prose { max-width: none; }
.doc-side { position: sticky; top: 88px; padding-top: 48px; display: grid; gap: 18px; }
.toc { border-left: 3px solid var(--ink); padding: 2px 0 2px 16px; }
.toc-title { margin: 0 0 8px; font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.35; }
.toc a { color: var(--muted); text-decoration: none; display: flex; gap: 8px; }
.toc a:hover { color: var(--accent); }
.toc a span { flex: none; font-weight: 700; color: var(--accent); min-width: 12px; }
.side-cta { background: var(--band); color: var(--band-text); border-radius: var(--radius); padding: 20px; }
.side-cta svg { width: 34px; height: 34px; color: var(--butter); }
.side-cta p { margin: 10px 0 14px; font-size: 15px; line-height: 1.45; }
.side-cta strong { color: #fff; }
.side-cta .btn { background: var(--butter); border-color: var(--butter); color: #2a230f; }
h2[id] { scroll-margin-top: 90px; }
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .doc-side { display: none; }
}
@media (max-width: 560px) {
  .pill { white-space: normal; }
  th, td { padding: 9px 10px; }
}
