/* ============================================================
   ПЕДИАТРИКА — Лендинг
   Токены дизайн-системы + ресет + компоненты + вёрстка страницы.
   ============================================================ */

/* ---------- 1. Цветовые токены ---------- */
:root {
  --warm-0:   #FFFFFF;
  --warm-50:  #FBFAF6;
  --warm-100: #F5F3EC;
  --warm-150: #EFEDE4;
  --warm-200: #E8E5DA;
  --warm-300: #D8D4C7;
  --warm-400: #B5B0A1;
  --warm-500: #8B877A;
  --warm-600: #6A6659;
  --warm-700: #494538;
  --warm-800: #2B2922;
  --warm-900: #1A1A16;

  --teal-50:  #E7F3F1;
  --teal-100: #C8E6E3;
  --teal-200: #98D2CD;
  --teal-300: #5DB6B0;
  --teal-400: #2C9690;
  --teal-500: #137A75;
  --teal-600: #0E6360;
  --teal-700: #0A4B49;

  --honey-100: #FBEBCB;
  --honey-300: #EEC069;
  --honey-500: #E0A340;
  --honey-700: #B97E22;

  --green-500:  #2F8F5B;
  --green-100:  #E4F1E9;
  --amber-500:  #C6871B;
  --amber-100:  #FAEDD2;
  --red-500:    #C8443B;
  --red-100:    #FAE5E2;
  --blue-500:   #2F6DB0;
  --blue-100:   #E4EDF7;

  --cat-vaccine-bg: #E0EDF6;  --cat-vaccine-fg: #2B4F71;
  --cat-growth-bg:  #DFEEE4;  --cat-growth-fg:  #2A5942;
  --cat-icd-bg:     #ECE6F2;  --cat-icd-fg:     #463A66;
  --cat-diag-bg:    #F6E9D6;  --cat-diag-fg:    #6E4A24;
  --cat-urgent-bg:  #F8E2DF;  --cat-urgent-fg:  #7A332C;
  --cat-legal-bg:   #E7EAE2;  --cat-legal-fg:   #494E3C;
  --cat-rose-bg:    #F6E1E6;  --cat-rose-fg:    #6E3A48;
  --cat-butter-bg:  #F7EFCE;  --cat-butter-fg:  #5E5320;

  --bg-app:        var(--warm-50);
  --bg-sunken:     var(--warm-100);
  --surface:       var(--warm-0);
  --surface-soft:  var(--warm-100);
  --surface-inverse: var(--warm-900);

  --text-primary:   var(--warm-900);
  --text-secondary: var(--warm-600);
  --text-tertiary:  var(--warm-500);
  --text-disabled:  var(--warm-400);
  --text-inverse:   var(--warm-50);
  --text-link:      var(--teal-600);

  --border:         var(--warm-200);
  --border-strong:  var(--warm-300);
  --hairline:       rgba(26, 26, 22, 0.07);

  --brand:          var(--teal-500);
  --brand-strong:   var(--teal-600);
  --brand-soft:     var(--teal-50);
  --focus-ring:     rgba(19, 122, 117, 0.40);

  --action:         var(--warm-900);
  --action-hover:   #000000;
  --action-text:    var(--warm-50);

  --norm:           var(--green-500);   --norm-bg:    var(--green-100);
  --caution:        var(--amber-500);   --caution-bg: var(--amber-100);
  --danger:         var(--red-500);     --danger-bg:  var(--red-100);
  --info:           var(--blue-500);    --info-bg:    var(--blue-100);
  --accent-data:    var(--honey-500);   --accent-data-bg: var(--honey-100);
}

/* ---------- 2. Типографика ---------- */
:root {
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --fs-10: 11px; --fs-20: 13px; --fs-30: 15px; --fs-40: 17px; --fs-50: 20px;
  --fs-60: 24px; --fs-70: 30px; --fs-80: 38px; --fs-90: 48px; --fs-100: 62px;

  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-extra: 800;

  --lh-solid: 1; --lh-tight: 1.08; --lh-snug: 1.22; --lh-normal: 1.45; --lh-relaxed: 1.62;

  --ls-tighter: -0.03em; --ls-tight: -0.015em; --ls-normal: 0;
  --ls-label: 0.07em; --ls-wide: 0.14em;
}

.t-label {
  font-family: var(--font-sans);
  font-size: var(--fs-20);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.t-caption {
  font-family: var(--font-sans);
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
}

/* ---------- 3. Отступы / радиусы / тени / моушен ---------- */
:root {
  --space-0: 0; --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-7: 32px; --space-8: 40px;
  --space-9: 48px; --space-10: 64px; --space-11: 80px; --space-12: 96px;

  --radius-xs: 8px; --radius-sm: 12px; --radius-md: 16px; --radius-lg: 20px;
  --radius-xl: 26px; --radius-2xl: 32px; --radius-pill: 999px; --radius-circle: 50%;

  --shadow-xs:   0 1px 2px rgba(26, 26, 22, 0.05);
  --shadow-sm:   0 2px 8px rgba(26, 26, 22, 0.06);
  --shadow-md:   0 8px 24px rgba(26, 26, 22, 0.08);
  --shadow-lg:   0 18px 44px rgba(26, 26, 22, 0.12);
  --shadow-card: 0 1px 2px rgba(26, 26, 22, 0.04), 0 10px 28px rgba(26, 26, 22, 0.06);
  --shadow-pop:  0 12px 36px rgba(26, 26, 22, 0.16);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  --dur-fast: 120ms; --dur: 200ms; --dur-slow: 320ms;
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* ---------- 4. Ресет ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--fs-40);
  line-height: var(--lh-normal);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
a { color: var(--text-link); text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--brand-soft); color: var(--text-primary); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   5. Иконки (SVG-спрайт)
   ============================================================ */
.icon { flex: none; display: block; }

/* ============================================================
   6. Компоненты
   ============================================================ */

/* --- Logo --- */
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo__mark {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--brand);
  color: var(--warm-50);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
}
.logo__mark svg { position: absolute; top: 4px; right: 4px; width: 5.2px; height: 5.2px; }
.logo__word {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1;
}
.logo--sm .logo__mark { width: 22px; height: 22px; font-size: 13.6px; border-radius: 6px; }
.logo--sm .logo__mark svg { width: 4.4px; height: 4.4px; top: 3.5px; right: 3.5px; }
.logo--sm .logo__word { font-size: 19px; }

/* --- Button --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-standard),
              background var(--dur) var(--ease-standard),
              box-shadow var(--dur) var(--ease-standard);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-sm {
  min-height: clamp(34px, 10vw, 38px);
  padding: 0 clamp(12px, 4vw, 16px);
  font-size: clamp(13px, 3.6vw, 15px);
}
.btn-sm .icon { width: clamp(14px, 4vw, 16px); height: clamp(14px, 4vw, 16px); }
.btn-md {
  min-height: clamp(42px, 13vw, 50px);
  padding: 0 clamp(16px, 5.5vw, 22px);
  font-size: clamp(14px, 4.2vw, 17px);
}
.btn-md .icon { width: clamp(16px, 4.5vw, 18px); height: clamp(16px, 4.5vw, 18px); }
.btn-lg {
  min-height: clamp(48px, 15vw, 58px);
  padding: 0 clamp(18px, 7vw, 28px);
  font-size: clamp(16px, 5vw, 20px);
  gap: clamp(6px, 2vw, 10px);
}
.btn-lg .icon { width: clamp(17px, 5vw, 20px); height: clamp(17px, 5vw, 20px); }
.btn-block { width: 100%; }

@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
}

.btn-primary { background: var(--action); color: var(--action-text); box-shadow: var(--shadow-sm); }
.btn-brand   { background: var(--brand); color: #FBFAF6; box-shadow: var(--shadow-sm); }
.btn-secondary {
  background: var(--surface); color: var(--text-primary);
  border-color: var(--border-strong); box-shadow: var(--shadow-sm);
}

/* --- Badge --- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.005em;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
}
.badge-md { height: 28px; padding: 0 11px; font-size: var(--fs-20); }
.badge-md .icon { width: 14px; height: 14px; }
.badge-sm { height: 22px; padding: 0 9px; font-size: var(--fs-10); }
.badge-sm .icon { width: 12px; height: 12px; }

.badge-neutral { background: var(--surface-soft); color: var(--text-secondary); }
.badge-norm    { background: var(--norm-bg); color: var(--norm); }
.badge-caution { background: var(--caution-bg); color: var(--caution); }

/* --- Avatar --- */
.avatar-stack { display: flex; }
.avatar-stack .avatar:not(:first-child) { margin-left: -14px; }
.avatar {
  position: relative;
  width: 44px; height: 44px;
  border-radius: var(--radius-circle);
  overflow: visible;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-strong);
  font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: 17px;
  flex: none;
}
.avatar--ring { border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--border-strong); }
.avatar__status {
  position: absolute; bottom: 0; right: 0;
  width: 12px; height: 12px;
  border-radius: 999px; border: 2px solid var(--surface);
  background: var(--norm);
}
.avatar__status--pro { background: var(--honey-500); }

/* --- Chip --- */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 12px;
  font-family: var(--font-sans);
  font-size: var(--fs-20); font-weight: var(--fw-semibold);
  white-space: nowrap;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  -webkit-tap-highlight-color: transparent;
}
.chip.is-selected {
  color: var(--action-text);
  background: var(--action);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* --- Input --- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label {
  font-family: var(--font-sans); font-size: var(--fs-30);
  font-weight: var(--fw-semibold); color: var(--text-secondary);
}
.field__control {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 16px;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field__control:focus-within { border-color: var(--brand); box-shadow: var(--shadow-focus); }
.field.has-error .field__control { border-color: var(--danger); }
.field__control input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: var(--fs-40); color: var(--text-primary);
}
.field__hint { display: none; font-family: var(--font-sans); font-size: var(--fs-20); color: var(--text-tertiary); }
.field.has-error .field__hint { display: block; color: var(--danger); }

/* --- Stat + RangeDots --- */
.stat { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.stat__value-row { display: flex; align-items: baseline; gap: 8px; }
.stat__value {
  font-family: var(--font-serif); font-size: var(--fs-90); font-weight: var(--fw-regular);
  line-height: 1; letter-spacing: -0.02em; color: var(--text-primary);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__unit { font-family: var(--font-serif); font-size: var(--fs-50); color: var(--text-tertiary); font-weight: var(--fw-regular); }

.range-dots { width: 100%; }
.range-dots__row { display: flex; align-items: center; gap: 3px; justify-content: space-between; }
.range-dots__dot { width: 4px; height: 4px; border-radius: 999px; flex: 1 1 0; max-width: 5px; background: var(--warm-300); opacity: 0.5; }
.range-dots__dot.is-near { background: var(--honey-500); }
.range-dots__labels { display: flex; justify-content: space-between; margin-top: 8px; }
.range-dots__labels span { font-family: var(--font-sans); font-size: var(--fs-20); font-weight: var(--fw-medium); color: var(--text-tertiary); }

/* ============================================================
   7. Вёрстка страницы
   ============================================================ */
body { font-family: var(--font-sans); color: var(--text-primary); min-height: 100vh; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,250,246,0.74);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  max-width: 1240px; margin: 0 auto;
  padding: 13px clamp(16px,3vw,28px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nl {
  color: var(--text-secondary); font-weight: 600; font-size: 15px;
  padding: 8px 13px; border-radius: 999px;
  transition: color .2s, background .2s; cursor: pointer;
}
.nl:hover { color: var(--text-primary); background: var(--surface-soft); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  html, body { scroll-behavior: auto; }
}

/* anchor offset so sticky header doesn't cover section tops */
#features, #doctors, #cta { scroll-margin-top: 76px; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(46% 40% at 50% 0%, rgba(224,163,64,0.16), transparent 68%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 1120px; margin: 0 auto;
  padding: clamp(32px,4.5vw,64px) clamp(16px,3vw,28px) clamp(44px,5vw,76px);
  text-align: center;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-strong); }
.hero h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(36px,5vw,62px); line-height: 1.04; letter-spacing: -0.025em;
  margin: 16px auto 0; max-width: 900px; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--brand-strong); }
.hero__lead {
  font-size: clamp(16px,1.3vw,20px); line-height: 1.5; color: var(--text-secondary);
  margin: 20px auto 0; max-width: 620px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }

.hero__demo {
  display: flex; flex-wrap: wrap; gap: clamp(24px,3vw,40px);
  justify-content: center; align-items: center;
  margin-top: clamp(34px,4vw,56px); text-align: left;
}
.hero__calc-col { flex: 0 1 416px; min-width: 290px; width: 100%; max-width: 440px; }
.hero__calc-hint {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px;
  color: var(--text-tertiary); font-size: 13px; font-weight: 600;
}
.hero__calc-hint .icon { width: 15px; height: 15px; }
.hero__points { flex: 0 1 300px; min-width: 250px; display: flex; flex-direction: column; gap: 14px; }
.hero__point { display: flex; gap: 13px; align-items: flex-start; }
.hero__point-icon {
  flex: none; width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__point-icon .icon { width: 21px; height: 21px; }
.hero__point-title { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.hero__point-text { font-size: 14px; color: var(--text-tertiary); margin-top: 2px; }

/* dose calculator card */
.dose-card {
  width: 100%; box-sizing: border-box;
  background: linear-gradient(180deg,#FBF1E0 0%, var(--surface) 68%);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 20px;
  font-family: var(--font-sans);
}
.dose-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dose-card__head .t-label { color: var(--honey-700); }
.dose-card__head .icon { width: 12px; height: 12px; }
.dose-card__name { margin-top: 12px; }
.dose-card__name-title {
  font-family: var(--font-serif); font-weight: 500; font-size: 22px;
  letter-spacing: -0.01em; color: var(--text-primary); line-height: 1.1;
}
.dose-card__name-sub { font-family: var(--font-mono); font-size: 12px; color: var(--text-tertiary); margin-top: 3px; }

.dose-card__slider-box {
  margin-top: 18px; padding: 14px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.dose-card__slider-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dose-card__weight {
  font-family: var(--font-serif); font-weight: 500; font-size: 26px;
  letter-spacing: -0.01em; color: var(--brand-strong); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.dose-card__track {
  position: relative; height: 28px; margin: 12px 0 2px;
  cursor: pointer; touch-action: none;
}
.dose-card__track-bg {
  position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px;
  background: var(--warm-200); border-radius: 999px;
}
.dose-card__track-fill {
  position: absolute; left: 0; top: 50%; height: 6px; margin-top: -3px;
  background: var(--brand); border-radius: 999px; pointer-events: none;
}
.dose-card__thumb {
  position: absolute; top: 50%; width: 26px; height: 26px;
  margin-left: -13px; margin-top: -13px;
  border-radius: 50%; background: var(--warm-900); border: 3px solid var(--warm-0);
  box-shadow: var(--shadow-sm); cursor: grab; pointer-events: none;
  transition: left 90ms var(--ease-out);
}
.dose-card__track.is-dragging .dose-card__thumb { transition: none; cursor: grabbing; }
.dose-card__slider-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.dose-card__slider-bottom .t-caption { display: inline-flex; align-items: center; gap: 5px; color: var(--text-tertiary); }
.dose-card__slider-bottom .icon { width: 13px; height: 13px; }
.dose-card__presets { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }

.dose-card__stat { margin-top: 18px; }
.dose-card__stat .stat__label { margin-bottom: 0; }

.dose-card__foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 8px;
}
.dose-card__foot-value { font-family: var(--font-mono); font-weight: 600; font-size: 16px; margin-top: 5px; color: var(--text-primary); }

/* problem section */
.problem {
  position: relative; overflow: hidden;
  background: var(--bg-sunken);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.problem__inner { max-width: 1080px; margin: 0 auto; padding: clamp(56px,8vw,116px) clamp(16px,3vw,28px); position: relative; }
.problem__bignum {
  position: absolute; right: -1%; top: -16%;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(190px,32vw,420px); color: var(--warm-200); opacity: 0.55;
  line-height: 0.8; z-index: 0; pointer-events: none; user-select: none; letter-spacing: -0.04em;
}
.problem__content { position: relative; z-index: 1; max-width: 720px; }
.problem__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--honey-700); }
.problem__eyebrow .icon { width: 15px; height: 15px; }
.problem h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px,4.3vw,52px);
  line-height: 1.08; letter-spacing: -0.02em; margin: 16px 0 0; text-wrap: balance;
}
.problem h2 em { font-style: italic; color: var(--brand-strong); }
.problem p { font-size: clamp(17px,1.45vw,21px); line-height: 1.6; color: var(--text-secondary); margin: 24px 0 0; max-width: 660px; }

/* features section */
.features { padding: clamp(56px,8vw,108px) clamp(16px,3vw,28px); }
.features__inner { max-width: 1200px; margin: 0 auto; }
.features__head { max-width: 680px; margin-bottom: clamp(30px,4vw,52px); }
.features__head .t-label { color: var(--brand-strong); }
.features__head h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px,4.2vw,50px);
  line-height: 1.06; letter-spacing: -0.02em; margin: 12px 0 0; text-wrap: balance;
}
.features__head p { font-size: clamp(16px,1.3vw,19px); line-height: 1.55; color: var(--text-secondary); margin: 16px 0 0; }

.bento { display: grid; grid-template-columns: repeat(6,1fr); gap: clamp(14px,1.5vw,20px); }
.b-tall { grid-column: span 3; grid-row: span 2; }
.b-half { grid-column: span 3; }
@media (max-width: 840px) { .bento { grid-template-columns: 1fr; } .b-tall, .b-half { grid-column: auto; grid-row: auto; } }

.feat {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  padding: clamp(22px,2.4vw,30px);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feat--tall { display: flex; flex-direction: column; }
.feat__icon-tile { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px; }
.feat__icon-tile .icon { width: 26px; height: 26px; }
.feat__icon-tile--sm { width: 48px; height: 48px; border-radius: 15px; }
.feat__icon-tile--sm .icon { width: 24px; height: 24px; }
.feat h3 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(23px,2.1vw,30px);
  letter-spacing: -0.015em; line-height: 1.12; margin: 20px 0 0;
}
.feat--half h3 { font-size: clamp(21px,1.9vw,27px); margin: 18px 0 0; }
.feat p { font-size: 16px; line-height: 1.55; color: var(--text-secondary); margin: 12px 0 0; }
.feat--half p { font-size: 15px; margin: 10px 0 0; max-width: 460px; }
.feat__badges { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.feat__split { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.feat__split-main { flex: 1 1 auto; }
.feat__split-side {
  flex: none; text-align: right; padding-left: 8px; border-left: 1px solid var(--hairline);
  align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 96px;
}
.feat__big-num { font-family: var(--font-serif); font-weight: 500; font-size: 34px; line-height: 1; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.feat__big-num small { font-size: 15px; color: var(--text-tertiary); }
.feat__split-side .badge { margin-top: 8px; justify-content: flex-end; }
.feat__split-side-badge-row { margin-top: 8px; display: flex; justify-content: flex-end; }

.feat__doc-row {
  margin-top: 18px; display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; background: var(--bg-sunken); border-radius: var(--radius-md);
}
.feat__doc-row .icon { width: 17px; height: 17px; color: var(--text-tertiary); }
.feat__doc-row span.mono { font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); flex: 1 1 auto; }

/* doctors section */
.doctors { padding: clamp(56px,8vw,108px) clamp(16px,3vw,28px); background: var(--bg-sunken); border-top: 1px solid var(--hairline); }
.doctors__inner { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,72px); align-items: center; }
.doctors__text { flex: 1 1 440px; min-width: 296px; }
.doctors__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-strong); }
.doctors__eyebrow .icon { width: 15px; height: 15px; }
.doctors__text h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(29px,4vw,48px);
  line-height: 1.08; letter-spacing: -0.02em; margin: 14px 0 0; text-wrap: balance;
}
.doctors__text p { font-size: clamp(16px,1.4vw,20px); line-height: 1.6; color: var(--text-secondary); margin: 20px 0 0; max-width: 560px; }
.doctors__avatars { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.doctors__avatars-caption { font-size: 14px; line-height: 1.4; color: var(--text-tertiary); max-width: 230px; }

.doctors__stats { flex: 1 1 320px; min-width: 280px; }
.doctors__stats-card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
  padding: clamp(24px,2.6vw,34px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,2.4vw,30px);
}
.doctors__stat-num {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(34px,3.4vw,46px);
  line-height: 1; letter-spacing: -0.02em; color: var(--text-primary); font-variant-numeric: tabular-nums;
}
.doctors__stat-num--brand { color: var(--brand-strong); }
.doctors__stat-label { font-size: 13.5px; line-height: 1.4; color: var(--text-secondary); margin-top: 8px; }

/* cta / footer */
.cta { padding: clamp(48px,7vw,96px) clamp(16px,3vw,28px) clamp(28px,3vw,44px); }
.cta__inner { max-width: 1120px; margin: 0 auto; }
.cta__panel {
  position: relative; overflow: hidden;
  background: var(--warm-900); color: var(--warm-50);
  border-radius: clamp(26px,3vw,40px);
  padding: clamp(32px,4.5vw,68px);
}
.cta__glow {
  position: absolute; inset: 0;
  background: radial-gradient(44% 62% at 90% 8%, rgba(45,150,144,0.30), transparent 64%),
              radial-gradient(38% 50% at 6% 100%, rgba(224,163,64,0.20), transparent 66%);
  pointer-events: none;
}
.cta__row { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: clamp(28px,4vw,56px); align-items: center; justify-content: space-between; }
.cta__text { flex: 1 1 380px; min-width: 280px; }
.cta__text .t-label { color: var(--honey-300); }
.cta__text h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px,4vw,50px);
  line-height: 1.06; letter-spacing: -0.02em; margin: 12px 0 0; color: var(--warm-50); text-wrap: balance;
}
.cta__text h2 em { font-style: italic; color: var(--teal-300); }
.cta__text p { font-size: clamp(16px,1.35vw,19px); line-height: 1.55; color: rgba(242,239,229,0.74); margin: 18px 0 0; max-width: 460px; }
.cta__bullets { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.cta__bullet { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(242,239,229,0.82); }
.cta__bullet .icon { width: 17px; height: 17px; }
.cta__bullet--check .icon { color: var(--teal-300); }
.cta__bullet--star .icon { color: var(--honey-300); }

.cta__card {
  flex: 1 1 356px; min-width: 280px;
  background: var(--surface); color: var(--text-primary);
  border-radius: var(--radius-xl); padding: clamp(22px,2.4vw,30px);
  box-shadow: 0 24px 54px rgba(26,26,22,0.30);
}
.cta__card-label { color: var(--text-tertiary); margin-bottom: 14px; }
.cta__divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; }
.cta__divider span:not(.cta__divider-text) { flex: 1; height: 1px; background: var(--border); }
.cta__divider-text { font-size: 12px; color: var(--text-tertiary); font-weight: 600; }
.cta__fineprint { font-size: 12px; line-height: 1.5; color: var(--text-tertiary); margin: 14px 0 0; text-align: center; }

.cta__success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 14px 6px; }
.cta__success.is-visible { display: flex; }
.cta__success-icon {
  display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--norm-bg); color: var(--norm);
}
.cta__success-icon .icon { width: 30px; height: 30px; }
.cta__success h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin: 16px 0 0; letter-spacing: -0.01em; }
.cta__success p { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); margin: 8px 0 0; }
.cta__success strong { color: var(--text-primary); }

.cta__form-wrap.is-hidden { display: none; }

.cta__footer-row {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  margin-top: 26px; padding: 0 6px;
}
.cta__footer-copy { font-size: 13px; color: var(--text-tertiary); margin: 0; }
.cta__footer-copy a { color: var(--text-secondary); font-weight: 600; }
