/* ============================================================
   HealthyMama — shared styles
   Aesthetic: warm, restrained editorial. Cream canvas,
   clay accent, sage secondary. Lots of whitespace.
   Display: Fraunces (soft serif). Body: Hanken Grotesk.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..400&family=Figtree:wght@300;400;500;600;700&family=Hanken+Grotesk:wght@300;400;500;600&display=swap');

:root {
  /* palette — warm, washed-out mauve */
  --cream:        #F7F2EE;
  --cream-deep:   #EFE6E0;
  --paper:        #FFFDFA;
  --ink:          #2C2429;
  --ink-soft:     #62575A;
  --ink-faint:    #988C8D;
  --clay:         #7C5A79;   /* washed dusty-mauve accent */
  --clay-deep:    #5E4460;
  --highlight:    #F0607A;   /* bright coral-rose — use sparingly */
  --rose:         #EEDFDF;
  --sage:         #8A7377;
  --sage-soft:    #E9DDD9;
  --line:         #ECE1DD;

  /* practices page — deeper register (warm + softened) */
  --slate:        #473B4A;
  --slate-deep:   #372F39;
  --slate-soft:   #EEE6E2;
  --steel:        #806785;

  /* type */
  --display: 'Figtree', 'Hanken Grotesk', sans-serif;
  --body: 'Hanken Grotesk', -apple-system, sans-serif;

  /* rhythm */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--body);
  background-color: var(--cream);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(178,128,148,.07), transparent 58%),
    radial-gradient(900px 560px at -12% 12%, rgba(196,150,150,.06), transparent 55%),
    radial-gradient(1000px 700px at 50% 108%, rgba(182,132,140,.05), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: 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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.75rem;
}

p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; z-index: 2; }
.section { padding-block: var(--section-y); }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 44ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.95em 1.6em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  line-height: 1;
}
.btn-primary {
  background: var(--slate);
  color: var(--paper);
  box-shadow: 0 8px 24px -10px rgba(59,46,84,.5);
}
.btn-primary:hover { background: var(--slate-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); transform: translateY(-2px); }
.btn-dark { background: var(--slate); color: #fff; }
.btn-dark:hover { background: #162026; transform: translateY(-2px); }
.btn-lg { padding: 1.1em 2em; font-size: 1.05rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: transform .4s ease, opacity .4s ease, border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); }
.nav.nav-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition: border-color .3s ease, background .3s ease; }
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  font-family: 'Bricolage Grotesque', var(--display);
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-switch {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.6em 1.1em;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.nav-switch:hover { border-color: var(--clay); color: var(--clay); }
@media (max-width: 480px) {
  .nav-inner { padding-inline: 1.1rem; }
  .brand { font-size: 1.25rem; }
  .nav-cta { gap: 0.85rem; }
  .nav-cta .btn { white-space: nowrap; }
  .nav-switch { white-space: nowrap; padding: 0; border: none; font-size: 0.88rem; }
}

/* ---------- image placeholders ---------- */
.ph {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 20% 10%, var(--rose) 0%, transparent 55%),
    linear-gradient(140deg, var(--cream-deep), var(--sage-soft));
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 240px;
  isolation: isolate;
}
.ph::after {
  /* corner camera glyph */
  content: "▦";
  position: absolute;
  top: 14px; left: 16px;
  font-size: 0.9rem;
  color: var(--ink-faint);
  opacity: 0.5;
}
.ph-label {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem;
  width: 100%;
}
.ph-label b { color: var(--clay); font-weight: 600; letter-spacing: 0.06em; font-size: 0.7rem; text-transform: uppercase; display:block; margin-bottom: 2px;}
.ph.dark {
  background:
    radial-gradient(120% 120% at 80% 10%, var(--steel) 0%, transparent 55%),
    linear-gradient(140deg, var(--slate), #37303d);
  border-color: #4a4150;
}
.ph.dark .ph-label { background: rgba(30,24,32,.6); color: #d2c8c9; border-color: #4a4150;}
.ph.dark::after { color: #8d8285; }
.ph.tall { min-height: 520px; }
.ph.app { aspect-ratio: 9 / 16; min-height: 0; }

/* real photos */
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--cream-deep);
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media .shot   { aspect-ratio: 5 / 6; }
.devices-grid .shot { aspect-ratio: 4 / 3; }
.team-card .shot    { aspect-ratio: 3 / 4; }
.p-hero .shot {
  aspect-ratio: 4 / 5;
  border-color: #4a4150;
}
.p-hero .shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(55,47,57,.12) 0%, transparent 42%, rgba(55,47,57,.45) 100%);
}
@media (max-width: 880px) {
  .hero-media .shot { aspect-ratio: 16 / 11; }
  .p-hero .shot { aspect-ratio: 16 / 12; }
}

/* line-art illustrations (illustrated site version) */
.illus {
  position: relative;
  border-radius: var(--radius);
  background: #FBF1EC;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
}
.illus img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}
.hero-media .illus { aspect-ratio: 5 / 6; }
.hero-media .illus img { object-fit: cover; }
.illus-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.illus-band .illus { max-width: 460px; }
@media (max-width: 820px) { .illus-band { grid-template-columns: 1fr; } }

/* app screenshots */
.app-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  display: block;
  box-shadow: 0 16px 40px -26px rgba(44,36,41,.4);
}
.app-shot img { width: 100%; height: auto; display: block; }
.step .app-shot { aspect-ratio: 9 / 15; margin-bottom: 1.4rem; }
.step .app-shot img { height: 100%; object-fit: cover; object-position: top center; }
.feature .app-shot { max-width: 290px; margin-inline: auto; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 36px -24px rgba(44,36,41,.35);
}
.quote .mark {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 0.7;
  color: var(--clay);
  margin-bottom: 0.7rem;
}
.quote p {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.55;
  flex: 1;
}
.quote .by {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--rose);
  border: 1px solid var(--line);
  flex: none;
  display: grid;
  place-items: center;
  color: var(--clay-deep);
  font-family: var(--display);
  font-weight: 600;
}
.who strong { font-weight: 600; font-size: 0.95rem; display: block; color: var(--ink); }
.who small  { font-size: 0.85rem; color: var(--ink-faint); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE — smaller buttons so labels stay on one line
   ============================================================ */
@media (max-width: 560px) {
  .btn    { font-size: 0.9rem;  padding: 0.82em 1.25em; }
  .btn-lg { font-size: 0.95rem; padding: 0.9em 1.4em; }
}

/* ============================================================
   TEMPORARY — photo / illustration version toggle
   (remove before launch)
   ============================================================ */
.version-toggle {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: color-mix(in srgb, var(--slate) 90%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 5px;
  box-shadow: 0 14px 34px -14px rgba(0,0,0,.55);
  font-family: var(--body);
}
.version-toggle .vt-label {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  padding: 0 0.45rem 0 0.7rem;
}
.version-toggle a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  padding: 0.42em 0.95em;
  border-radius: 100px;
  transition: background .2s ease, color .2s ease;
}
.version-toggle a:hover { color: #fff; }
.version-toggle a.active { background: #fff; color: var(--slate); }
@media (max-width: 420px) {
  .version-toggle { bottom: 12px; }
  .version-toggle a { padding: 0.4em 0.8em; font-size: 0.78rem; }
}

/* nav in-page section links */
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: 0.95rem; color: var(--ink-soft); transition: color .2s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* footer legal sub-links */
.footer-legal { display: inline-flex; gap: 1.1rem; align-items: center; }
.footer-sub { font-size: 0.75rem; color: #9d9094; }
a.footer-sub { transition: color .2s ease; }
a.footer-sub:hover { color: #fff; }

/* ============================================================
   LEGAL PAGES (terms, privacy) — readable, non-selectable
   ============================================================ */
.legal {
  max-width: 44rem;                 /* ~66ch: a comfortable reading measure */
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(4rem, 9vw, 6.5rem);
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.legal .doc-head { text-align: center; margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }
.legal .doc-head .company { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.legal .doc-head h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-top: 0.5rem; letter-spacing: 0.01em; }
.legal .doc-head .updated { color: var(--ink-faint); font-style: italic; margin-top: 0.55rem; font-size: 0.95rem; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); margin-top: 2.6rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.legal h3 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; margin-top: 1.7rem; margin-bottom: 0.35rem; color: var(--ink); }
.legal p { margin-bottom: 1rem; line-height: 1.7; color: var(--ink-soft); }
.legal ul { margin: 0 0 1.1rem 1.3rem; padding: 0; }
.legal ul.plain { list-style: none; margin-left: 0; }
.legal li { margin-bottom: 0.5rem; line-height: 1.65; color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .note {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin: 0 0 1.6rem;
}
.legal .note p:last-child { margin-bottom: 0; }
.legal address { font-style: normal; color: var(--ink-soft); line-height: 1.75; }
.legal .agree { margin-top: 2.2rem; font-weight: 600; color: var(--ink); line-height: 1.6; }
.legal a { color: var(--clay); }

/* ============================================================
   CONTACT PAGE / FORM
   ============================================================ */
/* trim the top space when a page opens with a header directly under the nav */
.section-tight-top { padding-top: clamp(2.5rem, 6vw, 4rem); }

.contact-wrap { max-width: 40rem; margin: 0 auto; }
.contact-head { margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.contact-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -0.025em; margin-top: 0.5rem; }
.contact-head .lead { margin-top: 1.1rem; max-width: 52ch; }

.field { margin-bottom: 1.2rem; }
.field > label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--ink); margin-bottom: 0.4rem; }
.field .req { color: var(--highlight); }
.field .opt { color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.78em 0.9em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay) 16%, transparent);
}
/* custom dropdown chevron — inset from the right by the same 0.78em as the top/bottom padding */
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7e84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.78em center;
  background-size: 1.1em 1.1em;
  padding-right: 2.5em;
  color-scheme: light;
}
/* style the open dropdown menu to match the site */
.field select option { background: var(--paper); color: var(--ink); }
.field select option:disabled { color: var(--ink-faint); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.contact-form [data-netlify-recaptcha] { margin: 1.4rem 0 0.2rem; }
.form-actions { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); max-width: 52ch; line-height: 1.55; }
.form-success {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
}
.form-success h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--ink-soft); max-width: 42ch; margin: 0 auto; }

/* ============================================================
   HERO (consumer)
   ============================================================ */
.hero { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: var(--section-y); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.032em;
}
.hero h1 .ital { color: var(--highlight); }
.hero .lead { margin-top: 1.6rem; max-width: 46ch; font-size: clamp(1.1rem, 1.5vw, 1.28rem); }
.hero-cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* app store download buttons */
.store-btns { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: #fff;
  padding: 0.72em 1.35em;
  border-radius: 15px;
  transition: transform .25s ease, background .25s ease;
}
.btn-store:hover { background: #000; transform: translateY(-2px); }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store .st-txt { line-height: 1.1; text-align: left; }
.btn-store .st-txt small { display: block; font-size: 0.62rem; letter-spacing: 0.09em; text-transform: uppercase; opacity: 0.75; }
.btn-store .st-txt strong { font-family: var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
/* "coming soon" pill — same style as the store buttons, non-interactive */
.btn-store.btn-soon { cursor: default; }
.btn-store.btn-soon:hover { background: var(--ink); transform: none; }
.soon-ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-media .ph { min-height: 540px; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media .ph { min-height: 380px; }
}

/* ---------- practice callout band ---------- */
.callout {
  background: var(--slate);
  color: #e9edee;
  position: relative;
  z-index: 2;
}
.callout .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.2rem, 4vw, 2.8rem);
}
.callout .eyebrow { color: #f6ebf4; }
.callout-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  color: #e2cdd6;
}

/* shared line-icon */
.ico {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.callout-icon .ico { width: 26px; height: 26px; }
.ic-box .ico { width: 24px; height: 24px; }
.callout h3 { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; }
.callout p { color: #cabfc0; margin-top: 0.4rem; max-width: 60ch; font-size: 0.98rem; }
.callout .btn-link {
  color: #fff; font-weight: 500; white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 3px; transition: border-color .2s, color .2s;
}
.callout .btn-link:hover { border-color: #d9bccf; color: #d9bccf; }
@media (max-width: 820px) {
  .callout .wrap { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================================
   THE PROBLEM / stat band
   ============================================================ */
.section-head { max-width: 46rem; }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
}
.section-head .lead { margin-top: 1.4rem; max-width: 62ch; }
/* keep a short headline on one line at larger widths */
@media (min-width: 760px) { .section-head h2.oneline-lg { white-space: nowrap; } }

.statband {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.stat .num {
  font-family: var(--display);
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--highlight);
}
.stat .num small { font-size: 0.42em; color: var(--ink-faint); letter-spacing: 0; }
.stat p { margin-top: 0.9rem; font-size: 1.02rem; max-width: 30ch; }
@media (max-width: 700px) { .statband { grid-template-columns: 1fr; } }

/* ============================================================
   HOW IT WORKS — three steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.step .ph.app { margin-bottom: 1.4rem; }
.step-n {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--clay);
  display: inline-flex; align-items: center; gap: .5rem;
  margin-bottom: .9rem;
}
.step-n .ic {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--rose); color: var(--clay-deep);
  display: grid; place-items: center; font-size: 1rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { font-size: 0.97rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   WHAT YOU GET — alternating feature rows
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.feature:nth-child(even) .feature-media { order: -1; }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.feature p { font-size: 1.05rem; max-width: 46ch; }
.feature .ph.app { max-width: 320px; margin-inline: auto; }
.feature-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 1rem;
}
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
}

/* tone wrappers */
.tone-paper { background: var(--paper); border-block: 1px solid var(--line); }
.tone-deep  { background: var(--cream-deep); }

/* ============================================================
   DEVICES band
   ============================================================ */
.devices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 2.5rem;
}
.devices-grid .ph { min-height: 340px; }
@media (max-width: 820px){ .devices-grid { grid-template-columns: 1fr; } }
.fineprint { font-size: 0.85rem; color: var(--ink-faint); margin-top: 1.4rem; font-style: italic; }

/* ============================================================
   CLINICAL TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.team-card .ph { min-height: 0; aspect-ratio: 3/4; }
.team-card h4 { font-family: var(--body); font-weight: 600; font-size: 1rem; margin-top: .8rem; }
.team-card span { font-size: 0.85rem; color: var(--ink-faint); }
@media (max-width: 820px){ .team-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   IS NOT band
   ============================================================ */
.isnot { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.isnot-card {
  padding: 1.8rem 0;
  border-top: 2px solid var(--clay);
}
.isnot-card h4 { font-family: var(--display); font-size: 1.25rem; margin-bottom: .6rem; }
.isnot-card p { font-size: 0.97rem; }
@media (max-width: 820px){ .isnot { grid-template-columns: 1fr; } }

/* ============================================================
   TWO PATHS
   ============================================================ */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.path {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column;
}
.path .marker { font-family: var(--display); font-weight: 600; color: var(--clay); font-size: 1.05rem; margin-bottom: .8rem;}
.path h3 { font-size: 1.7rem; margin-bottom: .7rem; }
.path p { flex: 1; margin-bottom: 1.6rem; }
@media (max-width: 720px){ .paths { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--slate); color: #cbbfc0; padding-block: clamp(3.5rem, 6vw, 5rem); position: relative; z-index: 2;}
.footer .brand { color: #fff; margin-bottom: 0.45rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-tag { max-width: none; white-space: nowrap; color: #9f9294; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }
.footer-links a { font-size: 0.95rem; color: #cbbfc0; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 0.85rem; color: #897c7e; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;}

/* ============================================================
   PRACTICES PAGE — cooler register
   ============================================================ */
body.practices {
  background-color: var(--paper);
  background-image:
    radial-gradient(1000px 560px at 88% 2%, rgba(178,128,148,.05), transparent 55%),
    radial-gradient(900px 620px at -10% 40%, rgba(196,150,150,.045), transparent 55%);
}
.practices .nav { background: color-mix(in srgb, var(--paper) 85%, transparent); }
.p-hero {
  background: linear-gradient(160deg, #574A5B 0%, var(--slate-deep) 100%);
  color: #efe8ea;
  position: relative;
  overflow: hidden;
}
.p-hero::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(60% 80% at 85% 20%, rgba(150,112,140,.5), transparent 60%);
  pointer-events:none;
}
.p-hero .wrap { position: relative; z-index:2; padding-block: clamp(4.5rem, 9vw, 8rem); }
.p-hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.p-hero .eyebrow { color: #f6ebf4; }
.p-hero h1 { color:#fff; font-weight: 400; font-size: clamp(2.5rem, 5.5vw, 4.4rem); letter-spacing:-0.032em; margin-top: 1.2rem;}
.p-hero h1 .ital { color: var(--highlight); }
.p-hero .lead { color:#cabfc0; margin-top: 1.6rem; max-width: 52ch; }
.p-hero .hero-cta { margin-top: 2.2rem; }
@media (max-width:880px){ .p-hero-grid { grid-template-columns:1fr; } }

/* practices accent overrides */
.practices .eyebrow { color: var(--steel); }
.practices .stat .num { color: var(--steel); }
.practices .btn-primary { background: var(--steel); box-shadow: 0 8px 24px -10px rgba(106,74,148,.6); }
.practices .btn-primary:hover { background: #543a76; }

/* three problems / capability cards */
.cards3 { display:grid; grid-template-columns: repeat(3,1fr); gap:1.5rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.card {
  background: var(--paper);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.practices .card { background: #fbfaf8; }
.card .ic-box {
  width:46px;height:46px;border-radius:50%;
  background: var(--slate-soft); color: var(--steel);
  display:grid;place-items:center;font-size:1.3rem;margin-bottom:1.1rem;
}
.card h3, .card h4 { font-family: var(--display); font-size: 1.3rem; margin-bottom:.55rem; }
.card p { font-size:0.97rem; }
@media (max-width:820px){ .cards3 { grid-template-columns:1fr; } }

.cards4 { display:grid; grid-template-columns: 1fr 1fr; gap:1.5rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
@media (max-width:720px){ .cards4 { grid-template-columns:1fr; } }

/* returns / ROI tiles */
.returns { display:grid; grid-template-columns: repeat(4,1fr); gap:1.2rem; margin-top: clamp(2.5rem,5vw,3.5rem); }
.tile {
  background: var(--slate);
  color:#fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
}
.tile .num { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height:1; letter-spacing:-0.03em; color:#fff; }
.tile p { color:#bdb0b1; font-size:0.9rem; margin-top:.7rem; }
@media (max-width:820px){ .returns { grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .returns { grid-template-columns:1fr; } }
.returns-plus {
  margin-top: 2rem; padding: 1.6rem 1.8rem;
  background: var(--cream); border:1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; color: var(--ink-soft);
}
.returns-plus b { color: var(--ink); font-weight: 600; }

/* close / expect steps */
.expect { display:grid; grid-template-columns: repeat(3,1fr); gap:1.5rem; margin-top:clamp(2.5rem,5vw,3.5rem); }
.expect-step { padding-top: 1.4rem; border-top: 2px solid var(--steel); }
.expect-step .n { font-family:var(--display); font-size:2.2rem; color:var(--steel); line-height:1; margin-bottom:.6rem; }
.expect-step h4 { font-family:var(--display); font-size:1.2rem; margin-bottom:.5rem; }
.expect-step p { font-size:0.95rem; }
@media (max-width:820px){ .expect { grid-template-columns:1fr; } }
.close-cta { margin-top: 3rem; display:flex; flex-wrap:wrap; align-items:center; gap: 1.5rem; }
.close-cta .email { font-size:1rem; color: var(--ink-soft); }
.close-cta .email a { color: var(--steel); border-bottom:1px solid var(--line); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* hero load stagger */
.hero .stagger > * { opacity: 0; transform: translateY(16px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .stagger > *:nth-child(1){ animation-delay:.05s; }
.hero .stagger > *:nth-child(2){ animation-delay:.18s; }
.hero .stagger > *:nth-child(3){ animation-delay:.31s; }
.hero .stagger > *:nth-child(4){ animation-delay:.44s; }
.hero-media { opacity:0; transform: translateY(16px) scale(.99); animation: rise 1.1s .25s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rise { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
  .hero .stagger > *, .hero-media { animation: none; opacity:1; transform:none; }
}
