/* onepayersystem.com — shared styles */
:root {
  --paper: #F3F6F9;
  --white: #FFFFFF;
  --ink: #0B2545;
  --ink-2: #3A4F6B;
  --ink-3: #6A7C93;
  --rule: #C9D3DF;
  --green: #12715B;
  --green-soft: #DDEFE8;
  --signal: #F5C542;
  --signal-soft: #FDF3D3;
  --today: #9E2A47;
  --today-soft: #F6E3E8;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "Archivo", system-ui, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; font-family: var(--ui); }
.skip:focus { left: 8px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 78;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; font-variation-settings: "wdth" 85; font-weight: 700; line-height: 1.15; }
h4 { font-size: 1.1rem; font-variation-settings: "wdth" 90; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
strong { font-weight: 600; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 80; font-weight: 800; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; font-variation-settings: "wdth" 82; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span b { color: var(--green); font-weight: 800; }
.nav { display: flex; gap: 2px; align-items: center; font-family: var(--ui); font-size: .95rem; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 8px 9px; border-radius: 6px; white-space: nowrap; }
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.nav a.nav-cta { background: var(--ink); color: #fff; margin-left: 8px; border-radius: 6px; }
.nav a.nav-cta:hover { background: var(--green); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 6px; padding: 8px 12px; font: 600 .95rem var(--ui); color: var(--ink); cursor: pointer; }
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--paper); }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); padding-left: 14px; }
  .nav a.nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- Status ribbon ---------- */
.status { background: var(--ink); color: #DCE5F0; font-family: var(--ui); font-size: .88rem; }
.status .wrap { padding-top: 7px; padding-bottom: 7px; }
.status a { color: var(--signal); }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 90px); background: var(--white); border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero .actions { margin-top: 28px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.btn { display: inline-block; font: 700 1rem var(--ui); text-decoration: none; padding: 14px 22px; border-radius: 8px; background: var(--green); color: #fff; border: 2px solid var(--green); margin: 0 10px 10px 0; cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

/* The member card: the site's one signature element */
.card-stage { perspective: 1200px; }
.member-card {
  position: relative;
  aspect-ratio: 1.586 / 1;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  padding: clamp(18px, 3.4vw, 30px);
  box-shadow: 0 30px 60px -28px rgba(11, 37, 69, .55), 0 2px 0 rgba(255,255,255,.08) inset;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  font-family: var(--ui);
  transform: rotate(-3deg);
  animation: card-in 1s cubic-bezier(.2,.8,.2,1) both .15s;
}
@keyframes card-in { from { transform: translateY(40px) rotate(-9deg); opacity: 0; } to { transform: rotate(-3deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .member-card { animation: none; } }
@media (max-width: 900px) { .member-card { margin: 0 auto; transform: rotate(-1.5deg); } }
.member-card .guilloche { position: absolute; inset: 0; opacity: .22; pointer-events: none; }
.member-card > * { position: relative; }
.mc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mc-title { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.5rem); line-height: .95; letter-spacing: .01em; }
.mc-title small { display: block; font-size: .42em; font-weight: 600; letter-spacing: .02em; opacity: .8; margin-top: 6px; font-variation-settings: "wdth" 100; }
.mc-chip { width: clamp(38px, 7vw, 52px); aspect-ratio: 1.3; border-radius: 7px; background: var(--signal); box-shadow: inset 0 0 0 2px rgba(0,0,0,.12); background-image: linear-gradient(90deg, transparent 48%, rgba(0,0,0,.18) 48% 52%, transparent 52%), linear-gradient(0deg, transparent 30%, rgba(0,0,0,.15) 30% 34%, transparent 34% 64%, rgba(0,0,0,.15) 64% 68%, transparent 68%); }
.mc-benefits { display: flex; gap: clamp(6px, 1.4vw, 12px); align-self: center; flex-wrap: wrap; }
.mc-benefits span { display: inline-flex; align-items: center; gap: 6px; font-size: clamp(.68rem, 1.6vw, .85rem); font-weight: 600; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 5px 9px 5px 6px; border-radius: 99px; }
.mc-benefits svg { width: 16px; height: 16px; }
.mc-fields { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; font-size: clamp(.62rem, 1.5vw, .78rem); }
.mc-fields dt { opacity: .65; }
.mc-fields dd { margin: 0; font-weight: 700; font-size: 1.25em; }
.mc-fields dd.hl { color: var(--signal); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--rule); }
.section.white { background: var(--white); }
.section.ink { background: var(--ink); color: #E6ECF3; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section.ink a { color: var(--signal); }
.split-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.split-head > :first-child h2 { position: sticky; top: 96px; }
.split-head > *, .grid-2 > *, .grid-3 > *, .calc-grid > * { min-width: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: minmax(0, 1fr); } .split-head > :first-child h2 { position: static; } }

.page-head { background: var(--white); border-bottom: 1px solid var(--rule); padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); max-width: 16ch; }

/* Five benefits */
.five { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 3px solid var(--ink); }
.five > div { padding: 22px 18px 6px 0; border-right: 1px solid var(--rule); padding-left: 18px; }
.five > div:first-child { padding-left: 0; }
.five > div:last-child { border-right: 0; }
.five svg { width: 40px; height: 40px; color: var(--green); margin-bottom: 14px; }
.five h3 { font-size: 1.3rem; margin-bottom: .35em; }
.five p { font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 900px) { .five { grid-template-columns: 1fr 1fr; } .five > div { border-right: 0; border-bottom: 1px solid var(--rule); padding-left: 0; } }
@media (max-width: 520px) { .five { grid-template-columns: 1fr; } }

/* Claim path comparison */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 8px; }
@media (max-width: 800px) { .paths { grid-template-columns: 1fr; } }
.path { background: var(--white); border-radius: 14px; padding: 24px; border: 1px solid var(--rule); }
.path h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.path h3 .count { font-size: .95rem; font-family: var(--ui); font-weight: 600; color: var(--ink-3); font-variation-settings: "wdth" 100; }
.path ol { list-style: none; counter-reset: step; margin: 16px 0 0; padding: 0; font-family: var(--ui); font-size: .98rem; }
.path li { counter-increment: step; position: relative; padding: 9px 0 9px 42px; border-bottom: 1px dashed var(--rule); line-height: 1.35; }
.path li:last-child { border-bottom: 0; }
.path li::before { content: counter(step); position: absolute; left: 0; top: 7px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.path.today li::before { background: var(--today-soft); color: var(--today); }
.path.today h3 { color: var(--today); }
.path.health5 { border: 2px solid var(--green); }
.path.health5 li::before { background: var(--green); color: #fff; }
.path.health5 h3 { color: var(--green); }
.path li em { font-style: normal; color: var(--ink-3); display: block; font-size: .88rem; }

/* Funding split bar */
.splitbar { display: flex; height: 76px; border-radius: 10px; overflow: hidden; font-family: var(--ui); margin: 18px 0 10px; }
.splitbar > div { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; min-width: 0; }
.splitbar .you { background: var(--signal); color: var(--ink); flex: 0 0 15.02%; min-width: 92px; }
.splitbar .them { background: var(--green); color: #fff; flex: 1; }
.splitbar b { font-family: var(--display); font-size: 1.7rem; font-variation-settings: "wdth" 78; line-height: 1; }
.splitbar small { font-size: .82rem; opacity: .9; }
.bar-caption { font-family: var(--ui); font-size: .95rem; color: var(--ink-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Figures row */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--rule); margin-top: 28px; }
.figures > div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.figures .num { font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1; display: block; margin-bottom: 6px; color: var(--ink); }
.figures span:last-child { font-family: var(--ui); font-size: .95rem; color: var(--ink-2); line-height: 1.35; display: block; }
.section.ink .figures .num { color: #fff; }
.section.ink .figures span:last-child { color: #BFCBDA; }
.section.ink .figures, .section.ink .figures > div { border-color: rgba(255,255,255,.18); }

/* Callouts */
.note { border-left: 5px solid var(--signal); background: var(--signal-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: 1rem; margin: 24px 0; max-width: 72ch; }
.note p:last-child { margin-bottom: 0; }
.note.green { border-color: var(--green); background: var(--green-soft); }
.section.ink .note { background: rgba(245,197,66,.12); color: #F2F5F9; }

/* EOB-style comparison table */
.eob { width: 100%; border-collapse: collapse; font-family: var(--ui); font-size: 1rem; background: var(--white); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.eob caption { text-align: left; font-family: var(--ui); font-size: .92rem; color: var(--ink-3); padding: 0 0 10px; }
.eob th, .eob td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.4; }
.eob thead th { background: var(--ink); color: #fff; font-weight: 700; }
.eob thead th:nth-child(2) { background: var(--today); }
.eob thead th:nth-child(3) { background: var(--green); }
.eob tbody th { font-weight: 700; width: 26%; }
.eob td.money, .eob th.money { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eob tfoot td, .eob tfoot th { font-weight: 800; background: var(--paper); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Plan options */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .options { grid-template-columns: 1fr; } }
.option { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 26px; }
.option.primary { border: 2px solid var(--ink); }
.option .num { font-size: 3rem; line-height: 1; display: block; margin-bottom: 4px; }
.option dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-family: var(--ui); font-size: .98rem; margin: 18px 0; }
.option dt { color: var(--ink-3); }
.option dd { margin: 0; font-weight: 600; }

/* Prose lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; max-width: 70ch; }
.ticks li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.section.ink .ticks li { border-color: rgba(255,255,255,.15); }
.section.ink .ticks li::before { border-color: var(--signal); }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: 72ch; }
.steps-list li { counter-increment: s; position: relative; padding: 12px 0 12px 52px; border-bottom: 1px solid var(--rule); }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 10px; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--green); font-variation-settings: "wdth" 75; line-height: 1; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.block h3 { margin-bottom: .4em; }
.block p { font-size: 1.02rem; }

/* Flow (sequence) */
.flow { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 10px 0; font-family: var(--ui); font-weight: 600; font-size: .98rem; }
.flow li { display: flex; align-items: center; }
.flow li span { background: var(--white); border: 1px solid var(--rule); padding: 10px 14px; border-radius: 8px; }
.flow li:not(:last-child)::after { content: ""; width: 26px; height: 2px; background: var(--green); margin: 0 4px; position: relative; }
.flow li:last-child span { background: var(--green); color: #fff; border-color: var(--green); }
.section.ink .flow li span { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); color: #fff; }
.section.ink .flow li:not(:last-child)::after { background: var(--signal); }
.section.ink .flow li:last-child span { background: var(--signal); color: var(--ink); border-color: var(--signal); }

/* Risk pool visual */
.pool { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; font-family: var(--ui); }
.pool .insurer { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 16px; }
.pool .insurer b { display: block; margin-bottom: 10px; }
.pool .cells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.pool .cells i { aspect-ratio: 1; border-radius: 3px; display: block; }
.pool .insurer small { display: block; margin-top: 10px; color: var(--ink-3); font-size: .85rem; }
.legend { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-size: .88rem; color: var(--ink-3); }
.legend .ramp { width: 160px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #CDE7DD, #12715B 55%, #0B2545); }
@media (max-width: 700px) { .pool { grid-template-columns: 1fr; } }

/* Calculators */
.calc { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: clamp(20px, 3vw, 32px); font-family: var(--ui); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
@media (max-width: 820px) { .calc-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: .98rem; margin-bottom: 6px; }
.field label output { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 1.15rem; color: var(--green); }
.field .hint { font-size: .85rem; color: var(--ink-3); margin-top: 4px; }
input[type="range"] { width: 100%; accent-color: var(--green); height: 28px; }
.results { background: var(--paper); border-radius: 12px; padding: 18px 20px; }
.results dl { margin: 0; }
.results .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.results .row:last-child { border-bottom: 0; }
.results dt { font-size: .95rem; color: var(--ink-2); }
.results dd { margin: 0; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 1.3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.results .row.big dd { font-size: 1.8rem; }
.stackbar { display: flex; height: 18px; border-radius: 9px; overflow: hidden; margin: 12px 0 6px; }
.stackbar i { display: block; height: 100%; transition: flex-basis .25s ease; }
.calc-reset { background: none; border: 1px solid var(--ink); border-radius: 8px; padding: 8px 14px; font: 600 .92rem var(--ui); color: var(--ink); cursor: pointer; }
.calc-reset:hover { background: var(--ink); color: #fff; }

/* Reconciliation bridge */
.bridge { font-family: var(--ui); }
.bridge-row { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.bridge-row.head { font-weight: 700; color: var(--ink-3); font-size: .85rem; border-bottom: 2px solid var(--ink); }
.bridge-row .cat b { display: block; font-weight: 600; }
.bridge-row .cat small { color: var(--ink-3); }
.bridge-row .v { text-align: right; font-variant-numeric: tabular-nums; }
.bridge-row .s { display: flex; align-items: center; gap: 10px; }
.bridge-row .s output { width: 3.2em; text-align: right; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .bridge-row { grid-template-columns: 1fr 1fr; }
  .bridge-row.head { display: none; }
  .bridge-row .cat { grid-column: 1 / -1; }
  .bridge-row .s { grid-column: 1 / -1; order: 3; }
  .bridge-row .v.before::before { content: "2024: "; color: var(--ink-3); font-weight: 400; }
  .bridge-row .v.after::before { content: "Modeled: "; color: var(--ink-3); font-weight: 400; }
  .bridge-row .v { text-align: left; }
}
.gauge { position: relative; height: 48px; background: var(--paper); border-radius: 8px; margin: 26px 0 8px; overflow: hidden; }
.gauge .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--today); transition: width .25s ease, background .25s; }
.gauge .fill.ok { background: var(--green); }
.gauge .band { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, rgba(245,197,66,.55) 0 6px, rgba(245,197,66,.25) 6px 12px); border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); z-index: 1; }
.gauge-scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--ink-3); font-family: var(--ui); }
.bridge-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.bridge-summary > div { background: var(--paper); border-radius: 10px; padding: 14px 16px; }
.bridge-summary .num { font-size: 1.7rem; display: block; line-height: 1.1; }
.bridge-summary small { color: var(--ink-2); font-size: .88rem; }
@media (max-width: 700px) { .bridge-summary { grid-template-columns: 1fr; } }
.verdict { font-weight: 700; margin-top: 14px; font-size: 1.02rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); padding: 4px 0; max-width: 820px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-variation-settings: "wdth" 88; font-weight: 700; font-size: 1.25rem; padding: 16px 40px 16px 0; position: relative; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.7rem; color: var(--green); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 14px; }
.faq h2 { margin-top: 40px; font-size: 1.6rem; }

/* CTA band */
.cta-band { background: var(--green); color: #fff; padding: clamp(48px, 6vw, 80px) 0; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #E3F3EC; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn:hover { background: var(--signal); border-color: var(--signal); }
.cta-band .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn.ghost:hover { background: #fff; color: var(--ink); }

/* Action cards */
.actions-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .actions-list { grid-template-columns: 1fr; } }
.action { background: var(--white); border: 1px solid var(--rule); border-top: 5px solid var(--green); border-radius: 0 0 12px 12px; padding: 22px; }
.action p { font-size: 1rem; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; }
.share-row a, .share-row button { font: 600 .95rem var(--ui); padding: 10px 14px; border-radius: 8px; border: 1px solid var(--ink); color: var(--ink); background: var(--white); text-decoration: none; cursor: pointer; }
.share-row a:hover, .share-row button:hover { background: var(--ink); color: #fff; }
.script { background: var(--white); border: 1px dashed var(--ink-3); border-radius: 10px; padding: 18px 20px; font-size: 1.02rem; max-width: 70ch; }

/* Footer */
.site-footer { background: var(--ink); color: #BFCBDA; font-family: var(--ui); font-size: .92rem; padding: 48px 0 36px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .84rem; line-height: 1.55; color: #9FB0C4; }
.site-footer .fine p { max-width: none; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.sources { font-family: var(--ui); font-size: .9rem; color: var(--ink-2); }
.sources li { margin-bottom: 6px; }
.small { font-size: .92rem; color: var(--ink-3); font-family: var(--ui); }
.mt { margin-top: 32px; }
.center { text-align: center; }

@media print {
  .site-header, .status, .cta-band, .nav-toggle { display: none; }
  .section { padding: 24px 0; }
  body { background: #fff; }
}

/* Source citations */
a.cite { font-family: var(--ui); font-size: .82em; font-weight: 600; color: var(--green); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; white-space: normal; }
a.cite::after { content: ""; display: inline-block; width: .7em; height: .7em; margin-left: .2em; vertical-align: -.02em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 1.5H1.5v9h9v-3M7 1.5h3.5V5M10.5 1.5 5.5 6.5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.5 1.5H1.5v9h9v-3M7 1.5h3.5V5M10.5 1.5 5.5 6.5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
a.cite:hover { color: var(--ink); text-decoration-style: solid; }
.section.ink a.cite { color: var(--signal); }
.figures a.cite { font-size: .95em; }
.page-sources { background: var(--white); }
.page-sources h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.source-list { margin: 0; padding-left: 1.4em; font-family: var(--ui); font-size: .98rem; max-width: 72ch; }
.source-list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.source-list li a { font-weight: 600; }
.source-list li span { display: block; color: var(--ink-2); font-size: .92rem; margin-top: 3px; line-height: 1.45; }

/* Proposal labels */
.proposal-tag { display: inline-block; font-family: var(--ui); font-weight: 700; font-size: .92rem; color: var(--ink); background: var(--signal); padding: 5px 12px; border-radius: 99px; margin: 0 0 18px; }
.mc-stamp { font-family: var(--ui); font-weight: 800; font-size: clamp(.7rem, 1.6vw, .85rem); color: var(--signal); border: 2px solid var(--signal); border-radius: 6px; padding: 3px 9px; transform: rotate(8deg); }
.eob.law th, .eob.law td { font-size: .95rem; }
.eob.law tbody th { width: 20%; }
.eob.law td:last-child { width: 30%; color: var(--ink-2); }
.eob.law thead th:nth-child(2) { background: var(--ink); }
.eob.law thead th:nth-child(3) { background: var(--ink-2); }
@media print { .page-head .actions { display: none; } a.cite::after { display: none; } }
.section.ink .eob { color: var(--ink); }
.section.ink .eob tbody th, .section.ink .eob tbody td { color: var(--ink); }
.section.ink .eob thead th { background: var(--green); }
.section.ink .eob thead th:first-child { background: #1d3a5f; }

/* Research tables */
.eob.plain thead th, .eob.plain thead th:nth-child(2), .eob.plain thead th:nth-child(3) { background: var(--ink); }
.eob.plain tr.total th, .eob.plain tr.total td { background: var(--paper); font-weight: 800; }
.eob.src td:last-child { font-size: .88rem; }
.eob.src a.cite { font-size: 1em; }
.page-head .small { margin-top: 6px; }
.eob thead th.money { white-space: normal; }
