/* ============================================================
   Athletifyou — Marketing site styles  (v2)
   Palette from the logo, warmed with a clay accent so the page
   isn't monochrome green (the move every competitor makes).
   No framework. Mobile-first.
   ============================================================ */

/* ---------- Design tokens ----------
   Greens sampled from the master logo (Athletify Logo.png):
   #32834B deep · #48A662 mid · #74C053 leaf · #92CA73 light · #555555 grey  */
:root {
  /* Brand greens */
  --green-900: #163a24;
  --green-800: #1f4d2e;
  --green-700: #266b3c;
  --green-600: #32834b;  /* logo deep  */
  --green-500: #48a662;  /* logo mid   */
  --green-400: #74c053;  /* logo leaf  */
  --green-300: #92ca73;  /* logo light */
  --green-200: #cfe6c4;
  --green-100: #e6f2e1;
  --green-50:  #f1f8ee;

  /* Warm counterpoint — the missing half of the palette */
  --clay-700: #8c4a33;
  --clay-600: #b56348;
  --clay-500: #c4785c;
  --clay-300: #e8b79a;
  --clay-100: #f7e7dc;
  --clay-50:  #fdf5ef;

  /* Neutrals */
  --bone:      #faf8f4;
  --sand:      #f4efe6;
  --sand-200:  #e8dfd0;
  --ink:       #22302a;
  --ink-soft:  #5a6660;
  --white:     #ffffff;

  /* Semantic */
  --bg:        var(--bone);
  --text:      var(--ink);
  --text-soft: var(--ink-soft);
  --brand:     var(--green-600);
  --brand-dk:  var(--green-900);
  --accent:    var(--clay-500);

  /* Type */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1160px;
  --maxw-narrow: 760px;
  --gap: clamp(1rem, 2.6vw, 1.75rem);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 50px -30px rgba(22, 58, 36, .45);
  --shadow-sm: 0 10px 26px -18px rgba(22, 58, 36, .5);
  --hair: 1px solid rgba(38, 107, 60, .14);
  --ring: 0 0 0 3px rgba(72, 166, 98, .4);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.68; font-size: 1.0625rem; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
figure, blockquote { margin: 0; }   /* UA default is 1em 40px — it insets media and quote cards */
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head); color: var(--brand-dk); line-height: 1.12;
  font-weight: 600; margin: 0 0 .5em; letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.35rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
::selection { background: var(--green-200); color: var(--green-900); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 7.5vw, 6.5rem); }
.section--tint  { background: var(--green-50); }
.section--sand  { background: var(--sand); }
.section--clay  { background: var(--clay-50); }
.section--dark  { background: var(--green-900); color: #dfeae1; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .2em;
  font-size: .74rem; font-weight: 800; color: var(--accent); margin: 0 0 .9rem;
}
.section--dark .eyebrow { color: var(--clay-300); }
.section__head { max-width: var(--maxw-narrow); margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--text-soft); }
.measure { max-width: 68ch; }
.center .measure { margin-inline: auto; }

/* Brand tagline — "Restore. Rebuild. Reclaim." */
.tagline {
  font-family: var(--font-body); font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; font-size: .82rem; color: var(--green-600); margin: 0 0 1.1rem;
}
.tagline span { color: var(--clay-500); }

/* ---------- Icons ---------- */
.ico { width: 1.5rem; height: 1.5rem; flex: none; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); margin-bottom: 1rem;
}
.icon-badge .ico { width: 26px; height: 26px; }
.icon-badge--clay { background: var(--clay-100); color: var(--clay-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; white-space: nowrap;
  padding: .9rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .ico { width: 1.15rem; height: 1.15rem; }
.btn--primary { background: var(--green-600); color: #fff; box-shadow: 0 12px 24px -14px rgba(22,58,36,.85); }
.btn--primary:hover { background: var(--green-700); }
.btn--clay { background: var(--clay-500); color: #fff; box-shadow: 0 12px 24px -14px rgba(140,74,51,.8); }
.btn--clay:hover { background: var(--clay-600); }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--green-200); }
.btn--ghost:hover { background: var(--green-50); border-color: var(--green-300); }
.btn--light { background: #fff; color: var(--green-900); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.linkarrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; }
.linkarrow .ico { width: 1.05rem; height: 1.05rem; transition: transform .16s ease; }
.linkarrow:hover .ico { transform: translateX(3px); }

/* ---------- Image placeholders (intentional, not hatched noise) ---------- */
.ph {
  display: grid; place-items: center; text-align: center; gap: .5rem;
  background: linear-gradient(150deg, var(--green-100), var(--clay-100));
  color: var(--green-800); border-radius: var(--radius);
  border: 1px dashed var(--green-300); padding: 1.75rem; min-height: 240px;
  font-size: .88rem; position: relative; overflow: hidden;
}
.ph::after {
  content: ""; position: absolute; inset: auto -20% -35% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(116,192,83,.22), transparent 65%);
}
.ph .ico { width: 34px; height: 34px; color: var(--green-500); }
.ph strong { color: var(--green-900); font-family: var(--font-head); font-size: 1.05rem; }
.ph small { color: var(--text-soft); }
.ph code { background: rgba(255,255,255,.6); padding: .1rem .35rem; border-radius: 5px; }

/* ---------- Photography ---------- */
.media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--green-100); position: relative;
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 3 / 2; }
.media--round { border-radius: 26px; }

/* Section intro laid out as text + supporting image */
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.split .section__head { margin-bottom: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
}

/* Full-bleed photographic band with overlaid copy.
   Artwork keeps its subject right-of-centre, so the scrim darkens the left. */
.band { position: relative; overflow: hidden; display: grid; align-items: center; }
.band > picture, .band > img { position: absolute; inset: 0; }
/* Subject sits high in this frame, so anchor the crop above centre or her head clips. */
.band > picture img, .band > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22,58,36,.92) 0%, rgba(22,58,36,.78) 36%,
                                     rgba(22,58,36,.28) 68%, rgba(22,58,36,0) 100%);
}
.band .container { position: relative; z-index: 2; }
.band__inner { max-width: 48ch; color: #e4efe7; padding-block: clamp(3rem, 7vw, 5rem); }
.band__inner h2 { color: #fff; }
.band__inner .eyebrow { color: var(--clay-300); }
.band__inner p { color: #cfe0d4; }
@media (max-width: 760px) {
  .band::after { background: linear-gradient(180deg, rgba(22,58,36,.5) 0%, rgba(22,58,36,.9) 55%); }
  .band__inner { max-width: none; }
}

/* Soft botanical texture behind a tinted section */
.has-texture { position: relative; }
.has-texture > * { position: relative; z-index: 1; }
.has-texture::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../img/texture-leaf.b7f02553b628.webp") center / 680px auto repeat;
  opacity: .28;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: var(--hair);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.brand__logo { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.15rem; }
.nav__links a { color: var(--ink); font-weight: 700; font-size: .92rem; white-space: nowrap; }
.nav__links a:hover { color: var(--brand); text-decoration: none; }
.nav__cta { display: inline-flex; }

/* Sign in sits beside the CTA, not competing with it: a returning client is
   looking for a way back in, a new visitor is not. Quiet by design, but in the
   header — the footer alone meant scrolling the whole page to find it. */
.nav__signin { font-weight: 700; color: var(--green-800); white-space: nowrap; }
.nav__signin:hover { color: var(--brand); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; color: var(--green-900); }
.nav__toggle .ico { width: 28px; height: 28px; }

@media (max-width: 1020px) { .nav__links { gap: .85rem; } .nav__links a { font-size: .88rem; } }

/* Drawer at 980, not 900. Adding the Sign in link pushed the desktop nav past
   the viewport in the narrow band just above the old breakpoint — around
   900-950px the page gained ~19px of horizontal scroll. Only this nav rule
   moved; the other 900px queries are unrelated layout. */
@media (max-width: 980px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bone); padding: 1rem 1.25rem 1.6rem; gap: .2rem;
    border-bottom: var(--hair); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .26s ease; visibility: hidden;
  }
  .nav__links.open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: .8rem .25rem; border-bottom: var(--hair); font-size: 1rem; }
  .nav__links .nav__cta { margin-top: .9rem; justify-content: center; }
  .nav__toggle { display: inline-flex; }
  .brand__logo { height: 34px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(155deg, var(--green-50) 0%, var(--clay-50) 100%); }
.hero::before {
  content: ""; position: absolute; top: -18%; right: -8%; width: 46%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(116,192,83,.16), transparent 68%); pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center; padding-block: clamp(3rem, 6.5vw, 5.5rem); position: relative;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; background: #fff;
  border: 1px solid var(--green-200); color: var(--green-700); font-weight: 800;
  padding: .45rem 1rem .45rem .7rem; border-radius: 999px; font-size: .8rem; margin-bottom: 1.3rem;
}
.hero__badge .ico { width: 1.05rem; height: 1.05rem; color: var(--green-500); }
.hero h1 { max-width: 15ch; }
.hero p.lead { max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.hero__note { font-size: .88rem; color: var(--text-soft); margin: .9rem 0 0; display: flex; align-items: center; gap: .4rem; }
.hero__note .ico { width: 1rem; height: 1rem; color: var(--green-500); }
.hero__media .ph { min-height: 420px; border-radius: 26px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media .ph { min-height: 260px; }
  .hero h1 { max-width: none; }
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--white); border-block: var(--hair);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding-block: 1.6rem; text-align: left;
}
.trust__item { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center; }
.trust__item .ico { width: 1.6rem; height: 1.6rem; color: var(--green-500); }
.trust__item strong { display: block; font-size: .92rem; color: var(--green-900); line-height: 1.3; }
.trust__item span { font-size: .82rem; color: var(--text-soft); }
@media (max-width: 860px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; } }
@media (max-width: 460px) { .trust__grid { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); padding: 1.7rem;
  box-shadow: var(--shadow-sm); border: var(--hair);
  display: flex; flex-direction: column; height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-soft); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.card--accent { background: var(--green-800); color: #dbe8dd; border-color: transparent; }
.card--accent h3 { color: #fff; }
.card--accent p { color: #c3d8c8; }
.card--accent .icon-badge { background: rgba(255,255,255,.14); color: #fff; }

/* Symptom cards ("Is this you?") */
.symptom { text-align: left; padding: 1.5rem; }
.symptom .icon-badge { width: 46px; height: 46px; border-radius: 13px; margin-bottom: .85rem; }
.symptom h3 { font-size: 1.08rem; }
.symptom p { font-size: .93rem; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.2rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  background: #fff; border-radius: var(--radius); padding: 1.7rem 1.8rem;
  box-shadow: var(--shadow-sm); border: var(--hair);
}
.step__num {
  counter-increment: step; width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-600); color: #fff; font-family: var(--font-head); font-size: 1.35rem;
  display: grid; place-items: center; font-weight: 600; flex: none;
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: .35rem; }
.step ul { color: var(--text-soft); font-size: .97rem; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: .9rem; } }

/* ---------- Pricing ---------- */
.tabs {
  display: inline-flex; background: #fff; border: 1px solid var(--green-200);
  border-radius: 999px; padding: .32rem; margin: 0 auto 1rem; box-shadow: var(--shadow-sm);
}
.tab {
  border: 0; background: transparent; font-family: var(--font-body); font-weight: 800;
  padding: .7rem 1.6rem; border-radius: 999px; cursor: pointer; color: var(--text-soft); font-size: .96rem;
  white-space: nowrap; transition: background .16s ease, color .16s ease;
}
.tab[aria-selected="true"] { background: var(--green-600); color: #fff; }
.tabpanel[hidden] { display: none; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.plan {
  background: #fff; border-radius: var(--radius); padding: 1.9rem 1.7rem; position: relative;
  box-shadow: var(--shadow-sm); border: var(--hair); display: flex; flex-direction: column;
}
.plan--featured { border: 2px solid var(--green-500); box-shadow: var(--shadow); }
.plan__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--clay-500); color: #fff; font-weight: 800; font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-family: var(--font-head); color: var(--green-900); font-size: 1.3rem; margin: 0 0 .2rem; min-height: 2.6em; }
.plan__meta { color: var(--text-soft); font-size: .88rem; margin-bottom: 1rem; }
.plan__price { font-family: var(--font-head); font-size: 2.6rem; color: var(--green-600); line-height: 1; margin-bottom: .25rem; }
.plan__terms { font-size: .84rem; color: var(--text-soft); min-height: 1.4em; margin-bottom: .8rem; }
.plan__focus {
  font-size: .88rem; background: var(--green-50); color: var(--green-800);
  border-radius: 11px; padding: .65rem .8rem; margin: 0 0 1.1rem; min-height: 5.2em;
}
.plan ul.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.plan ul.checks li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .95rem; align-items: start; }
.plan ul.checks .ico { width: 1.05rem; height: 1.05rem; color: var(--green-500); margin-top: .28rem; }
.plan .btn { margin-top: auto; }
@media (max-width: 980px) { .plan__name, .plan__focus, .plan__terms { min-height: 0; } }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; border: var(--hair); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
table.compare th, table.compare td {
  padding: 1rem 1.15rem; text-align: left; border-bottom: var(--hair); vertical-align: top; font-size: .95rem;
}
table.compare thead th { background: var(--green-700); color: #fff; font-family: var(--font-body); font-weight: 800; }
table.compare tbody th { font-weight: 800; color: var(--green-900); background: var(--green-50); white-space: nowrap; }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: 0; }

/* ---------- Feature list ---------- */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; }
.feature .icon-badge { margin-bottom: 0; }
.realm-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.tag {
  background: var(--clay-100); color: var(--clay-700); font-weight: 800; font-size: .72rem;
  padding: .28rem .65rem; border-radius: 999px; letter-spacing: .03em;
}
.tag--sage { background: var(--green-100); color: var(--green-700); }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr; gap: .8rem; } }

/* ---------- Bio ---------- */
.bio__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .bio__grid { grid-template-columns: 1fr; } }
.bio__media .ph { min-height: 440px; border-radius: 26px; }
.creds { display: grid; gap: 1rem; margin-top: 1.3rem; }
.cred {
  background: #fff; border-radius: var(--radius-sm); padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--green-500); box-shadow: var(--shadow-sm); font-size: .97rem;
}
.cred strong { color: var(--green-900); }
.pullquote {
  font-family: var(--font-head); font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--green-800);
  border-left: 3px solid var(--clay-300); padding-left: 1.1rem; margin-top: 1.6rem; line-height: 1.4;
}

/* ---------- Audience ---------- */
.audience { display: grid; gap: .8rem; padding: 0; margin: 0; }
.audience li {
  list-style: none; background: #fff; border-radius: var(--radius-sm); padding: 1.05rem 1.25rem;
  box-shadow: var(--shadow-sm); border: var(--hair); display: grid;
  grid-template-columns: auto 1fr; gap: .85rem; align-items: center; font-size: .98rem;
}
.audience .ico { width: 1.3rem; height: 1.3rem; color: var(--green-500); }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border-radius: var(--radius); padding: 1.8rem; border: var(--hair);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%;
}
.quote .ico-quote { width: 30px; height: 30px; color: var(--clay-300); margin-bottom: .8rem; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; color: var(--text); line-height: 1.6; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: .75rem; font-size: .9rem; }
.quote .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green-100);
  display: grid; place-items: center; color: var(--green-700); font-weight: 800; flex: none;
}
.quote cite { font-style: normal; font-weight: 800; color: var(--green-900); display: block; }
.quote small { color: var(--text-soft); }
.quote--empty { background: var(--green-50); border-style: dashed; border-color: var(--green-300); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 840px; margin-inline: auto; }
.faq__item { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: var(--hair); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: 1.04rem; color: var(--green-900);
  padding: 1.2rem 1.35rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__q .ico { color: var(--green-500); transition: transform .22s ease; }
.faq__q[aria-expanded="true"] .ico { transform: rotate(180deg); }
.faq__a { padding: 0 1.35rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--text-soft); }
.faq__a.open { padding: 0 1.35rem 1.35rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; top: -30%; left: -10%; width: 45%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(116,192,83,.18), transparent 68%);
}
.cta-band .container { position: relative; }

/* Booking band: one clear action, with the reassurances beneath it rather
   than a list of instructions above it. The form explains itself on its own
   page — spelling out the steps here turned a call to action into homework. */
.cta-band__action { margin: 2.4rem 0 0; }

.cta-points {
  list-style: none;
  padding: 0;
  margin: 1.6rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem 2rem;
  color: #c9dccd;
  font-size: .95rem;
}
.cta-points li { display: inline-flex; align-items: center; gap: .5rem; }
.cta-points .ico { width: 1.05rem; height: 1.05rem; color: var(--green-300); flex: 0 0 auto; }
@media (max-width: 560px) {
  .cta-points { flex-direction: column; align-items: center; gap: .55rem; }
}

.cta-band .ph {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); color: #cfe0d3;
  max-width: 760px; margin: 1.75rem auto 0;
}
.cta-band .ph strong { color: #fff; } .cta-band .ph small { color: #a9c0b0; }
.cta-band .ph .ico { color: var(--green-300); }

/* ---------- Booking: click-to-load Calendly ----------
   Height is reserved on the widget, not on the wrapper: forcing the gate to 720px
   left a small cluster marooned in a mostly empty box. The calendar appearing does
   shift the page, but only in response to her own click, which CLS excludes.       */
.booking { max-width: 860px; margin: 1.75rem auto 0; display: grid; text-align: center; }

.booking__gate {
  display: grid; place-content: center; justify-items: center; gap: .55rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius); padding: 2rem 1.5rem;
}
.booking__gate .ico { width: 38px; height: 38px; color: var(--green-300); }
.booking__gate strong { color: #fff; font-family: var(--font-head); font-size: 1.35rem; }
.booking__gate span { color: #cfe0d3; font-size: .95rem; }
.booking__gate .btn { margin-top: .9rem; }
.booking__note { color: #a9c0b0; font-size: .82rem; max-width: 46ch; line-height: 1.55; margin: .5rem 0 0; }
.booking__note a { color: #cfe0d3; text-decoration: underline; }

/* Calendly renders white; on the dark green band it needs to read as a deliberate
   card rather than a slab dropped on the section. */
.booking__widget {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); min-height: 720px;
}
@media (max-width: 640px) { .booking__widget { min-height: 1060px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #b9cbbe; padding-block: 3.2rem 2rem; }
.site-footer a { color: #e3eee5; }
.footer__logo { height: 74px; width: auto; margin-bottom: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__grid h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: .9rem; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.4rem; font-size: .84rem;
  color: #93a897; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
}
.footer__disclaimer { font-size: .82rem; color: #8fa694; max-width: 74ch; margin-top: 1.2rem; line-height: 1.6; }

/* ---------- Narrow screens ----------
   Grid/flex children default to min-width:auto, so a nowrap button wider than the
   viewport drags its whole column out and overflows the page. Let long buttons wrap
   and let track children shrink below their content width. */
.hero__grid > *, .grid > *, .price-grid > *, .steps > *, .bio__grid > *,
.legal__grid > * { min-width: 0; }

@media (max-width: 560px) {
  .btn { white-space: normal; }
  .btn--lg { padding: .95rem 1.35rem; font-size: .98rem; }
  .hero__cta .btn--lg { width: 100%; }
  .section--dark .btn--lg, #symptoms .btn--clay { width: 100%; }
}

/* ============================================================
   Legal pages (privacy.html, terms.html)
   Sticky contents rail + readable prose column.
   ============================================================ */
.legal-hero { background: var(--green-50); border-bottom: var(--hair); padding-block: clamp(2.4rem, 5vw, 3.6rem); }
.legal-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .35rem; }
.legal-hero .legal__dates { color: var(--text-soft); font-size: .92rem; margin: 0; }

.legal__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .legal__grid { grid-template-columns: 1fr; } }

.legal__toc { position: sticky; top: 92px; font-size: .9rem; }
@media (max-width: 900px) {
  .legal__toc { position: static; background: var(--sand); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
}
.legal__toc h2 {
  font-family: var(--font-body); font-size: .74rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--text-soft); margin-bottom: .8rem;
}
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; counter-reset: toc; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { color: var(--ink); display: block; line-height: 1.4; }
.legal__toc a::before { content: counter(toc) "."; color: var(--green-500); font-weight: 700; margin-right: .45rem; }
.legal__toc a:hover { color: var(--brand); text-decoration: none; }

.legal__body { max-width: 72ch; counter-reset: sec; }
.legal__body > section { scroll-margin-top: 92px; padding-top: .5rem; }
.legal__body > section + section { margin-top: 2.6rem; border-top: var(--hair); padding-top: 2.2rem; }
.legal__body h2 { counter-increment: sec; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.legal__body h2::before { content: counter(sec) ". "; color: var(--green-500); }
.legal__body h3 { font-size: 1.08rem; margin-top: 1.6rem; }
.legal__body li { margin-bottom: .4rem; }
.legal__body table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: 1.2rem; }
.legal__body th, .legal__body td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: var(--hair); }
.legal__body thead th { background: var(--green-50); color: var(--green-900); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.legal__scroll { overflow-x: auto; }

/* Callout — used for the "this is not physiotherapy" and safety notices */
.legal__note {
  background: var(--clay-50); border-left: 4px solid var(--clay-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1.1rem 1.3rem; margin-bottom: 1.2rem;
}
.legal__note p:last-child { margin-bottom: 0; }
.legal__note strong { color: var(--clay-700); }

/* Inline detail the practitioner still has to supply. Deliberately loud —
   these must all be gone before the pages go live. main.js counts them. */
.tbd {
  background: var(--clay-100); color: var(--clay-700); font-weight: 700;
  padding: .05rem .38rem; border-radius: 5px; border: 1px dashed var(--clay-500);
  font-size: .93em;
  /* Must wrap — some of these blanks are a full sentence of guidance, and
     nowrap dragged one 548px wide straight off a 375px screen. */
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--hover:hover { transform: none; }
}
