/* ==========================================================================
   Care4Me Clinics — site styles  (redesign 2026-09-25)

   Direction: warm, editorial, unhurried — the opposite of a 12-minute visit.
   The palette comes from the logo itself: the green and orange halves of the
   heart, set on a cream "paper" ground instead of clinical white. The deep
   green hero follows the swipe-file recommendation (Lotus, Mequon).

     ink     #10261F  deep green-black, body text + hero ground
     forest  #1F5B45  primary actions, headings
     leaf    #6BA539  logo green, decoration only (fails 4.5:1 as text)
     ember   #E8772E  logo orange, decoration / large type on dark only
     rust    #A8481A  orange that passes 4.5:1 as text on cream
     cream   #FBF7F0  page ground
     fonts   Fraunces (display) · Figtree (body)

   Contrast measured, not estimated (WCAG relative luminance):
     ink on cream 14.9:1 · ink-soft on cream 7.3:1 (cream-2 6.7:1)
     forest on cream 7.5:1 · rust on cream 5.5:1 (cream-2 5.0:1, paper 5.8:1)
     ember on ink 5.4:1 · ink on ember 5.4:1 · white on forest 8.0:1
     line-strong 3.4:1 on cream, 3.6:1 on paper (WCAG 1.4.11 needs 3:1)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #10261F;
  --ink-soft:   #44564F;
  --forest:     #1F5B45;
  --forest-2:   #174736;
  --leaf:       #6BA539;
  --ember:      #E8772E;
  --rust:       #A8481A;
  --cream:      #FBF7F0;
  --cream-2:    #F3ECDF;
  --sage:       #E6EEE4;
  --paper:      #FFFFFF;

  --line:        #E4DCCD;   /* decorative only */
  --line-strong: #7D8A83;   /* control borders — 3.4:1 on cream */

  --ok: #1F6B43;
  --no: #A4343A;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 38, 31, .05), 0 12px 32px -8px rgba(16, 38, 31, .14);
  --shadow-lg: 0 2px 4px rgba(16, 38, 31, .08), 0 30px 60px -20px rgba(16, 38, 31, .35);

  /* Fine paper grain. data: URIs are allowed by the CSP (img-src 'self' data:). */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-optical-sizing: auto;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.5rem); font-weight: 500; }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); }
h1 em, h2 em { font-style: italic; color: var(--forest); }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust); }

/* Two-tone focus ring: cream inner + ink outer. One band always clears 3:1
   against any ground on the site (cream, paper, sage, forest, ink). */
:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--ink);
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.25rem, 7vw, 6rem) 0; }
.section--alt { background: var(--cream-2); }
.section--sage { background: var(--sage); }
.section--brand {
  background: var(--forest) var(--grain);
  background-blend-mode: soft-light;
  color: var(--cream);
}
.section--brand h2, .section--brand h3 { color: #fff; }
.section--brand .lede { color: rgba(251, 247, 240, .88); }
.lede { font-size: 1.15em; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rust); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 1.75rem; height: 2px; background: currentColor; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: .75rem 1.25rem; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; line-height: 1.2;
  padding: .9rem 1.45rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--forest); color: #fff; border-color: var(--forest); box-shadow: 0 6px 16px -6px rgba(31, 91, 69, .6); }
.btn--primary:hover { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: #fff; }
.btn--ember { background: var(--ember); color: var(--ink); border-color: var(--ember); box-shadow: 0 8px 22px -8px rgba(232, 119, 46, .8); }
.btn--ember:hover { background: #F28A45; border-color: #F28A45; color: var(--ink); }
.btn--onbrand { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--onbrand:hover { background: #fff; color: var(--ink); }
.btn--line-light { background: transparent; color: var(--cream); border-color: rgba(251, 247, 240, .55); }
.btn--line-light:hover { background: rgba(251, 247, 240, .1); border-color: var(--cream); color: #fff; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 240, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .6rem 0;
}
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.logo img { height: 48px; width: auto; }
.logo__text { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.05; letter-spacing: -.01em; }
.logo__text span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem; color: var(--ink-soft); letter-spacing: .14em; text-transform: uppercase; margin-top: .2rem; }

.nav-toggle {
  display: none;
  font: inherit; font-weight: 700;
  align-items: center; gap: .5rem;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--line-strong); border-radius: 999px;
  padding: .5rem 1rem; cursor: pointer;
}
.nav-toggle__bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.nav { display: flex; align-items: center; gap: clamp(.6rem, 1.3vw, 1.4rem); }
.nav a {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .95rem;
  padding: .35rem 0;
  background: linear-gradient(var(--ember), var(--ember)) no-repeat left bottom / 0 2px;
  transition: background-size .25s ease, color .15s ease;
  white-space: nowrap;
}
.nav a:hover { color: var(--forest); background-size: 100% 2px; }
.nav a[aria-current="page"] { color: var(--forest); background-size: 100% 2px; }
/* `.nav a` sets the `background` shorthand for the underline, and it outranks
   `.btn--primary` — so the button's fill has to be restated at this specificity. */
.nav .btn { padding: .65rem 1.15rem; font-size: .92rem; margin-left: .35rem; }
.nav .btn--primary { background: var(--forest); color: #fff; }
.nav .btn--primary:hover { background: var(--forest-2); color: #fff; }

/* Social icons in the top-right of the header (replaced the Meet-n-Greet
   button 2026-09-25). `.nav .nav-social a` must outrank `.nav a` to drop
   its underline and padding. */
.nav-social { display: flex; align-items: center; gap: .4rem; margin-left: .35rem; }
.nav .nav-social a {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%;
  color: var(--forest); background: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.nav .nav-social a:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.nav-social svg { display: block; }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); background-image: none; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ember); padding-left: .75rem; }
  .nav .btn { margin: .9rem 0 0; }
  .nav-social { margin: .9rem 0 0; gap: .6rem; }
  .nav .nav-social a { border-bottom: 1px solid var(--line-strong); }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(107, 165, 57, .28), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(232, 119, 46, .18), transparent 60%),
    var(--ink);
  color: var(--cream);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); opacity: .22; mix-blend-mode: overlay; pointer-events: none;
}
.hero__inner { position: relative; display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 940px) { .hero__inner { grid-template-columns: 1.08fr .92fr; } }

.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--cream);
  border: 1px solid rgba(251, 247, 240, .28); border-radius: 999px;
  padding: .4rem .9rem .4rem .5rem; margin: 0 0 1.4rem;
  background: rgba(251, 247, 240, .06);
}
.chip__dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(107, 165, 57, .25); margin-left: .35rem; }

.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { color: var(--ember); font-style: italic; }
.hero .lede { color: rgba(251, 247, 240, .86); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.hero .btn-row { margin-top: 1.9rem; }
.hero__next { font-size: .86rem; color: rgba(251, 247, 240, .72); margin: .8rem 0 0; }

.assure { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.assure li {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .86rem; font-weight: 600;
  padding: .38rem .8rem; border-radius: 999px;
  background: rgba(251, 247, 240, .08); border: 1px solid rgba(251, 247, 240, .16);
  color: var(--cream);
}
.assure li::before { content: "✓"; color: var(--leaf); font-weight: 800; }

/* Photo + floating price card */
/* The card sits BELOW the photo and only overlaps its bottom edge (desk and
   hands), never the face — the provider photo is the asset, not a backdrop. */
.hero__visual { position: relative; }
.hero__photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 25%;
  width: 100%;
  outline: 1px solid rgba(251, 247, 240, .14); outline-offset: 6px;
}
.hero__caption {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .78rem; font-weight: 600; color: var(--ink);
  background: rgba(251, 247, 240, .92); border-radius: 999px; padding: .35rem .8rem;
}

.price-card {
  position: relative;
  width: min(22rem, 92%);
  margin: -4.5rem 0 0 auto;
  margin-right: clamp(0rem, 2vw, 1rem);
  background: var(--cream); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--ember);
}
.price-card__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin: 0 0 .5rem; }
.price-card__rows { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; margin: 0 0 .9rem; }
.price-card__amt { font-family: var(--font-head); font-size: 2.3rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; display: block; }
.price-card__amt small { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.price-card__who { font-size: .82rem; color: var(--ink-soft); }
.price-card ul { list-style: none; margin: 0 0 1rem; padding: .85rem 0 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.price-card li { padding-left: 1.4rem; position: relative; margin-bottom: .3rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 800; }
.price-card a { font-weight: 700; font-size: .92rem; }

/* Staggered page-load reveal (CSS only; disabled under reduced motion above) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.reveal--1 { animation-delay: .05s; }
.reveal--2 { animation-delay: .15s; }
.reveal--3 { animation-delay: .25s; }
.reveal--4 { animation-delay: .38s; }
.reveal--5 { animation-delay: .55s; }
.reveal--6 { animation-delay: .75s; }

/* ---------- Credibility strip ---------- */
.cred { background: var(--cream-2); border-bottom: 1px solid var(--line); }
.cred__list {
  list-style: none; margin: 0; padding: 1.1rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  font-size: .92rem; color: var(--ink-soft);
}
.cred__list strong { color: var(--ink); font-weight: 700; }
.cred__list li { display: flex; align-items: center; gap: .55rem; }
.cred__list li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--ember); flex: none; }

/* ---------- Inner page head ---------- */
.page-head {
  position: relative; overflow: hidden;
  background:
    radial-gradient(50rem 22rem at 100% 0%, rgba(107, 165, 57, .25), transparent 60%),
    var(--ink);
  color: var(--cream);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); opacity: .2; mix-blend-mode: overlay; pointer-events: none;
}
.page-head .wrap { position: relative; }
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head p { color: rgba(251, 247, 240, .86); max-width: 62ch; margin: 0; font-size: 1.12em; }
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--leaf) 0 50%, var(--ember) 50% 100%);
}

/* ---------- Notes / callouts ---------- */
.note {
  border-left: 4px solid var(--ember);
  background: var(--paper);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .96em;
  color: var(--ink-soft);
}
.note strong { color: var(--ink); }
.note--warn { border-left-color: var(--no); background: #FBEDEE; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.9rem);
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

/* ---------- Problem-first ("sound familiar?") ---------- */
.grievance { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .grievance { grid-template-columns: .9fr 1.1fr; } }

/* ---------- Compare (Care4Me vs traditional) ---------- */
.compare { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 700px) { .compare { grid-template-columns: 1.1fr .9fr; } }
.compare__col { padding: clamp(1.4rem, 3vw, 2rem); }
.compare__col--us   { background: var(--forest); color: var(--cream); }
.compare__col--us h3 { color: #fff; }
.compare__col--them { background: var(--paper); }
.compare__col--them h3 { color: var(--ink-soft); }
.compare__col h3 { margin-top: 0; font-size: 1.15rem; }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 2rem; margin-bottom: .8rem; }
.tick-list li::before { position: absolute; left: 0; top: 0; font-weight: 800; font-size: 1.05em; }
.tick-list--yes li::before { content: "✓"; color: #A8D98A; }
.compare__col--them .tick-list li { color: var(--ink-soft); }
.tick-list--no  li::before { content: "✕"; color: var(--no); }

/* ---------- Is this instead of insurance? ---------- */
.insure { display: grid; gap: var(--gap); }
@media (min-width: 800px) { .insure { grid-template-columns: 1fr 1fr; } }
.insure__box { border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); }
.insure__box--us { background: var(--paper); border: 2px solid var(--forest); }
.insure__box--ins { background: transparent; border: 2px dashed var(--line-strong); }
.insure__box h3 { margin-top: 0; }
.insure__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .8rem; }
.insure__box--us .insure__tag { background: var(--forest); color: #fff; }
.insure__box--ins .insure__tag { background: var(--cream-2); color: var(--ink-soft); }
.big-no { font-family: var(--font-head); font-style: italic; color: var(--rust); }

/* ---------- Feature lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--forest); font-weight: 800;
}
.check-list--no > li::before { content: "✕"; color: var(--no); }
.sub-list { list-style: disc; margin: .4rem 0 0; padding-left: 1.25rem; color: var(--ink-soft); }
.sub-list li { margin-bottom: .25rem; }
.sub-list li::before { content: none; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: stretch; }
.price {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem 1.75rem; text-align: left;
  box-shadow: var(--shadow);
}
.price--featured { border: 2px solid var(--forest); }
.price[data-badge]::before {
  content: attr(data-badge); position: absolute; top: -.8rem; left: 1.5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ember); color: var(--ink); padding: .25rem .7rem; border-radius: 999px;
}
.price__name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 0 0 .75rem; }
.price__amount { font-size: 3rem; font-weight: 600; color: var(--forest); line-height: 1; font-family: var(--font-head); letter-spacing: -.02em; margin: 0; }
.price__unit { display: block; font-size: .9rem; font-weight: 500; color: var(--ink-soft); font-family: var(--font-body); letter-spacing: 0; margin-top: .35rem; }
.price__meta { color: var(--ink-soft); font-size: .95rem; margin: 1rem 0 1.4rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.price__meta span { display: block; }
.price .btn { margin-top: auto; }
.terms { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.terms li { font-size: .88rem; font-weight: 600; padding: .38rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { counter-increment: step; position: relative; padding: 1.5rem 0 0; border-top: 2px solid var(--ink); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-head); font-style: italic; font-size: 2.6rem; line-height: 1;
  color: var(--ember); font-weight: 500; margin-bottom: .7rem;
}
.steps h3 { margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97em; }

/* ---------- Families / employers fork ---------- */
.fork { display: grid; gap: var(--gap); }
@media (min-width: 800px) { .fork { grid-template-columns: 1fr 1fr; } }
.fork__door {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.5rem);
  display: flex; flex-direction: column; gap: .5rem;
  min-height: 17rem;
}
.fork__door--family { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fork__door--team { background: var(--ink); color: var(--cream); }
.fork__door--team::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(28rem 16rem at 110% -10%, rgba(232, 119, 46, .35), transparent 65%);
  pointer-events: none;
}
.fork__door > * { position: relative; }
.fork__door--team h3 { color: #fff; }
.fork__door--team p { color: rgba(251, 247, 240, .84); }
.fork__door h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); font-weight: 500; margin-bottom: .2rem; }
.fork__door .btn { margin-top: auto; align-self: flex-start; }
.fork__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin: 0; }
.fork__door--team .fork__kicker { color: var(--ember); }

/* ---------- Team ---------- */
.team { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.member__photo { aspect-ratio: 4 / 3; background: var(--sage); object-fit: cover; width: 100%; }
.member__body { padding: 1.6rem; }
.member__name { margin: 0 0 .15rem; }
.member__role { color: var(--rust); font-weight: 700; font-size: .92rem; margin: 0 0 1rem; }
.member__body p { font-size: .97em; }

/* ---------- Testimonial ---------- */
.quote { max-width: 52rem; margin-inline: auto; text-align: left; position: relative; }
.quote::before {
  content: "\201C"; display: block;
  font-family: var(--font-head); font-size: 7rem; line-height: .7; color: var(--ember);
  margin-bottom: .5rem;
}
.quote blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-head); font-weight: 400; font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.45; color: #fff;
}
.quote cite { font-style: normal; font-weight: 700; color: var(--ember); letter-spacing: .04em; }

/* ---------- FAQ (native details/summary — no JS) ---------- */
.faq { max-width: 56rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 3rem 1.25rem 0; position: relative;
  font-family: var(--font-head); font-weight: 500; color: var(--ink);
  font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem);
  transition: color .15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%;
  width: 1.9rem; height: 1.9rem; margin-top: -.95rem; border-radius: 50%;
  background:
    linear-gradient(var(--forest), var(--forest)) center / 12px 2px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center / 2px 12px no-repeat,
    var(--sage);
  transition: transform .25s ease;
}
.faq details[open] summary::after {
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    var(--forest);
  transform: rotate(180deg);
}
.faq summary:hover { color: var(--forest); }
.faq__answer { padding: 0 3rem 1.4rem 0; color: var(--ink-soft); }
.faq__answer > :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink);
  padding: .75rem .9rem;
  border: 2px solid var(--line-strong); border-radius: var(--radius);
  background: var(--paper); width: 100%;
}
/* NOTE: no `outline: none` here — this selector would beat :focus-visible. */
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible { border-color: var(--forest); }
.field textarea { min-height: 8rem; resize: vertical; }
.req { color: var(--no); }

/* ---------- Contact details ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.detail-list li:last-child { border-bottom: 0; }
.detail-list strong { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin-bottom: .3rem; }
.detail-list a { text-decoration: none; font-weight: 700; font-size: 1.1em; }
.detail-list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ink); color: rgba(251, 247, 240, .8);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--leaf) 0 50%, var(--ember) 50% 100%);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--ember); }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.footer-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .5rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(251, 247, 240, .3); border-radius: 50%;
  text-decoration: none; font-weight: 700; font-size: .78rem;
  transition: background-color .15s ease, border-color .15s ease;
}
.social a:hover { background: rgba(251, 247, 240, .1); border-color: var(--ember); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(251, 247, 240, .18);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.disclaimer { font-size: .88rem; color: rgba(251, 247, 240, .7); margin-top: 1.75rem; max-width: 72ch; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .hero__visual { display: none !important; }
  body { color: #000; background: #fff; }
  .hero, .page-head { background: none; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
}
