/* PanelWise site styles (redesign, 2026-10-22)
   Brand palette per BRAND_GUIDE.md. Room = teal, over = sand, matching the sample diagnostic. */

:root {
  --navy: #0E3669;
  --ink: #274766;
  --muted: #5A6F86;
  --teal: #7AC1D3;
  --teal-deep: #3F8FA5;
  --wash: #EEF7F9;
  --sand: #E8D3BA;
  --sand-ink: #7A3A1D;
  --line: rgba(14, 54, 105, 0.14);
  --white: #fff;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);

  --wrap: 1120px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
a { color: var(--navy); text-underline-offset: 0.18em; }
a:hover { color: var(--teal-deep); }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--navy); font-weight: 700; }

:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 38em; }
.small { font-size: var(--step--1); color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.35rem;
  border-radius: 8px; border: 2px solid var(--navy);
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--wash); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.logo img { width: 160px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.site-nav > a, .nav-dropdown-toggle {
  font: 500 0.975rem/1 var(--sans); color: var(--navy); text-decoration: none;
  padding: 0.65rem 0.7rem; border-radius: 6px; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.site-nav > a:hover, .nav-dropdown-toggle:hover { background: var(--wash); color: var(--navy); }
.site-nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-caret { font-size: 0.7em; margin-left: 0.2em; }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 30px rgba(14, 54, 105, 0.12); padding: 0.4rem;
}
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 0.6rem 0.8rem; border-radius: 6px; text-decoration: none; color: var(--navy);
}
.nav-dropdown-menu a span { display: block; font-size: var(--step--1); color: var(--muted); }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus { background: var(--wash); }
.nav-dropdown-menu a[aria-current="page"] { background: var(--wash); }
.nav-ctas { display: flex; gap: 0.5rem; margin-left: 0.75rem; }
.nav-ctas .btn { white-space: nowrap; min-height: 42px; padding: 0.5rem 1rem; font-size: 0.95rem; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; }

@media (max-width: 1100px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle-label {
    display: flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; width: 22px; height: 2px; background: var(--navy); position: relative; content: '';
  }
  .nav-toggle-label span::before { position: absolute; top: -7px; }
  .nav-toggle-label span::after { position: absolute; top: 7px; }
  .nav-toggle:focus-visible + .nav-toggle-label { outline: 3px solid var(--teal-deep); border-radius: 6px; }
  .site-nav {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch;
    margin: 0; padding: 0.5rem 0 1rem; gap: 0;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav > a, .nav-dropdown-toggle { padding: 0.85rem 0.25rem; text-align: left; width: 100%; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 0.75rem; min-width: 0; }
  .nav-ctas { margin: 0.75rem 0 0; flex-direction: column; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-wash { background: var(--wash); }
.section-navy { background: var(--navy); color: #DCE8F2; }
.section-navy h2, .section-navy h3, .section-navy strong { color: #fff; }
.section-navy a:not(.btn) { color: #fff; }
.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero-simple h1 { max-width: none; }
.hero-simple .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
@media (max-width: 880px) {
  .hero-grid, .hero-simple .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Provider strip (home hero) ---------- */
.strip-figure { margin: 0; }
.strip { width: 100%; height: auto; overflow: visible; }
.strip .bar { fill: var(--teal); }
.strip .over .bar { fill: var(--sand); }
.strip .cap { stroke: var(--navy); stroke-width: 3; stroke-linecap: round; }
.strip .axis { stroke: var(--line); stroke-width: 1; }
.strip .grp { stroke: var(--teal-deep); stroke-width: 1; opacity: .5; }
.strip .clinic { font: 500 12px var(--sans); fill: var(--muted); }
.strip .pv:hover .bar { filter: brightness(0.93); }
.strip-key { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0 0 0.75rem; padding: 0; list-style: none; font-size: var(--step--1); color: var(--ink); }
.strip-key li { display: flex; align-items: center; gap: 0.45rem; }
.key-swatch { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.key-room { background: var(--teal); }
.key-over { background: var(--sand); }
.key-cap { width: 18px; height: 3px; background: var(--navy); border-radius: 2px; }
.strip-figure figcaption { margin-top: 0.75rem; font-size: var(--step--1); color: var(--muted); max-width: 52ch; }

@media (prefers-reduced-motion: no-preference) {
  .js .strip .bar { transform-box: fill-box; transform-origin: bottom; animation: grow .7s cubic-bezier(.2, .7, .2, 1) both; }
  .js .strip .cap { animation: fadein .4s ease-out both; animation-delay: .9s; }
  .js .strip .pv:nth-of-type(n) .bar { animation-delay: calc(var(--i, 0) * 35ms); }
}
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Questions list ---------- */
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.questions li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.questions h3 { margin-bottom: 0.4rem; }
.questions p { margin: 0; font-size: 1rem; }
@media (max-width: 640px) { .questions { grid-template-columns: 1fr; } }

/* ---------- Sample preview ---------- */
.sample-row { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-shot { border-radius: 6px; box-shadow: 0 1px 2px rgba(14, 54, 105, .08), 0 18px 40px -18px rgba(14, 54, 105, .35); border: 1px solid var(--line); background: #fff; }
.page-stack { position: relative; padding: 0 0 12% 10%; }
.page-stack .page-shot:first-child { position: absolute; left: 0; top: 10%; width: 80%; opacity: .9; }
.page-stack .page-shot:last-child { position: relative; width: 90%; margin-left: auto; }
@media (max-width: 880px) { .sample-row { grid-template-columns: 1fr; } }

/* ---------- Who we serve ---------- */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.group { background: #fff; padding: 1.5rem; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.group:hover { background: var(--wash); color: var(--ink); }
.group h3 { margin-bottom: 0.5rem; }
.group p { font-size: 1rem; margin-bottom: 1rem; }
.group .go { margin-top: auto; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: .18em; }
.also { margin-top: 1.25rem; font-size: 1rem; }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font: 700 0.95rem var(--sans);
}
.steps li::after { content: ''; position: absolute; top: 1.05rem; left: 2.6rem; right: -1rem; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .35rem; font-size: 1.15rem; }
.steps p { font-size: 1rem; margin: 0; }
.steps .then::before { background: var(--teal); color: var(--navy); content: '+'; }
@media (max-width: 640px) { .steps li::after { display: none; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.founder img { border-radius: 10px; border: 2px solid rgba(122, 193, 211, .6); background: var(--wash); }
.facts { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
.facts li { padding-left: 1.1rem; border-left: 3px solid var(--teal); }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 200px; } }

/* ---------- Two-path CTA ---------- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.path { padding-top: 1.25rem; border-top: 2px solid var(--teal); }
.path h3 { color: #fff; }
.path p { color: #DCE8F2; }
.section-navy .btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.section-navy .btn-primary:hover { background: var(--wash); border-color: var(--wash); }
.section-navy .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .7); }
.section-navy .btn-secondary:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Callout (objection answer) ---------- */
.callout { border-left: 4px solid var(--teal); background: var(--wash); padding: 1.5rem 1.75rem; border-radius: 0 10px 10px 0; max-width: 52rem; }
.callout h2 { font-size: var(--step-2); margin-bottom: .4rem; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Two-column prose ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks strong { display: block; margin-bottom: .2rem; }

/* ---------- Sample page ---------- */
.sample-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-panel { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 10px; padding: 1.75rem; box-shadow: 0 18px 40px -24px rgba(14, 54, 105, .35); }
.form-panel h2 { font-size: var(--step-2); }
@media (max-width: 880px) { .sample-layout { grid-template-columns: 1fr; } .form-panel { position: static; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: .3rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; min-height: 46px; padding: .6rem .75rem; font: 400 1rem var(--sans); color: var(--navy);
  border: 1px solid rgba(14, 54, 105, .35); border-radius: 8px; background: #fff;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 1px; border-color: var(--navy); }
.field input:user-invalid { border-color: var(--sand-ink); }
.form-panel .btn { width: 100%; margin-top: .5rem; }
.form-note { font-size: var(--step--1); color: var(--muted); margin: 1rem 0 0; }
.hp { display: none; }

.contents { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.contents li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contents li > strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.contents p { margin: 0; font-size: 1rem; }
@media (max-width: 520px) { .contents li { grid-template-columns: 1fr; gap: .25rem; } }

.shots { display: grid; gap: 2.5rem; margin-top: 3rem; }
.shots figure { margin: 0; }
.shots figcaption { margin-top: .75rem; font-size: 1rem; }
.shots figcaption strong { display: block; }

.download { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 760px) { .download { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--ink); }
.site-footer img { width: 130px; margin-bottom: .5rem; }

/* ---------- Home v2 (2026-10-28) ---------- */
.hero-home .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.hero-home h1 { max-width: none; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); }
.hero-home .lede { max-width: 46em; }
.video-figure { margin: 0; }
.video-figure video { width: 100%; aspect-ratio: 1 / 1; display: block; border-radius: 10px; background: #F6F3EE; border: 1px solid var(--line); }
.video-figure figcaption { margin-top: .6rem; font-size: var(--step--1); color: var(--muted); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.offer { display: grid; grid-template-rows: 220px auto; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 10px; overflow: hidden; background: #fff; }
.offer:last-child { border-top-color: var(--teal); }
.offer img { width: 100%; height: 220px; object-fit: cover; object-position: top left; background: var(--wash); border-bottom: 1px solid var(--line); }
.offer-body { padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.offer-body h2 { font-size: var(--step-2); margin-bottom: .4rem; }
.offer-body p { font-size: 1rem; }
.offer-body .btn { margin-top: auto; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.doc { display: grid; grid-template-columns: 110px minmax(0, 1fr) 64px; grid-template-rows: auto auto; gap: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem; }
.doc img { width: 110px; height: 140px; object-fit: cover; object-position: center 20%; border-radius: 8px; }
.doc h3 { margin-bottom: .4rem; }
.doc ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; line-height: 1.5; }
.gauge { position: relative; grid-row: 1; grid-column: 3; height: 180px; background: linear-gradient(var(--line), var(--line)) bottom / 100% 1px no-repeat; }
.gauge-fill { position: absolute; left: 10px; right: 10px; bottom: 0; height: var(--h); background: var(--teal); border-radius: 3px 3px 0 0; }
.gauge-line { position: absolute; left: 0; right: 0; bottom: var(--y); height: 0; border-top: 4px dotted var(--navy); }
.gauge-true { border-top: 4px solid var(--sand-ink); }
.doc-verdict { grid-column: 1 / -1; margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: 1rem; min-height: 3.2em; }
.docs-key { margin-top: 1rem; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .doc { grid-template-columns: 84px minmax(0, 1fr) 48px; } .doc img { width: 84px; height: 110px; } .gauge { height: 150px; } }

.features { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.features li { border-left: 3px solid var(--teal); padding-left: 1rem; font-size: 1rem; }
.features strong { display: block; margin-bottom: .2rem; }
@media (max-width: 880px) { .hero-home .hero-grid { grid-template-columns: 1fr; } .video-figure { max-width: 420px; } }
@media (max-width: 600px) {
  .doc { grid-template-columns: 64px minmax(0, 1fr) 48px; grid-template-areas: "img name gauge" "list list gauge" "v v v"; }
  .doc img { grid-area: img; width: 64px; height: 80px; }
  .doc-body { display: contents; }
  .doc h3 { grid-area: name; align-self: center; margin: 0; }
  .doc ul { grid-area: list; }
  .gauge { grid-area: gauge; height: auto; min-height: 150px; }
  .doc-verdict { grid-area: v; }
}

/* ---------- About / Methodology / Contact (2026-10-28) ---------- */
.about-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-card { position: sticky; top: 96px; }
.about-card img { border-radius: 10px; border: 2px solid rgba(122, 193, 211, .6); background: var(--wash); width: 100%; height: auto; }
.about-name { font-size: var(--step-2); margin: 1rem 0 .1rem; }
.about-links { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .35rem; font-size: 1rem; }
.about-content h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.about-content h2:first-child { margin-top: 0; }
.about-content .facts { margin-bottom: 1rem; }
@media (max-width: 760px) { .about-layout { grid-template-columns: 1fr; } .about-card { position: static; max-width: 260px; } }

.prose { max-width: 46rem; }
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 46rem; }
.wrap.prose > .table-wrap { max-width: 60rem; }
.formula { font: 400 var(--step-1)/1.4 var(--serif); color: var(--navy); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; padding: 1.1rem 1.4rem; margin: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.formula .op { color: var(--teal-deep); font-family: var(--sans); font-weight: 700; }
.frac { display: inline-flex; flex-direction: column; text-align: center; }
.frac span:first-child { border-bottom: 2px solid var(--navy); padding-bottom: .15rem; }
.frac span:last-child { padding-top: .15rem; }
.model-split { align-items: center; }
.model-diagram svg { width: 100%; height: auto; max-width: 520px; }
.table-wrap { overflow-x: auto; }
.method-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 1rem; min-width: 560px; border: 1px solid var(--line); }
.method-table th, .method-table td { text-align: left; vertical-align: top; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.method-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.method-table tbody th { color: var(--navy); width: 9rem; }
.method-table ul { margin: 0; padding-left: 1.1rem; }
.decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); margin-top: 1.5rem; }
.decision { border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; background: #fff; }
.lookback svg { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; }
.pcp-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; text-align: center; }
.pcp-method { display: flex; flex-direction: column; align-items: center; gap: .5rem; font-weight: 700; color: var(--navy); font-size: .95rem; }
.pcp-icon { width: 64px; height: 64px; }
@media (max-width: 760px) { .decisions { grid-template-columns: 1fr; } }
.reading { columns: 2 280px; column-gap: 2.5rem; padding-left: 1.1rem; margin: 1rem 0 0; }
.reading li { margin-bottom: .6rem; break-inside: avoid; }
.section-navy p { color: #DCE8F2; }

.contact-card { display: flex; gap: 1rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.contact-card img { width: 96px; border-radius: 10px; border: 2px solid rgba(122, 193, 211, .6); }
.field select, .field textarea { width: 100%; min-height: 46px; padding: .6rem .75rem; font: 400 1rem var(--sans); color: var(--navy); border: 1px solid rgba(14, 54, 105, .35); border-radius: 8px; background: #fff; }
.field textarea { resize: vertical; }

/* 2026-10-29: who it's for, customer quote, scope card, talks */
.hero-for { color: var(--muted); max-width: 38em; margin-top: -.25rem; }

.quote-block { margin: 0; max-width: 52rem; padding: 2rem 0 2rem 1.75rem; border-left: 4px solid var(--teal); }
.quote-block blockquote { margin: 0; }
.quote-block blockquote p { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; color: var(--navy); margin: 0 0 1rem; }
.quote-block figcaption { font-size: 1rem; color: var(--ink); }
.quote-block figcaption strong { display: block; color: var(--navy); }

.scope { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.scope > div { background: #fff; padding: 1.25rem 1.25rem 1.4rem; }
.scope dt { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); margin-bottom: .35rem; }
.scope dd { margin: 0; font-size: 1rem; }

.talks-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; }
.talks-grid h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.talks { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--navy); }
.talks li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.talks strong { display: block; }
.talk-title { display: block; }
.talk-when { display: block; font-size: var(--step--1); color: var(--muted); margin-top: .15rem; }
@media (max-width: 760px) { .talks-grid { grid-template-columns: 1fr; } }
.section-navy :focus-visible { outline-color: var(--teal); }
/* 2026-11-03: two doctors shown without the toggle, both lines always on */
.v-standard, .v-true { display: block; }
.v-standard { color: var(--muted); margin-bottom: .2rem; }
.key-line { width: 22px; height: 0; display: inline-block; }
.key-standard { border-top: 4px dotted var(--navy); }
.key-true { border-top: 4px solid var(--sand-ink); }
.offer h2 a { color: inherit; text-decoration: none; }
.offer h2 a:hover { text-decoration: underline; text-underline-offset: .15em; }

/* 2026-11-03: speaking credibility row in the founder section */
.talk-orgs { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.talk-orgs h3 { font-family: var(--sans); font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.talk-orgs ul { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 0; }
.talk-orgs li { font-weight: 500; color: var(--navy); }
.talk-orgs li:not(:last-child)::after { content: "\00B7"; margin: 0 .6rem; color: var(--muted); }
.talk-orgs p { font-size: var(--step--1); margin: 0; }
.about-content .talks { margin-bottom: 1rem; }
.talks-label { font-family: var(--sans); font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 1.5rem 0 .5rem; }

/* 2026-11-03: Diagnostic page, schedule with established patients (left) and new patients (right) */
.visit-math { margin: 0 0 1rem; }
.vm-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.vm-side { position: relative; border-radius: 10px; padding: 1.25rem 1.25rem 1.4rem; }
.vm-side strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin-bottom: .2rem; }
.vm-side span { display: block; font-size: .95rem; }
.vm-est { background: var(--teal); color: var(--navy); }
.vm-new { background: var(--sand); color: var(--sand-ink); text-align: right; }
.vm-side .vm-arrow { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--navy); }
.vm-est .vm-arrow { right: -2.6rem; }
.vm-new .vm-arrow { left: -2.6rem; color: var(--sand-ink); }
.vm-sched { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem 1.1rem; box-shadow: 0 18px 40px -24px rgba(14, 54, 105, .35); }
.vm-sched-head { display: flex; gap: .6rem; align-items: baseline; margin-bottom: .75rem; }
.vm-sched-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--navy); }
.vm-sched-head span { font-size: .9rem; color: var(--ink); }
.sched-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.sched-day { display: grid; gap: .3rem; }
.sched-label { font-size: .8rem; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: .1rem; }
.slot { display: block; height: 18px; border-radius: 3px; }
.slot-e { background: var(--teal); }
.slot-n { background: var(--sand); border: 1px dashed var(--sand-ink); }
.visit-math figcaption { margin-top: .6rem; color: var(--muted); }
@media (max-width: 760px) {
  .vm-flow { grid-template-columns: 1fr; gap: 2.75rem; }
  .vm-new { text-align: left; }
  .vm-side .vm-arrow { top: auto; left: 50%; right: auto; transform: translateX(-50%) rotate(90deg); bottom: -2.6rem; }
  .vm-new .vm-arrow { top: -2.6rem; bottom: auto; transform: translateX(-50%) rotate(90deg); }
}

/* 2026-11-03: Build capacity, waterfall of additional patients and a lever table with icons */
.waterfall { margin: 0 0 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem 1.25rem 1rem; }
.wf-title { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin-bottom: 1.5rem; }
.wf-title strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--navy); }
.wf-title span { font-size: var(--step--1); color: var(--muted); }
.wf-chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.wf-col { display: flex; flex-direction: column; }
.wf-plot { position: relative; height: 240px; border-bottom: 1px solid var(--line); }
.wf-bar { position: absolute; left: 12%; right: 12%; border-radius: 3px; }
.wf-base { background: var(--navy); }
.wf-step { background: var(--teal); }
.wf-total { background: var(--teal-deep); }
.wf-val { position: absolute; left: 0; right: 0; text-align: center; transform: translateY(-1.35rem); font-weight: 700; font-size: .95rem; color: var(--navy); }
.wf-add { color: var(--teal-deep); }
.wf-name { margin-top: .5rem; text-align: center; font-size: .85rem; line-height: 1.3; color: var(--ink); }

.lever-table { width: 100%; border-collapse: collapse; }
.lever-table th, .lever-table td { text-align: left; vertical-align: middle; padding: 1rem .75rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.lever-table thead th { font-size: var(--step--1); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--navy); }
.lever-table tbody th { font-weight: 400; display: flex; gap: 1rem; align-items: flex-start; min-width: 18rem; }
.lever-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--wash); display: grid; place-items: center; color: var(--navy); }
.lever-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lever-name strong { display: block; color: var(--navy); margin-bottom: .15rem; }
.lever-name span { display: block; font-size: .95rem; }
.lever-add { font-weight: 700; color: var(--teal-deep); white-space: nowrap; font-size: 1.15rem; }
.lever-table tfoot th, .lever-table tfoot td { border-bottom: 0; border-top: 2px solid var(--navy); font-weight: 700; color: var(--navy); }
.lever-note { margin-top: 1rem; color: var(--muted); max-width: none; }
@media (max-width: 760px) {
  .wf-chart { gap: .35rem; }
  .wf-plot { height: 200px; }
  .wf-val { font-size: .8rem; }
  .wf-name { font-size: .72rem; }
  .lever-table thead { display: none; }
  .lever-table, .lever-table tbody, .lever-table tfoot, .lever-table tr, .lever-table th, .lever-table td { display: block; width: 100%; }
  .lever-table tbody tr { border-bottom: 1px solid var(--line); padding: 1rem 0; }
  .lever-table tbody th, .lever-table td { border: 0; padding: .25rem 0; min-width: 0; }
  .lever-table td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 400; font-size: .9rem; }
  .lever-table td.lever-add { font-size: 1.05rem; }
  .lever-table tfoot tr { padding-top: .75rem; }
  .lever-table tfoot th, .lever-table tfoot td { border: 0; padding: .2rem 0; }
}
@media (min-width: 761px) { .lever-table td { white-space: nowrap; } .lever-table tbody th { min-width: 0; } }
.lever-table-title { font-size: 1.35rem; margin: 0 0 .75rem; }
.talks-grid .talks-label { margin-top: 0; }
@media (min-width: 900px) { .talks-cols { columns: 2; column-gap: 3rem; } .talks-cols li { break-inside: avoid; } }
.talks-cols { border-top: 0; } .talks-cols li:first-child { padding-top: 0; }
