/* BillNow Software marketing site. Design notes: docs/05-design-direction.md */
@font-face { font-family: "Libre Franklin"; src: url("/assets/fonts/libre-franklin-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/assets/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0f2a2a;        /* body text and dark fields: the green-black of ledger ink */
  --ink-2: #3d5352;      /* secondary text, 7.6:1 on paper */
  --pine: #124846;       /* brand field */
  --teal: #1b6e6c;       /* the product's own header colour; links and buttons */
  --teal-dark: #145554;
  --paper: #eef4f3;      /* a mist of the product's own teal: clinical, not cosy */
  --paper-2: #dfeae8;
  --white: #ffffff;
  --rule: #c9d8d6;       /* hairlines on mist */
  --rule-2: #e4e7e6;     /* hairlines on white */
  --marigold: #f0b429;   /* the one bright: primary action on dark fields, highlights */
  --rust: #a8401c;       /* denial red, used for "is not" and at-risk only */
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --gut: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.25; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; max-width: 68ch; }
li { margin-bottom: 0.4em; }
code, .code { font-family: var(--mono); font-size: 0.86em; background: var(--paper-2); padding: 0.08em 0.36em; border-radius: 3px; white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule-2); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; max-width: 1280px; }
.brand { display: flex; align-items: baseline; gap: 7px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; }
.brand span { font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink-2); }
.brand::before { content: ""; width: 14px; height: 14px; background: var(--marigold); align-self: center; box-shadow: 5px 5px 0 var(--pine); margin-right: 8px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav summary { display: inline-flex; align-items: center; white-space: nowrap; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.95rem; cursor: pointer; border-radius: 4px; }
.nav > a:hover, .nav summary:hover, .nav > a[aria-current="page"] { background: var(--paper); }
.nav details { position: relative; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 9px; }
.mega { position: absolute; left: -24px; top: calc(100% + 14px); width: 700px; background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--pine); box-shadow: 0 18px 40px rgba(15, 42, 42, 0.16); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; }
.mega a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 4px; }
.mega a:hover { background: var(--paper); }
.mega a b { display: block; font-weight: 650; font-size: 0.97rem; }
.mega a small { display: block; color: var(--ink-2); font-size: 0.84rem; line-height: 1.4; }
.mega .all { grid-column: 1 / -1; border-top: 1px solid var(--rule-2); margin-top: 10px; padding-top: 14px; color: var(--teal); font-weight: 650; }
.head-cta { display: flex; align-items: center; gap: 16px; margin-left: 10px; }
.head-cta .link { font-size: 0.93rem; font-weight: 600; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.menu-btn { display: none; }

/* ---------- buttons: the same two labels everywhere */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border-radius: 4px; border: 2px solid var(--pine); background: var(--pine); color: #fff; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.small { min-height: 42px; padding: 0 16px; font-size: 0.93rem; }
.btn.ghost { background: transparent; color: var(--pine); }
.btn.ghost:hover { background: var(--pine); color: #fff; }
.on-dark .btn { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.on-dark .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.on-dark .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.on-dark .btn.ghost:hover { background: #fff; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }

/* ---------- section furniture */
section { padding: 88px 0; }
.paper { background: var(--paper); }
.dark { background: var(--pine); color: #fff; }
.dark a { color: #fff; }
.dark p { color: #d7e6e4; }
.kicker { font-size: 0.98rem; font-weight: 650; color: var(--teal); margin: 0 0 14px; }
.dark .kicker { color: var(--marigold); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.dark .lede { color: #d7e6e4; }
.head-block { max-width: 780px; margin-bottom: 48px; }

/* ---------- home hero */
.hero { padding: 72px 0 0; background: var(--pine); color: #fff; overflow: hidden; }
.hero .lede { color: #d7e6e4; }
.hero .kicker { color: var(--marigold); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 84px; }
.hero h1 em { font-style: normal; }
.hero-shot { margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - var(--gut) - 120px); align-self: end; }
.hero-shot img { border-radius: 8px 8px 0 0; box-shadow: -24px 0 60px rgba(4, 22, 21, 0.45); width: 100%; }
.hero-note { font-size: 0.86rem; color: #bcd3d0; margin-top: 20px; }

/* ---------- is / is not strip */
.isnot { border-bottom: 1px solid var(--rule-2); padding: 0; }
.isnot .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.isnot .wrap > div { padding: 30px 26px 30px 0; border-left: 1px solid var(--rule-2); padding-left: 26px; }
.isnot .wrap > div:first-child { border-left: 0; padding-left: 0; }
.isnot b { display: block; font-size: 1.12rem; letter-spacing: -0.01em; }
.isnot span { font-size: 0.92rem; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 4px; }
.isnot .no b { color: var(--rust); }
.isnot .wrap > .yes { background: var(--paper); padding: 30px 26px; }

/* ---------- figures: screenshots are evidence, captioned like figures */
figure { margin: 0; }
.shot { border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: #f1f5f7; box-shadow: 0 1px 0 rgba(15, 42, 42, 0.04), 0 24px 48px -24px rgba(15, 42, 42, 0.28); }
.shot img { width: 100%; }
figcaption { font-size: 0.84rem; color: var(--ink-2); margin-top: 12px; display: flex; gap: 10px; line-height: 1.45; max-width: 70ch; }
figcaption b { font-family: var(--mono); font-weight: 500; color: var(--teal); white-space: nowrap; }
.dark figcaption { color: #c5d9d6; }
.dark figcaption b { color: var(--marigold); }
.phone { max-width: 270px; border: 8px solid var(--ink); border-radius: 30px; overflow: hidden; box-shadow: 0 30px 50px -28px rgba(15, 42, 42, 0.5); background: #fff; }
.phones { display: flex; gap: 28px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.phones figure:nth-child(2) { margin-top: 44px; }

/* ---------- split: copy beside figure */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.split.flip > :first-child { order: 2; }
.split.even { grid-template-columns: 1fr 1fr; }
.split .copy { position: sticky; top: 110px; }
.split.narrow-fig { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }

/* ---------- pillar list on home */
.pillars { border-top: 2px solid var(--ink); }
.pillar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 44px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.pillar .num { display: block; color: var(--teal); font-weight: 650; font-size: 0.92rem; margin-bottom: 8px; }
.pillar h3 { font-size: 1.6rem; letter-spacing: -0.02em; }
.pillar p { color: var(--ink-2); }
.more { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--marigold); padding-bottom: 2px; color: var(--ink); }
.more:hover { border-color: var(--pine); color: var(--pine); }

/* ---------- lessons on feature pages */
.lesson { padding: 64px 0; border-top: 1px solid var(--rule-2); }
.lesson:first-of-type { border-top: 0; }
.lesson .label { font-size: 0.95rem; font-weight: 650; color: var(--teal); margin-bottom: 10px; }
.aside { border-left: 3px solid var(--marigold); padding: 4px 0 4px 20px; margin: 26px 0; max-width: 60ch; }
.aside b { display: block; font-weight: 650; font-size: 0.86rem; color: var(--ink-2); margin-bottom: 6px; }
.aside p { font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.5; margin: 0; color: var(--ink); }
.steps { counter-reset: s; list-style: none; padding: 0; max-width: 62ch; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; margin: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); color: var(--teal); font-size: 0.9rem; }
.steps li b { display: block; }

/* ---------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
thead th { font-weight: 650; font-size: 0.86rem; color: var(--ink-2); background: var(--paper); border-bottom: 1px solid var(--rule); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 650; width: 28%; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 3px 8px; border-radius: 3px; background: #e2efe9; color: #14523a; white-space: nowrap; }
.tag.s { background: #fbefcf; color: #6b4a00; }
.tag.no { background: #f6e3dc; color: #7c2c10; }
.feature-table td:nth-child(2) { color: var(--ink-2); }

/* ---------- page hero (inner pages) */
.page-hero { background: var(--paper); padding: 64px 0 60px; border-bottom: 1px solid var(--rule); }
.crumbs { font-size: 0.86rem; color: var(--ink-2); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); max-width: 18ch; }
.page-hero .lede { margin-top: 18px; }

/* ---------- diagram */
.diagram { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 26px; }
.diagram svg { width: 100%; height: auto; display: block; }

/* ---------- cards used sparingly: resources and steps */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.cols-3 > * { padding: 28px 28px 28px 0; border-right: 1px solid var(--rule); padding-left: 28px; }
.cols-3 > *:first-child { padding-left: 0; }
.cols-3 > *:last-child { border-right: 0; }
.cols-3 h3 a { color: var(--ink); text-decoration: none; }
.cols-3 h3 a:hover { text-decoration: underline; }
.cols-3 .n { color: var(--teal); font-weight: 650; font-size: 0.92rem; display: block; margin-bottom: 12px; }
.dark .cols-3 { border-top-color: var(--marigold); }
.dark .cols-3 > * { border-right-color: rgba(255, 255, 255, 0.18); }
.dark .cols-3 .n { color: var(--marigold); }

/* ---------- FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; padding: 22px 44px 22px 0; font-weight: 650; font-size: 1.12rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-family: var(--mono); font-size: 1.5rem; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 0 24px; }

/* ---------- forms */
.form-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
form.lead { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--pine); border-radius: 6px; padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 650; font-size: 0.95rem; margin-bottom: 6px; }
.field .hint { font-size: 0.84rem; color: var(--ink-2); margin: -2px 0 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #6f8583; border-radius: 4px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--marigold); outline-offset: 1px; border-color: var(--pine); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.84rem; color: var(--ink-2); margin: 16px 0 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 14px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 2px; background: var(--teal); }

/* ---------- article */
.article { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 64px; }
.article h2 { font-size: 1.7rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.6em; }
.article .toc { position: sticky; top: 110px; align-self: start; font-size: 0.92rem; border-left: 2px solid var(--rule); padding-left: 20px; }
.article .toc b { font-weight: 650; font-size: 0.9rem; color: var(--ink-2); }
.article .toc ul { list-style: none; padding: 0; margin-top: 12px; }
dl.gloss dt { font-weight: 700; margin-top: 1.5em; font-size: 1.08rem; }
dl.gloss dd { margin: 4px 0 0; max-width: 68ch; color: var(--ink-2); }

/* ---------- closing band + footer */
.close-band { padding: 84px 0; }
.close-band h2 { max-width: 20ch; }
.site-foot { background: var(--pine); color: #c9d6d5; padding: 64px 0 36px; font-size: 0.93rem; }
.site-foot a { color: #e9f1f0; text-decoration: none; display: inline-block; padding: 5px 0; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-foot .foot-h { font-weight: 650; font-size: 0.9rem; color: #a9c2bf; margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin: 0; }
.site-foot .brand { color: #fff; }
.site-foot .brand span { color: #8fa9a6; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 44px; padding-top: 22px; font-size: 0.84rem; color: #9db3b0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-note p { max-width: 80ch; margin: 0; }

/* ---------- responsive */
@media (max-width: 1080px) {
  .nav, .head-cta .link { display: none; }
  .head-cta { margin-left: auto; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; background: none; border: 1.5px solid var(--rule); border-radius: 4px; font: inherit; font-weight: 650; padding: 0 14px; color: var(--ink); cursor: pointer; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px var(--gut) 24px; border-bottom: 1px solid var(--rule); max-height: calc(100vh - 72px); overflow: auto; gap: 0; }
  .nav.open > a, .nav.open summary { min-height: 52px; border-bottom: 1px solid var(--rule-2); border-radius: 0; padding: 0 4px; }
  .mega { position: static; width: auto; box-shadow: none; border: 0; padding: 6px 0 12px; grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .hero { padding-top: 44px; }
  .hero-grid, .split, .split.even, .split.narrow-fig, .form-grid, .article { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { padding-bottom: 8px; }
  .hero-shot { margin-right: calc(var(--gut) * -1); }
  .split.flip > :first-child { order: 0; }
  .split .copy, .article .toc { position: static; }
  .article .toc { display: none; }
  .isnot .wrap { grid-template-columns: 1fr 1fr; }
  .isnot .wrap > div { border-left: 0; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--rule-2); }
  .isnot .wrap > .yes { grid-column: 1 / -1; margin: 0 calc(var(--gut) * -1); padding: 20px var(--gut); }
  .pillar { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .cols-3 { grid-template-columns: 1fr; }
  .cols-3 > * { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .dark .cols-3 > * { border-bottom-color: rgba(255, 255, 255, 0.18); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  form.lead { padding: 22px; }
  th, td { padding: 12px 12px; }
  tbody th { width: 38%; }
  .phones figure:nth-child(2) { margin-top: 0; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .feature-table thead { display: none; }
  .feature-table tr { display: block; padding: 14px 14px; border-bottom: 1px solid var(--rule-2); }
  .feature-table th, .feature-table td { display: block; width: auto; padding: 2px 0; border: 0; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .site-head, .site-foot, .close-band { display: none; } }

/* ---------- small-screen fixes */
.isnot { overflow: hidden; }
@media (max-width: 900px) {
  .isnot .wrap > .yes { margin: 0; padding: 20px 16px; }
}
@media (max-width: 560px) {
  .site-head .wrap { gap: 10px; padding: 0 14px; min-height: 64px; }
  .brand { font-size: 1.12rem; }
  .brand span { display: none; }
  .brand::before { margin-right: 6px; }
  .head-cta { gap: 8px; margin-left: auto; }
  .head-cta .btn.small { padding: 0 12px; font-size: 0.86rem; min-height: 44px; }
  .menu-btn { min-height: 44px; min-width: 44px; padding: 0 10px; font-size: 0.9rem; }
}

.hero h1 { font-size: clamp(2.2rem, 4.3vw, 3.45rem); }
@media (max-width: 1180px) and (min-width: 1081px) { .head-cta .link { display: none; } }

/* Wide evidence gets the full measure: the diagram and the routing screen are unreadable at half width. */
.split:has(.diagram), .split:has(img[src*="clearinghouse-routing"]) { grid-template-columns: 1fr; gap: 40px; }
.split:has(.diagram) > :first-child, .split:has(img[src*="clearinghouse-routing"]) > .copy { max-width: 780px; position: static; order: 0; }
.diagram { overflow-x: auto; }
@media (max-width: 900px) { .diagram { padding: 14px; } .diagram svg { min-width: 640px; } .isnot .wrap > div:first-child { padding-left: 0; } }
.split > *, .hero-grid > *, .form-grid > *, .article > * { min-width: 0; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.phones figure { width: 250px; }
.phones figcaption { flex-direction: column; gap: 2px; }
@media (max-width: 900px) { .split.flip { grid-template-columns: 1fr; } .phones figure { width: min(250px, 70vw); } }

.close-band { background: var(--paper-2); color: var(--ink); }
.close-band p.lede { color: var(--ink-2); }
.close-band .kicker { color: var(--teal); }
.close-band .btn { background: var(--pine); border-color: var(--pine); color: #fff; }
.close-band .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.close-band .btn.ghost { background: transparent; color: var(--pine); border-color: var(--pine); }
.close-band .btn.ghost:hover { background: var(--pine); color: #fff; }
.close-band :focus-visible { outline-color: var(--marigold); }
.foot-note { color: #b5cbc8; }
.site-foot { color: #d3e2e0; }

.zoom { display: block; cursor: zoom-in; }

.site-foot .foot-h { letter-spacing: 0; line-height: 1.3; }
.pillar h2 { font-size: 1.6rem; letter-spacing: -0.02em; }

/* ---------- revision 2026-11-19: fewer pages, a "what changes" list, a New marker */
.new-tag { display: inline-block; background: var(--marigold); color: var(--ink); font-weight: 800; font-size: 0.8rem; line-height: 1; padding: 5px 9px 4px; border-radius: 3px; margin-right: 12px; vertical-align: 1px; }
.changes { border-top: 2px solid var(--ink); }
.change { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding: 44px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.change .n { font-family: var(--mono); color: var(--teal); font-size: 0.95rem; padding-top: 4px; }
.change .before { font-family: var(--serif); font-style: italic; font-size: 1.14rem; line-height: 1.5; color: var(--ink-2); margin: 0; max-width: 34ch; }
.change .before b, .change .lab { display: block; font-family: var(--sans); font-style: normal; font-weight: 650; font-size: 0.86rem; margin-bottom: 8px; }
.change .before b { color: var(--rust); }
.change .lab { color: var(--teal); }
.change h3 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); letter-spacing: -0.028em; line-height: 1.1; font-weight: 800; }
.change .now p { color: var(--ink-2); max-width: 52ch; }
.lesson.paper { border-top: 0; }
.lesson .label { font-family: var(--mono); font-weight: 500; }
.lesson .checklist { margin-top: 1.3em; }
.fine { font-size: 0.84rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .change { grid-template-columns: 1fr; gap: 14px; padding: 34px 0; }
  .change .n { padding-top: 0; }
}
