/* =============================================================
   Donni Fleischaker — Primary Care & Pediatrics
   Design system: "Warm Clinical"
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Color — Ocean Blue & Amber
     (brand variables keep the names --teal / --apricot for internal reuse) */
  --ink:        #0F2A3F;   /* deep ocean navy, primary text */
  --ink-soft:   #445A6E;
  --teal:       #1466A6;   /* primary brand — ocean blue */
  --teal-deep:  #0E4A7A;
  --teal-tint:  #E1EEF8;
  --apricot:    #F2A93B;   /* warm accent — amber */
  --apricot-deep:#D98A16;
  --blush:      #FDF1DC;
  --cream:      #FAF8F4;   /* page background */
  --surface:    #FFFFFF;
  --line:       #E4E8ED;
  --line-soft:  #EFF2F5;
  --success:    #2F8F6B;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.36rem + 0.7vw, 2rem);
  --step-3:  clamp(2rem, 1.7rem + 1.5vw, 3rem);
  --step-4:  clamp(2.6rem, 2.1rem + 2.6vw, 4.4rem);

  /* Space & shape */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;
  --shadow-sm: 0 2px 10px rgba(18, 49, 46, .06);
  --shadow:    0 18px 44px -20px rgba(18, 49, 46, .28);
  --shadow-lg: 0 40px 80px -32px rgba(12, 74, 69, .40);
  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--apricot-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.stack > * + * { margin-top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 460; line-height: 1.08; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: var(--step-4); font-variation-settings: "opsz" 120; }
h2 { font-size: var(--step-3); font-variation-settings: "opsz" 72; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { color: var(--ink-soft); }
.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--apricot); border-radius: 2px; }

/* Apricot hand-drawn underline motif */
.mark {
  position: relative; white-space: nowrap;
}
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .42em;
  background: var(--apricot); opacity: .38; border-radius: 40% 60% 55% 45%; z-index: -1;
  transform: rotate(-.6deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 100px; border: 1.5px solid transparent;
  font-weight: 700; font-size: var(--step-0); line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--apricot); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--apricot-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--teal-deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); background: var(--teal-tint); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.topbar {
  background: var(--teal-deep); color: #eaf4f2;
  font-size: var(--step--1); font-weight: 500;
}
.topbar__inner { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--apricot); }
.topbar__meta { display: inline-flex; flex-wrap: wrap; gap: .3rem 1.3rem; align-items: center; color: #c9e2de; }
.topbar__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.ic { width: 15px; height: 15px; flex: none; }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand { transition: transform .3s var(--ease); }
.brand__mark { width: 44px; height: 44px; flex: none; border-radius: 13px; filter: drop-shadow(0 4px 9px rgba(20,102,166,.28)); transition: transform .35s var(--ease), filter .35s var(--ease); }
.brand:hover .brand__mark { transform: translateY(-2px) scale(1.06) rotate(-2deg); filter: drop-shadow(0 9px 18px rgba(20,102,166,.4)); }
.brand:hover .brand__name { color: var(--teal-deep); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.brand__tag { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-top: .28rem; }

.nav__links { display: flex; align-items: center; gap: .2rem; }
.nav__links a {
  padding: .55rem .8rem; border-radius: 100px; font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); transition: background .2s, color .2s; white-space: nowrap;
}
.nav__links a:hover { color: var(--teal-deep); background: var(--teal-tint); }
.nav__links a[aria-current="page"] { color: var(--teal-deep); background: var(--teal-tint); }
.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; color: var(--ink); }

@media (max-width: 1040px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav[data-open="true"] .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: .2rem;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.4rem; box-shadow: var(--shadow);
  }
  .nav[data-open="true"] .nav__links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .masthead { position: sticky; }
  .nav__cta .btn--primary { white-space: nowrap; }
}

/* Compact header for small phones */
@media (max-width: 520px) {
  .nav { gap: .5rem; }
  .brand { gap: .55rem; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.05rem; }
  .brand__tag { font-size: .6rem; letter-spacing: .12em; margin-top: .2rem; }
  .nav__cta { gap: .45rem; }
  .nav__cta .btn--primary { padding: .58rem .8rem; font-size: .82rem; }
  .nav__toggle { width: 42px; height: 42px; }
}
@media (max-width: 380px) {
  .brand__tag { display: none; }
  .nav__cta .btn--primary { padding: .52rem .7rem; font-size: .78rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__eyebrow { margin-bottom: 1.2rem; }
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { max-width: 34ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; }
.hero__trust li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.hero__trust svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

.hero__media { position: relative; }
.hero__photo {
  position: relative; aspect-ratio: 4/5; border-radius: 46% 54% 48% 52% / 55% 48% 52% 45%;
  overflow: hidden; background: var(--teal-tint); box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__blob { position: absolute; inset: auto -8% -10% auto; width: 62%; aspect-ratio: 1; background: radial-gradient(circle at 30% 30%, var(--apricot), var(--apricot-deep)); border-radius: 42% 58% 60% 40% / 48% 40% 60% 52%; z-index: -1; filter: blur(2px); opacity: .5; }
.hero__badge {
  position: absolute; left: -6%; bottom: 8%; background: var(--surface); border-radius: var(--radius);
  padding: 1rem 1.2rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem; max-width: 240px;
}
.hero__badge .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--blush); display: grid; place-items: center; flex: none; }
.hero__badge .dot svg { width: 22px; height: 22px; color: var(--apricot-deep); }
.hero__badge b { display: block; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.hero__badge span { font-size: .78rem; color: var(--ink-soft); }

.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; top: -20%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--teal-tint), transparent 62%); }
.hero__bg::after { content: ""; position: absolute; bottom: -30%; left: -15%; width: 45vw; height: 45vw; background: radial-gradient(circle, var(--blush), transparent 60%); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; margin-inline: auto; order: -1; }
  .hero .lead { max-width: none; }
}

/* ---------- Marquee / trust strip ---------- */
.strip { background: var(--teal-deep); color: #dff0ed; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2.4rem; padding-block: 1.1rem; text-align: center; }
.strip__inner span { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: var(--step--1); }
.strip__inner svg { width: 18px; height: 18px; color: var(--apricot); }

/* ---------- Section heading ---------- */
.sechead { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead .eyebrow { margin-bottom: 1rem; }
.sechead p { margin-top: 1rem; font-size: var(--step-1); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem; background: var(--teal-tint); }
.card__icon svg { width: 28px; height: 28px; color: var(--teal-deep); }
.card--peds .card__icon { background: var(--blush); }
.card--peds .card__icon svg { color: var(--apricot-deep); }
.card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.card p { font-size: var(--step-0); }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 700; color: var(--teal-deep); font-size: .95rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(3px); }

/* Feature list inside cards */
.ticks { display: grid; gap: .6rem; margin-top: 1rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step-0); color: var(--ink-soft); }
.ticks svg { width: 20px; height: 20px; color: var(--success); flex: none; margin-top: .15rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); background: var(--teal-tint); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: -1; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat b { display: block; font-family: var(--font-display); font-size: var(--step-3); color: var(--teal-deep); line-height: 1; }
.stat span { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.panel--teal { background: var(--teal-deep); color: #eaf4f2; border: none; }
.panel--teal h2, .panel--teal h3 { color: #fff; }
.panel--teal p { color: #c9e2de; }
.panel--teal .stat b { color: #fff; }
.panel--teal .stat span { color: #cfe1f4; }
.panel--teal .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.panel--teal .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.panel--blush { background: var(--blush); border-color: #f4dcc7; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal-deep), var(--teal)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #cfe7e3; max-width: 46ch; margin-top: 1rem; }
.cta-band .hero__actions { margin-top: 2rem; margin-bottom: 0; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.cta-band::after { content: ""; position: absolute; top: -30%; right: -8%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(243,162,94,.55), transparent 65%); }

/* ---------- Accordion ---------- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.acc + .acc { margin-top: .9rem; }
.acc summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--teal-tint); display: grid; place-items: center; color: var(--teal-deep); font-size: 1.3rem; transition: transform .3s var(--ease), background .2s; }
.acc[open] summary .plus { transform: rotate(45deg); background: var(--apricot); color: #fff; }
.acc__body { padding: 0 1.4rem 1.4rem; color: var(--ink-soft); }
.acc__body p + p { margin-top: .8rem; }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 3.4rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: var(--step-2); color: var(--apricot); font-weight: 600; }
.step h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.step p { font-size: var(--step-0); }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Resource / link list ---------- */
.linklist { display: grid; gap: .8rem; }
.linklist a {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .2s, transform .2s, box-shadow .2s;
}
.linklist a:hover { border-color: var(--teal); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.linklist .li-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); display: grid; place-items: center; flex: none; }
.linklist .li-ic svg { width: 22px; height: 22px; color: var(--teal-deep); }
.linklist b { display: block; color: var(--ink); font-size: var(--step-0); }
.linklist span { font-size: var(--step--1); color: var(--ink-soft); }
.linklist .go { margin-left: auto; color: var(--teal); flex: none; }
.linklist .go svg { width: 20px; height: 20px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.field label .req { color: var(--apricot-deep); }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-tint); }
.form__note { font-size: var(--step--1); color: var(--ink-soft); }
.form__ok { display: none; padding: 1rem 1.2rem; border-radius: 12px; background: var(--teal-tint); border: 1.5px solid var(--teal); color: var(--teal-deep); font-weight: 600; }
.form__ok[data-show="true"] { display: block; }

/* ---------- Info cards (contact) ---------- */
.infocard { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.infocard .ic-badge { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-tint); display: grid; place-items: center; flex: none; }
.infocard .ic-badge svg { width: 24px; height: 24px; color: var(--teal-deep); }
.infocard h3 { font-size: var(--step-1); margin-bottom: .25rem; }
.infocard p, .infocard a { font-size: var(--step-0); color: var(--ink-soft); }
.infocard a { color: var(--teal-deep); font-weight: 600; }
.infocard a:hover { text-decoration: underline; }

/* Hours table */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-size: var(--step-0); }
.hours th { font-weight: 600; color: var(--ink); }
.hours td { color: var(--ink-soft); text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: none; }

/* ---------- Page hero (interior) ---------- */
.pagehero { background: linear-gradient(180deg, var(--teal-tint), var(--cream)); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.pagehero .eyebrow { margin-bottom: 1rem; }
.pagehero h1 { max-width: 18ch; }
.pagehero p { margin-top: 1.1rem; max-width: 56ch; font-size: var(--step-1); }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--teal); }
.crumbs span { color: var(--apricot-deep); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.6rem; margin-bottom: .8rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--ink-soft); font-size: var(--step-0); }
.prose p + p { margin-top: 1rem; }
.prose ul { display: grid; gap: .5rem; margin: 1rem 0; padding-left: 0; }
.prose ul li { display: flex; gap: .6rem; }
.prose ul li::before { content: ""; width: 8px; height: 8px; margin-top: .55rem; border-radius: 50%; background: var(--apricot); flex: none; }
.prose a { color: var(--teal-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.toc { position: sticky; top: 100px; align-self: start; }
.toc ul { display: grid; gap: .3rem; }
.toc a { display: block; padding: .4rem .7rem; border-radius: 8px; font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; }
.toc a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .legal-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .45rem .9rem; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: var(--step--1); color: var(--ink-soft); }
.chip--teal { background: var(--teal-tint); border-color: transparent; color: var(--teal-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cddad7; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: #cddad7; }
.footer a:hover { color: var(--apricot); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { color: #9db4b0; margin-top: 1rem; font-size: var(--step--1); max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: .6rem; }
.footer ul a { font-size: var(--step--1); }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step--1); color: #9db4b0; }
.footer__contact svg { width: 18px; height: 18px; color: var(--apricot); flex: none; margin-top: .15rem; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.6rem; font-size: var(--step--1); color: #8ba7a2; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--teal-deep); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 10px 0; z-index: 100; }
.skip:focus { left: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-soft); }
.badge-soft { display: inline-flex; align-items: center; gap: .45rem; background: var(--blush); color: var(--apricot-deep); font-weight: 700; font-size: var(--step--1); padding: .4rem .9rem; border-radius: 100px; }
.divider { height: 1px; background: var(--line); border: none; margin-block: clamp(2rem,4vw,3rem); }
.text-teal { color: var(--teal-deep); }

/* ---------- Provider cards ---------- */
.provider { display: flex; gap: 1.3rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.provider:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.provider__avatar { width: 92px; height: 92px; flex: none; border-radius: 22px; display: grid; place-items: center; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: #fff; background: linear-gradient(140deg, var(--teal), var(--teal-deep)); letter-spacing: .01em; box-shadow: var(--shadow-sm); }
.provider__avatar--accent { background: linear-gradient(140deg, var(--apricot), var(--apricot-deep)); }
.provider h3 { font-size: var(--step-1); }
.provider__role { display: inline-block; font-weight: 700; color: var(--teal-deep); background: var(--teal-tint); padding: .2rem .7rem; border-radius: 100px; margin: .4rem 0 .7rem; font-size: .78rem; letter-spacing: .04em; }
.provider p { font-size: var(--step-0); }
@media (max-width: 520px) { .provider { flex-direction: column; } }

/* ---------- Long form (fieldsets) ---------- */
.fset { border: none; padding: 0; margin: 0; }
.fset + .fset { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.fset__legend { display: flex; align-items: center; gap: .8rem; width: 100%; font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); margin-bottom: 1.2rem; padding: 0; }
.fset__num { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-deep); font-size: 1.1rem; font-weight: 700; font-family: var(--font-body); }
.form__row--3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.1rem; }
.form__row--4 { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 1.1rem; }
@media (max-width: 700px) { .form__row--3, .form__row--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .form__row--3, .form__row--4 { grid-template-columns: 1fr; } }
.checkgrid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .55rem 1rem; margin-top: .3rem; }
@media (max-width: 700px) { .checkgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .checkgrid { grid-template-columns: 1fr; } }
.check { display: flex; gap: .55rem; align-items: center; font-size: var(--step--1); color: var(--ink-soft); font-weight: 500; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--teal); }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.field--full { grid-column: 1 / -1; }
.consent { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.2rem; background: var(--teal-tint); border-radius: 12px; font-size: var(--step--1); color: var(--ink); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: .1rem; accent-color: var(--teal); }
.formnote-box { padding: 1rem 1.2rem; border-radius: 12px; background: var(--blush); border: 1px solid #f2ddb4; font-size: var(--step--1); color: var(--ink); }
.form-toolbar { display: flex; justify-content: flex-end; margin-bottom: 1.2rem; }
.langswitch { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 1.2rem; }
.langswitch a, .langswitch span { padding: .35rem .9rem; border-radius: 100px; font-weight: 700; font-size: var(--step--1); line-height: 1; }
.langswitch a { color: var(--ink-soft); }
.langswitch a:hover { color: var(--teal-deep); background: var(--teal-tint); }
.langswitch span[aria-current] { background: var(--teal); color: #fff; }

/* ---------- Print (Save as PDF) ---------- */
@media print {
  .topbar, .masthead, .footer, .nav__toggle, .skip, .btn, .form-toolbar,
  .formnote-box, .form__note, .crumbs { display: none !important; }
  body { background: #fff; color: #000; }
  .pagehero { background: #fff; padding: 0 0 10pt; }
  .pagehero h1 { font-size: 22pt; }
  .section { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .fset + .fset { border-color: #bbb; page-break-inside: avoid; }
  .fset__legend { font-size: 14pt; }
  .fset__num { background: #e8e8e8 !important; color: #000 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .field input, .field select, .field textarea { border: none; border-bottom: 1px solid #444; border-radius: 0; background: #fff; padding: 2pt 0; }
  .field textarea { border: 1px solid #444; min-height: 60pt; }
  .check input, .consent input { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .consent { background: #f2f2f2 !important; }
  a { color: #000; text-decoration: none; }
}
