:root {
  --ink: #111a2a;
  --quiet: #4b5567;
  --line: #dce0e7;
  --soft: #f5f6fa;
  --blue: #176171;
  --navy: #111928;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.55 var(--sans); }
button { font: inherit; }
a { color: inherit; }
p, h1, h2, dl, dd, blockquote { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #247c87; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; transform: translateY(-160%); padding: .65rem; background: white; }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.site-header { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-bottom: 1px solid var(--line); }
.brand { position: relative; width: 9.15rem; height: 2.7rem; flex: 0 0 auto; overflow: hidden; border-radius: .25rem; }
.brand img { width: 10.5rem; height: auto; position: absolute; inset: 50% auto auto -.57rem; transform: translateY(-50%); }
.site-header nav { display: flex; align-items: center; gap: 1.75rem; }
.site-header nav a, .site-footer a { display: inline-flex; align-items: center; gap: .25em; min-height: 2.75rem; text-decoration: none; font-size: .875rem; font-weight: 600; }
.site-header nav a:hover, .site-footer a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .25em; }
.hero { text-align: center; padding-block: 3.25rem 2.65rem; }
.eyebrow { color: var(--blue); font-size: .75rem; line-height: 1.4; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow span { margin-inline: .25em; color: #7d89a4; }
h1, .call-stage h2, .scenarios h2 { font-family: var(--serif); font-weight: 400; }
h1 { max-width: 64rem; margin: .65rem auto .95rem; font-size: clamp(3.4rem, 6.6vw, 6.25rem); line-height: .97; letter-spacing: -.042em; text-wrap: balance; }
.lede { max-width: 34rem; margin-inline: auto; color: var(--quiet); font-size: clamp(1rem, 2.2vw, 1.2rem); }
.hero-actions, .call-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .625rem; }
.hero-actions { justify-content: center; margin-top: 1.35rem; }
.button { min-height: 2.85rem; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 1px solid transparent; border-radius: .55rem; padding: .55rem 1.05rem; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: .95rem; cursor: pointer; }
.button:disabled { cursor: not-allowed; opacity: .64; }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #28354e; }
.button-outline { border-color: #cdd4df; background: #fff; color: var(--ink); }
.button-outline:hover { background: var(--soft); border-color: #838eaa; }
.button-light { background: #f0f8f8; color: #111a2a; }
.button-light:hover:not(:disabled) { background: #dcecef; }
.button-ghost { border-color: #bac2d2; background: #172133; color: #fff; }
.button-ghost:hover, .button-ghost[aria-pressed='true'] { background: #35415b; }
.narrow-break { display: none; }
.call-stage { min-height: 28rem; border-radius: 1.45rem; display: flex; align-items: flex-end; position: relative; overflow: clip; isolation: isolate; background: #131e2d; color: #fff; }
.call-stage::before, .call-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; }
.call-stage::before { background: url('clinic-stage-v2.webp') 58% 55% / cover no-repeat; }
.call-stage::after { background: linear-gradient(90deg, rgba(10,16,28,.98), rgba(10,16,28,.82) 38%, rgba(10,16,28,.24) 75%); }
.call-contents { max-width: 31rem; padding: 2.5rem; width: 100%; }
.call-identity { display: flex; align-items: center; gap: .7rem; color: #e5e9f5; font-size: .875rem; font-weight: 600; }
.wave { width: 2.1rem; height: 2.1rem; flex: 0 0 auto; border: 1px solid #a7cbd2; border-radius: 50%; background: #175f6c; display: flex; align-items: center; justify-content: center; gap: 2px; }
.wave i { width: 2px; height: 7px; border-radius: 2px; background: white; transform-origin: center; }
.wave i:nth-child(2), .wave i:nth-child(4) { height: 11px; }
.wave i:nth-child(3) { height: 15px; }
.call-stage[data-state='live'] .wave i { animation: wave .85s ease-in-out infinite alternate; }
.call-stage[data-state='live'] .wave i:nth-child(2n) { animation-delay: .21s; }
@keyframes wave { to { transform: scaleY(.5); } }
.call-stage h2 { font-size: clamp(3rem, 5.6vw, 5.25rem); letter-spacing: -.025em; line-height: .94; margin-block: .75rem; }
.call-description { min-height: 3.1rem; max-width: 22rem; color: #eef1fa; }
.call-actions { margin-top: .9rem; }
.patient-strip { margin-top: .7rem; display: flex; align-items: start; justify-content: space-between; gap: 1.1rem 2rem; padding: 1.2rem 1.55rem; background: var(--soft); border: 1px solid var(--line); border-radius: .9rem; }
.patient-strip h2 { font-size: .95rem; font-weight: 700; }
.patient-strip p { color: var(--quiet); font-size: .875rem; }
.patient-details { display: flex; flex-wrap: wrap; gap: .7rem 1.7rem; }
.patient-details dt { color: var(--quiet); font-size: .75rem; }
.patient-details dd { font-size: .95rem; font-weight: 700; }
.scenarios { padding-block: 4.2rem 3.8rem; }
.scenarios h2 { font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.02em; margin: .4rem 0 .55rem; }
.scenarios-intro > p:last-child { color: var(--quiet); font-size: 1rem; }
.scenario-grid { display: grid; grid-template-columns: minmax(15rem, .75fr) minmax(0, 1.25fr); gap: 1rem; margin-top: 1.4rem; align-items: stretch; }
.scenario-picker { border-top: 1px solid var(--line); }
.scenario { width: 100%; min-height: 3.35rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: white; color: var(--ink); border: 0; border-bottom: 1px solid var(--line); padding: .65rem .9rem; text-align: left; font-weight: 600; cursor: pointer; }
.scenario:hover, .scenario[aria-pressed='true'] { background: var(--soft); color: #15586b; }
.scenario[aria-pressed='true'] { box-shadow: inset 3px 0 #298097; }
.scenario span { color: #236f84; }
.sample { padding: 1.15rem 1.4rem; background: var(--soft); border: 1px solid var(--line); border-radius: .85rem; }
.sample blockquote { font-size: clamp(1.2rem, 2.3vw, 1.6rem); line-height: 1.38; text-wrap: pretty; margin-block: .45rem .65rem; }
#sample-hint { color: var(--quiet); font-size: .9rem; }
#copy-button { margin-top: .9rem; min-height: 2.65rem; font-size: .875rem; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .95rem 1.2rem; font-size: .85rem; color: var(--quiet); }
.site-footer > span { color: var(--ink); font-weight: 700; }
@media (max-width: 48rem) {
  .site-header { min-height: 4.15rem; }
  .nav-guide { display: none !important; }
  .hero { padding-block: 2.6rem 1.95rem; }
  .call-stage { min-height: 23rem; border-radius: 1.15rem; }
  .call-contents { padding: 1.5rem; }
  .call-stage::before { background-position: 66% 50%; }
  .call-stage::after { background: linear-gradient(0deg, rgba(10,16,28,.99), rgba(10,16,28,.82) 48%, rgba(10,16,28,.15)); }
  .patient-strip { flex-direction: column; gap: .75rem; padding: .95rem 1.1rem; }
  .scenarios { padding-block: 3.05rem 2.65rem; }
  .scenario-grid { grid-template-columns: 1fr; gap: .8rem; }
}
@media (max-width: 27rem) {
  .brand { width: 8.35rem; }
  .brand img { width: 9.65rem; }
  .site-header nav a { font-size: .81rem; }
  .narrow-break { display: initial; }
  h1 { font-size: clamp(2.9rem, 11vw, 3.85rem); }
  .hero { padding-top: 1.95rem; }
  .hero-actions { gap: .5rem; }
  .hero-actions .button { font-size: .86rem; padding-inline: .85rem; }
  .call-stage { min-height: 21rem; }
  .call-contents { padding: 1.15rem; }
  .patient-details { gap: .55rem 1rem; }
  .sample { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .call-stage[data-state='live'] .wave i { animation: none; }
}

/* The compact navigation uses native disclosure and works without JavaScript. */
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { min-height: 44px; cursor: pointer; border: 1px solid var(--line); border-radius: .5rem; padding: .6rem .8rem; font-weight: 600; }
.mobile-menu nav { position: absolute; z-index: 2; right: 0; min-width: 12rem; display: grid; gap: 0; background: white; border: 1px solid var(--line); border-radius: .55rem; padding: .35rem .65rem; }
.mobile-menu nav a { white-space: nowrap; }
.policy { max-width: 43rem; padding-block: 3rem; }
.policy h1 { margin: .25rem 0 1.2rem; font-size: clamp(2.8rem, 6vw, 4.2rem); }
.policy h2 { font-size: 1.2rem; margin: 1.65rem 0 .45rem; }
.policy p { margin: .65rem 0; }
.policy .button { margin-top: .8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.policy a, .footer-nav a { overflow-wrap: anywhere; }
@media(max-width: 42rem) {
  .site-header > nav { display: none; }
  .mobile-menu { display: block; }
  .footer-nav { width: 100%; }
}
