/* ==========================================================================
   Phunctional Health — shared stylesheet
   Mobile-first. Edit the tokens below to re-theme the whole site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette (matches the original Squarespace theme) */
  --ink: hsl(201, 35%, 15%);          /* dark slate — header, footer, dark bands */
  --ink-soft: hsl(201, 30%, 22%);
  --clay: hsl(18, 28%, 52%);          /* terracotta — accents, lines, buttons */
  --clay-deep: #5e4343;               /* button hover */
  --green: hsl(147, 40%, 35%);        /* brand green — logo, dark accent band */
  --green-deep: hsl(150, 35%, 22%);   /* deep green cards (programs) */
  --pistachio: hsl(69, 76%, 74%);     /* light accent band */
  --pistachio-soft: hsl(69, 60%, 90%);
  --gold: #b08d2f;                    /* programs-page accent */
  --paper: #ffffff;
  --paper-warm: #f7f9f5;

  /* Type */
  --font-head: "Newsreader", "Times New Roman", serif;
  --font-body: "PT Serif", Georgia, serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --page-max: 1005px;   /* original content width */
  --wide-max: 1200px;
  --pad-x: 20px;
  --section-pad: clamp(56px, 9vw, 110px);

  /* Effects */
  --radius: 12px;
  --shadow-card: 0 10px 30px rgba(24, 41, 50, 0.10);
  --line: 2px solid var(--clay);
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;               /* 17px base */
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

/* Fluid type scale (≈ Squarespace 4 / 2.8 / 2.2 / 1.6 rem) */
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.15rem + 2.4vw, 2.8rem); }
h3 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.6rem); }

p { margin: 0 0 1em; }

a { color: inherit; }

.text-large { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem); line-height: 1.6; }
.text-small { font-size: 0.9rem; }

.center { text-align: center; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container       { width: min(100% - 2 * var(--pad-x), var(--page-max)); margin-inline: auto; }
.container-wide  { width: min(100% - 2 * var(--pad-x), var(--wide-max)); margin-inline: auto; }
.section         { padding-block: var(--section-pad); position: relative; }

/* Two-column split that stacks on mobile */
.split {
  display: grid;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 800px) {
  .split          { grid-template-columns: 1fr 1fr; }
  .split--img-right .split-media { order: 2; }
}

/* --------------------------------------------------------------------------
   4. Section color themes
   -------------------------------------------------------------------------- */
.theme-white     { background: var(--paper);     color: var(--ink); }
.theme-ink       { background: var(--ink);       color: var(--paper); }
.theme-green     { background: var(--green);     color: var(--paper); }
.theme-pistachio { background: var(--pistachio); color: var(--ink); }

/* Photo-backed band: set --bg-image inline on the section */
.theme-photo {
  background-color: var(--paper);
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  color: var(--ink);
}
.theme-photo--dark { color: var(--paper); }

/* translucent content card used over photo backgrounds */
.wash {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 12px 44px rgba(24, 41, 50, 0.10);
}
.theme-photo--dark .wash { color: var(--ink); }

/* --------------------------------------------------------------------------
   5. Angled + wave section edges (signature look)
   Give a section `cut cut-a` (angle dips left of center) or `cut cut-b`
   (dips right of center) and put this svg as its FIRST child:

     <svg class="cut-line" viewBox="0 0 100 100" preserveAspectRatio="none"
          aria-hidden="true"><polyline points="0,18 25,100 100,2"/></svg>

   (points "0,2 75,100 100,18" for cut-b). The section is pulled up over the
   previous one and clipped, so photos and flat colors both work.
   -------------------------------------------------------------------------- */
.cut {
  --cut-h: clamp(44px, 7vw, 92px);
  margin-top: calc(-1 * var(--cut-h));
  padding-top: calc(var(--section-pad) + var(--cut-h));
  position: relative;
  z-index: 2;
}
.cut-a { clip-path: polygon(0 calc(var(--cut-h) * 0.18), 25% var(--cut-h), 100% calc(var(--cut-h) * 0.02), 100% 100%, 0 100%); }
.cut-b { clip-path: polygon(0 calc(var(--cut-h) * 0.02), 75% var(--cut-h), 100% calc(var(--cut-h) * 0.18), 100% 100%, 0 100%); }

.cut-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--cut-h);
  pointer-events: none;
}
.cut-line polyline,
.cut-line path {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

/* Smooth wave boundary (programs page). Put the svg as the FIRST child of a
   `.section.has-wave` — the fill paints the PREVIOUS section's color above
   the curve, the second path draws the terracotta line. */
.has-wave {
  --cut-h: clamp(44px, 7vw, 92px);
  position: relative;
  padding-top: calc(var(--section-pad) + var(--cut-h));
}
.wave-cap {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: var(--cut-h);
  pointer-events: none;
}
.wave-cap .wave-line {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.wave-fill-ink       { fill: var(--ink); }
.wave-fill-white     { fill: var(--paper); }
.wave-fill-pistachio { fill: var(--pistachio); }
/* bottom variant — sits at the bottom of a photo section, fill = NEXT color */
.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: var(--cut-h);
  pointer-events: none;
}
.wave-bottom .wave-line {
  fill: none;
  stroke: var(--clay);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  padding: 1.05em 1.6em;
  border: 2px solid var(--clay);
  color: var(--paper);
  background: var(--clay);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .btn:focus-visible {
  border-color: var(--clay-deep);
  color: var(--clay-deep);
  background: var(--paper);
  font-weight: 700;
}

/* outline variant (header CTA, dark bands) */
.btn--outline {
  background: transparent;
  color: inherit;
  border-color: var(--clay);
}

/* gold pill (programs page) */
.btn--pill {
  border: none;
  border-radius: 999px;
  background: var(--gold);
  color: var(--paper);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.1em 2.2em;
}
.btn--pill:hover, .btn--pill:focus-visible {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   7. Header / navigation (mobile-first)
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 50;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad-x);
  max-width: 1400px;
  margin-inline: auto;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; }
.logo-link img {
  height: auto;
  width: auto;
  max-height: 56px;
  max-width: min(56vw, 300px);
  object-fit: contain;
}
@media (min-width: 800px) {
  .logo-link img { max-height: 72px; max-width: 320px; }
}

.nav-toggle {
  appearance: none;
  background: none;
  border: 2px solid var(--clay);
  border-radius: 8px;
  padding: 9px 10px;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  padding: 8px var(--pad-x) 28px;
}
.site-nav.open { display: block; }

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.nav-links a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  font-size: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-links a:hover { color: var(--clay); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.nav-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
}

/* square social icon buttons */
.social-row { display: flex; gap: 10px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--clay);
  border-radius: 9px;
  color: var(--clay);
  transition: background 0.2s ease, color 0.2s ease;
}
.social-row a:hover { background: var(--clay); color: var(--paper); }
.social-row svg { width: 18px; height: 18px; fill: currentColor; }

/* Desktop nav */
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .header-bar { flex-wrap: nowrap; }
  .site-nav {
    display: flex !important;
    align-items: center;
    gap: 22px;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
  }
  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 20px;
    max-width: 460px;
  }
  .nav-links a {
    padding: 4px 0;
    border-bottom: none;
    font-size: 0.98rem;
  }
  .nav-extras { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 7vw, 80px) 0 32px;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
.footer-logo img { max-width: 300px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  opacity: 0.9;
}
.footer-cols a:hover { color: var(--clay); opacity: 1; }
.footer-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.2fr 2fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   9. Components
   -------------------------------------------------------------------------- */

/* framed image */
.img-frame img {
  border-radius: 6px;
  box-shadow: var(--shadow-card);
}
.img-round img { border-radius: 50%; }

/* check / symptom lists */
.list-plain { list-style: none; margin: 0 0 1.2em; padding: 0; }
.list-plain li { padding: 7px 0 7px 34px; position: relative; }
.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9.55 17.05 4.9 12.4l1.6-1.6 3.05 3.05 7.9-7.9 1.6 1.6z"/></svg>') center / 14px no-repeat;
}
.theme-ink .list-plain li::before,
.theme-green .list-plain li::before { background-color: var(--pistachio); background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23182932"><path d="M9.55 17.05 4.9 12.4l1.6-1.6 3.05 3.05 7.9-7.9 1.6 1.6z"/></svg>'); }

/* blockquote band */
.quote-band blockquote {
  margin: 0 auto;
  max-width: 820px;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem);
  line-height: 1.45;
  text-align: center;
}
.quote-band blockquote::before { content: "“"; color: var(--clay); font-size: 1.4em; }
.quote-band blockquote::after  { content: "”"; color: var(--clay); font-size: 1.4em; }

/* eyebrow / kicker */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* accordion (native details) */
.accordion {
  border-top: 1px solid rgba(24, 41, 50, 0.18);
}
.accordion details {
  border-bottom: 1px solid rgba(24, 41, 50, 0.18);
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--clay);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 4px 20px; }
.theme-ink .accordion,
.theme-ink .accordion details { border-color: rgba(255, 255, 255, 0.2); }

/* service / offer cards */
.offer-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
@media (min-width: 720px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
.offer-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.offer-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.offer-card .offer-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.offer-card h4 { margin-bottom: 4px; }
.offer-duration {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
}

/* testimonial figure (client wins top grid) */
.win-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}
@media (min-width: 680px)  { .win-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .win-grid { grid-template-columns: repeat(3, 1fr); } }
.win-card {
  background: var(--paper-warm);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.win-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.win-card figcaption {
  padding: 20px 22px 24px;
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* long-form testimonial rows */
.review {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  align-items: start;
}
@media (min-width: 700px) { .review { grid-template-columns: 96px 1fr; } }
.review img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.review-name { font-weight: 700; font-family: var(--font-ui); font-size: 0.95rem; margin-bottom: 6px; }
.review-stack { display: grid; gap: clamp(20px, 3vw, 30px); }

/* resource / podcast cards */
.pod-grid {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
}
@media (min-width: 640px)  { .pod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .pod-grid { grid-template-columns: repeat(3, 1fr); } }
.pod-card {
  background: var(--ink-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pod-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pod-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pod-body h4 { margin: 0; font-size: 1.15rem; }
.pod-meta { font-size: 0.85rem; opacity: 0.75; }
.pod-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.pod-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 6px 12px;
  border: 1.5px solid var(--clay);
  border-radius: 999px;
  color: var(--paper);
}
.pod-links a:hover { background: var(--clay); }

/* free guide cards */
.guide-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}
@media (min-width: 680px)  { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guide-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(24,41,50,0.16); }
.guide-card img { aspect-ratio: 3 / 4; object-fit: cover; }
.guide-card .guide-body { padding: 18px 20px 22px; }

/* recipe cards */
.recipe-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.recipe-card {
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.recipe-card:hover { transform: translateY(-4px); }
.recipe-card img { aspect-ratio: 1; object-fit: cover; }
.recipe-card p {
  margin: 0;
  padding: 14px 16px 18px;
  font-family: var(--font-head);
  font-size: 1.05rem;
}

/* newsletter topics */
.topic-row {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  align-items: center;
}
@media (min-width: 700px) { .topic-row { grid-template-columns: 180px 1fr; } }
.topic-row img { border-radius: 8px; width: 100%; object-fit: cover; aspect-ratio: 1; }
.topic-stack { display: grid; gap: clamp(18px, 2.5vw, 26px); }

/* --------------------------------------------------------------------------
   10. Forms (newsletter + guides)
   -------------------------------------------------------------------------- */
.signup-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin-inline: auto;
  text-align: left;
}
@media (min-width: 620px) {
  .signup-form { grid-template-columns: 1fr 1fr; }
  .signup-form .field-email, .signup-form .btn, .signup-form .form-note { grid-column: 1 / -1; }
}
.signup-form label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.signup-form input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid rgba(24, 41, 50, 0.35);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.signup-form input:focus { outline: 2px solid var(--clay); outline-offset: 1px; }
.form-note { font-size: 0.85rem; opacity: 0.8; }
.form-status { font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #a33; }
.theme-ink .signup-form input { border-color: rgba(255,255,255,0.4); }

/* --------------------------------------------------------------------------
   11. Embeds
   -------------------------------------------------------------------------- */
.calendly-inline-widget { min-width: 280px; height: 760px; }
.embed-note { font-size: 0.85rem; text-align: center; opacity: 0.7; }
.spotify-embed iframe { border-radius: 12px; width: 100%; height: 352px; border: 0; }

/* --------------------------------------------------------------------------
   12. Reveal-on-scroll (progressive enhancement)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .js .reveal.in-view { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   13. Page-specific helpers
   -------------------------------------------------------------------------- */

/* hero (home) */
.hero { padding-block: clamp(48px, 8vw, 96px); }
.hero .wash { max-width: 820px; margin-inline: auto; }
.hero-stack { display: grid; gap: clamp(28px, 5vw, 48px); }

/* education row (about) */
.edu-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  text-align: center;
}
@media (min-width: 700px) { .edu-grid { grid-template-columns: 1fr auto; text-align: left; } }
.edu-grid img { max-width: 150px; margin-inline: auto; }

/* price option block (services) */
.option-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.option-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
}

/* Funnel phase 1: paired call-to-action buttons (primary + "not sure" path) */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* "Credits toward any program" badge on Second Opinion offer cards */
.badge-credit {
  align-self: flex-start;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--pistachio-soft);
  color: var(--green-deep);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* "Which program fits?" mini-selector (/programs/) */
.picker {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(24px, 4vw, 36px);
}
.picker fieldset {
  border: 0;
  border-top: 1px solid rgba(24, 41, 50, 0.12);
  margin: 14px 0 0;
  padding: 14px 0 0;
}
.picker legend {
  padding: 0 0 8px;
  font-weight: 700;
}
.picker label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 18px 4px 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  cursor: pointer;
}
.picker input[type="radio"] { accent-color: var(--green); }
.picker-result {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-left: 3px solid var(--clay);
  background: var(--paper-warm);
  font-family: var(--font-ui);
}

/* Newsletter block on podcast welcome pages */
.signup-block { max-width: 560px; }
.option-card ul { margin: 0; padding-left: 20px; }
.option-card li { margin-bottom: 6px; }

/* stat trio (services top-3 band) */
.stat-list { display: grid; gap: clamp(20px, 3vw, 32px); counter-reset: stat; }
@media (min-width: 800px) { .stat-list { grid-template-columns: repeat(3, 1fr); } }
.stat-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}
.stat-item strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; }

/* floating "back to top" spacing fix for anchored sections under sticky-ish header */
:target { scroll-margin-top: 90px; }
