/* ============================================================
   Klydmore Health — styles.css
   Brand tokens are LOCKED. Elevated execution: generous rhythm,
   soft organic aqua shapes, product visuals beside every claim,
   depth on cards, a weighty dark "core", a deep footer.
   ============================================================ */

:root {
  /* — Locked brand — */
  --aqua: #43CFC7;
  --aqua-deep: #2BA69E;
  --aqua-wash: #EAF6F5;
  --aqua-wash-2: #F2F7F6;
  --coral: #F4845F;
  --lime: #B9E052;
  --ink: #202B36;
  --ink-2: #17212B;      /* deeper ink for the dark core */
  --slate: #6E7A85;
  --paper: #FAFCFC;
  --hairline: #DCE7E6;

  /* — Official accents (secondary to aqua) — */
  --lavender: #EFEBF5;
  --purple: #6B5F92;
  --plum-ink: #2E2839;

  /* — Type — */
  --font-display: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* — Radius — */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* — Elevation (ink-tinted, tuned to the paper ground) — */
  --shadow-xs: 0 1px 2px rgba(32,43,54,0.05);
  --shadow-sm: 0 2px 6px rgba(32,43,54,0.05), 0 8px 20px -12px rgba(32,43,54,0.15);
  --shadow-md: 0 4px 10px rgba(32,43,54,0.05), 0 22px 48px -22px rgba(32,43,54,0.22);
  --shadow-lg: 0 8px 18px rgba(32,43,54,0.06), 0 40px 80px -30px rgba(32,43,54,0.30);
  --shadow-aqua: 0 30px 70px -34px rgba(43,166,158,0.55);

  /* — Rhythm — */
  --wrap: 1140px;
  --section-y: clamp(72px, 8.5vw, 120px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.display { font-family: var(--font-display); }
.mono { font-family: var(--font-mono); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
img { max-width: 100%; display: block; }

::selection { background: rgba(67,207,199,0.28); color: var(--ink); }

a { color: var(--aqua-deep); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   Shared type
   ============================================================ */
.eyebrow, .kicker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aqua-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--aqua);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.015em; }

.big {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.7vw, 2.7rem);
  line-height: 1.12;
}
.lede {
  color: var(--slate);
  max-width: 42em;
  font-size: 1.12rem;
  margin-top: 20px;
}

/* ============================================================
   Buttons
   ============================================================ */
.cta, .nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .18s ease, filter .18s ease;
}
.cta {
  background: var(--lime);
  color: var(--ink);
  padding: 16px 32px;
  font-size: 1.04rem;
  box-shadow: 0 2px 0 rgba(32,43,54,0.16), var(--shadow-sm);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 2px 0 rgba(32,43,54,0.16), var(--shadow-md); color: var(--ink); }
.cta:active { transform: translateY(0); }
.cta .arw { transition: transform .18s ease; }
.cta:hover .arw { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 15px 26px;
  border: 1.5px solid var(--hairline);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--aqua-deep); color: var(--aqua-deep); background: var(--aqua-wash); }

.cta-note { display: block; margin-top: 16px; font-size: 0.86rem; color: var(--slate); }

/* ============================================================
   Header / nav
   ============================================================ */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 252, 252, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand-mark { display: block; height: 40px; width: 40px; flex-shrink: 0; }
.bigfoot .brand-mark { height: 32px; width: 32px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav a.link {
  color: var(--ink); font-size: 0.96rem; font-weight: 500; white-space: nowrap;
  padding: 8px 13px; border-radius: var(--r-pill);
  transition: background .16s ease, color .16s ease;
}
.nav a.link:hover { color: var(--aqua-deep); background: var(--aqua-wash); }
.nav-cta {
  background: var(--lime); color: var(--ink); white-space: nowrap;
  padding: 11px 22px; font-size: 0.94rem;
  box-shadow: 0 2px 0 rgba(32,43,54,0.14);
  margin-left: 8px;
}
.nav-cta:hover { transform: translateY(-1px); color: var(--ink); box-shadow: 0 2px 0 rgba(32,43,54,0.14), var(--shadow-sm); }

/* ============================================================
   Sections
   ============================================================ */
section { padding: var(--section-y) 0; position: relative; }
.wash { background: linear-gradient(180deg, var(--aqua-wash-2), var(--paper)); }
.wash-solid { background: var(--aqua-wash-2); }
.section-head { max-width: 46em; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 96px) 0 var(--section-y); }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  border-radius: 47% 53% 60% 40% / 54% 45% 55% 46%;
  filter: blur(6px);
}
.hero::before {
  width: 640px; height: 560px; right: -180px; top: -140px;
  background: radial-gradient(closest-side, rgba(67,207,199,0.34), rgba(67,207,199,0) 72%);
}
.hero::after {
  width: 520px; height: 500px; right: 120px; bottom: -220px;
  background: radial-gradient(closest-side, rgba(43,166,158,0.20), rgba(43,166,158,0) 72%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.tagline {
  font-family: var(--font-mono);
  letter-spacing: 0.34em; font-size: 0.78rem; font-weight: 500;
  color: var(--aqua-deep); margin-bottom: 24px;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 5.1vw, 3.7rem);
  line-height: 1.06; letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--aqua-deep); }
.hero .sub { font-size: 1.18rem; color: var(--slate); max-width: 33em; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.proof-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip-fact {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--ink); background: #fff; border: 1px solid var(--hairline);
  padding: 8px 13px; border-radius: var(--r-pill); display: inline-flex; gap: 8px; align-items: center;
}
.chip-fact::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }

/* Hero load motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .8s cubic-bezier(.2,.7,.3,1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ============================================================
   Phone mockup
   ============================================================ */
.visual { display: flex; justify-content: center; position: relative; }
.phone-stage { position: relative; }
.phone-stage::before {
  content: ""; position: absolute; inset: -12% -16%;
  background: radial-gradient(closest-side, rgba(67,207,199,0.22), rgba(67,207,199,0) 70%);
  border-radius: 50%; z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 316px; background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 36px; padding: 22px 18px 26px;
  box-shadow: var(--shadow-lg);
}
.phone .ptop { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); margin-bottom: 16px; }
.phone .ptop .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--aqua-wash); display: grid; place-items: center; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--aqua-deep); }
.phone .ptop .pname { font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.phone .ptop .psub { font-size: 0.68rem; color: var(--slate); }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 0.83rem; line-height: 1.46; margin-bottom: 11px; }
.bubble.in { background: #EFF3F4; border-bottom-left-radius: 5px; }
.bubble.out { background: var(--aqua); color: #073432; margin-left: auto; border-bottom-right-radius: 5px; font-weight: 600; }
.bubble .t { display: block; font-size: 0.62rem; color: var(--slate); margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.bubble.out .t { color: rgba(7,52,50,0.62); }

/* ============================================================
   Feature rows (claim beside a product visual)
   ============================================================ */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(56px, 7vw, 96px); }
.feature-row.flip .fr-visual { order: 2; }
.feature-row .n { font-family: var(--font-mono); color: var(--coral); font-size: 0.78rem; letter-spacing: 0.16em; }
.feature-row h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; margin: 14px 0 14px; line-height: 1.16; }
.feature-row p { color: var(--slate); font-size: 1.05rem; max-width: 33em; }
.fr-visual { display: flex; justify-content: center; }

/* review queue mock */
.mockcard {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  overflow: hidden; width: 100%; max-width: 460px;
}
.mockcard .mhead { padding: 16px 20px; border-bottom: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; background: linear-gradient(180deg, #fff, #FBFDFC); }
.mockcard .mhead .mt { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.mockcard .mhead .mm { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--aqua-deep); display: inline-flex; align-items: center; gap: 6px; }
.mockcard .mhead .mm::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); }
.mrow { display: flex; align-items: center; gap: 13px; padding: 15px 20px; border-bottom: 1px solid #EEF3F2; font-size: 0.85rem; transition: background .15s ease; }
.mrow:last-child { border-bottom: none; }
.mrow:hover { background: #F7FBFA; }
.chip { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); letter-spacing: 0.08em; flex-shrink: 0; }
.chip.red { background: #FCE8E1; color: #B23B18; }
.chip.amber { background: #FBF0DB; color: #8A6410; }
.chip.routine { background: var(--aqua-wash); color: var(--aqua-deep); }
.mrow .who { font-weight: 700; }
.mrow .what { color: var(--slate); }
.mrow .when { margin-left: auto; font-family: var(--font-mono); font-size: 0.66rem; color: var(--slate); flex-shrink: 0; letter-spacing: 0.04em; }

/* audit strip */
.audit {
  background: var(--ink); border-radius: var(--r-md);
  padding: 26px 28px; width: 100%; max-width: 460px;
  font-family: var(--font-mono); font-size: 0.75rem; color: #B7C6C4;
  box-shadow: var(--shadow-lg);
}
.audit .ahead { font-size: 0.64rem; letter-spacing: 0.2em; color: #6E8280; margin-bottom: 14px; text-transform: uppercase; }
.audit .ln { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(234,242,241,0.09); }
.audit .ln:last-child { border-bottom: none; }
.audit .ts { color: #6E8280; flex-shrink: 0; }
.audit .ev { color: #EAF2F1; }
.audit .ev .hl { color: var(--aqua); }

/* ============================================================
   Cards
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 44px); align-items: start; }
.card, .quiet-card {
  background: #fff; border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.quiet-card { background: var(--aqua-wash); border-color: transparent; }
.card h3, .quiet-card h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 700; margin-bottom: 12px; }
.card p, .quiet-card p { font-size: 1rem; color: var(--slate); }
.quiet-card + .quiet-card { margin-top: 18px; }
.card-lead { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua-deep); }
.card-lead .mk { width: 34px; height: 34px; border-radius: 10px; background: var(--aqua-wash); display: grid; place-items: center; color: var(--aqua-deep); }

/* ============================================================
   Photography — organic aqua-shape masks
   Swap the placeholder for:  <img src="photos/name.jpg" alt="…">
   ============================================================ */
.photo {
  position: relative; overflow: hidden;
  background: var(--aqua-wash);
  border-radius: 46% 54% 52% 48% / 56% 46% 54% 44%;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.photo.blob-b { border-radius: 58% 42% 45% 55% / 45% 55% 45% 55%; }
.photo.blob-c { border-radius: 52% 48% 60% 40% / 48% 58% 42% 52%; aspect-ratio: 1 / 1; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(67,207,199,0.14), rgba(43,166,158,0.05) 60%);
  mix-blend-mode: multiply;
}
/* empty-state placeholder */
.photo.is-empty {
  background:
    repeating-linear-gradient(135deg, rgba(43,166,158,0.09) 0 2px, transparent 2px 11px),
    var(--aqua-wash);
  display: grid; place-items: center;
}
.photo.is-empty::after { display: none; }
.photo .ph-label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--aqua-deep); text-align: center; line-height: 1.5;
  padding: 0 18%; text-transform: uppercase;
}
.photo .ph-label b { display: block; color: var(--ink); font-size: 0.66rem; opacity: 0.55; margin-top: 8px; font-weight: 500; }
/* soft aqua ring behind photos */
.photo-stage { position: relative; }
.photo-stage::before {
  content: ""; position: absolute; inset: -8% -8% -8% -8%; z-index: 0;
  background: radial-gradient(closest-side, rgba(67,207,199,0.16), transparent 72%);
}
.photo-stage .photo { position: relative; z-index: 1; }

/* ============================================================
   Numbers band (proof) — first half of the dark core
   ============================================================ */
.numbers { color: var(--ink); overflow: hidden; }
.numbers .wrap { position: relative; }
.numbers .wrap::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 360px; height: 330px; right: -76px; top: -66px;
  border-radius: 47% 53% 60% 40% / 54% 45% 55% 46%;
  background: radial-gradient(closest-side, rgba(107,95,146,0.22), rgba(67,207,199,0.12) 58%, transparent 76%);
  filter: blur(7px);
}
.numbers-card {
  background: var(--lavender); border: 1px solid #E1DAF0;
  border-radius: var(--r-xl); padding: clamp(38px, 5vw, 64px);
  box-shadow: var(--shadow-sm);
  position: relative; z-index: 1; overflow: hidden;
}
.numbers .head { text-align: center; margin-bottom: 50px; position: relative; }
.numbers .head .eyebrow { color: var(--coral); }
.numbers .head .eyebrow::before { background: var(--coral); }
.numbers .head h2 { color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.numbers .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; position: relative; }
.numbers .grid > div { padding: 16px 18px; position: relative; }
.numbers .grid > div + div::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px;
  background: rgba(107,95,146,0.22);
}
.numbers .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4.6vw, 3.4rem); color: var(--purple); line-height: 1; }
.numbers .lbl { font-size: 0.9rem; color: var(--ink); margin-top: 12px; max-width: 15em; margin-inline: auto; }
.numbers .note { text-align: center; color: #6E667E; font-size: 0.84rem; margin-top: 44px; font-style: italic; }

/* ============================================================
   Honesty ledger (signature) — second half of the dark core
   ============================================================ */
.ledger {
  background: #F8F1E6;
  color: #202B36; border-radius: var(--r-xl);
  border: 1px solid #E8DCCA;
  padding: clamp(38px, 5vw, 64px);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.ledger::before { display: none; }
.ledger .eyebrow { color: #6E7A85; }
.ledger .eyebrow::before { background: var(--aqua-deep); }
.ledger h2 { color: #202B36; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; position: relative; }
.ledger .lede { color: #5A6672; position: relative; }
.ledger-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: 44px; position: relative; }
.ledger .col-title { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.22em; margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px; }
.ledger .col-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.ledger .is .col-title { color: var(--aqua); }
.ledger .is .col-title::before { background: var(--aqua); }
.ledger .isnot .col-title { color: var(--coral); }
.ledger .isnot .col-title::before { background: var(--coral); }
.ledger ul { list-style: none; }
.ledger li { padding: 15px 0 15px 30px; position: relative; font-size: 1rem; line-height: 1.5; color: #202B36; border-bottom: 1px solid rgba(32,43,54,0.12); }
.ledger li:last-child { border-bottom: none; }
.ledger .is li::before, .ledger .isnot li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 2px; }
.ledger .is li::before { background: var(--aqua); }
.ledger .isnot li::before { background: var(--coral); }

/* ============================================================
   Who-it's-for / patient transparency
   ============================================================ */
.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.patients-note {
  background: var(--aqua-wash); border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 52px);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 52px); align-items: center;
}
.patients-note h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 14px; }
.patients-note p { color: #3A4650; font-size: 1.02rem; }
.patients-note .mini-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--aqua-deep); }
.patients-note .mini-cta:hover { color: var(--ink); }
.safety-card {
  background: #fff; border-radius: var(--r-md); padding: 30px 30px;
  border: 1px solid #F4845F;
}
.safety-card h3 { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 10px; }
.safety-card h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.safety-card p { color: #3A4650; font-size: 1rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact { text-align: center; background: linear-gradient(180deg, var(--paper), var(--aqua-wash-2)); overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: 620px; height: 340px; max-width: 90vw;
  background: radial-gradient(closest-side, rgba(67,207,199,0.20), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.contact .inner { position: relative; }
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; margin: 0 auto; max-width: 16em; }
.contact .lede { margin: 20px auto 34px; text-align: center; }

/* ============================================================
   Footer (deep, organized)
   ============================================================ */
.bigfoot { background: var(--aqua-wash-2); border-top: 1px solid var(--hairline); padding: clamp(52px, 6vw, 76px) 0 30px; font-size: 0.92rem; }
.bigfoot .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.bigfoot .brand { margin-bottom: 16px; }
.bigfoot .foot-blurb { color: var(--slate); font-size: 0.9rem; max-width: 26em; }
.bigfoot .tagline-sm { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.24em; color: var(--aqua-deep); margin-top: 18px; }
.bigfoot .col-h { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--slate); margin-bottom: 16px; text-transform: uppercase; }
.bigfoot ul { list-style: none; }
.bigfoot li { margin-bottom: 11px; }
.bigfoot a { color: var(--ink); }
.bigfoot a:hover { color: var(--aqua-deep); }
.bigfoot .legal { border-top: 1px solid var(--hairline); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--slate); font-size: 0.82rem; }
.bigfoot .legal strong { color: var(--ink); }

/* ============================================================
   Document pages (privacy, sms-policy)
   ============================================================ */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) 28px clamp(64px, 8vw, 100px); }
.doc-head { border-bottom: 2px solid var(--ink); padding-bottom: 26px; margin-bottom: 40px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 2.7rem); font-weight: 700; margin-bottom: 12px; }
.doc .updated { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; color: var(--aqua-deep); }
.doc h2 { font-size: 1.3rem; font-weight: 700; margin: 42px 0 12px; }
.doc p, .doc li { color: #3A4650; font-size: 1.02rem; }
.doc p { margin-bottom: 4px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li { margin-bottom: 10px; }
.doc strong { color: var(--ink); font-weight: 700; }
.doc .notice {
  background: var(--aqua-wash); border-left: 4px solid var(--aqua);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 20px 22px; margin: 26px 0;
}
.doc .notice p { color: var(--ink); margin: 0; }

footer.simple { border-top: 1px solid var(--hairline); padding: 30px 0 42px; font-size: 0.88rem; color: var(--slate); }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer.simple a { color: var(--slate); margin-left: 20px; }
footer.simple a:first-child { margin-left: 0; }
footer.simple a:hover { color: var(--aqua-deep); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .visual { order: -1; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 34px; }
  .feature-row .fr-visual, .feature-row.flip .fr-visual { order: 0; }
  .split { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .patients-note { grid-template-columns: 1fr; }
  .numbers .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 8px; }
  .numbers .grid > div:nth-child(odd)::before { display: none; }
  .ledger-grid { grid-template-columns: 1fr; gap: 28px; }
  .bigfoot .cols { grid-template-columns: 1fr 1fr; }
  .bigfoot .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 800px) { .nav-links .link { display: none; } }
@media (max-width: 620px) {
  .numbers .grid { grid-template-columns: 1fr; }
  .numbers .grid > div + div::before { display: none; }
  .bigfoot .cols { grid-template-columns: 1fr 1fr; }
  .bigfoot .legal { flex-direction: column; gap: 8px; }
}
