/* =========================================================
   Cashflow Forecast Hub — "columnar pad" theme
   Pale ledger-green paper, deep teal ink, green = cash in,
   red ink = cash out, highlighter yellow = the one thing to notice.
   ========================================================= */
:root {
  --paper: #EEF2ED;
  --paper-2: #E1E9E2;
  --sheet: #FBFCFA;
  --sheet-head: #DCE6DE;
  --ink: #0F2E3A;
  --ink-2: #3F5761;
  --in: #2F8F6B;
  --in-bright: #62D2A2;
  --out: #B3263E;
  --hi: #F2D649;
  --rule: #C3D2C8;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --r-sm: 4px;
  --r-md: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--text);
  font-variant-numeric: lining-nums;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--in); }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--hi); padding: .5rem 1rem; z-index: 99; font-family: var(--display); }
.skip:focus { left: 1rem; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.empty { font-family: var(--display); color: var(--ink-2); padding: 2rem 0; }
.ic { vertical-align: -.2em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1 var(--display);
  padding: .8rem 1.15rem; border-radius: var(--r-sm); border: 1.5px solid var(--ink);
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s;
}
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--sheet); }
.btn-ink:hover { background: #1b4555; color: var(--sheet); }
.btn-in { background: var(--in); border-color: var(--in); color: #fff; }
.btn-in:hover { background: #257556; color: #fff; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--sheet); color: var(--ink); }
.btn-big { padding: 1rem 1.4rem; font-size: 1.05rem; }
.btn-small { padding: .55rem .85rem; font-size: .9rem; }

/* ---------- Header ---------- */
.announce { background: var(--ink); color: var(--sheet); text-align: center; font: 500 .92rem/1.4 var(--display); padding: .55rem 1rem; }
.announce a { color: var(--hi); }
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.12rem/1 var(--display); letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { font: 500 .98rem/1 var(--display); text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.site-nav a[aria-current] { border-bottom-color: var(--in); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: var(--r-sm); padding: .4rem; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a:not(.btn) { display: block; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
  .nav-cta { margin-top: 1rem; justify-content: center; }
}
.flash { font-family: var(--display); padding: .9rem 0; background: #D9EFE3; border-bottom: 1px solid var(--in); }
.flash-warn { background: #FBF1C4; border-color: #C9A916; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 1rem;
  /* columnar pad rules: the only place the page shows its ledger paper */
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), rgba(47,143,107,.10) calc(8.333% - 1px) 8.333%);
}
.hero-copy { max-width: 780px; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font: 500 .95rem/1.3 var(--display); color: var(--ink-2); }
.hero-facts .ic { color: var(--in); margin-right: .3rem; }
.strip { margin: 2.5rem auto 0; }
.strip svg { width: 100%; height: auto; display: block; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1rem .5rem .25rem; }
.strip .grid { stroke: var(--rule); stroke-dasharray: 3 5; }
.strip .axis { font: 500 13px var(--display); fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.bar-in { fill: var(--in); opacity: .8; }
.bar-out { fill: var(--out); opacity: .7; }
.bal-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bal-dot { fill: var(--sheet); stroke: var(--ink); stroke-width: 2; }
.bal-dot.is-min { fill: var(--out); stroke: var(--out); }
.dip-mark { fill: var(--hi); opacity: .75; }
.note-big { font: 700 20px var(--display); fill: var(--ink); }
.note { font: italic 400 15px var(--text); fill: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .bal-line { stroke-dashoffset: 1; animation: draw 1.8s .3s cubic-bezier(.6,.1,.3,1) forwards; }
  .bal-dot, .dip-mark, .dip-note { opacity: 0; animation: appear .4s 1.9s forwards; }
  .dip-mark { animation-name: appear-hi; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes appear-hi { to { opacity: .75; } }
.strip figcaption { font: 400 .9rem/1.5 var(--display); color: var(--ink-2); margin-top: .75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.key { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-left: .4rem; }
.key:first-child { margin-left: 0; }
.key-in { background: var(--in); } .key-out { background: var(--out); } .key-bal { background: var(--ink); height: 3px; }
@media (max-width: 640px) { .strip-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .strip svg { min-width: 760px; } }

/* ---------- Sections ---------- */
main > section, .latest, .featured { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-title { margin-bottom: 1rem; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.section-head p { max-width: 58ch; color: var(--ink-2); margin: 0; }
.more { font: 600 1rem var(--display); }
.page-top { padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Route: a genuine three-step sequence */
.route { border-top: 1px solid var(--rule); }
.route-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.route-steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); }
.route-steps li { position: relative; padding-right: 2rem; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); font: 800 1.2rem var(--display); margin-bottom: 1rem; position: relative; }
.route-steps li:last-child .step-n { background: var(--ink); color: var(--sheet); }
.route-steps p { color: var(--ink-2); }
.route-steps a { font: 600 1rem var(--display); display: inline-flex; gap: .4rem; align-items: center; }
@media (max-width: 780px) {
  .route-steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .route-steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
  .route-steps li { padding-left: 64px; padding-right: 0; }
  .step-n { position: absolute; left: 0; top: 0; }
}

/* Industry stamps */
.industries { background: var(--paper-2); }
.stamp-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .6rem; }
.stamp-grid a { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-sm); text-decoration: none; font: 500 .98rem/1.25 var(--display); }
.stamp-grid a:hover { border-color: var(--in); color: var(--ink); }
.stamp-grid a:hover .stamp { color: var(--in); transform: rotate(-8deg); }
.stamp { width: 40px; height: 40px; flex: none; color: var(--ink-2); transition: transform .2s, color .2s; }
.stamp text { font: 800 15px var(--display); fill: currentColor; }

/* Anatomy / definition */
.anatomy-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.ledger { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: .5rem 1.25rem 1.25rem; font-family: var(--display); }
.ledger-row { display: flex; justify-content: space-between; padding: .85rem 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; }
.ledger-row b { font-variant-numeric: tabular-nums; }
.l-in b { color: var(--in); } .l-out b { color: var(--out); }
.l-total { border-bottom: 3px double var(--ink); font-weight: 700; }
.ledger-note { font: italic 400 .95rem/1.55 var(--text); color: var(--ink-2); margin: 1rem 0 0; }
@media (max-width: 860px) { .anatomy-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--sheet); }
table { border-collapse: collapse; width: 100%; font: 400 .98rem/1.45 var(--display); font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { background: var(--sheet-head); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.compare-table td:nth-child(3), .compare-table th:nth-child(3) { background: rgba(47,143,107,.08); }

/* ---------- Product cards: each one a sheet from the pad ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.pcard { display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 1rem 1rem 1.1rem; }
.pcard-link { text-decoration: none; }
.pcard-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.pcard h3 { margin: 1rem 0 .4rem; font-size: 1.15rem; }
.pcard p { font-size: .96rem; color: var(--ink-2); margin-bottom: .6rem; }
.pcard .pcard-meta { font: 500 .85rem var(--display); color: var(--ink-2); }
.pcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .75rem; border-top: 1px dashed var(--rule); }
.pcard-free { border-top: 4px solid var(--in); }
.pcard-bundle { border-top: 4px solid var(--hi); }
.sheet { display: block; width: 100%; height: auto; }
.sheet-tag { font: 600 11px var(--display); fill: var(--ink-2); }
.price { font: 800 1.35rem var(--display); font-variant-numeric: tabular-nums; }
.price-free { color: var(--in); }
.price-was { font: 500 .95rem var(--display); color: var(--ink-2); }

/* Bundle band */
.bundle-band { background: var(--ink); color: var(--sheet); }
.bundle-band a:not(.btn) { color: var(--sheet); }
.bundle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.bundle-band p { color: #C8D8D3; max-width: 52ch; }
.bundle-price .price { font-size: 2.2rem; color: var(--sheet); }
.bundle-price .price-was { color: #9DB5AE; }
.stack { position: relative; height: 300px; }
.stack .sheet { position: absolute; width: 72%; box-shadow: 0 18px 30px -18px rgba(0,0,0,.6); }
.stack .sheet:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); }
.stack .sheet:nth-child(2) { left: 14%; top: 10px; transform: rotate(-1deg); }
.stack .sheet:nth-child(3) { left: 28%; top: 44px; transform: rotate(5deg); }
@media (max-width: 860px) { .bundle-grid { grid-template-columns: 1fr; } .stack { height: 230px; } }

/* Guides lists */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 2rem; }
.guide-list a { display: block; text-decoration: none; padding: 1.1rem 0 1.2rem; border-top: 1px solid var(--rule); height: 100%; }
.guide-list a:hover h3 { color: var(--in); }
.guide-list h3 { margin-bottom: .35rem; }
.guide-list p { color: var(--ink-2); font-size: .98rem; margin-bottom: .4rem; }
.read { font: 500 .85rem var(--display); color: var(--ink-2); }
.cluster { margin-bottom: 2.5rem; scroll-margin-top: 90px; }
.cluster-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.cluster-nav a { font: 500 .92rem var(--display); padding: .4rem .75rem; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); text-decoration: none; }
.searchbar { display: flex; max-width: 560px; margin-top: 1rem; }
.searchbar input { flex: 1; min-width: 0; font: 400 1rem var(--display); padding: .75rem .9rem; border: 1.5px solid var(--ink); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); background: var(--sheet); }
.searchbar .btn { border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* Breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; font: 400 .9rem var(--display); color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin: 0 .5rem; color: var(--rule); }
.crumbs a { color: var(--ink-2); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; align-items: center; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r-sm); overflow: hidden; }
.seg a { font: 500 .95rem var(--display); padding: .55rem .95rem; text-decoration: none; }
.seg a + a { border-left: 1px solid var(--ink); }
.seg a[aria-current] { background: var(--ink); color: var(--sheet); }
.sel select { font: 500 .95rem var(--display); padding: .55rem .8rem; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--sheet); color: var(--ink); }

/* ---------- Product page ---------- */
.product-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; padding-bottom: 2rem; }
.product-art .sheet { border-radius: var(--r-md); box-shadow: 0 30px 50px -35px rgba(15,46,58,.55); }
.product-buy h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.specs { display: grid; gap: 0; margin: 1.25rem 0; font-family: var(--display); }
.specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dotted var(--ink-2); }
.specs dt { color: var(--ink-2); } .specs dd { margin: 0; font-weight: 600; text-align: right; }
.buybox { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 1.25rem; }
.buy-price { margin-bottom: .75rem; }
.buy-price .price { font-size: 2rem; }
.buy-note { font: 400 .9rem/1.5 var(--display); color: var(--ink-2); margin: .75rem 0 0; }
.buybox .buy-note:first-of-type:not(:last-child) { margin-top: 0; margin-bottom: .75rem; }
.product-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; padding-bottom: 4rem; }
.side { display: flex; flex-direction: column; gap: 1.25rem; }
.side .cta-box { grid-template-columns: 1fr; }
.side-note { border-top: 3px solid var(--ink); padding-top: .9rem; font-family: var(--display); }
.side-note h2 { font-size: 1.1rem; }
.side-note ul { padding-left: 1.1rem; margin: 0; } .side-note li { margin-bottom: .45rem; }
.side-note p { color: var(--ink-2); font-size: .95rem; }
.side-sticky { position: sticky; top: 90px; }
.checks { list-style: none; padding: 0; }
.checks li { display: flex; gap: .6rem; padding: .45rem 0; }
.checks .ic { color: var(--in); margin-top: .3rem; }
.included { columns: 2; padding-left: 1.1rem; font-family: var(--display); }
.included s { color: var(--ink-2); font-size: .85rem; }
@media (max-width: 900px) { .product-hero, .product-body { grid-template-columns: 1fr; gap: 2rem; } .included { columns: 1; } }

/* Niche */
.niche-hero { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-bottom: 2rem; }
.niche-stamp .stamp { width: 160px; height: 160px; color: var(--in); transform: rotate(-10deg); opacity: .85; }
.niche-stamp .stamp text { font-size: 14px; }
.lines-sec { padding-bottom: 2.5rem; }
.sec-intro { color: var(--ink-2); max-width: 65ch; }
.lines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.lines { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1rem 1.25rem; }
.lines h3 { padding-bottom: .5rem; border-bottom: 2px solid; }
.lines-in h3 { color: var(--in); } .lines-out h3 { color: var(--out); }
.lines ul { list-style: none; padding: 0; margin: 0; font-family: var(--display); }
.lines li { padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.lines li:last-child { border: 0; }
.niche-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.niche-list a { display: flex; gap: 1rem; padding: 1rem; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-sm); text-decoration: none; height: 100%; }
.niche-list a:hover { border-color: var(--in); }
.niche-list h2 { font-size: 1.15rem; margin-bottom: .25rem; }
.niche-list p { font-size: .95rem; color: var(--ink-2); margin: 0; }
@media (max-width: 700px) { .niche-hero { grid-template-columns: 1fr; } .niche-stamp { display: none; } .lines-grid { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.article-head { max-width: 820px; }
.byline { font: 400 .95rem var(--display); color: var(--ink-2); }
.draft-flag { background: var(--hi); display: inline-block; padding: .2rem .6rem; font-family: var(--display); }
.article-grid { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 3.5rem; margin-top: 1.5rem; }
.answer { background: var(--sheet); border-left: 5px solid var(--in); padding: 1.1rem 1.4rem; margin-bottom: 2rem; border-radius: 0 var(--r-md) var(--r-md) 0; }
.answer h2 { font-size: 1rem; margin-bottom: .4rem; color: var(--in); }
.answer p { margin: 0; font-size: 1.1rem; }
.toc { font-family: var(--display); margin-bottom: 1.5rem; }
.toc h2 { font-size: 1rem; }
.toc ol { padding-left: 1.2rem; margin: 0; font-size: .95rem; }
.toc li { margin-bottom: .4rem; }
.toc a { text-decoration: none; } .toc a.active { font-weight: 700; color: var(--in); }
.cite { border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1rem; }
.cite h2 { font-size: 1rem; } .cite p { font: 400 .92rem/1.5 var(--display); color: var(--ink-2); }
.related { margin: 3rem 0 4rem; }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-side { order: -1; } .side-sticky { display: none; } }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--ink); font-style: italic; }
.prose code { background: var(--sheet-head); padding: .1em .35em; border-radius: 3px; font-size: .92em; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.tip { background: #FBF4CF; border-radius: var(--r-md); padding: .9rem 1.2rem; margin: 1.5rem 0; }
.tip strong { font-family: var(--display); }
.tip p { margin: .2rem 0 0; }

/* CTA boxes */
.cta-box { display: grid; grid-template-columns: 180px 1fr; gap: 1.25rem; align-items: center; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 1.25rem; margin: 2rem 0; }
.cta-box h3 { margin: .15rem 0 .4rem; }
.cta-box p { font-size: .96rem; color: var(--ink-2); margin-bottom: .8rem; }
.cta-kicker { font: 600 .88rem var(--display) !important; color: var(--in) !important; margin-bottom: 0 !important; }
.cta-free { border-color: var(--in); }
.cta-calc { grid-template-columns: 60px 1fr; }
.cta-icon { color: var(--in); }
@media (max-width: 600px) { .cta-box { grid-template-columns: 1fr; } .cta-art { max-width: 220px; } }

/* FAQ */
.faq { margin-top: 2.5rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; font: 400 1.6rem var(--display); color: var(--in); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { display: inline; font-size: 1.1rem; margin: 0; }
.faq details p { margin: 0 0 1.1rem; color: var(--ink-2); }

/* Glossary */
.az { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: 1rem; }
.az a { font: 700 1rem var(--display); width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border: 1px solid var(--rule); background: var(--sheet); text-decoration: none; border-radius: var(--r-sm); }
.gl-letter { margin-bottom: 2rem; scroll-margin-top: 90px; }
.gl-letter > h2 { font-size: 2.4rem; color: var(--in); border-bottom: 2px solid var(--ink); padding-bottom: .25rem; }
.terms div { padding: 1rem 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.terms div:target { background: #FBF4CF; }
.terms dt { font: 700 1.15rem var(--display); margin-bottom: .25rem; }
.terms dd { margin: 0; }

/* Forms */
.capture { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 460px; }
.capture input[type=email] { flex: 1 1 200px; font: 400 1rem var(--display); padding: .75rem .85rem; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--sheet); color: var(--ink); }
.dl-page { text-align: left; }
.dl-art { max-width: 280px; margin-bottom: 1rem; }
.dl-form { display: grid; gap: .6rem; max-width: 460px; margin-top: 1.5rem; font-family: var(--display); }
.dl-form input { font: 400 1.05rem var(--display); padding: .85rem; border: 1.5px solid var(--ink); border-radius: var(--r-sm); background: var(--sheet); }
.dl-form input[aria-invalid] { border-color: var(--out); }
.field-error { color: var(--out); margin: 0; font-size: .95rem; }
.fine { font-size: .85rem; color: var(--ink-2); }
.setup li { margin-bottom: .5rem; }
.thanks { padding-bottom: 1rem; }
.plain-list { list-style: none; padding: 0; } .plain-list li { padding: .7rem 0; border-bottom: 1px solid var(--rule); font-family: var(--display); } .plain-list p { margin: .2rem 0 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 320px 1fr; gap: 2rem; padding-bottom: 3rem; align-items: start; }
.calc-form { font-family: var(--display); background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.25rem; }
.calc-form fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.calc-form legend { font-weight: 700; margin-bottom: .6rem; }
.calc-form label { display: grid; gap: .3rem; font-size: .92rem; color: var(--ink-2); margin-bottom: .75rem; }
.calc-form input { font: 600 1.05rem var(--display); padding: .6rem .7rem; border: 1.5px solid var(--rule); border-radius: var(--r-sm); background: var(--paper); color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-form input:focus { border-color: var(--ink); }
.calc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; margin-bottom: 1rem; font-family: var(--display); }
.calc-stats div { background: var(--sheet); padding: .9rem 1rem; display: grid; }
.calc-stats span { font-size: .85rem; color: var(--ink-2); }
.calc-stats b { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.calc-stats small { color: var(--ink-2); }
.calc-chart { width: 100%; height: auto; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); }
.calc-chart .axis { font: 500 11px var(--display); fill: var(--ink-2); }
.calc-verdict { font: 500 1.05rem/1.5 var(--display); padding: .85rem 1rem; border-radius: var(--r-md); margin: 1rem 0; background: #D9EFE3; }
.calc-verdict.warn { background: #FBF1C4; } .calc-verdict.bad { background: #F6D5DA; }
.calc-table td:nth-child(n+2), .calc-table th:nth-child(n+2) { text-align: right; }
.calc-table tr.neg td:last-child { color: var(--out); font-weight: 700; }
.calc-table tr.low td { background: #FBF4CF; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-stats b { font-size: 1.25rem; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 3rem 0 1rem; margin-top: 2rem; font-family: var(--display); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot-name { font: 700 1.2rem var(--display); margin-bottom: .3rem; }
.foot-brand p { color: var(--ink-2); font-size: .95rem; }
.foot-sub { margin-top: 1rem; }
.site-foot h2 { font-size: 1rem; margin-bottom: .75rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.site-foot li { margin-bottom: .45rem; }
.site-foot a { text-decoration: none; } .site-foot a:hover { text-decoration: underline; }
.foot-legal { border-top: 1px solid var(--rule); margin-top: 2rem; padding-top: 1rem; font-size: .85rem; color: var(--ink-2); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

@media print { .site-head, .site-foot, .article-side, .cta-box, .announce { display: none; } body { background: #fff; } }
.article-main, .article-side { min-width: 0; }

/* Template screenshots on product pages */
.previews { padding: 1rem 0 2.5rem; }
.preview-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.preview { margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-md); padding: .6rem; }
.preview-side { display: flex; flex-direction: column; gap: 1.25rem; }
.preview img { display: block; width: 100%; height: auto; border-radius: calc(var(--r-md) - 2px); }
.preview figcaption { font: 500 .85rem/1.4 var(--display); color: var(--ink-2); padding: .55rem .2rem .1rem; }
@media (max-width: 760px) { .preview-grid { grid-template-columns: 1fr; } }
.eyebrow { font: 600 .78rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 .6rem; }
