/* =========================================================
   Твой доктор онлайн — design tokens & base
   ========================================================= */

:root{
  /* --- color: brand-derived, blue medical spectrum + mint accent --- */
  --ink:        #001F41;
  --ink-2:      #06305C;
  --ink-3:      #0B3E73;
  --ocean:      #0B63B3;
  --ocean-2:    #1478D4;
  --sky:        #48A7E0;
  --sky-light:  #BFE1F6;
  --mint:       #12B076;
  --mint-light: #CFF3E3;
  --paper:      #F5F9FC;
  --cloud:      #EAF3FB;
  --white:      #FFFFFF;

  --text:       #0B1E33;
  --text-soft:  rgba(11,30,51,.62);
  --text-faint: rgba(11,30,51,.42);
  --on-ink:     #EAF3FB;
  --on-ink-soft: rgba(234,243,251,.68);
  --line:       rgba(11,30,51,.09);
  --line-ink:   rgba(234,243,251,.14);

  --grad-brand: linear-gradient(115deg, var(--ocean) 0%, var(--sky) 60%, var(--mint) 130%);
  --grad-ink:   linear-gradient(175deg, #06305C 0%, #001730 78%, #001126 100%);
  --grad-glow:  radial-gradient(60% 60% at 50% 40%, rgba(72,167,224,.35) 0%, rgba(72,167,224,0) 70%);

  /* --- type --- */
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Golos Text', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* --- spacing / radius / shadow --- */
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(0,31,65,.06);
  --shadow-md: 0 12px 32px -8px rgba(0,31,65,.18);
  --shadow-lg: 0 30px 60px -20px rgba(0,31,65,.35);
  --shadow-glow: 0 8px 40px -6px rgba(72,167,224,.45);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);

  --container: 1240px;
  --edge: clamp(20px, 5vw, 64px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p{ margin: 0; }

::selection{ background: var(--mint); color: var(--white); }

:focus-visible{
  outline: 2.5px solid var(--ocean-2);
  outline-offset: 3px;
  border-radius: 6px;
}

section[id], footer[id]{ scroll-margin-top: 90px; }

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--edge);
}

.section{
  position: relative;
  padding-block: clamp(64px, 10vw, 128px);
}
.section--tight{ padding-block: clamp(48px, 7vw, 88px); }
.section--ink{
  background: var(--grad-ink);
  color: var(--on-ink);
  isolation: isolate;
}
.section--cloud{ background: var(--cloud); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ocean);
  font-weight: 500;
  margin-bottom: 16px;
}
.section--ink .eyebrow{ color: var(--sky); }
.eyebrow::before{
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}

.h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section--ink .h1{ color: var(--white); }

.h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section--ink .h2{ color: var(--white); }

.h3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.25;
  color: var(--ink);
}
.section--ink .h3{ color: var(--white); }

.lede{
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 46ch;
}
.section--ink .lede{ color: var(--on-ink-soft); }

.section-head{
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head.center{ margin-inline: auto; text-align: center; }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  --pad-y: 17px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s;
  will-change: transform;
}
.btn svg{ width: 18px; height: 18px; }
.btn:active{ transform: scale(.97); }

.btn--primary{
  background: var(--grad-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover{
  background-position: 100% 50%;
  box-shadow: 0 14px 40px -6px rgba(18,176,118,.5);
  transform: translateY(-2px);
}

.btn--ghost{
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover{ border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); }

.section--ink .btn--ghost{
  background: transparent;
  color: var(--white);
  border-color: var(--line-ink);
}
.section--ink .btn--ghost:hover{ border-color: var(--sky); color: var(--sky); }

.btn--sm{ --pad-y: 12px; font-size: 14px; padding-inline: 20px; }

.btn--block{ width: 100%; }

/* =========================================================
   Nav
   ========================================================= */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 18px;
  transition: padding .35s var(--ease-out), background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  padding-block: 12px;
  background: rgba(245,249,252,.78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__brand img{ width: 38px; height: 38px; }
.nav__brand-word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
  color: var(--ink);
}
.nav__brand-word b{ display:block; font-weight: 600; color: var(--mint); }

.nav__links{
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255,255,255,.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}
.nav.is-scrolled .nav__links{ background: transparent; border-color: transparent; }
.nav__links a{
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  transition: background .25s, color .25s;
}
.nav__links a:hover{ background: var(--cloud); color: var(--ink); }

.nav__cta{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__burger{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.nav__burger svg{ width: 20px; height: 20px; }

.mobile-menu{
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px var(--edge) 22px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.is-open{ display: flex; }
.mobile-menu a{
  padding: 13px 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn{ border-bottom: none; margin-top: 10px; justify-content: center; }
@media (min-width: 1081px){ .mobile-menu{ display: none !important; } }

/* =========================================================
   Pills — the recurring signature motif
   ========================================================= */
.pill-field{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.pill{
  position: absolute;
  width: var(--w, 64px);
  height: calc(var(--w, 64px) / 2);
  color: var(--c, var(--sky));
  opacity: var(--o, .9);
  will-change: transform;
}
.pill svg{
  width: 100%; height: 100%;
  filter: drop-shadow(0 10px 18px rgba(0,31,65,.15));
  animation: pill-bob var(--dur, 7s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes pill-bob{
  0%, 100%{ transform: translateY(0) rotate(var(--rot, 0deg)); }
  50%{ transform: translateY(-16px) rotate(calc(var(--rot, 0deg) + 6deg)); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position: relative;
  padding-top: clamp(120px, 16vw, 176px);
  padding-bottom: clamp(64px, 8vw, 96px);
  overflow: clip;
}
.hero::before{
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: min(60vw, 820px);
  height: min(60vw, 820px);
  background: var(--grad-glow);
  z-index: 0;
}
.hero__grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(32px, 5vw, 48px);
  align-items: center;
}
.hero__copy{ max-width: 620px; }
.hero__title{ margin-bottom: 22px; }
.hero__title em{
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede{ margin-bottom: 36px; }

.hero__actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.hero__stats{
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
}
.stat{ display: flex; flex-direction: column; gap: 2px; }
.stat b{
  font-family: var(--font-mono);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em;
}
.stat span{ font-size: 13.5px; color: var(--text-faint); }

/* --- price widget: the interactive signature piece --- */
.price-card{
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.price-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.price-card__label{
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
}
.price-card__badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint-light);
  color: #0A7A50;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
}
.price-card__badge svg{ width: 13px; height: 13px; }

.price-card__amount{
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1;
  margin-bottom: 6px;
}
.price-card__amount .unit{ font-size: .36em; color: var(--text-faint); font-weight: 500; margin-left: 2px; }

.price-card__hint{ font-size: 13.5px; color: var(--text-faint); margin-bottom: 22px; }

.price-slider{
  position: relative;
  height: 48px;
  margin-bottom: 8px;
}
.price-slider input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 48px;
  background: transparent;
  margin: 0;
  position: relative;
  z-index: 2;
}
.price-slider__track{
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 10px;
  transform: translateY(-50%);
  border-radius: var(--radius-full);
  background: var(--cloud);
  overflow: hidden;
}
.price-slider__fill{
  position: absolute; inset: 0;
  width: var(--fill, 40%);
  background: var(--grad-brand);
  border-radius: var(--radius-full);
}
.price-slider input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--ocean-2);
  box-shadow: 0 6px 16px rgba(0,31,65,.25);
  cursor: grab;
  position: relative;
  z-index: 3;
  margin-top: 0;
}
.price-slider input[type="range"]::-moz-range-thumb{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--ocean-2);
  box-shadow: 0 6px 16px rgba(0,31,65,.25);
  cursor: grab;
}
.price-slider input[type="range"]::-moz-range-track{ background: transparent; }

.price-card__scale{
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.price-card__bids{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  min-height: 108px;
}
.bid{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--paper);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(6px);
  animation: bid-in .5s var(--ease-out) forwards;
}
@keyframes bid-in{ to{ opacity: 1; transform: translateY(0); } }
.bid__avatar{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
  overflow: hidden;
  display: flex; align-items:center; justify-content:center;
  color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 600;
}
.bid__avatar img{ width: 100%; height: 100%; object-fit: cover; }
.bid__name{ font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bid__role{ font-size: 12px; color: var(--text-faint); }
.bid__price{
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  color: #0A7A50;
}

.price-card__cta{ width: 100%; justify-content: center; }

.hero__visual{
  position: relative;
  aspect-ratio: 1 / 1.02;
}

/* =========================================================
   Marquee ticker
   ========================================================= */
.marquee{
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding-block: 20px;
}
.marquee__track{
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.marquee__item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee__item svg{ width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; }

/* =========================================================
   How it works
   ========================================================= */
.steps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.step{
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.step:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.step__icon{
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--cloud);
  color: var(--ocean);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step__icon svg{ width: 22px; height: 22px; }
.step h3{ margin-bottom: 8px; }
.step p{ font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }

/* =========================================================
   Price mechanic deep-dive
   ========================================================= */
.mechanic{
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.mechanic__flow{ display: flex; flex-direction: column; gap: 0; }
.mflow-item{
  display: flex;
  gap: 18px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.mflow-item:last-child{ border-bottom: 1px solid var(--line); }
.mflow-item__idx{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sky);
  flex-shrink: 0;
  width: 28px;
  padding-top: 3px;
}
.mflow-item h3{ margin-bottom: 6px; }
.mflow-item p{ font-size: 14.5px; color: var(--text-soft); }

.mock{
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  max-width: 420px;
}
.mock__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 18px; }
.mock__head span{ font-size: 13px; color: var(--text-faint); font-weight: 600; }
.mock__pill-row{ display:flex; gap:8px; }
.mock__dot{ width:8px; height:8px; border-radius:50%; background: var(--line); }

/* --- photo-frame: real photography moment --- */
.photo-frame{
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 6/7;
}
.photo-frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame__caption{
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(11,30,51,.55);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.photo-frame__caption svg{ width: 20px; height: 20px; color: var(--mint); flex-shrink: 0; }
.photo-frame__caption p{ color: #fff; font-size: 13.5px; line-height: 1.4; }
.photo-frame__caption b{ display: block; font-size: 14.5px; margin-bottom: 1px; }

/* =========================================================
   Specialists — real portrait cards
   ========================================================= */
.specialists-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.portrait-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.portrait-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portrait-card__photo{
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 16px;
}
.portrait-card__photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-card__rating{
  position: absolute;
  top: 12px; right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.portrait-card__rating svg{ width: 12px; height: 12px; color: #F5A623; }
.portrait-card__body{ padding: 4px 8px 10px; }
.portrait-card__body h3{ margin-bottom: 3px; }
.portrait-card__role{ font-size: 13.5px; color: var(--text-faint); margin-bottom: 12px; }
.portrait-card__tags{ display: flex; flex-wrap: wrap; gap: 6px; }
.portrait-card__tags span{
  font-size: 12px;
  font-weight: 500;
  color: var(--ocean);
  background: var(--cloud);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}
.portrait-card--cta{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 28px;
  background: var(--cloud);
  box-shadow: none;
}
.portrait-card--cta h3{ margin-bottom: 8px; }
.portrait-card--cta p{ font-size: 14px; color: var(--text-soft); margin-bottom: 20px; }

/* =========================================================
   For doctors (ink section)
   ========================================================= */
.doctors-split{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.85fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.perk-list{ display: flex; flex-direction: column; gap: 22px; margin-block: 32px; }
.perk{ display: flex; gap: 16px; align-items: flex-start; }
.perk__icon{
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(72,167,224,.14);
  color: var(--sky);
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}
.perk__icon svg{ width: 19px; height: 19px; }
.perk h3{ color: var(--white); font-size: 16.5px; margin-bottom: 4px; }
.perk p{ color: var(--on-ink-soft); font-size: 14px; }

.earn-card{
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px,3vw,34px);
  backdrop-filter: blur(6px);
}
.earn-card__row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px;
  border-top: 1px solid var(--line-ink);
}
.earn-card__row:first-of-type{ border-top: none; }
.earn-card__row span{ color: var(--on-ink-soft); font-size: 14px; }
.earn-card__row b{ font-family: var(--font-mono); color: var(--white); font-size: 15px; }
.earn-card__total{
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.earn-card__total span{ color: var(--sky); font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.earn-card__total b{ font-family: var(--font-mono); color: var(--mint); font-size: 26px; }

/* =========================================================
   Why us — bento
   ========================================================= */
.bento{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  grid-auto-rows: minmax(160px, auto);
  gap: 18px;
}
.bento-card{
  position: relative;
  grid-column: span 2;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.bento-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
.bento-card--lg{ grid-column: span 2; grid-row: span 2; }
.bento-card--wide{ grid-column: span 4; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px;}
.bento-card__icon{
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--cloud);
  color: var(--ocean);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.bento-card--lg .bento-card__icon{ width: 56px; height: 56px; }
.bento-card__icon svg{ width: 22px; height: 22px; }
.bento-card h3{ margin-bottom: 8px; }
.bento-card p{ font-size: 14.5px; color: var(--text-soft); max-width: 40ch; }
.bento-card--dark{ background: var(--grad-ink); border-color: transparent; }
.bento-card--dark h3{ color: var(--white); }
.bento-card--dark p{ color: var(--on-ink-soft); }
.bento-card--dark .bento-card__icon{ background: rgba(255,255,255,.1); color: var(--sky); }

/* =========================================================
   Specialties pill cloud
   ========================================================= */
.chip-cloud{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: transform .3s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.chip:hover{
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-3px) rotate(-1deg);
}
.chip--ghost{
  background: transparent;
  border-style: dashed;
  color: var(--text-faint);
}

/* =========================================================
   App download
   ========================================================= */
.appdl{
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.8fr);
  gap: clamp(32px,5vw,56px);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.store-row{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  transition: transform .3s var(--ease-out), background .3s;
}
.store-badge:hover{ transform: translateY(-3px); background: var(--ocean); }
.store-badge svg{ width: 22px; height: 22px; }
.store-badge__text{ display: flex; flex-direction: column; line-height: 1.2; }
.store-badge__text span{ font-size: 10.5px; opacity: .75; }
.store-badge__text b{ font-size: 15px; font-weight: 600; }

.phone-mock{
  position: relative;
  margin-inline: auto;
  width: min(100%, 240px);
  aspect-ratio: 9/18.5;
  background: var(--ink);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}
.phone-mock__screen{
  width: 100%; height: 100%;
  border-radius: 24px;
  background: linear-gradient(175deg, var(--sky-light), var(--white) 55%);
  overflow: hidden;
  position: relative;
  padding: 18px 14px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list{ display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq-item{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item__q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.faq-item__q svg{
  width: 20px; height: 20px;
  color: var(--ocean);
  flex-shrink: 0;
  transition: transform .35s var(--ease-out);
}
.faq-item[data-open="true"] .faq-item__q svg{ transform: rotate(180deg); }
.faq-item__a{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease-out);
}
.faq-item[data-open="true"] .faq-item__a{ grid-template-rows: 1fr; }
.faq-item__a-inner{ overflow: hidden; }
.faq-item__a p{
  padding: 0 26px 24px;
  font-size: 14.5px;
  color: var(--text-soft);
  max-width: 62ch;
}

/* =========================================================
   Final CTA
   ========================================================= */
.cta-banner{
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--grad-ink);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner__glow{
  position: absolute;
  inset: -20%;
  background: radial-gradient(45% 55% at 50% 0%, rgba(72,167,224,.4), transparent 70%);
  z-index: -1;
}
.cta-banner .eyebrow{ color: var(--sky); }
.cta-banner .h2{ color: var(--white); }
.cta-banner .lede{ color: var(--on-ink-soft); margin-inline: auto; margin-bottom: 36px; }
.cta-banner__actions{ display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.footer{
  background: var(--ink);
  color: var(--on-ink-soft);
  padding-block: clamp(56px, 7vw, 80px) 28px;
}
.footer__top{
  display: grid;
  grid-template-columns: minmax(0,1.3fr) repeat(3, minmax(0,.85fr));
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-ink);
}
.footer__brand-word{ font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 16px; margin-block: 14px 10px; }
.footer__brand-word b{ color: var(--mint); }
.footer p.small{ font-size: 13.5px; line-height: 1.6; max-width: 42ch; color: var(--on-ink-soft); }
.footer__col h4{ color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 18px; }
.footer__col ul{ display: flex; flex-direction: column; gap: 12px; }
.footer__col a{ font-size: 14.5px; color: var(--on-ink-soft); transition: color .25s; }
.footer__col a:hover{ color: var(--sky); }
.footer__legal{
  padding-top: 28px;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(234,243,251,.4);
  max-width: 90ch;
}
.footer__bottom{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(234,243,251,.45);
}
.footer__socials{ display: flex; gap: 10px; }
.footer__socials a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-ink);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.footer__socials a:hover{ background: rgba(255,255,255,.08); border-color: var(--sky); }
.footer__socials svg{ width: 16px; height: 16px; }

/* =========================================================
   Reveal-on-scroll base state (JS adds .is-visible)
   ========================================================= */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
}
[data-reveal].is-visible{
  animation: reveal-up .8s var(--ease-out) forwards;
}
@keyframes reveal-up{
  to{ opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Legal / article pages
   ========================================================= */
.legal-hero{
  padding-top: clamp(120px, 15vw, 168px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.legal-hero .lede{ margin-top: 14px; }
.legal-hero .back-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ocean);
  margin-bottom: 22px;
}
.legal-hero .back-link svg{ width: 16px; height: 16px; transform: rotate(180deg); }
.legal-updated{ font-size: 13px; color: var(--text-faint); margin-top: 10px; font-family: var(--font-mono); }

.legal-article{ max-width: 760px; margin-inline: auto; padding-block: clamp(48px, 6vw, 72px); }
.legal-article h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  margin-top: 44px;
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.legal-article h2:first-child{ margin-top: 0; }
.legal-article p{
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.legal-article ul{
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}
.legal-article li{
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.legal-article strong{ color: var(--ink); font-weight: 600; }
.legal-note{
  background: var(--cloud);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 36px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px){
  .nav__links{ display: none; }
  .nav__cta > a.btn{ display: none; }
  .nav__burger{ display: flex; }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ max-width: 460px; margin-inline: auto; margin-top: 40px; }
  .doctors-split{ grid-template-columns: 1fr; }
  .mechanic{ grid-template-columns: 1fr; }
  .mechanic .mock{ margin-inline: auto; }
  .mechanic .photo-frame{ max-width: 420px; margin-inline: auto; }
  .specialists-grid{ grid-template-columns: 1fr 1fr; }
  .appdl{ grid-template-columns: 1fr; text-align: center; }
  .appdl .store-row{ justify-content: center; }
  .appdl .phone-mock{ order: -1; }
  .footer__top{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .steps{ grid-template-columns: 1fr 1fr; }
  .bento{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento-card{ grid-column: span 2 !important; grid-row: auto !important; }
  .bento-card--wide{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px){
  .steps{ grid-template-columns: 1fr; }
  .bento{ grid-template-columns: 1fr; }
  .bento-card{ grid-column: span 1 !important; grid-row: auto !important; }
  .specialists-grid{ grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
  .hero__stats{ gap: 22px; }
  .footer__top{ grid-template-columns: 1fr; gap: 36px; }
  .price-card{ padding: 20px; }
  .footer__bottom{ flex-direction: column; align-items: flex-start; }
}
