/* Kinfold Health site styles.
   Palette: ink, fold (teal), paper, mist, line, seat (marigold, used only for patients in the circle).
   Type: Archivo (display, set narrow) + Public Sans (body). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans.woff2") format("woff2-variations"), url("../fonts/public-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #13262d;
  --ink-2: #34474f;
  --muted: #5a6b72;
  --paper: #f5f8f7;
  --white: #ffffff;
  --mist: #e1ece9;
  --mist-2: #eef4f2;
  --line: #c8d7d3;
  --fold: #0b6e69;
  --fold-deep: #084f4b;
  --fold-ink: #d8f0ec;
  --seat: #d9922e;
  --seat-soft: #f6e4c8;
  --bad: #a8431b;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 10px;
  --radius-lg: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--fold); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--fold-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--seat-soft); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

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

/* Type */
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); font-weight: 800; font-stretch: 80%; line-height: 1.0; letter-spacing: -0.012em; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.45rem); font-weight: 760; font-stretch: 84%; line-height: 1.08; letter-spacing: -0.006em; }
h3 { font-size: 1.22rem; font-weight: 700; font-stretch: 92%; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 700; font-stretch: 95%; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.24rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.small { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 248, 247, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.brand-name { font-family: var(--display); font-size: 1.32rem; font-weight: 800; font-stretch: 86%; letter-spacing: -0.01em; line-height: 1; }
.brand-name span { font-weight: 500; color: var(--fold); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 11px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--fold-deep); font-weight: 650; box-shadow: inset 0 -2px 0 var(--fold); border-radius: 6px 6px 0 0; }
.nav .btn { margin-left: 10px; }
.nav a.btn-primary { display: inline-flex; color: var(--white); padding: 9px 14px; font-weight: 650; border-radius: 8px; }
.nav a.btn-primary:hover { background: var(--fold-deep); color: var(--white); }
.nav a.btn-primary[aria-current="page"] { box-shadow: none; background: var(--fold-deep); }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer;
  }
  .js .menu-toggle svg { width: 18px; height: 18px; }
  .js .nav { display: none; }
  .js .nav.open {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav ul { flex-direction: column; }
  .nav a { padding: 12px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--fold); padding-left: 12px; }
  .nav .btn, .nav a.btn-primary { margin: 16px 0 0; width: 100%; justify-content: center; padding: 13px 14px; border-bottom: 0; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-bottom: 10px; }
  html:not(.js) .nav { margin-left: 0; width: 100%; flex-wrap: wrap; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 13px 20px; border-radius: 8px; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--fold); color: var(--white); }
.btn-primary:hover { background: var(--fold-deep); color: var(--white); text-decoration: none; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.btn-small { padding: 9px 14px; font-size: 0.93rem; }
.btn-light { background: var(--white); color: var(--fold-deep); }
.btn-light:hover { background: var(--fold-ink); color: var(--fold-deep); text-decoration: none; }
.btn-line-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-line-light:hover { background: rgba(255,255,255,0.12); color: var(--white); text-decoration: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Sections */
main { display: block; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-white + .section { padding-top: clamp(56px, 8vw, 104px); }
.section.band-white { padding: clamp(56px, 8vw, 104px) 0; }

/* Home hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .actions { margin-top: 6px; }
.hero-for { font-size: 0.93rem; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The circle (hero interactive) */
.circle { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; }
.circle svg { width: min(100%, 360px); margin: 0 auto; height: auto; }
.circle .table { fill: var(--mist-2); stroke: var(--line); stroke-width: 1.5; }
.circle .seat { fill: var(--white); stroke: var(--line); stroke-width: 2; stroke-dasharray: 5 4; transition: fill 220ms ease, stroke 220ms ease; cursor: pointer; }
.circle .seat.on { fill: var(--seat); stroke: var(--seat); stroke-dasharray: none; }
.circle .seat-hit { fill: transparent; cursor: pointer; }
.circle .clinician { fill: var(--fold); }
.circle .clinician-label { fill: var(--white); font-family: var(--display); font-weight: 700; font-stretch: 90%; font-size: 15px; }
.circle .table-label { fill: var(--muted); font-family: var(--body); font-size: 12.5px; }
.circle-total { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.circle-sub { color: var(--ink-2); margin-top: 6px; }
.circle-compare { font-weight: 600; color: var(--fold-deep); margin-top: 4px; }
.circle-compare.less { color: var(--bad); }
.circle-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--mist); padding-top: 16px; }
.circle-controls label, .circle-controls .lbl { font-weight: 600; font-size: 0.95rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.stepper button { width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; border-radius: 7px; }
.stepper button:hover { background: var(--mist); }
.stepper button:disabled { color: var(--line); cursor: not-allowed; background: transparent; }
.stepper output { min-width: 3ch; text-align: center; font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.circle .small { margin-top: -4px; }
@media (prefers-reduced-motion: reduce) { .circle .seat { transition: none; } }

/* Who does what */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.split > div { padding: clamp(22px, 3vw, 34px); }
.split .ours { background: var(--mist); }
.split h3 { margin-bottom: 4px; }
.split .note { color: var(--muted); font-size: 0.93rem; margin-bottom: 14px; }
.split ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.split li { padding-left: 26px; position: relative; }
.split li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; }
.split .ours li::before { background: var(--white); border: 2px solid var(--fold); }
.split .theirs li::before { background: var(--fold); }
.split .theirs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .theirs ul { grid-template-columns: 1fr; } }

/* Facts (definition grid) */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin: 0; }
.facts > div { border-top: 2px solid var(--fold); padding: 18px 0 28px; }
.facts dt { font-family: var(--display); font-weight: 760; font-stretch: 88%; font-size: 1.3rem; line-height: 1.2; }
.facts dd { margin: 8px 0 0; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; } }

/* Two-column text block */
.duo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.duo .prose { max-width: 60ch; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.figure-quote { border-left: 4px solid var(--seat); padding: 4px 0 4px 20px; }
.figure-quote p { font-family: var(--display); font-weight: 700; font-stretch: 88%; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.18; }
.figure-quote .small { font-family: var(--body); font-weight: 400; font-size: 0.86rem; margin-top: 10px; }

/* Timeline (a real sequence: weeks) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; top: 9px; left: 0; right: -16px; height: 2px; background: var(--line); }
.timeline li:last-child::before { right: 0; }
.timeline li::after { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--fold); }
.timeline li:last-child::after { background: var(--seat); border-color: var(--seat); }
.timeline .wk { font-family: var(--display); font-weight: 800; font-stretch: 84%; font-size: 1.05rem; color: var(--fold-deep); }
.timeline p { margin-top: 6px; color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { padding: 0 0 22px 34px; }
  .timeline li::before { top: 18px; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .timeline li:last-child::before { display: none; }
  .timeline li::after { top: 4px; }
  .timeline p { margin-top: 2px; }
}

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
.principles li { display: grid; gap: 6px; }
.principles h3 { font-size: 1.15rem; }
.principles p { color: var(--ink-2); max-width: 48ch; }
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

/* Call-to-action band */
.cta { background: var(--fold); color: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: var(--fold-ink); margin-top: 12px; max-width: 58ch; }
.cta :focus-visible { outline-color: var(--white); }
.cta .kicker { color: var(--white); font-weight: 650; margin: 0 0 10px; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* Inner page header */
.page-head { padding: clamp(44px, 6vw, 84px) 0 clamp(28px, 4vw, 48px); }
.page-head .wrap { display: grid; gap: 18px; }
.page-head .updated { font-size: 0.9rem; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
caption { text-align: left; padding: 14px 16px 0; font-weight: 650; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--mist); vertical-align: top; }
thead th { font-size: 0.86rem; color: var(--muted); font-weight: 650; background: var(--mist-2); border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody th { font-weight: 650; }
.who td { width: 34%; }
.who .yes { color: var(--fold-deep); font-weight: 650; }
.who .no { color: var(--muted); }

/* Steps (session run-of-show, a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.steps li { position: relative; padding: 0 0 26px 30px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: attr(data-n); position: absolute; left: -15px; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 2px solid var(--fold); color: var(--fold-deep); font-family: var(--display); font-weight: 800; font-size: 0.9rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--ink-2); margin-top: 4px; max-width: 60ch; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 650; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--fold); border-bottom: 2px solid var(--fold); transform: rotate(45deg); transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.25em; width: 20px; height: 20px; border-radius: 6px; background: var(--fold); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(0.25em + 4px); width: 6px; height: 10px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(45deg); }
.checks strong { display: block; }
.checks.open li::before { background: var(--white); border: 2px solid var(--seat); border-radius: 50%; }
.checks.open li::after { content: none; }

/* Panels */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.panel-mist { background: var(--mist); border-color: transparent; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 14px; }
.callout { border-left: 4px solid var(--fold); background: var(--white); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }

/* Contact */
.contact-card { display: grid; gap: 16px; }
.email-big { font-family: var(--display); font-weight: 760; font-stretch: 86%; font-size: clamp(1.4rem, 3vw, 2rem); word-break: break-word; }

/* Calculator */
.calc { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 880px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.field .stepper { justify-self: start; }
.calc-results > * { min-width: 0; }
.calc-controls { display: grid; gap: 22px; position: sticky; top: 90px; }
@media (max-width: 880px) { .calc-controls { position: static; } }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 650; font-size: 0.95rem; padding: 0; }
.hint { font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1; text-align: center; padding: 9px 6px; font-size: 0.9rem; cursor: pointer; border-right: 1px solid var(--line); user-select: none; }
.seg label:last-of-type { border-right: 0; }
.seg input:checked + label { background: var(--fold); color: var(--white); font-weight: 650; }
.seg input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: -3px; }
.range-row { display: flex; align-items: center; gap: 12px; }
input[type="range"] { flex: 1; accent-color: var(--fold); }
.range-val { font-family: var(--display); font-weight: 800; font-size: 1.5rem; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.money { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.money span { padding: 0 2px 0 12px; color: var(--muted); }
.money input { border: 0; background: transparent; color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; padding: 10px 12px 10px 2px; width: 100%; }
.money:focus-within { outline: 3px solid var(--fold); outline-offset: 2px; }
.money input:focus { outline: none; }
.calc-results { display: grid; gap: 20px; }
.calc-headline { font-family: var(--display); font-weight: 800; font-stretch: 82%; font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.08; font-variant-numeric: tabular-nums; }
.calc-sub { color: var(--muted); margin-top: 8px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 4px; background: var(--white); }
.tile .k { font-size: 0.82rem; color: var(--muted); font-weight: 650; }
.tile .v { font-family: var(--display); font-weight: 800; font-stretch: 86%; font-size: 1.85rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile .n { font-size: 0.82rem; color: var(--muted); }
.tile.good { border-color: var(--fold); background: var(--mist-2); }
.tile.good .v { color: var(--fold-deep); }
.tile.bad { border-color: var(--bad); background: #fbeee7; }
.tile.bad .v { color: var(--bad); }
.yr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
@media (max-width: 600px) { .yr { grid-template-columns: 1fr; } }
.yr div { padding: 14px 16px; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.yr div:last-child { border-right: 0; }
.yr .k { font-size: 0.82rem; color: var(--muted); }
.yr .v { font-weight: 700; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.yr .p { font-size: 0.84rem; color: var(--muted); font-variant-numeric: tabular-nums; }
tr.current td { background: var(--mist-2); font-weight: 700; }
td.pos { color: var(--fold-deep); }
td.neg { color: var(--bad); }
.patient-share { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .patient-share { grid-template-columns: 1fr; } }
.patient-share div { display: grid; gap: 2px; }
.patient-share .k { font-size: 0.82rem; color: var(--muted); }
.patient-share .v { font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.calc h2 { font-size: 1.25rem; font-stretch: 92%; margin-bottom: 12px; }
.calc-notes { display: grid; gap: 8px; font-size: 0.84rem; color: var(--muted); }
.calc-notes p { max-width: 90ch; }
#copyStatus { font-size: 0.9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #c9d6d6; margin-top: clamp(56px, 8vw, 104px); padding: 56px 0 40px; font-size: 0.95rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer :focus-visible { outline-color: var(--seat); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.foot-grid .brand { color: var(--white); }
.foot-grid .brand-name span { color: #7fd1c8; }
.foot-grid p { margin-top: 14px; max-width: 38ch; }
.foot-grid h2 { color: var(--white); font-size: 1rem; font-stretch: 95%; font-weight: 700; margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fineprint { border-top: 1px solid #2c4048; margin-top: 40px; padding-top: 22px; font-size: 0.82rem; color: #9fb1b3; display: grid; gap: 8px; }
.fineprint p { max-width: 110ch; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.center-404 { min-height: 50vh; display: grid; align-content: center; gap: 18px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
