/* Self-hosted fonts (SIL OFL 1.1, licenses in /fonts). Latin subset only. */
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

/* Edverity site styles.
   Layout rule: the page should look deliberate at every window width, not just at breakpoints.
   - Spacing and type scale continuously with clamp().
   - Two-column sections use fixed column proportions; photos fill their column at a locked
     aspect ratio, so photo and text always scale together.
   - Each section switches between one and two columns once, using container queries,
     at a width where both columns are still comfortable. Photos change aspect at that switch. */

:root {
  /* Brand: burgundy accent (decided Nov 4, 2026) with warm neutrals for text and large areas.
     Change --ink to retheme the accent; text and large blocks stay neutral. */
  --ink: #561729;            /* brand accent: burgundy */
  /* Action color (proposed Nov 24, 2026): teal, opposite burgundy on the color wheel.
     Primary buttons and the "your value" parts of illustrations only. Never body text. */
  --action: #0F766E;
  --action-hover: #0B5D57;
  --action-soft: #CDEBE6;
  --text: #1D1C1A;           /* body text: warm near-black */
  --text-soft: #57534E;
  --dark: #262321;           /* large dark blocks: warm charcoal */
  --stone: #ECE7E0;          /* large light blocks: stone */
  --paper: #F7F7F5;
  --ink-soft: var(--text-soft);
  --rule: #D9D3CB;
  --rule-on-ink: rgba(247, 247, 245, 0.28);
  --ink-glass: color-mix(in srgb, var(--ink) 80%, transparent);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 88px);
  --section: clamp(64px, 9vw, 168px);
  --gap: clamp(32px, 5.5vw, 112px);
  --maxw: 1400px;

  --fs: clamp(16px, 0.9rem + 0.25vw, 19px);
  --lead: clamp(17px, 0.95rem + 0.4vw, 21px);
  --h1: clamp(36px, 1.6rem + 3.4vw, 92px);
  --h2: clamp(32px, 1.4rem + 2.7vw, 72px);
  --h3: clamp(18px, 1rem + 0.3vw, 22px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--fs); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { opacity: .8; }
p, h1, h2, h3, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section, .why-wrap { container-type: inline-size; }
.section { padding-block: var(--section); }
.measure { max-width: 62ch; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.0; }
section h2 { color: var(--ink); }
.section h2::before { content: ""; display: block; width: 44px; height: 3px; background: var(--ink); margin-bottom: clamp(18px, 2vw, 26px); }
h2 { font-size: var(--h2); line-height: 1.03; }
h3 { font-size: var(--h3); font-weight: 600; line-height: 1.3; }
.lead { font-size: var(--lead); line-height: 1.5; }
.stack { display: flex; flex-direction: column; gap: clamp(20px, 2.2vw, 32px); }

.button { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 26px; font-weight: 500; text-decoration: none; background: var(--paper); color: var(--ink); }

/* Hero: height follows the width, capped by the screen height */
.hero { position: relative; display: flex; flex-direction: column; color: var(--paper); min-height: clamp(560px, 58vw, min(1000px, 100svh)); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; height: clamp(170px, 17vw, 260px); background: radial-gradient(ellipse 34% 90% at 14% 18%, rgba(20, 14, 16, 0.5), rgba(20, 14, 16, 0) 100%), linear-gradient(rgba(20, 14, 16, 0.62), rgba(20, 14, 16, 0.22) 55%, rgba(20, 14, 16, 0)); }
.hero .wrap { position: relative; z-index: 2; }
.site-head { padding-block: clamp(16px, 2vw, 28px); display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: 0.08em; font-size: 17px; }
/* Header lockup: twice the earlier size on desktop, scaling down smoothly on small screens */
.site-head .brand { gap: clamp(12px, 1.4vw, 20px); font-size: clamp(24px, 2.4vw, 34px); }
.site-head .brand svg { width: clamp(44px, 4.2vw, 60px); height: clamp(44px, 4.2vw, 60px); }
.hero-body { flex: 1; display: flex; align-items: flex-end; padding-block: clamp(32px, 5vw, 72px); }
.glass { background: var(--ink-glass); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); width: min(100%, 46rem); padding: clamp(24px, 3.6vw, 56px); display: flex; flex-direction: column; gap: clamp(18px, 2vw, 28px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 15px; }

/* Split sections: one column until both columns are comfortable, then fixed proportions */
.split { display: grid; gap: var(--gap); align-items: center; }
.split .photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@container (min-width: 820px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.photo-first { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split .photo { aspect-ratio: 4 / 5; }
}

.rule-list li { padding-block: clamp(12px, 1.2vw, 18px); border-top: 1px solid var(--rule); }
.rule-list li:last-child { border-bottom: 1px solid var(--rule); }
.pain-close { font-size: var(--lead); font-weight: 500; }

/* Report band */
.band { background: var(--stone); color: var(--text); }
.band .rule-list li { border-color: var(--rule); display: flex; flex-direction: column; gap: 4px; }
.band .rule-list li:last-child { border-color: var(--rule); }
.band .rule-list strong { color: var(--ink); }
.band .rule-list span { opacity: .9; }
.sample { display: block; width: min(100%, 26rem); justify-self: center; border: 1px solid var(--rule); box-shadow: 0 18px 40px -24px rgba(38, 35, 33, 0.45); }

.sample img { display: block; width: 100%; height: auto; aspect-ratio: 8.5 / 11; }

/* Proof: the portrait keeps its own 4:5 shape at every width */
.portrait { width: min(100%, 30rem); height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@container (min-width: 820px) { .portrait { width: 100%; } }

/* Why now: photo and panel share the width; stacked below the switch */
.why { display: grid; background: var(--dark); color: var(--paper); }
.why h2 { color: var(--paper); }
.why-panel { border-top: 4px solid var(--ink); background: linear-gradient(rgba(38, 35, 33, 0.92), rgba(38, 35, 33, 0.92)), url("../img/legal-texture-1600.jpg") center / cover no-repeat; }
.why .photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% center; }
.why-panel { padding: var(--section) var(--gutter); display: flex; flex-direction: column; gap: clamp(20px, 2.2vw, 28px); }
.why-panel .intro { opacity: .9; }
.dates li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--rule-on-ink); }
.dates li:last-child { border-bottom: 1px solid var(--rule-on-ink); }
.dates b { font-weight: 600; color: var(--stone); }
@container (min-width: 900px) {
  .why { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .why .photo { aspect-ratio: auto; height: 100%; }
  .why-panel { padding-inline: clamp(40px, 5vw, 96px); max-width: 52rem; }
}
@container (max-width: 420px) {
  .dates li { grid-template-columns: 1fr; gap: 2px; }
}

/* How it works: three columns or one; never an orphaned two */
.steps { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 56px); }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 22px; }
.steps .n { color: var(--ink); font-family: var(--serif); font-size: clamp(32px, 2rem + 0.8vw, 44px); line-height: 1; }
@container (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Fair questions: heading beside a single readable column */
.faq { display: grid; gap: clamp(24px, 3vw, 48px); }
.faq h2 { font-size: clamp(30px, 1.3rem + 2vw, 56px); }
.faq dl { margin: 0; }
.faq dl > div { padding-block: 18px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.faq dl > div:last-child { border-bottom: 1px solid var(--rule); }
.faq dt { font-size: var(--h3); font-weight: 600; }
.faq dd { margin: 0; }
@container (min-width: 900px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* Final call */
.final { position: relative; display: flex; align-items: center; color: var(--paper); min-height: clamp(480px, 46vw, 820px); }
.final > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final h2 { color: var(--paper); }
.final .wrap { position: relative; padding-block: clamp(48px, 6vw, 96px); }
.final .glass { width: min(100%, 40rem); }
.fine { font-size: 14px; line-height: 1.5; opacity: .9; }

.site-foot { background: var(--dark); color: var(--paper); }
.site-foot .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.site-foot p { font-size: 14px; opacity: .85; }

/* ---------- Multi-page additions (Nov 23, 2026) ---------- */

/* Header with navigation. On photo heroes it sits over the image; elsewhere it sits on paper. */
.site-head { justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.site-head.plain { color: var(--ink); }
.plain-top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav { display: none; align-items: center; gap: clamp(14px, 1.6vw, 28px); font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .nav-cta { padding: 10px 18px; background: var(--paper); color: var(--ink); }
.plain .nav .nav-cta { background: var(--ink); color: var(--paper); }
.nav-menu { position: relative; font-size: 15px; font-weight: 500; }
.nav-menu summary { list-style: none; cursor: pointer; padding: 10px 16px; border: 1px solid currentColor; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plain .nav-menu[open] summary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-menu .menu-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; min-width: 15rem; background: var(--paper); color: var(--text); border: 1px solid var(--rule); box-shadow: 0 18px 40px -24px rgba(38, 35, 33, 0.45); display: flex; flex-direction: column; }
.nav-menu .menu-panel a { padding: 12px 18px; text-decoration: none; border-top: 1px solid var(--rule); }
.nav-menu .menu-panel a:first-child { border-top: 0; }
.nav-menu .menu-panel a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .nav-home { display: inline-flex; align-items: center; padding: 6px; margin-right: -4px; }
.nav .nav-home[aria-current="page"] { text-decoration: none; box-shadow: inset 0 -2px 0 currentColor; }
.nav .nav-signup { padding: 9px 16px; border: 1.5px solid currentColor; }
.nav .nav-signup[aria-current="page"] { text-decoration: none; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-menu { display: none; }
}

/* Shorter photo hero for inner pages */
.hero.hero-short { min-height: clamp(440px, 40vw, min(720px, 90svh)); }
.hero.hero-short h1 { font-size: clamp(34px, 1.4rem + 2.8vw, 76px); }

/* Plain page title (no photo) */
.page-title { padding-block: clamp(48px, 7vw, 120px) clamp(32px, 4vw, 64px); }
.page-title h1 { color: var(--ink); max-width: 18ch; }
.page-title .lead { margin-top: clamp(18px, 2vw, 28px); max-width: 60ch; }

/* Generic content blocks */
.section.tight { padding-block: clamp(48px, 6vw, 112px); }
.section.flush-top { padding-top: 0; }
.prose { display: flex; flex-direction: column; gap: 1em; max-width: 66ch; }
.prose h3 { margin-top: 0.6em; }
.prose ul { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: 0.4em; }
.muted { color: var(--text-soft); }
.small { font-size: 15px; line-height: 1.5; }
.center { text-align: center; }
.mt { margin-top: clamp(28px, 3.5vw, 56px); }
.button.solid { background: var(--action); color: #fff; }
.button.solid:hover { background: var(--action-hover); }
.button.outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
a.text-link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* Cards: three, two or one, never an orphan */
.cards { display: grid; gap: clamp(20px, 2.5vw, 36px); margin-top: clamp(28px, 3.5vw, 56px); }
.card { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.card .tag { font-size: 14px; color: var(--text-soft); }
@container (min-width: 760px) { .cards.two, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 1150px) { .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Example trust page panel */
.tp { background: #fff; border: 1px solid var(--rule); box-shadow: 0 18px 40px -24px rgba(38, 35, 33, 0.45); padding: clamp(20px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.tp .tp-label { font-size: 13px; color: var(--text-soft); }
.tp .tp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.tp .tp-head b { font-weight: 600; letter-spacing: 0.08em; color: var(--ink); font-size: 13px; }
.tp .tp-score { font-family: var(--serif); font-size: clamp(30px, 1.4rem + 1.4vw, 44px); color: var(--ink); line-height: 1; }
.tp ul li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding-block: 10px; border-top: 1px solid var(--rule); }
.tp ul li span { grid-column: 1; color: var(--text-soft); font-size: 13px; }
.tp ul li em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-weight: 600; align-self: center; }

/* Pricing: tier cards. Four, two or one columns; the featured tier is outlined */
.intro-note { background: var(--stone); padding: clamp(18px, 2vw, 28px); display: flex; flex-direction: column; gap: 8px; max-width: 62rem; }
.tiers { display: grid; gap: clamp(16px, 1.8vw, 24px); margin-top: clamp(28px, 3.5vw, 48px); align-items: stretch; }
@container (min-width: 700px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 1180px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tier { background: #fff; border: 1px solid var(--rule); padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.tier.featured { border: 2px solid var(--ink); }
.tier .badge { align-self: flex-start; font-size: 13px; font-weight: 600; background: var(--ink); color: var(--paper); padding: 4px 10px; }
.tier .badge.quiet { background: var(--stone); color: var(--text); }
.tier h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 1.2rem + 1.2vw, 40px); color: var(--ink); line-height: 1; }
.tier .stage { color: var(--text-soft); font-size: 15px; line-height: 1.5; min-height: 3em; }
.tier .price { font-family: var(--serif); font-size: clamp(36px, 1.6rem + 1.4vw, 54px); line-height: 1; }
.tier .price small { font-family: var(--sans); font-size: 15px; color: var(--text-soft); }
.tier .credits { font-size: 15px; border-block: 1px solid var(--rule); padding-block: 12px; display: flex; flex-direction: column; gap: 4px; }
.tier .credits b { font-weight: 600; }
.tier ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.tier ul li { padding-left: 1.3em; position: relative; }
.tier ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.55em; height: 2px; background: var(--ink); }
.tier .button { margin-top: auto; justify-content: center; }

/* Tables (comparison, credit menu). Scroll sideways on narrow screens instead of squashing */
.table-wrap { position: relative; overflow-x: auto; margin-top: clamp(24px, 3vw, 40px); border: 1px solid var(--rule); background: #fff; }
table.grid { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 15px; }
table.grid th, table.grid td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
table.grid thead th { background: var(--stone); font-weight: 600; position: sticky; top: 0; }
table.grid tbody th { font-weight: 500; width: 30%; }
table.grid tr.group th { background: var(--paper); color: var(--ink); font-weight: 600; padding-top: 18px; }
table.grid td.c, table.grid th.c { text-align: center; }
table.grid .featured-col { background: color-mix(in srgb, var(--ink) 5%, #fff); }
table.grid.narrow { min-width: 0; }

/* Two-up lists (credit menu) */
.menu-grid { display: grid; gap: clamp(20px, 3vw, 48px); margin-top: clamp(24px, 3vw, 40px); }
@container (min-width: 820px) { .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.menu-list li { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-top: 1px solid var(--rule); }
.menu-list li:last-child { border-bottom: 1px solid var(--rule); }
.menu-list li b { font-weight: 600; white-space: nowrap; }
.menu-list .head { color: var(--text-soft); font-size: 15px; border-top: 0; padding-top: 0; }

/* Example match report */
.receipt { background: #fff; border: 1px solid var(--rule); padding: clamp(18px, 2vw, 28px); font-size: 15px; display: flex; flex-direction: column; gap: 8px; max-width: 34rem; }
.receipt .row { display: flex; justify-content: space-between; gap: 16px; }
.receipt .total { border-top: 1px solid var(--rule); padding-top: 10px; font-weight: 600; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 40rem; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 15px; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--rule); background: #fff; color: var(--text); }
.form textarea { min-height: 7em; resize: vertical; }
.form button { justify-self: start; border: 0; cursor: pointer; font: inherit; }

/* Footer with links */
.site-foot .foot-grid { display: grid; gap: 28px; padding-block: clamp(40px, 5vw, 72px) 24px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; }
.site-foot nav a { text-decoration: none; opacity: .9; }
.site-foot .legal { border-top: 1px solid rgba(247, 247, 245, 0.18); padding-block: 20px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (min-width: 900px) { .site-foot .foot-grid { grid-template-columns: auto 1fr; align-items: center; } .site-foot nav { justify-content: flex-end; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.soon { color: var(--ink); font-weight: 600; }
/* Two text columns side by side line up at the top */
.split:has(> .stack + .stack) { align-items: start; }
/* Keep the open menu above the hero panel */
.hero > .wrap:has(> .site-head) { z-index: 5; }
.tier .later { align-self: flex-start; background: var(--stone); color: var(--text); font-size: 13px; font-weight: 400; line-height: 1.4; padding: 4px 10px; white-space: nowrap; margin-top: -4px; }
.tier .later b { font-weight: 600; }

/* Stacked heading + text in rule lists (no separator dot) */
.rule-list li:has(> strong + span) { display: flex; flex-direction: column; gap: 4px; }


/* Pricing graphics */
.icon-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; }
.ico { color: var(--ink); display: block; width: 30px; height: 30px; margin-top: 1px; }
.ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Illustrations */
.illus-fig { margin: 0; }
.illus { display: block; width: 100%; height: auto; max-width: 460px; margin-inline: auto; }
.credit-intro { margin-top: clamp(24px, 3vw, 40px); }
@container (min-width: 820px) { .credit-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* Credit example chart */
.credit-ex { margin: clamp(28px, 3.5vw, 48px) 0 0; background: var(--paper); border: 1px solid var(--rule); padding: clamp(18px, 2.2vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.credit-ex figcaption { max-width: 60ch; }
.cx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; }
.cx-name { display: flex; flex-direction: column; }
.cx-name span, .cx-total span { font-size: 14px; color: var(--text-soft); }
.cx-total { text-align: right; display: flex; flex-direction: column; }
.cx-total b { font-size: var(--lead); }
.cx-bar { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; }
@container (min-width: 900px) {
  .cx-row { grid-template-columns: 15rem minmax(0, 1fr) 10rem; }
  .cx-bar { grid-column: 2; grid-row: 1; }
}
.cb { display: block; height: 22px; background: var(--action); border-radius: 2px; }
.cb.ex { background: repeating-linear-gradient(135deg, var(--dark) 0 2px, var(--stone) 2px 5px); }
.cb.left { background: transparent; box-shadow: inset 0 0 0 1.5px var(--action); }
.cx-key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text-soft); border-top: 1px solid var(--rule); padding-top: 14px; }
.cx-key li { display: flex; align-items: center; gap: 8px; }
.cx-key .cb { width: 14px; height: 14px; }

/* Overlap meter */
.meter-wrap { display: flex; flex-direction: column; gap: 10px; }
.meter-cap { font-size: 14px; color: var(--text-soft); margin-bottom: 30px; }
.meter { position: relative; display: flex; height: 18px; }
.seg { display: block; height: 100%; }
.m1 { background: var(--dark); }
.m2 { background: #8C857D; }
.m3 { background: #CFC8BE; }
.meter .mark { position: absolute; top: -8px; bottom: -8px; width: 3px; background: var(--ink); }
.meter .mark > span { position: absolute; bottom: 100%; right: -1px; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.meter-scale { position: relative; height: 18px; font-size: 13px; color: var(--text-soft); }
.meter-scale span { position: absolute; left: 0; }
.meter-scale span[style*="50%"] { transform: translateX(-50%); }
.meter-scale span[style*="100%"] { transform: translateX(-100%); }
.band-key li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 12px; border-top: 1px solid var(--rule); }
.band-key li:last-child { border-bottom: 1px solid var(--rule); }
.band-key .sw { display: block; width: 16px; height: 16px; }
.band-key span { color: var(--text-soft); }
.band-key span strong { display: block; color: var(--text); }

/* Compliance cost: costs arranged around the bucket */
.cost-grid { display: grid; gap: clamp(20px, 2.5vw, 36px) var(--gap); grid-template-areas: "head" "fig" "a" "b" "turn"; }
.cost-head { grid-area: head; display: flex; flex-direction: column; gap: 16px; max-width: 46rem; }
.cost-fig { grid-area: fig; align-self: center; }
.cost-fig .illus { max-width: 380px; }
.cost-a { grid-area: a; }
.cost-b { grid-area: b; }
.cost-turn { grid-area: turn; max-width: 46rem; }
.cost-grid .cost-a, .cost-grid .cost-b { align-self: start; }
/* stacked lists read as one list: no doubled rule between them */
.cost-grid .cost-b li:first-child { border-top: 0; }
.cost-grid .cost-a { margin-bottom: calc(-1 * clamp(20px, 2.5vw, 36px)); }
@container (min-width: 720px) {
  .cost-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head head" "fig a" "fig b" "turn turn"; }
}
@container (min-width: 1120px) {
  .cost-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); grid-template-areas: "head head head" "a fig b" "turn turn turn"; align-items: center; }
  .cost-grid .cost-a { margin-bottom: 0; }
  .cost-grid .cost-b li:first-child { border-top: 1px solid var(--rule); }
  .cost-grid .cost-a, .cost-grid .cost-b { align-self: center; }
  .cost-fig .illus { max-width: 420px; }
  .cost-turn { justify-self: center; text-align: center; }
  .cost-head { justify-self: center; text-align: center; align-items: center; }
  .cost-head h2::before { margin-inline: auto; }
}

/* About: consequences story, weight variation */
.why-story .lead { color: var(--text-soft); }
.why-story .lead strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.why-story .num { color: var(--ink); font-weight: 600; }
.why-pull { font-family: var(--serif); font-size: clamp(28px, 1.3rem + 1.2vw, 40px); line-height: 1.08; color: var(--ink); margin-bottom: -4px; }

/* evidence > promises */
.chalk { margin: 0 auto; max-width: 680px; }
.chalk img { display: block; width: 100%; height: auto; border-radius: 4px; }
.evidence-text { max-width: 40rem; margin: clamp(24px, 3vw, 40px) auto 0; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.evidence-text .lead { color: var(--text); font-weight: 500; }

/* Spam trap on site forms: off screen, never focusable */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }

/* Privacy and terms */
.legal-doc h2 { font-family: var(--sans, inherit); font-size: var(--lead); font-weight: 600; color: var(--text); margin-top: 0.8em; }
.legal-doc h2::before { display: none; }
.site-foot .legal a { color: inherit; }

/* Founding Builders announcement bar (temporary) */
.cohort-bar { background: var(--dark); color: var(--paper); font-size: 15px; position: relative; z-index: 10; }
.cohort-bar[hidden] { display: none; }
.cohort-bar-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding-block: 8px; }
.cohort-link { color: inherit; text-decoration: none; text-align: center; line-height: 1.4; }
.cohort-link strong { font-weight: 600; }
.cohort-apply { display: inline-block; margin-left: 6px; color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cohort-link:hover .cohort-apply, .cohort-link:focus-visible .cohort-apply { text-decoration-thickness: 2px; }
.cohort-x { flex: none; background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; padding: 6px 8px; cursor: pointer; opacity: 0.75; margin-right: -8px; }
.cohort-x:hover, .cohort-x:focus-visible { opacity: 1; }
