/* ═══════════════════════════════════════════════════════
   ПРИЧАЛ — платформа психологічної підтримки (demo by NextSora)
   Calm water palette + warm pastels; signature: the breathing water.
═══════════════════════════════════════════════════════ */
:root {
  --mist: #EEF2F0;
  --paper: #FFFFFF;
  --deep: #163A40;
  --deep-2: #0F2C31;
  --silt: #5B6F6C;
  --line: rgba(22, 58, 64, 0.12);
  --buoy: #E9A23B;
  --buoy-hover: #F2B356;

  --sage: #DCE8E1;
  --peach: #F6E3D3;
  --lilac: #E6E1F2;
  --sky: #DDE9F2;

  --serif: "Literata", Georgia, serif;
  --sans: "Golos Text", system-ui, sans-serif;

  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow: 0 30px 60px -30px rgba(22, 58, 64, 0.35);
  --shadow-sm: 0 12px 30px -16px rgba(22, 58, 64, 0.3);

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--mist); color: var(--deep); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2.5px solid var(--buoy); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-lead { color: var(--silt); font-size: 1.08rem; max-width: 34em; }
.stars { color: var(--buoy); letter-spacing: 1px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn-buoy { background: var(--buoy); color: #1f1806; box-shadow: 0 10px 24px -12px rgba(233,162,59,0.9); }
.btn-buoy:hover { background: var(--buoy-hover); }
.btn-quiet { background: var(--paper); color: var(--deep); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--deep); }

/* Crisis bar */
.crisis { background: var(--deep-2); color: rgba(238,242,240,0.8); font-size: 0.86rem; text-align: center; padding: 8px var(--gutter); }
.crisis a { color: #fff; font-weight: 600; text-underline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 32px;
  padding: 14px var(--gutter); background: rgba(238,242,240,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; letter-spacing: -0.01em; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.brand-mark circle { fill: var(--buoy); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 0.97rem; font-weight: 500; color: var(--silt); transition: color .2s; }
.nav-links a:hover { color: var(--deep); }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }

/* ─── HERO ─── */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(32px, 6vh, 72px) var(--gutter) clamp(48px, 8vh, 96px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero-lead { margin-top: 24px; font-size: 1.2rem; color: var(--silt); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.avatar-stack { display: flex; }
.avatar-stack img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--mist); margin-left: -12px; }
.avatar-stack img:first-child { margin-left: 0; }
.hero-trust p { font-size: 0.95rem; color: var(--silt); }
.hero-trust b { color: var(--deep); }

.hero-visual { position: relative; }
.hero-photo { border-radius: 44px 44px 44px 160px; overflow: hidden; aspect-ratio: 0.88; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: rgba(255,255,255,0.96); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  animation: floatIn .8s cubic-bezier(.2,.8,.2,1) both;
}
.fc-therapist { left: -40px; bottom: 56px; display: flex; gap: 12px; align-items: center; padding: 14px 18px 14px 14px; animation-delay: .35s; }
.fc-therapist img { width: 52px; height: 52px; border-radius: 50%; }
.fc-therapist b { display: block; font-size: 0.98rem; }
.fc-therapist span { display: block; font-size: 0.82rem; color: var(--silt); }
.fc-therapist em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 0.8rem; font-weight: 600; color: #22684f; background: #DFF1E8; padding: 3px 10px; border-radius: 99px; }
.fc-match { right: -24px; top: 48px; padding: 16px 20px; display: grid; animation-delay: .55s; }
.fc-match-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--deep); }
.fc-match span:last-child { font-size: 0.82rem; color: var(--silt); }
.fc-format { right: 28px; bottom: -18px; padding: 12px 18px; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 8px; animation-delay: .75s; }
.fc-format .dot { width: 9px; height: 9px; border-radius: 50%; background: #3fb07a; box-shadow: 0 0 0 4px rgba(63,176,122,0.2); }
@keyframes floatIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ─── NUMBERS ─── */
.numbers { padding: 8px 0 72px; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.numbers-grid > div { padding: 30px 28px; display: grid; gap: 6px; }
.numbers-grid > div + div { border-left: 1px solid var(--line); }
.numbers-grid b { font-family: var(--serif); font-weight: 600; font-size: 2.1rem; line-height: 1; }
.numbers-grid span { color: var(--silt); font-size: 0.93rem; line-height: 1.45; }

/* ─── TOPICS ─── */
.topics { padding: clamp(72px, 9vw, 120px) 0; }
.topic-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 190px; padding: 24px;
  border-radius: var(--r-md); text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tile svg { width: 34px; height: 34px; margin-bottom: auto; fill: none; stroke: var(--deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; margin-top: 28px; }
.tile span { font-size: 0.92rem; color: var(--silt); line-height: 1.45; }
.t-sage { background: var(--sage); } .t-peach { background: var(--peach); } .t-sky { background: var(--sky); } .t-lilac { background: var(--lilac); }

/* ─── MATCH QUIZ ─── */
.match { padding: clamp(72px, 9vw, 120px) 0; background: var(--deep); color: var(--mist); }
.match .section-lead { color: rgba(238,242,240,0.72); }
.match-grid { display: grid; grid-template-columns: 0.85fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.match-progress { list-style: none; counter-reset: q; margin-top: 40px; display: grid; gap: 16px; }
.match-progress li { counter-increment: q; display: flex; align-items: center; gap: 14px; color: rgba(238,242,240,0.6); transition: color .3s; }
.match-progress li::before {
  content: counter(q); width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 600;
  border: 1.5px solid rgba(238,242,240,0.3); transition: all .3s;
}
.match-progress li.is-current { color: #fff; font-weight: 600; }
.match-progress li.is-current::before { border-color: var(--buoy); background: var(--buoy); color: #1f1806; }
.match-progress li.is-done::before { content: "✓"; border-color: #7fc4a2; background: #7fc4a2; color: var(--deep); }
.match-safe { display: flex; gap: 10px; align-items: center; margin-top: 36px; font-size: 0.9rem; color: rgba(238,242,240,0.65); }
.match-safe svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; }

.quiz { background: var(--paper); color: var(--deep); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); min-height: 460px; display: flex; flex-direction: column; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5); }
.q-step { display: none; border: none; }
.q-step.is-active { display: block; animation: qIn .4s ease; }
@keyframes qIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q-step legend { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.2; margin-bottom: 26px; padding: 0; }
.q-step legend small { display: block; font-family: var(--sans); font-size: 0.9rem; color: var(--silt); margin-top: 6px; font-weight: 400; }
.q-sub { margin: 26px 0 12px; font-weight: 600; }
.q-options { display: grid; gap: 12px; }
.q-cols-3 { grid-template-columns: repeat(3, 1fr); }
.q-opt, .q-chip { position: relative; }
.q-opt input, .q-chip input { position: absolute; opacity: 0; pointer-events: none; }
.q-opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 68px; padding: 16px 12px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--mist);
  cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s, box-shadow .2s;
}
.q-opt span svg { width: 34px; height: 34px; fill: none; stroke: var(--deep); stroke-width: 1.6; stroke-linecap: round; }
.q-opt input:checked + span { border-color: var(--deep); background: #fff; box-shadow: 0 0 0 3px rgba(233,162,59,0.45); }
.q-opt input:focus-visible + span, .q-chip input:focus-visible + span { outline: 2.5px solid var(--buoy); outline-offset: 2px; }
.q-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.q-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--mist); cursor: pointer; font-weight: 500; transition: all .2s; }
.q-chip input:checked + span { background: var(--deep); color: #fff; border-color: var(--deep); }
.q-error { color: #b4532a; min-height: 1.4em; margin-top: 12px; font-size: 0.9rem; }
.q-nav { display: flex; gap: 12px; margin-top: auto; padding-top: 28px; }
.q-nav #quizNext { margin-left: auto; min-width: 140px; }
.q-result h3 { font-size: 1.7rem; }
.q-result-note { color: var(--silt); font-size: 0.9rem; margin: 6px 0 20px; }
.q-matches { display: grid; gap: 12px; margin-bottom: 22px; }
.q-match { display: grid; grid-template-columns: 60px 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; }
.q-match:first-child { border-color: var(--buoy); background: #FFF8EC; }
.q-match img { width: 60px; height: 60px; border-radius: 50%; grid-row: span 2; }
.q-match-name { font-weight: 600; }
.q-match-meta { font-size: 0.86rem; color: var(--silt); }
.q-match-score { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; text-align: right; line-height: 1; }
.q-match-score small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.75rem; color: var(--silt); margin-top: 4px; }
.q-match .btn { grid-column: 2 / -1; justify-self: start; min-height: 40px; padding: 0 18px; font-size: 0.92rem; margin-top: 6px; }

/* ─── CATALOG ─── */
.catalog { padding: clamp(72px, 9vw, 120px) 0; }
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; padding: 18px; background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.filters label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--silt); }
.filters select { height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--mist); font: 500 0.95rem var(--sans); color: var(--deep); cursor: pointer; }
.catalog-count { font-size: 0.9rem; color: var(--silt); margin: 6px 4px 16px; }
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--paper); border-radius: var(--r-lg); padding: 26px; display: grid; grid-template-columns: 96px 1fr; gap: 6px 20px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(22,58,64,0.4); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -28px rgba(22,58,64,0.45); }
.card-photo { width: 96px; height: 96px; border-radius: 28px; grid-row: span 2; }
.card h3 { font-size: 1.4rem; align-self: end; }
.card-role { color: var(--silt); font-size: 0.95rem; }
.card-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 0.9rem; color: var(--silt); }
.card-meta b { color: var(--deep); font-weight: 600; }
.card-bio { grid-column: 1 / -1; margin-top: 10px; font-size: 0.97rem; }
.card-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.card-tags span { font-size: 0.8rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--silt); }
.card-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.card-price { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.card-price small { font-family: var(--sans); font-weight: 400; font-size: 0.85rem; color: var(--silt); }
.card-slot { display: block; font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: #22684f; margin-top: 2px; }
.card-foot .btn { min-height: 46px; flex-shrink: 0; }
.people-empty { grid-column: 1 / -1; padding: 48px; text-align: center; background: var(--paper); border-radius: var(--r-lg); color: var(--silt); }
.people-empty .btn { margin-top: 16px; }

/* ─── BREATHE (signature) ─── */
.breathe { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: flex-start; justify-content: center; color: #fff; text-align: center; background: var(--deep); }
.breathe-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.breathe::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,44,49,0.55), rgba(15,44,49,0.15) 60%); }
.breathe-inner { position: relative; z-index: 2; max-width: 620px; padding: clamp(72px, 10vw, 120px) var(--gutter) 0; }
.breathe h2 { color: #fff; }
.breathe-inner > p:first-of-type { margin: 16px auto 30px; font-size: 1.12rem; color: rgba(255,255,255,0.88); }
.breath-cue { min-height: 1.4em; margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 2.6rem); opacity: 0; transition: opacity .5s; }
.breathing .breath-cue { opacity: 1; }
.breath-progress { width: 220px; height: 3px; margin: 16px auto 0; background: rgba(255,255,255,0.25); border-radius: 3px; opacity: 0; transition: opacity .4s; }
.breath-progress span { display: block; width: 0; height: 100%; background: var(--buoy); border-radius: 3px; }
.breathing .breath-progress { opacity: 1; }
.water { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 260px; --rise: 0px; }
.wave { transform-origin: 50% 100%; }
.wave-back { fill: rgba(220,232,225,0.45); transform: translateY(calc(var(--rise) * 0.45)); }
.wave-mid { fill: rgba(126,156,152,0.8); transform: translateY(calc(var(--rise) * 0.7)); }
.wave-front { fill: var(--mist); transform: translateY(var(--rise)); }

/* ─── STEPS ─── */
.steps { padding: clamp(72px, 9vw, 120px) 0; }
.step-list { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-list li { counter-increment: step; background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.step-list li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 16px; margin-bottom: 24px;
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; background: var(--sage);
}
.step-list li:nth-child(2)::before { background: var(--peach); }
.step-list li:nth-child(3)::before { background: var(--lilac); }
.step-list h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step-list p { color: var(--silt); }
.guarantee { display: flex; gap: 22px; align-items: center; margin-top: 18px; padding: 28px 32px; border-radius: var(--r-lg); background: var(--deep); color: var(--mist); }
.guarantee svg { width: 52px; height: 52px; flex-shrink: 0; fill: none; stroke: var(--buoy); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.guarantee b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; }
.guarantee p { color: rgba(238,242,240,0.75); margin-top: 4px; }

/* ─── APP ─── */
.app { padding: clamp(72px, 9vw, 120px) 0; background: linear-gradient(180deg, var(--mist), #E3ECE7); }
.app-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.phone { justify-self: center; width: 300px; padding: 12px; border-radius: 46px; background: var(--deep-2); box-shadow: 0 50px 90px -40px rgba(15,44,49,0.7); transform: rotate(-3deg); }
.phone-screen { border-radius: 36px; background: var(--mist); padding: 26px 18px 22px; display: grid; gap: 12px; min-height: 560px; }
.ph-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.ph-head img { width: 34px; height: 34px; border-radius: 50%; }
.ph-label { display: block; font-size: 0.72rem; color: var(--silt); margin-bottom: 6px; }
.ph-next { background: var(--deep); color: #fff; border-radius: 22px; padding: 16px; }
.ph-next .ph-label { color: rgba(255,255,255,0.65); }
.ph-next b { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; display: block; }
.ph-who { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.85); }
.ph-who img { width: 30px; height: 30px; border-radius: 50%; }
.ph-join { display: block; margin-top: 12px; text-align: center; background: var(--buoy); color: #1f1806; font-weight: 600; font-size: 0.85rem; padding: 10px; border-radius: 14px; }
.ph-mood, .ph-note { background: #fff; border-radius: 22px; padding: 14px 16px; }
.ph-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; height: 70px; }
.ph-bars i { display: block; border-radius: 6px; background: var(--sage); }
.ph-bars i:last-child { background: var(--buoy); }
.ph-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 6px; font-size: 0.65rem; color: var(--silt); text-align: center; }
.ph-note { font-family: var(--serif); font-style: italic; font-size: 0.88rem; line-height: 1.45; }
.app-list { list-style: none; display: grid; gap: 20px; margin-top: 34px; }
.app-list li { padding-left: 36px; position: relative; color: var(--silt); }
.app-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--buoy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' stroke='%231f1806' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.app-list b { display: block; color: var(--deep); font-weight: 600; }

/* ─── REVIEWS ─── */
.reviews { padding: clamp(72px, 9vw, 120px) 0; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.r-sage { background: var(--sage); } .r-peach { background: var(--peach); } .r-lilac { background: var(--lilac); }
.review blockquote { font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 0.86rem; color: var(--silt); }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; }
.review figcaption b { display: block; color: var(--deep); font-size: 0.95rem; }

/* ─── FAQ ─── */
.faq { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-lead { margin-top: 16px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: var(--mist); border-radius: var(--r-md); padding: 0 26px; transition: background .2s; }
.faq details[open] { background: var(--sage); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--silt); max-width: 40em; }

/* ─── FINAL CTA ─── */
.final { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--deep); }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,44,49,0.2), rgba(15,44,49,0.75)); z-index: 1; }
.final-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: clamp(96px, 13vw, 170px) var(--gutter); }
.final h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.final p { margin: 18px auto 34px; font-size: 1.15rem; color: rgba(255,255,255,0.88); }

/* ─── BOOKING DIALOG ─── */
.booking { border: none; border-radius: var(--r-lg); padding: 0; margin: auto; width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); background: var(--paper); color: var(--deep); box-shadow: 0 40px 100px -20px rgba(15,44,49,0.5); }
.booking::backdrop { background: rgba(15,44,49,0.5); }
.booking[open] { animation: qIn .3s ease; }
.booking-close-form { position: absolute; top: 14px; right: 14px; }
.booking-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--deep); }
.booking-body { padding: 32px; }
.booking-who { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-right: 44px; }
.booking-who img { width: 60px; height: 60px; border-radius: 20px; flex-shrink: 0; }
.booking-who b { display: block; font-weight: 600; }
.booking-who span { font-size: 0.88rem; color: var(--silt); }
.booking h2 { font-size: 1.6rem; margin-bottom: 18px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.slot { min-height: 60px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--mist); cursor: pointer; font: 600 0.98rem var(--sans); color: var(--deep); line-height: 1.25; }
.slot small { display: block; font-weight: 400; color: var(--silt); font-size: 0.8rem; }
.slot[aria-checked="true"] { border-color: var(--deep); background: var(--deep); color: #fff; }
.slot[aria-checked="true"] small { color: rgba(255,255,255,0.7); }
.booking-form { display: grid; gap: 16px; }
.booking-form label { display: grid; gap: 8px; font-weight: 600; font-size: 0.95rem; }
.booking-form input { height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--mist); font: 400 1rem var(--sans); color: var(--deep); }
.booking-form input:focus { outline: none; border-color: var(--deep); background: #fff; }
.booking-form input[aria-invalid="true"] { border-color: #b4532a; }
.booking-form .btn { justify-self: start; }
.form-status { min-height: 1.4em; font-size: 0.95rem; }
.form-status.ok { color: #22684f; }
.form-status.err { color: #b4532a; }

/* ─── FOOTER ─── */
.footer { background: var(--deep-2); color: rgba(238,242,240,0.7); padding: 56px 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; align-items: start; }
.brand-light { color: var(--mist); margin-bottom: 8px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a, .footer a { color: var(--mist); text-decoration: none; }
.footer-crisis a { text-decoration: underline; }
.footer-demo { margin-top: 12px; color: rgba(238,242,240,0.5); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; margin: 12px 0 24px; }
  .fc-therapist { left: -8px; }
  .fc-match { right: -8px; }
  .section-head, .match-grid, .faq-grid, .app-grid { grid-template-columns: 1fr; gap: 24px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid > div:nth-child(3) { border-left: none; }
  .numbers-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .match-progress { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
  .step-list, .review-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .app-grid .phone { order: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .crisis { font-size: 0.78rem; }
  .brand { font-size: 1.25rem; }
  .nav { gap: 12px; padding: 12px 16px; }
  .nav-cta { min-height: 40px; padding: 0 14px; font-size: 0.85rem; }
  .hero-actions .btn { width: 100%; }
  .hero-lead { font-size: 1.05rem; }
  .hero-photo { border-radius: 32px 32px 32px 110px; }
  .fc-therapist { left: 8px; bottom: 24px; padding: 10px 14px 10px 10px; }
  .fc-therapist img { width: 42px; height: 42px; }
  .fc-match { right: 8px; top: 16px; padding: 12px 14px; }
  .fc-match-num { font-size: 1.6rem; }
  .fc-format { right: 12px; bottom: -14px; font-size: 0.8rem; }
  .numbers-grid > div { padding: 20px 18px; }
  .numbers-grid b { font-size: 1.6rem; }
  .numbers-grid span { font-size: 0.82rem; }
  .topic-grid { gap: 10px; }
  .tile { min-height: 160px; padding: 18px; }
  .tile b { font-size: 1.08rem; margin-top: 18px; }
  .tile span { font-size: 0.82rem; }
  .q-cols-3 { grid-template-columns: 1fr; }
  .q-opt span { flex-direction: row; justify-content: flex-start; min-height: 58px; padding: 0 18px; }
  .q-opt span svg { width: 28px; height: 28px; }
  .q-match { grid-template-columns: 50px 1fr auto; }
  .q-match img { width: 50px; height: 50px; }
  .filters { padding: 14px; gap: 10px; }
  .card { grid-template-columns: 72px 1fr; padding: 20px; }
  .card-photo { width: 72px; height: 72px; border-radius: 22px; }
  .card h3 { font-size: 1.2rem; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .card-foot .btn { width: 100%; }
  .breathe { min-height: 560px; }
  .phone { width: 270px; }
  .phone-screen { min-height: 500px; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .booking-body { padding: 26px 20px; }
  .booking-form .btn { width: 100%; }
  .guarantee { flex-direction: column; align-items: flex-start; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wave { transform: none !important; }
}

/* fixes */
[hidden] { display: none !important; }
.match-intro .section-lead { margin-top: 18px; }
.section-head h2 + .section-lead, .faq-grid h2 + .section-lead { margin-top: 0; }
.app-text .section-lead, .faq-grid .section-lead { margin-top: 16px; }

/* Filters: selects must be able to shrink, or two columns push the page wider than the phone */
.filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filters label, .filters select { min-width: 0; width: 100%; }
@media (max-width: 960px) { .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ═══════════════════════════════════════════════════════
   V2: results chart, vetting funnel, prices, review strip,
   library, business, profile dialog, richer nav & footer
═══════════════════════════════════════════════════════ */
.nav-login { font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 10px 6px; }
.nav-login:hover { color: var(--silt); }

/* Results */
.results { padding: clamp(72px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.results-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.results h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.results .section-lead { margin-top: 18px; }
.results-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.results-facts li { background: var(--paper); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 4px; }
.results-facts b { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1; color: #22684f; }
.results-facts span { font-size: 0.92rem; color: var(--silt); line-height: 1.4; }
.results-chart { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 26px 26px 14px; box-shadow: var(--shadow); }
.results-chart figcaption { display: grid; gap: 2px; margin-bottom: 8px; }
.results-chart figcaption b { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.results-chart figcaption span { font-size: 0.85rem; color: var(--silt); }
.results-chart svg { width: 100%; height: auto; display: block; }
.results-chart .grid line { stroke: var(--line); stroke-dasharray: 4 6; }
.results-chart .axis text { font: 500 12px var(--sans); fill: #8a9b98; text-anchor: middle; }
.results-chart .axis text:nth-child(-n+4) { text-anchor: end; }
.results-chart .line { fill: none; stroke: #22684f; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2.2s cubic-bezier(.4,0,.2,1); }
.results-chart .area { fill: rgba(126,196,162,0.22); opacity: 0; transition: opacity 1s .9s; }
.results-chart .pt { fill: var(--buoy); stroke: #fff; stroke-width: 4; opacity: 0; transition: opacity .4s 2s; }
.results-chart.is-in .line { stroke-dashoffset: 0; }
.results-chart.is-in .area, .results-chart.is-in .pt { opacity: 1; }
.results-badge { position: absolute; right: 22px; top: 22px; background: #DFF1E8; color: #22684f; font-weight: 700; font-size: 0.88rem; padding: 7px 14px; border-radius: 99px; }

/* Vetting */
.vetting { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.vetting-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.vetting h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.vetting .section-lead { margin-top: 16px; }
.team-collage { position: relative; aspect-ratio: 1.05; max-width: 520px; width: 100%; justify-self: center; }
.team-collage::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: radial-gradient(circle at 30% 30%, var(--sage), var(--lilac) 70%); }
.tc { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-sm); }
.tc img { width: 100%; height: 100%; }
.tc1 { left: 8%; top: 6%; } .tc2 { left: 40%; top: 0; width: 26%; } .tc3 { right: 4%; top: 16%; }
.tc4 { left: 2%; top: 46%; width: 26%; } .tc5 { left: 34%; top: 38%; width: 34%; } .tc6 { right: 8%; top: 60%; width: 27%; }
.tc-badge { position: absolute; left: 30%; bottom: 4%; background: var(--deep); color: #fff; font-weight: 700; font-size: 0.95rem; padding: 10px 18px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.funnel { list-style: none; display: grid; gap: 14px; margin-top: 34px; }
.funnel li { position: relative; display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; overflow: hidden; background: var(--mist); }
.funnel li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--sage); border-radius: 18px; z-index: 0; }
.funnel li:last-child::before { background: var(--buoy); width: max(var(--w), 70px); }
.funnel b, .funnel span { position: relative; z-index: 1; }
.funnel b { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; }
.funnel span { font-size: 0.97rem; }

/* Prices */
.prices { padding: clamp(72px, 9vw, 120px) 0; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price-card h3 { font-size: 1.3rem; }
.pc-price { font-family: var(--serif); font-weight: 600; font-size: 2.3rem; line-height: 1.1; margin-top: 14px; }
.pc-price small { font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--silt); }
.pc-note { font-size: 0.9rem; color: var(--silt); margin-top: 4px; }
.price-card ul { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; font-size: 0.95rem; }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' stroke='%23163A40' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.price-card .btn { margin-top: auto; }
.price-card-accent { background: var(--deep); color: var(--mist); }
.price-card-accent .pc-price small, .price-card-accent .pc-note { color: rgba(238,242,240,0.7); }
.price-card-accent li::before { background-color: var(--buoy); }
.pc-flag { position: absolute; top: 20px; right: 20px; background: var(--buoy); color: #1f1806; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }

/* Review strip */
.review-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.review-strip::-webkit-scrollbar { display: none; }
.review-strip .review { scroll-snap-align: start; }
.r-sky { background: var(--sky); }
.strip-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--deep); transition: border-color .2s, background .2s; }
.round-btn:hover { border-color: var(--deep); }

/* Library */
.library { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.article img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: var(--r-md); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.article:hover img { transform: scale(1.02); }
.a-tag { align-self: flex-start; margin-top: 6px; font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: var(--sage); }
.article h3 { font-size: 1.3rem; line-height: 1.25; }
.article:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.article p { font-size: 0.9rem; color: var(--silt); }

/* Business */
.business { padding: clamp(56px, 7vw, 88px) 0; background: var(--deep); color: var(--mist); }
.business-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: center; }
.business h2 { color: #fff; font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.business p { margin-top: 12px; color: rgba(238,242,240,0.72); max-width: 32em; }
.business-list { list-style: none; display: grid; gap: 10px; }
.business-list li { padding-left: 28px; position: relative; }
.business-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--buoy); }

/* Profile dialog */
.profile { border: none; border-radius: var(--r-lg); padding: 0; margin: auto; width: min(760px, calc(100vw - 24px)); max-height: calc(100svh - 24px); background: var(--paper); color: var(--deep); box-shadow: 0 40px 100px -20px rgba(15,44,49,0.5); }
.profile::backdrop { background: rgba(15,44,49,0.5); }
.profile[open] { animation: qIn .3s ease; }
.profile-body { padding: 36px; }
.pr-head { display: flex; gap: 22px; align-items: center; padding-right: 44px; }
.pr-photo { width: 110px; height: 110px; border-radius: 32px; flex-shrink: 0; }
.pr-head h2 { font-size: 2rem; }
.pr-role { color: var(--silt); margin-top: 4px; }
.pr-meta { font-size: 0.92rem; color: var(--silt); margin-top: 6px; }
.pr-meta b { color: var(--deep); }
.pr-quote { margin: 26px 0; padding: 20px 24px; border-radius: var(--r-md); background: var(--sage); font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; }
.profile h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; margin: 18px 0 10px; }
.pr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pr-cols ul { list-style: none; display: grid; gap: 8px; font-size: 0.95rem; }
.pr-cols li { padding-left: 18px; position: relative; }
.pr-cols li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--buoy); }
.profile .card-tags { margin-top: 0; }
.pr-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pr-reviews figure { background: var(--mist); border-radius: var(--r-sm); padding: 16px; }
.pr-reviews blockquote { font-family: var(--serif); font-size: 1rem; line-height: 1.45; }
.pr-reviews figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--silt); }
.pr-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.pr-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pr-slots span { font-size: 0.82rem; font-weight: 600; color: #22684f; background: #DFF1E8; padding: 5px 10px; border-radius: 99px; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { min-height: 46px; }

/* Footer v2 */
.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.footer-brand p { margin-top: 10px; max-width: 26em; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col b { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(238,242,240,0.12); color: rgba(238,242,240,0.5); font-size: 0.85rem; }
.footer-bottom a { color: var(--mist); }

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .business-grid { grid-template-columns: 1fr 1fr; }
  .business-grid .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 960px) {
  .nav-login { display: none; }
  .results-grid, .vetting-grid { grid-template-columns: 1fr; }
  .review-strip { grid-auto-columns: 78%; }
  .article-grid { grid-template-columns: 1fr; }
  .article { display: grid; grid-template-columns: 140px 1fr; gap: 6px 16px; align-items: start; }
  .article img { grid-row: span 3; aspect-ratio: 1; }
  .article .a-tag { margin-top: 0; }
  .business-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .results-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .results-facts li { padding: 16px; }
  .results-facts b { font-size: 1.6rem; }
  .results-chart { padding: 20px 14px 10px; }
  .results-badge { position: static; display: inline-block; margin: 0 0 6px; }
  .price-grid { grid-template-columns: 1fr; }
  .review-strip { grid-auto-columns: 88%; }
  .article { grid-template-columns: 104px 1fr; }
  .article h3 { font-size: 1.05rem; }
  .profile-body { padding: 26px 20px; }
  .pr-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pr-photo { width: 88px; height: 88px; border-radius: 26px; }
  .pr-head h2 { font-size: 1.6rem; }
  .pr-cols, .pr-reviews { grid-template-columns: 1fr; }
  .pr-foot { flex-direction: column; align-items: stretch; }
  .pr-foot .btn { width: 100%; }
  .card-actions { width: 100%; }
  .card-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .funnel li { grid-template-columns: 56px 1fr; padding: 12px 14px; }
  .funnel b { font-size: 1.35rem; }
  .funnel span { font-size: 0.88rem; }
}
.price-card .btn { width: 100%; white-space: nowrap; padding: 0 16px; }
.pc-sub { display: block; font-size: 0.95rem; margin-top: 4px; }
.article img { height: auto; }

/* ═══════════════════════════════════════════════════════
   PHONES v3 — compact hero, swipeable catalog, clearer rhythm
═══════════════════════════════════════════════════════ */
.card-photo, .pr-photo, .q-match img, .booking-who img, .fc-therapist img, .avatar-stack img, .tc img, .ph-who img, .ph-head img { object-fit: cover; }

@media (max-width: 600px) {
  /* Section rhythm: every block opens with a small, consistent heading scale */
  h2 { font-size: 1.85rem; line-height: 1.12; }
  .section-head { gap: 12px; margin-bottom: 26px; }
  .section-lead { font-size: 1rem; }
  .topics, .match, .catalog, .results, .vetting, .prices, .steps, .app, .reviews, .library, .faq { padding: 56px 0; }

  /* HERO: headline → CTA → photo with chips kept inside the frame */
  .hero { padding: 22px 20px 28px; gap: 22px; }
  .hero h1 { font-size: 2.35rem; line-height: 1.06; }
  .hero-lead { margin-top: 14px; font-size: 1rem; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .hero-actions .btn { min-height: 54px; }
  .hero-actions .btn-quiet { display: none; }
  .hero-trust { margin-top: 18px; gap: 10px; }
  .hero-trust p { font-size: 0.85rem; }
  .avatar-stack img { width: 36px; height: 36px; margin-left: -10px; border-width: 2px; }
  .hero-visual { margin: 0; max-width: none; }
  .hero-photo { aspect-ratio: 1.15; border-radius: 26px 26px 26px 80px; box-shadow: var(--shadow-sm); }
  .float-card { animation: none; }
  .fc-therapist { left: 12px; right: auto; bottom: 12px; padding: 8px 12px 8px 8px; gap: 10px; border-radius: 16px; }
  .fc-therapist img { width: 40px; height: 40px; }
  .fc-therapist b { font-size: 0.85rem; }
  .fc-therapist span { display: none; }
  .fc-therapist em { margin-top: 3px; font-size: 0.72rem; padding: 2px 8px; }
  .fc-match { right: 12px; top: 12px; padding: 10px 12px; border-radius: 14px; }
  .fc-match-num { font-size: 1.35rem; }
  .fc-match span:last-child { font-size: 0.7rem; }
  .fc-format { display: none; }

  /* NUMBERS: one tight strip */
  .numbers { padding: 0 0 8px; }
  .numbers-grid > div { padding: 16px 14px; }
  .numbers-grid b { font-size: 1.45rem; }
  .numbers-grid span { font-size: 0.78rem; }

  /* TOPICS: shorter tiles */
  .tile { min-height: 132px; padding: 16px; border-radius: 18px; }
  .tile svg { width: 28px; height: 28px; }
  .tile b { margin-top: 14px; font-size: 1.02rem; }
  .tile span { display: none; }

  /* MATCH */
  .match-progress { display: none; }
  .match-safe { margin-top: 16px; }
  .quiz { min-height: 0; border-radius: 24px; padding: 22px 18px; }
  .q-step legend { font-size: 1.35rem; margin-bottom: 18px; }

  /* VETTING: funnel only */
  .team-collage { display: none; }
  .vetting-grid { gap: 0; }

  /* CATALOG: horizontal swipe of photo cards — one screen, not eight */
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label:nth-child(4) { display: none; }
  .people {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -20px; padding: 4px 20px 12px; scroll-padding: 0 20px;
  }
  .people::-webkit-scrollbar { display: none; }
  .people .card { scroll-snap-align: start; grid-template-columns: 1fr; padding: 0; overflow: hidden; align-content: start; }
  .people .card-photo { width: 100%; height: 220px; border-radius: 0; grid-row: auto; object-position: center 25%; }
  .people .card > :not(.card-photo) { margin-left: 18px; margin-right: 18px; }
  .people .card h3 { margin-top: 16px; font-size: 1.3rem; }
  .people .card-meta { margin-top: 8px; font-size: 0.82rem; gap: 4px 12px; }
  .people .card-meta span:nth-child(n+3) { display: none; }
  .people .card-bio { font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .people .card-tags span:nth-child(n+3) { display: none; }
  .people .card-foot { margin-bottom: 18px; flex-direction: column; align-items: stretch; gap: 12px; }
  .people .people-empty { grid-column: auto; width: calc(100vw - 40px); }
  .catalog-count::after { content: " · гортайте вбік →"; }

  /* RESULTS */
  .results-chart { padding: 18px 12px 8px; }

  /* PRICES: swipe as well */
  .price-grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px 12px; scroll-padding: 0 20px; gap: 12px; }
  .price-grid::-webkit-scrollbar { display: none; }
  .price-card { scroll-snap-align: start; padding: 22px; }

  /* STEPS: compact list */
  .step-list li { padding: 20px; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; }
  .step-list li::before { margin: 0; width: 44px; height: 44px; grid-row: span 2; }
  .step-list h3 { font-size: 1.12rem; margin: 2px 0 4px; }
  .step-list p { font-size: 0.92rem; }

  /* APP: phone smaller, text first */
  .app-grid .phone { width: 250px; transform: rotate(-2deg); }
  .phone-screen { min-height: 0; }

  /* LIBRARY: horizontal list items */
  .article { grid-template-columns: 96px 1fr; }
  .article img { border-radius: 14px; }
}
@media (max-width: 600px) { .filters label:nth-child(3) { grid-column: 1 / -1; } }

/* ─── Hero/footer polish for phones ─── */
.crisis-short { display: none; }
.avatar-stack { flex-shrink: 0; }
.footer-help .call { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; text-decoration: none; }
.footer-help .call strong { font-family: var(--serif); font-size: 1.35rem; color: #fff; }
.footer-help .call span { font-size: 0.85rem; color: rgba(238,242,240,0.7); }
@media (max-width: 600px) {
  .crisis { padding: 8px 16px; font-size: 0.8rem; }
  .crisis-long { display: none; }
  .crisis-short { display: inline; }
  .nav-cta { opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .25s, transform .25s; }
  .nav.show-cta .nav-cta { opacity: 1; pointer-events: auto; transform: none; }
  .hero { padding-top: 18px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-trust { align-items: center; }
  .hero-trust p { line-height: 1.35; }
  .hero-photo { aspect-ratio: 1.3; }

  .footer { padding: 40px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand, .footer-help { grid-column: 1 / -1; }
  .footer-brand p { font-size: 0.88rem; }
  .footer-col { gap: 8px; }
  .footer-col a { font-size: 0.92rem; }
  .footer-help { background: rgba(238,242,240,0.06); border: 1px solid rgba(238,242,240,0.1); border-radius: 18px; padding: 16px; gap: 12px; }
  .footer-help .call { padding: 10px 12px; border-radius: 12px; background: rgba(238,242,240,0.06); }
  .footer-bottom { margin-top: 24px; padding-top: 18px; font-size: 0.78rem; }
}

/* ═══ Finder: the matching quiz lives in the catalog and sorts it ═══ */
.finder { display: grid; grid-template-columns: 300px 1fr; margin-bottom: 22px; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px -36px rgba(22,58,64,0.45); }
.finder-side { background: var(--deep); color: var(--mist); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.finder-kicker { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: #fff; }
.finder-step { font-size: 0.9rem; color: rgba(238,242,240,0.7); margin-top: 10px; }
.finder-bar { height: 6px; border-radius: 99px; background: rgba(238,242,240,0.14); overflow: hidden; }
.finder-bar i { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--buoy); transition: width .4s ease; }
.finder-live { margin-top: 14px; font-weight: 600; color: #fff; }
.finder-faces { display: flex; }
.finder-faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--deep); margin-left: -8px; transition: opacity .3s; }
.finder-faces img:first-child { margin-left: 0; }
.finder-safe { margin-top: auto; padding-top: 18px; display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: rgba(238,242,240,0.6); }
.finder-safe svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; }
.finder .quiz { box-shadow: none; border-radius: 0; min-height: 400px; padding: clamp(24px, 3.4vw, 40px); }
.finder .q-step legend { font-size: 1.55rem; }
.finder-done { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 28px clamp(24px, 3.4vw, 40px); }
.finder-done[hidden], .finder .quiz[hidden] { display: none; }
.finder-done h3 { font-size: 1.45rem; outline: none; }
.finder-summary { margin-top: 6px; color: var(--silt); }
.finder-done-actions { display: flex; align-items: center; gap: 16px; }
.finder-reset { background: none; border: 0; padding: 8px 4px; font: 500 0.95rem var(--sans); color: var(--silt); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.finder.is-done .finder-bar i { width: 100% !important; background: #7fc4a2; }
.finder.is-done .finder-step::before { content: "✓ "; color: #7fc4a2; }
.finder-done { flex-direction: column; align-items: flex-start; justify-content: center; }

.card-fit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; font-size: 0.82rem; }
.card-fit b { padding: 4px 10px; border-radius: 99px; background: var(--deep); color: #fff; font-weight: 600; }
.card-fit span { padding: 4px 10px; border-radius: 99px; background: #E4F2EA; color: #24604a; }
.card-fit span::before { content: "✓ "; }
.card.is-best { box-shadow: 0 0 0 2px var(--buoy), 0 28px 50px -30px rgba(22,58,64,0.45); }
.card.is-best .card-fit b { background: var(--buoy); color: #1f1806; }
.card.is-weak { opacity: 0.72; }
.card.is-weak .card-fit b { background: var(--silt); }

@media (max-width: 900px) {
  .finder { grid-template-columns: 1fr; }
  .finder-side { padding: 20px 20px 18px; gap: 8px; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .finder-kicker { font-size: 1.2rem; grid-column: 1 / -1; }
  .finder-step { margin: 0; grid-column: 1; }
  .finder-faces { grid-column: 2; grid-row: 2 / 4; justify-self: end; }
  .finder-bar { grid-column: 1 / -1; }
  .finder-live { margin: 2px 0 0; font-size: 0.92rem; grid-column: 1 / -1; }
  .finder-safe { display: none; }
  .finder .quiz { min-height: 0; padding: 22px 18px; }
  .finder .q-step legend { font-size: 1.3rem; }
  .finder-done { padding: 22px 18px; }
  .finder-done h3 { font-size: 1.2rem; }
  .finder-done-actions { width: 100%; }
  .finder-done-actions .btn { flex: 1; }
  .finder-faces img { width: 32px; height: 32px; }
  .finder-side { grid-template-columns: 1fr auto; }
  .finder-step { grid-row: 2; } .finder-bar { grid-row: 3; grid-column: 1; } .finder-live { grid-row: 4; }
}
@media (max-width: 600px) {
  .people .card-fit { margin-top: 10px; }
  .people .card-fit span:nth-child(n+4) { display: none; }
}
