/* CheckMD public website.
   Concept: a patient chart. Each section is a row with its label in a narrow left column and the
   content on the right. One moment of motion: the check marks in the hero's "Your visit" panel. */

@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2");
}

:root {
  --ink: #0e2a3f;          /* clinical navy – text */
  --ink-soft: #46606f;     /* secondary text (AA on paper) */
  --paper: #f5f9fa;        /* cool white page */
  --white: #ffffff;
  --line: #d6e3e9;         /* chart rules */
  --green: #34771a;        /* "Check" green – actions (5.5:1 with white text) */
  --green-bright: #7bc043; /* logo green – check marks */
  --green-tint: #eaf5e1;
  --blue: #1668b8;         /* "MD" blue – links */
  --tint: #eaf2f6;

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 1.8vw, 2.25rem);
  --step-4: clamp(2.4rem, 1.4rem + 4vw, 4rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --label: 13rem;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }
.muted { color: var(--ink-soft); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--green); color: var(--white); text-decoration: none;
  font-weight: 600; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid var(--green);
  line-height: 1.1; cursor: pointer; font-family: inherit; font-size: var(--step-0);
}
.btn:hover { background: #2a6214; border-color: #2a6214; }
.btn--small { padding: .5rem 1rem; font-size: var(--step--1); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--green-tint); border-color: var(--green-tint); }
.link-quiet { color: var(--ink); font-weight: 600; }
.link-call { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--green-bright); padding-bottom: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }

/* Header */
.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.masthead__row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.logo img { width: 150px; height: auto; }
.footer__brand img { height: auto; }
.nav { flex: 1; }
.masthead__actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.menu > li > a, .menu summary {
  display: block; padding: .5rem .75rem; color: var(--ink); text-decoration: none; font-weight: 600;
  border-radius: 8px; cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15em) rotate(45deg); }
.menu details[open] summary::after { transform: translateY(.05em) rotate(-135deg); }
.menu > li > a:hover, .menu summary:hover { background: var(--tint); }
.menu [aria-current="page"] { color: var(--green); }
.menu__group { position: relative; }
.menu__group ul {
  list-style: none; margin: 0; padding: .4rem; position: absolute; top: calc(100% + .35rem); left: 0; min-width: 14rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(14, 42, 63, .12);
}
.menu__group ul a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.menu__group ul a:hover { background: var(--tint); }
.nav__mobile { display: none; }
.nav__login { margin: .75rem 0 0; padding: .75rem .75rem 0; border-top: 1px solid var(--line); }

/* Notices */
.notices { padding-top: 1rem; }
.notice { padding: .8rem 1rem; border-radius: 10px; background: var(--green-tint); border: 1px solid #c4e3ad; max-width: none; }
.notice--error { background: #fdecea; border-color: #f2c3bd; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: clamp(2.5rem, 7vw, 5.5rem); }
.hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.025em; max-width: 14ch; }
.lede { font-size: var(--step-1); color: var(--ink-soft); margin-top: 1.25rem; max-width: 46ch; }
.lede--small { font-size: var(--step-0); margin-top: 0; margin-bottom: 1.5rem; }

/* Hero photo with the visit panel over it */
.hero__grid--media { grid-template-columns: 1fr 1.15fr; }
.hero__media { position: relative; padding-bottom: 5.5rem; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; }
.hero__media .visit { position: absolute; left: -3rem; bottom: 0; width: min(18.5rem, 70%); padding: 1.25rem 1.4rem 1.1rem; box-shadow: 0 24px 48px rgba(14, 42, 63, .18); background: var(--white); }
.hero__media .visit::before { left: 1.4rem; right: 1.4rem; }
.hero__media .visit__title { font-size: var(--step-0); margin-bottom: .6rem; }
.hero__media .visit__steps li { padding: .55rem 0; gap: .7rem; grid-template-columns: 1.6rem 1fr; align-items: center; }
.hero__media .visit__steps li:first-child { padding-top: 0; }
.hero__media .visit__steps span { display: none; }
.hero__media .tick { width: 24px; height: 24px; }
.hero__media .visit__more { margin-top: .6rem; }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.trust__row li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.trust__row .ico { width: 1.6rem; height: 1.6rem; color: var(--green); }

/* Intro with portrait */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2.5rem; align-items: start; }
.intro__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.row__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.prose__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.pagehead__photo img { width: 100%; aspect-ratio: 4 / 3; max-height: 360px; object-fit: cover; border-radius: 20px; }

/* Illustrations (no photos of people) */
.art { display: block; width: 100%; height: auto; }
.art text { font-family: var(--font); }
.art text:not([fill]) { fill: var(--ink); }
.art__label { font-size: 15px; font-weight: 700; }
.art__small { font-size: 12px; font-weight: 600; }
.art__card { font-size: 14px; font-weight: 800; }
.art--phone .art__card { font-size: 12.5px; }
.art--phone .art__small { font-size: 11px; }
.art--hero .art__float { filter: drop-shadow(0 10px 18px rgba(14, 42, 63, .14)); }
@media (prefers-reduced-motion: no-preference) {
  .art__float { animation: art-float 6s ease-in-out infinite; }
  .art__float--2 { animation-delay: -3s; }
}
@keyframes art-float { 50% { transform: translateY(-6px); } }
.hero__media .art--hero { margin-left: 2rem; width: calc(100% - 2rem); }
.intro__photo .art--phone { max-width: 15rem; margin-left: auto; }
.pagehead__art { max-width: 26rem; justify-self: end; width: 100%; }

/* The signature: "Your visit" panel */
.visit { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 1.75rem; position: relative; }
.visit::before { content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--green-bright); }
.visit__title { font-weight: 800; font-size: var(--step-1); margin-bottom: 1.25rem; }
.visit__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.visit__steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .9rem; padding: 1rem 0; border-top: 1px dashed var(--line); }
.visit__steps li:first-child { border-top: 0; padding-top: 0; }
.visit__steps strong { display: block; font-size: var(--step-0); }
.visit__steps span { display: block; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.45; margin-top: .15rem; }
.tick { width: 28px; height: 28px; }
.tick circle { fill: var(--green-tint); stroke: var(--green-bright); stroke-width: 1.5; }
.tick path { fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 0; }
.visit__more { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: var(--step--1); }
@media (prefers-reduced-motion: no-preference) {
  .tick path { stroke-dashoffset: 22; animation: draw .5s cubic-bezier(.6, 0, .3, 1) forwards; animation-delay: calc(.45s + var(--i) * .55s); }
  .tick circle { animation: fill .35s ease-out backwards; animation-delay: calc(.3s + var(--i) * .55s); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { from { fill: var(--white); stroke: var(--line); } }

/* Page header */
.pagehead { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.pagehead h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.025em; margin-top: .5rem; }
.pagehead__grid--image { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.pagehead__img { border-radius: var(--radius); width: 100%; max-height: 340px; object-fit: cover; }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); }

/* Icons (Lucide) */
.ico { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--tile { width: 2.5rem; height: 2.5rem; padding: .55rem; border-radius: 12px; background: var(--green-tint); color: var(--green); }
.ico--big { width: 4.5rem; height: 4.5rem; padding: 1.1rem; border-radius: 18px; background: var(--tint); color: var(--blue); stroke-width: 1.5; }

/* Chart rows */
.chart { border-bottom: 1px solid var(--line); }
.chart--tint { background: var(--tint); }
.chart__row { display: grid; grid-template-columns: var(--label) 1fr; gap: 2.5rem; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.chart__label { font-size: var(--step-1); font-weight: 800; position: sticky; top: 6rem; align-self: start; }
.chart__label::before { content: ""; display: block; width: 2rem; height: 4px; border-radius: 2px; background: var(--green-bright); margin-bottom: .9rem; }
.chart__label--icon::before { display: none; }
.chart__label--icon .ico--tile { display: block; margin-bottom: .85rem; }
.chart__body { min-width: 0; }
.chart__sub { font-size: var(--step-2); font-weight: 800; margin-bottom: 1rem; max-width: 30ch; line-height: 1.2; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 2rem; }
.checks li { padding: .7rem 0 .7rem 2.1rem; border-bottom: 1px solid var(--line); position: relative; font-weight: 600; font-size: var(--step-1); }
.checks li::before { content: ""; position: absolute; left: .15rem; top: 1.05rem; width: .7rem; height: .38rem; border: solid var(--green); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.checks a { color: var(--ink); text-decoration: none; }
.checks a:hover { color: var(--blue); text-decoration: underline; }

.rows { display: grid; gap: 0; }
.row { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.row--image { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: start; }
.row--icon { grid-template-columns: 4.5rem 1fr; }
.row img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.row h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--blue); text-decoration: underline; }
.row p, .row .prose { color: var(--ink-soft); }

.prose { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose--image { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; max-width: none; }
.prose--image img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.prose--right img { order: 2; }

/* What CheckMD covers */
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 2rem; }
.offers li { display: flex; align-items: center; gap: .9rem; padding: .55rem 0; font-weight: 600; font-size: var(--step-1); }
.offers a { color: var(--ink); text-decoration: none; }
.offers a:hover { color: var(--blue); text-decoration: underline; }
.contact-list { list-style: none; margin: .75rem 0 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: .55rem; margin-bottom: .45rem; }
.contact-list .ico { width: 1.05rem; height: 1.05rem; color: var(--green); }

/* Real sequence -> numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2rem 2.5rem; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--white); border: 2px solid var(--green-bright); font-weight: 800; margin-bottom: .9rem;
}
.steps h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }
.steps--stacked { grid-template-columns: 1fr; gap: 0; }
.steps--stacked li { display: grid; grid-template-columns: 3rem 1fr; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.steps--stacked li:first-child { border-top: 0; padding-top: 0; }
.steps--stacked li::before { grid-row: span 2; margin: 0; }
.steps--stacked .prose { color: var(--ink-soft); }

/* Plans */
.plans { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.plans th, .plans td { text-align: left; padding: 1.1rem .75rem 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.plans thead th { font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; padding-top: 0; }
.plans tbody th { font-size: var(--step-1); font-weight: 800; }
.plans tbody th span, .plans__price span { display: block; font-size: var(--step--1); font-weight: 400; color: var(--ink-soft); }
.plans__price { font-size: var(--step-2); font-weight: 800; white-space: nowrap; }
.plans td:last-child { text-align: right; padding-right: 0; }

/* FAQ */
.faqs details { border-bottom: 1px solid var(--line); }
.faqs summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; font-size: var(--step-1); position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.6rem; font-weight: 400; color: var(--green); }
.faqs details[open] summary::after { content: "–"; }
.faqs__a { padding: 0 0 1.25rem; color: var(--ink-soft); max-width: 68ch; }

/* Organizations */
.orgs { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
.orgs--page { gap: 2.25rem 3rem; }
.orgs--page h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.orgs--page .prose { color: var(--ink-soft); }
.orgs li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.orgs h3 { font-size: var(--step-0); margin-bottom: .3rem; }
.orgs p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.5; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem; }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0 0 .75rem; font-size: var(--step-1); }
.quotes figcaption { font-weight: 600; }

/* Doctors */
.doctors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem 2rem; }
.doctors li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.doctors__icon { width: 3.25rem; height: 3.25rem; }
.dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--line); margin-right: .4rem; vertical-align: .05em; }
.dot--on { background: var(--green-bright); }
.doctors h3 { font-size: var(--step-0); }
.doctors h3 a { color: var(--ink); }
.doctors p { font-size: var(--step--1); margin: .15rem 0 0; }

/* Forms */
.form { max-width: 44rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 1.5rem; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: var(--step--1); }
input, textarea { width: 100%; font: inherit; color: inherit; background: var(--white); border: 1.5px solid #b9cdd6; border-radius: 10px; padding: .7rem .85rem; }
input:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(22, 104, 184, .2); outline-offset: 0; }
.field--error input, .field--error textarea { border-color: #b3261e; }
.form__error { color: #b3261e; font-size: var(--step--1); margin: .35rem 0 0; }
.form .muted { margin-top: 1rem; font-size: var(--step--1); }
.hp { position: absolute; left: -10000px; }
.inline-field { display: flex; gap: .5rem; }
.inline-field input { padding: .55rem .8rem; }

/* Closing call to action */
.cta { background: var(--ink); color: var(--white); }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.cta__text { font-size: var(--step-3); font-weight: 800; letter-spacing: -0.015em; margin: 0; max-width: 22ch; line-height: 1.15; }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); font-size: var(--step--1); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr 1.1fr; gap: 2.5rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer__pages { columns: 2; column-gap: 1.5rem; }
.footer__brand img { width: 130px; margin-bottom: 1rem; }
.footer__brand p { margin-bottom: .4rem; }
.footer h2 { font-size: var(--step-0); margin-bottom: .75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .45rem; }
.footer a { color: var(--ink); }
.footer__news { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr minmax(0, 26rem); gap: .5rem 2rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: 14px; background: var(--tint); }
.footer__news h2, .footer__news p { margin: 0; }
.footer__news .inline-field { grid-column: 2; grid-row: 1 / span 2; }
.footer__legal { border-top: 1px solid var(--line); padding-top: 1.25rem; padding-bottom: 1.5rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.footer__legal p { margin: 0; }
.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

/* Tablet */
@media (max-width: 64rem) {
  .nav__desktop { display: none; }
  .nav__mobile { display: block; }
  .nav { flex: 0; order: 3; }
  .masthead__actions { order: 2; }
  .nav__mobile > summary { list-style: none; cursor: pointer; width: 2.75rem; height: 2.75rem; display: grid; place-content: center; gap: 5px; border-radius: 10px; }
  .nav__mobile > summary::-webkit-details-marker { display: none; }
  .nav__mobile > summary span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.25rem; box-shadow: 0 16px 24px rgba(14, 42, 63, .08); max-height: calc(100vh - 4.25rem); overflow-y: auto; }
  .nav__panel .menu { flex-direction: column; align-items: stretch; }
  .nav__panel .menu__group ul { position: static; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; min-width: 0; }
  .hero__grid, .pagehead__grid--image { grid-template-columns: 1fr; }
  .hero__media { padding-bottom: 0; }
  .hero__grid--media { grid-template-columns: 1fr; }
  .hero__media .visit { position: relative; left: auto; bottom: auto; width: auto; margin: -3rem 1rem 0; }
  .trust__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro { grid-template-columns: 1fr; }
  .intro__photo, .pagehead__art { display: none; }
  .hero__media .art--hero { margin-left: 0; width: 100%; }
  .chart__row { grid-template-columns: 1fr; gap: 1.25rem; }
  .chart__label { position: static; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand, .footer__news { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 40rem) {
  .masthead__actions .link-quiet { display: none; }
  .checks, .orgs, .offers, .form__grid { grid-template-columns: 1fr; }
  .row.row--icon { grid-template-columns: 3.5rem 1fr; }
  .row--icon .ico--big { width: 3.5rem; height: 3.5rem; padding: .8rem; }
  .row--image, .prose--image { grid-template-columns: 1fr; }
  .prose--right img { order: 0; }
  .plans thead { display: none; }
  .plans, .plans tbody, .plans tr, .plans th, .plans td { display: block; width: 100%; }
  .plans tr { border-bottom: 1px solid var(--line); padding: 1rem 0; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; }
  .plans th, .plans td { border: 0; padding: 0; }
  .plans tbody th { grid-column: 1 / -1; }
  .plans td:last-child { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
  .inline-field { flex-direction: column; }
  .footer__news { grid-template-columns: 1fr; }
  .footer__news .inline-field { grid-column: 1; grid-row: auto; }
}

@media print {
  .masthead, .footer, .cta, .visit { display: none; }
  body { background: #fff; }
}

/* Smooth motion (only for visitors who haven't asked for reduced motion) */
html { scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.is-in { opacity: 1; transform: none; transition: opacity .65s cubic-bezier(.2, .7, .2, 1), transform .65s cubic-bezier(.2, .7, .2, 1); }
  a, .btn, .orgs--page li, .rows .row, .doctors li, .faq summary { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .2s ease, transform .2s ease; }
  .btn:hover { transform: translateY(-1px); }
  .orgs--page li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 42, 63, .09); border-color: #cfe3c2; }
}
/* Cards for grid sections on pages (Who we serve, What we treat, ...) */
.orgs--page li { padding: 1.35rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.orgs--page h3 a { color: var(--ink); text-decoration: none; }
.orgs--page h3 a:hover { color: var(--green); text-decoration: underline; }
.prose--lead { margin-bottom: 1.5rem; }
.actions--section { margin-top: 1.5rem; }
.prose + .rows { margin-top: 1.75rem; }
@media (max-width: 40rem) { .orgs--page { gap: 1rem; } }
.hero h1.hero__title--long { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); max-width: 17ch; }
