/* Linen & Balance site styles. Tokens and rules follow brand-guide.md section 6.3.
   Fonts: Fraunces (headings) and Inter (body), self-hosted. Put the two .woff2 files in
   /assets/fonts/ (see DEPLOY.md). Until then the fallback stack below is used. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("Fraunces"), url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: local("Inter"), url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --c-green: #164A41;
  --c-green-dark: #0F342E;
  --c-linen: #F6F1E7;
  --c-ink: #1F2A28;
  --c-brass: #C99A3C;
  --c-brass-deep: #8A6014;
  --c-sage: #DCE7DF;
  --c-mist: #E3DCCB;
  --c-slate: #5B6B66;
  --c-white: #FFFFFF;
  --c-success: #2A7548;
  --c-warning: #A64B16;
  --c-danger: #A63A2B;
  --c-warning-tint: #FBEDE2;

  --font-head: Fraunces, "Iowan Old Style", Georgia, serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 8px; --radius: 14px; --radius-btn: 10px; --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(31,42,40,.06), 0 8px 24px rgba(31,42,40,.06);
  --measure: 68ch; --container: 1120px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-linen);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--c-green);
  margin: 0 0 var(--space-3);
}
h1 { font-size: clamp(2rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 1.75rem); }
h3, .h3 { font-size: 1.375rem; }
h1.display { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; }
p, ul, ol, dl { margin: 0 0 var(--space-4); }
.section p, .section li { max-width: var(--measure); }
.center p, p.center, .center .lead { margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.band p, .grid p, .card p, .kit-offer p, .hero-copy p, .table p { max-width: none; }

a {
  color: var(--c-green);
  text-decoration: underline;
  text-decoration-color: var(--c-brass);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--c-green-dark); }
:focus-visible { outline: 3px solid var(--c-green); outline-offset: 3px; }
.bg-green :focus-visible, .site-footer :focus-visible { outline-color: var(--c-linen); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--c-green); color: var(--c-white); padding: 10px 16px; border-radius: var(--radius-btn);
}
.skip-link:focus { top: var(--space-3); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.narrow-left { max-width: 760px; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.25;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-green); color: var(--c-white); }
.btn-primary:hover { background: var(--c-green-dark); color: var(--c-white); }
.btn-buy { background: var(--c-brass); color: var(--c-ink); font-weight: 700; }
.btn-buy:hover { color: var(--c-ink); box-shadow: inset 0 0 0 2px var(--c-green); }
.btn-secondary { background: transparent; color: var(--c-green); border-color: var(--c-green); }
.btn-secondary:hover { background: var(--c-sage); color: var(--c-green-dark); }
.btn-on-dark { background: transparent; color: var(--c-linen); border-color: var(--c-linen); }
.btn-on-dark:hover { background: rgba(246,241,231,.12); color: var(--c-white); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.text-link { font-weight: 600; }

/* ------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-linen); border-bottom: 1px solid var(--c-mist); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-4); min-height: 72px; padding-top: 6px; padding-bottom: 6px; }
.logo { display: block; flex: 0 0 auto; }
.logo img { height: 40px; width: auto; max-width: 100%; }
.nav-toggle {
  display: none; min-height: 48px; padding: 8px 16px; background: transparent; color: var(--c-green);
  border: 2px solid var(--c-green); border-radius: var(--radius-btn); font: 600 .9375rem var(--font-body); cursor: pointer;
}
.js .nav-toggle { display: inline-flex; align-items: center; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); width: 100%; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; padding-bottom: var(--space-4); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); list-style: none; margin: 0; padding: 0; }
.js .site-nav.is-open ul { flex-direction: column; gap: 0; }
.site-nav li { max-width: none; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 4px; font-weight: 500; font-size: .9375rem; color: var(--c-ink);
  text-decoration: none; border-bottom: 2px solid transparent;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--c-green); border-bottom-color: var(--c-brass); }
.nav-cta { min-height: 44px; padding: 8px 20px; }
@media (min-width: 960px) {
  .header-row { flex-wrap: nowrap; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: flex; flex-direction: row; width: auto; align-items: center; padding: 0; gap: var(--space-5); }
  .js .site-nav.is-open ul, .site-nav ul { flex-direction: row; gap: var(--space-4); flex-wrap: nowrap; }
}

/* ------------------------------------------------------------- sections */
.section { padding: var(--space-8) 0; }
.bg-white { background: var(--c-white); }
.bg-sage { background: var(--c-sage); }
.bg-green { background: var(--c-green); color: var(--c-linen); }
.bg-green h1, .bg-green h2, .bg-green h3 { color: var(--c-white); }
.bg-green a:not(.btn) { color: var(--c-linen); text-decoration-color: var(--c-brass); }
.section-head { margin-bottom: var(--space-6); }
.section-head.center { text-align: center; }
.eyebrow {
  font-weight: 600; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-brass-deep); margin-bottom: var(--space-2);
}
.bg-green .eyebrow { color: var(--c-brass); }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--c-ink); }
.bg-green .lead { color: var(--c-linen); }
.rule { width: 96px; height: 8px; background: var(--c-brass); border-radius: 2px; margin: 0 0 var(--space-5); }
.fineprint { font-size: .875rem; line-height: 1.5; color: var(--c-slate); }
.bg-green .fineprint { color: #d7dfd8; }
.meta { color: var(--c-slate); font-size: .9375rem; }
@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .section { padding: var(--space-9) 0; }
}

.page-hero { padding: var(--space-7) 0 var(--space-6); background: var(--c-linen); }
.page-hero .lead { max-width: var(--measure); }
.breadcrumb { margin-bottom: var(--space-4); font-size: .875rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); list-style: none; margin: 0; padding: 0; color: var(--c-slate); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--c-slate); }
.breadcrumb a { color: var(--c-slate); }

/* ------------------------------------------------------------- hero */
.hero { padding: var(--space-7) 0 var(--space-8); background: var(--c-linen); }
.hero-grid { display: grid; gap: var(--space-6); align-items: center; }
.hero-copy { min-width: 0; }
.hero-media { min-width: 0; }
.frame { background: var(--c-white); border: 1px solid var(--c-mist); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-card); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.frame figcaption { font-size: .875rem; color: var(--c-slate); padding: 10px 6px 4px; }
figure { margin: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); align-items: flex-start; margin-bottom: var(--space-4); }
.cta-row.center-row { justify-content: center; }
.hero-price { margin: 0; }
.trust-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: .9375rem; color: var(--c-slate); }
.trust-list li::before { content: "\2713"; color: var(--c-success); font-weight: 700; margin-right: 8px; }
.micro { font-size: .875rem; color: var(--c-slate); margin-top: var(--space-3); }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin: var(--space-5) 0 var(--space-2); }
.buy { display: inline-block; }
.buy-note { font-size: .875rem; color: var(--c-slate); margin: var(--space-2) 0 0; }
.bg-green .buy-note { color: #d7dfd8; }
.hero-form { padding: var(--space-5); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-8); }
  .hero { padding: var(--space-8) 0 var(--space-9); }
}

/* ------------------------------------------------------------- grids and cards */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.card {
  background: var(--c-white); border: 1px solid var(--c-mist); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: var(--space-5); min-width: 0;
}
.bg-white .card { background: var(--c-linen); }
.bg-white .product-card, .bg-white .card.signup-card { background: var(--c-white); }
.bg-sage .card, .hero .card { background: var(--c-white); }
.feature h3 { margin-bottom: var(--space-2); }
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card .card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: var(--space-5) var(--space-5) var(--space-3); flex: 1 1 auto; }
.product-card h3 { font-size: 1.375rem; margin-bottom: var(--space-2); }
.product-card h3 a { text-decoration: none; color: var(--c-green); }
.product-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--c-brass); }
.card-desc { color: var(--c-slate); font-size: 1rem; margin-bottom: var(--space-2); }
.card-format { font-size: .8125rem; font-weight: 600; color: var(--c-slate); letter-spacing: .02em; margin: 0; }
.card-foot { padding: var(--space-3) var(--space-5) var(--space-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.card-foot .price-block { margin: 0; }
.badge {
  display: inline-block; background: var(--c-brass); color: var(--c-ink); font-weight: 700; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: var(--space-3);
}
.price-block { margin: 0 0 var(--space-3); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--space-3); }
.price { font-weight: 700; font-size: 1.375rem; font-variant-numeric: tabular-nums; color: var(--c-ink); }
.price-block.big .price { font-size: 2.25rem; font-family: var(--font-head); color: var(--c-green); }
.price-note { font-size: .875rem; color: var(--c-slate); }
.price-note:empty { display: none; }
.savings { font-size: 1rem; }

.kit-grid { display: grid; gap: var(--space-6); align-items: start; }
.kit-list { list-style: none; margin: 0; padding: 0; }
.kit-list li { display: flex; flex-direction: column; padding: var(--space-3) 0; border-bottom: 1px solid var(--c-mist); max-width: none; }
.kit-list span { color: var(--c-slate); font-size: .9375rem; }
.kit-list a { text-decoration: none; }
.kit-list a:hover strong { text-decoration: underline; text-decoration-color: var(--c-brass); text-decoration-thickness: 2px; }
.kit-offer { text-align: left; position: relative; }
.kit-offer .buy { display: block; margin: var(--space-4) 0; }
.kit-offer .btn { width: 100%; }
@media (min-width: 900px) {
  .kit-grid { grid-template-columns: 1.4fr 1fr; gap: var(--space-8); }
  .kit-offer { position: sticky; top: 96px; }
}

/* proof */
.proof-grid { margin-bottom: var(--space-5); }
.listing-card { background: var(--c-white); border: 1px solid var(--c-mist); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow-card); }
.listing-card h3 { margin-bottom: var(--space-3); }
.listing-type { font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--c-slate); margin-bottom: var(--space-1); }
.meter-label { margin-bottom: var(--space-2); font-size: .9375rem; }
.meter { height: 12px; background: var(--c-mist); border-radius: var(--radius-pill); overflow: hidden; margin-bottom: var(--space-4); }
.meter span { display: block; height: 100%; background: var(--c-green); border-radius: var(--radius-pill); }
.listing-line { margin-bottom: var(--space-3); }
.verdict { display: inline-block; font-weight: 700; font-size: .9375rem; padding: 6px 12px; border-radius: var(--radius-pill); margin: 0; }
.verdict-thin { background: var(--c-warning-tint); color: var(--c-warning); }
.verdict-good { background: #E1F0E6; color: var(--c-success); }

/* steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.steps li { counter-increment: step; position: relative; padding-left: 56px; max-width: none; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-brass); color: var(--c-ink); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 1.25rem; margin-bottom: var(--space-1); }
.steps p { margin: 0; }
@media (min-width: 800px) {
  .steps:not(.steps-compact) { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* band (sign-up) */
.band { display: grid; gap: var(--space-6); align-items: center; }
.band-form { padding: var(--space-5); }
@media (min-width: 900px) { .band { grid-template-columns: 1.1fr .9fr; gap: var(--space-8); } }

/* lists */
.check-list, .cross-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.check-list li, .cross-list li { position: relative; padding-left: 32px; margin-bottom: var(--space-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23164A41' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.cross-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A64B16' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.mini ul { padding-left: 20px; margin: 0 0 var(--space-3); }
.mini li { margin-bottom: 6px; }
.mini h3 { font-size: 1.125rem; }
.two-col { columns: 2; column-gap: var(--space-5); }
.two-col li { break-inside: avoid; }
.doc-list { padding-left: 24px; }
.doc-list li { margin-bottom: var(--space-2); }

/* tables and definitions */
.table-wrap { overflow-x: auto; margin-bottom: var(--space-4); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; background: var(--c-white); font-size: .9375rem; }
.table caption { text-align: left; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--c-mist); }
.table thead th { background: var(--c-sage); font-weight: 600; border-bottom: 2px solid var(--c-green); }
.table tbody th { font-weight: 600; }
.table tfoot th, .table tfoot td { font-weight: 700; border-top: 2px solid var(--c-green); border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.defs { display: grid; grid-template-columns: 1fr; gap: 0; }
.defs dt { font-weight: 700; color: var(--c-green); margin-top: var(--space-3); }
.defs dd { margin: 0 0 var(--space-2); max-width: var(--measure); }
@media (min-width: 700px) {
  .defs { grid-template-columns: 240px 1fr; column-gap: var(--space-5); }
  .defs dt { margin-top: 0; padding: 10px 0; border-bottom: 1px solid var(--c-mist); }
  .defs dd { padding: 10px 0; margin: 0; border-bottom: 1px solid var(--c-mist); max-width: none; }
}
.specs { margin: 0; display: grid; gap: 0; }
.specs div { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid rgba(22,74,65,.18); }
.specs dt { font-weight: 700; color: var(--c-green); }
.specs dd { margin: 0; }
@media (min-width: 700px) { .specs div { grid-template-columns: 200px 1fr; gap: var(--space-5); } }

/* sample message */
.sample-msg { background: var(--c-white); border: 1px solid var(--c-mist); border-left: 6px solid var(--c-brass); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow-card); max-width: 680px; }
.bg-white .sample-msg { background: var(--c-linen); }
.sample-msg figcaption span { color: var(--c-slate); font-size: .9375rem; }
.sample-msg blockquote { margin: var(--space-4) 0; padding: 0; font-size: 1rem; }
.sample-msg blockquote p { margin: 0; }
.gallery figure { margin: 0; }

/* faq */
.faq-list { border-top: 1px solid var(--c-mist); margin-bottom: var(--space-5); }
.faq-item { border-bottom: 1px solid var(--c-mist); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: var(--space-4) 36px var(--space-4) 0; font-weight: 600; position: relative; color: var(--c-green);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--c-brass-deep);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding-bottom: var(--space-3); }
.faq-answer p:last-child { margin-bottom: var(--space-3); }

/* notes, banners, prose */
.note { background: var(--c-sage); border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); margin: var(--space-4) 0; }
.note p { margin: 0; }
.draft-banner { background: var(--c-warning-tint); border: 1px solid var(--c-warning); color: var(--c-ink); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); margin-top: var(--space-4); font-size: .9375rem; }
.draft-banner[hidden], [hidden] { display: none !important; }
.prose h2 { margin-top: var(--space-7); font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: var(--space-2); }
.legal h2 { font-size: 1.25rem; margin-top: var(--space-6); }
.contact-card h2 { margin-bottom: var(--space-2); }
.contact-email { font-size: 1.375rem; font-weight: 600; }
.biz-details bdi { unicode-bidi: isolate; }
code { font-size: .9em; background: rgba(31,42,40,.07); padding: 1px 5px; border-radius: 4px; }
blockquote { margin: 0 0 var(--space-4); padding-left: var(--space-4); border-left: 4px solid var(--c-mist); }

/* ------------------------------------------------------------- forms */
.signup { display: grid; gap: var(--space-4); }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type="email"], .field input[type="text"] {
  width: 100%; height: 48px; padding: 0 14px; font: inherit; color: var(--c-ink); background: var(--c-white);
  border: 1px solid var(--c-slate); border-radius: var(--radius-btn);
}
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .9375rem; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-green); }
.signup .btn { width: 100%; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; font-size: .9375rem; }
.form-status.is-error { color: var(--c-danger); }
.form-status.is-success { color: var(--c-success); }
.form-status.is-info { color: var(--c-slate); }
.signup.compact { gap: var(--space-3); }

/* ------------------------------------------------------------- final CTA */
.cta-final .btn-buy { margin-top: var(--space-2); }
.cta-final .buy { margin: 0 auto; }

/* ------------------------------------------------------------- blog */
.post-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.post-card { display: flex; flex-direction: column; padding: var(--space-5); }
.post-card h2, .post-card h3 { font-size: 1.375rem; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card .meta { margin: 0 0 var(--space-3); }
.post-card .card-desc { flex: 1 1 auto; }
.article-head { padding: var(--space-7) 0 var(--space-5); }
.article-head h1 { margin-bottom: var(--space-3); }
.post-body { max-width: var(--measure); }
.post-body h2 { margin-top: var(--space-7); }
.post-body h3 { margin-top: var(--space-6); }
.post-body img { border-radius: var(--radius-sm); margin: var(--space-4) 0; }
.post-body pre { overflow-x: auto; background: var(--c-white); border: 1px solid var(--c-mist); padding: var(--space-4); border-radius: var(--radius-sm); }
.post-body table { margin-bottom: var(--space-4); }
.article-cta { margin: var(--space-7) 0; }
.empty-state { text-align: center; padding: var(--space-6) 0; }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--c-green); color: var(--c-linen); padding: var(--space-8) 0 var(--space-6); margin-top: 0; }
.site-footer a { color: var(--c-linen); text-decoration-color: rgba(201,154,60,.8); }
.site-footer a:hover { color: var(--c-white); }
.footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { height: 40px; width: auto; margin-bottom: var(--space-3); }
.footer-social { margin: var(--space-3) 0 0; font-size: .9375rem; }
.footer-tagline { font-family: var(--font-head); font-size: 1.125rem; margin: 0 0 var(--space-1); }
.footer-desc { margin: 0; color: #d7dfd8; font-size: .9375rem; }
.footer-col h2 { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brass); margin-bottom: var(--space-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: var(--space-2); font-size: .9375rem; max-width: none; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(246,241,231,.25); font-size: .875rem; }
.footer-bottom p { margin: 0 0 var(--space-2); max-width: 80ch; }
.footer-fine { color: #d7dfd8; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: auto; }
}
.noscript-note { background: var(--c-warning-tint); margin: 0; padding: 12px var(--gutter); text-align: center; font-size: .9375rem; }

@media (max-width: 480px) {
  .two-col { columns: 1; }
  .btn { width: 100%; }
  .site-nav .btn, .nav-toggle { width: auto; }
  .js .site-nav.is-open .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
  .card-foot .btn { width: 100%; }
  .table { font-size: .875rem; }
  .table th, .table td { padding: 10px 8px; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .signup, .buy, .btn { display: none !important; }
  body { background: #fff; }
}
