/* ============================================================
   Familiar — лендинг
   Макет: Figma «Family Meeting_Landing 23.06.26» (Desktop 1440 / Mobile 375)
   Базовые стили — десктоп, мобильная версия в медиазапросе внизу файла.
   ============================================================ */

/* ---------- Шрифты (скачаны с Google Fonts, Open Font License) ---------- */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/onest-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/onest-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные ---------- */

:root {
  --ink: #3a3a3a;
  --line: #e4e6e8;
  --orange: #ff6d2f;
  --pink: #fbd7ef;
  --cream: #f7f4ed;
  --off-white: #f7f8f2;
  --yellow: #f4df44;
  --sand: #f4e8cd;
  --peach: #ffe5d3;
  --lilac: #e6d9ff;
  --plum: #624559;
}

/* ---------- Сброс ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-top: 16px;
  background: #fff;
  color: var(--ink);
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.32px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure, blockquote, ol { margin: 0; }
ol { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* ---------- Контейнеры ---------- */

.container { width: min(1128px, 100% - 32px); margin-inline: auto; }
.container-wide { width: min(1408px, 100% - 32px); margin-inline: auto; }

/* ---------- Типовые заголовки ---------- */

/* 64px на 1440 (4.444vw), ниже уменьшается плавно */
.section-title {
  font-size: clamp(32px, 4.444vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 7.2px;
  height: 60px;
  padding: 0 8px 0 28px;
  border-radius: 69px;
  font-size: 18px;
  line-height: 27px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 23px;
}

.btn-dark { background: var(--ink); color: var(--off-white); }
.btn-dark .btn-icon { background: var(--off-white); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light .btn-icon { background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */

.hero-wrap {
  position: relative;
  width: min(1408px, 100% - 32px);
  margin-inline: auto;
}

.hero {
  /* половина видимого корпуса телефона: мокап 86.008% ширины, корпус — 316px из 1408 */
  --phone-edge: 11.2216%;

  position: relative;
  height: 881px;
  background: var(--cream);
  border-radius: 32px;
  overflow: hidden;
}

.hero > * { position: relative; z-index: 2; }

/* --- шапка --- */

.header {
  width: min(1128px, 100% - 32px);
  height: 104px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { width: 136px; height: 40px; }

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  line-height: 19.6px;
  font-weight: 500;
  letter-spacing: -0.28px;
  text-decoration: none;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 56px;
  border-radius: 69px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.menu-toggle { display: none; }

/* --- бейдж --- */

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 21px;
  margin-top: 63px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: -0.28px;
}

.hero-badge img { width: 15px; height: 15px; }

/* --- заголовок --- */

.hero-title {
  width: 78.764%;
  margin: 32px auto 0;
  font-size: clamp(32px, 6.528vw, 94px);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-align: center;
}

/* принудительный перенос после «Guard» есть только в мобильном макете */
.hero-title-break { display: none; }

.hero-title-icon {
  display: inline-block;
  width: 0.809em;
  height: 0.809em;
  margin: 0 0.351em -0.096em 0.223em;
}

/* --- мокап телефона --- */

.hero-phone {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 305px;
  transform: translateX(-50%);
  width: 86.008%;
}

.hero-phone img { width: 100%; height: auto; }

/* --- плавающие карточки --- */

.hero-note {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 16px 24px;
}

.hero-note-title {
  font-size: 16px;
  line-height: 19.2px;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-note-feelings {
  left: calc(50% - var(--phone-edge) - 214px);
  top: 506.8px;
  width: 196px;
  height: 85.85px;
  transform: rotate(-9.61deg);
}

.hero-note-feelings .hero-note-title { width: 148px; }

.hero-note-mic {
  position: absolute;
  left: 26px;
  top: 65px;
  width: 44px;
  height: 44px;
}

.hero-note-mic img { width: 100%; height: 100%; }

.hero-note-checkin {
  left: calc(50% + var(--phone-edge) + 21px);
  top: 651.35px;
  width: 209px;
  height: 72px;
  border-radius: 16px;
  padding: 16px;
  transform: rotate(6.35deg);
}

.hero-note-sub {
  margin-top: 4px;
  font-size: 14px;
  line-height: 19.6px;
  font-weight: 500;
  letter-spacing: -0.28px;
}

.hero-note-trend {
  position: absolute;
  left: 150px;
  top: -20px;
  width: 44px;
  height: 44px;
}

.hero-note-trend img { width: 100%; height: 100%; }

/* --- вырез под кнопку --- */

/* вырез тянется по ширине; сдвиг вниз задан долей собственной высоты,
   поэтому видимая часть всегда 42/114 формы */
.hero-notch {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: 34.091%;
  min-width: 300px;
  max-width: 480px;
  height: auto;
  transform: translate(-50%, 63.158%);
}

.hero-notch-mobile { display: none; }

.hero-cta {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 863px;
  transform: translateX(-50%);
  width: 237px;
}

/* ============================================================
   WHAT IS FAMILIAR
   ============================================================ */

.about { margin-top: 128px; }

/* доли контейнера 1128px — на 1440 дают ровно макетные 355 / 210 / 569 */
.about-inner { display: flex; gap: 18.617%; }

.about-title {
  flex: none;
  width: 31.472%;
  font-size: clamp(32px, 4.444vw, 64px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.about-text {
  flex: none;
  width: 569px;
  font-size: clamp(24px, 2.778vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ============================================================
   АУДИТОРИЯ
   ============================================================ */

.audience { margin-top: 128px; }

.audience-grid { display: flex; gap: 32px; }

.audience-card { flex: 1; }

.audience-icon,
.audience-icon img { display: block; width: 61px; height: 61px; }

.audience-card-title {
  margin-top: 24px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.audience-card-text { margin-top: 16px; opacity: 0.8; }

/* ============================================================
   USAGE
   ============================================================ */

.usage { margin-top: 128px; }

.usage-title {
  width: min(706px, 100%);
  margin-inline: auto;
  text-align: center;
}

.usage-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.usage-card {
  position: relative;
  height: 480px;
  border-radius: 32px;
  overflow: hidden;
}

.usage-card-start { background: var(--peach); }
.usage-card-topics { background: var(--lilac); }
.usage-card-takeaways { background: var(--pink); }

.usage-pic { position: absolute; }
.usage-pic img { width: 100%; height: auto; }

.usage-card-start .usage-pic { left: 7.243%; top: 38.8px; width: 32.447%; }
.usage-card-topics .usage-pic { left: 50.488%; top: 105px; width: 38.847%; }
.usage-card-takeaways .usage-pic { left: 9.397%; top: 66.9px; width: 31.560%; }

.usage-txt { position: absolute; top: 136px; width: 27.660%; }

.usage-card-start .usage-txt,
.usage-card-takeaways .usage-txt { left: 53.635%; }
.usage-card-topics .usage-txt { left: 11.613%; }

.usage-card-title {
  font-size: clamp(24px, 2.778vw, 40px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ширины заголовков заданы по макету — от них зависит перенос строк */
.usage-card-start .usage-card-title { width: 83.654%; }
.usage-card-topics .usage-card-title { width: 93.269%; }
.usage-card-takeaways .usage-card-title { width: 73.397%; }

.usage-card-text { margin-top: 24px; opacity: 0.8; }

.usage-card-start .usage-card-text { width: 88.462%; }
.usage-card-topics .usage-card-text,
.usage-card-takeaways .usage-card-text { width: 89.423%; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how { margin-top: 128px; }

.how-title {
  width: min(617px, 100%);
  margin-inline: auto;
  text-align: center;
}

.how-inner {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  gap: 3.28%;
}

/* --- шаги --- */

.steps { flex: none; width: 33.422%; }

/* padding на 1px меньше отступа из макета — 1px забирает сама линия-разделитель */
.step {
  width: 97.771%;
  margin-top: 24px;
  padding-top: 23px;
  border-top: 1px solid rgba(58, 58, 58, 0.15);
}

.step:first-child {
  position: relative;
  width: 100%;
  margin-top: 0;
  border-top-color: var(--line);
}

.step:first-child::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 2px;
  background: var(--orange);
}

.step-head { display: flex; align-items: center; gap: 16px; }

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sand);
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: -0.28px;
}

.step-active .step-num { background: var(--orange); color: #fff; }

.step-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.step-text {
  max-width: 328px;
  margin-top: 12px;
  margin-left: 40px;
  opacity: 0.75;
}

/* --- картинки --- */

.how-media { flex: none; display: flex; gap: 2.241%; width: 63.298%; }

.how-media picture { flex: 1 1 0; min-width: 0; }

.how-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 349 / 494;
  border-radius: 32px;
  object-fit: cover;
}

/* --- оранжевый баннер --- */

.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 139px;
  margin-top: 64px;
  padding: 0 32px;
  background: var(--orange);
  border-radius: 32px;
}

.promo-banner-text {
  flex: 1 1 auto;
  max-width: 722px;
  font-size: clamp(18px, 1.667vw, 24px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.promo-banner-btn { flex: none; width: 204px; }

/* ============================================================
   ЦИТАТА И ЦЕННОСТИ
   ============================================================ */

.values { margin-top: 128px; }

.values-inner {
  padding: 88px clamp(16px, 9.722vw, 140px);
  background: var(--cream);
  border-radius: 32px;
}

.values-title { width: min(913px, 100%); }

.values-title-break,
.safety-title-break { display: none; }

.values-title-icon {
  display: inline-block;
  width: 0.953em;
  height: 0.953em;
  margin: 0 0.313em -0.094em 0.438em;
}

.values-grid { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 16px; }

/* --- цитата --- */

/* 556 и 270 — ширины из макета, 1096 — строка за вычетом двух зазоров */
.quote {
  /* «облачко» собирается из плашек: цельный SVG растягивался бы и плющил углы.
     --bubble-tail-x — левый край S-образного перехода, дальше идёт quote-tail.svg */
  --bubble-radius: 20px;
  --bubble-tail-depth: 16.89px;
  --bubble-tail-x: 46.714%;
  --bubble-tail-curve: 32.81px 16.89px;

  position: relative;
  isolation: isolate;
  flex: none;
  width: calc((100% - 32px) * 556 / 1096);
  height: 321px;
  padding: 40px;
}

.quote::before,
.quote::after {
  content: '';
  position: absolute;
  z-index: 0;
  background: var(--pink);
}

/* основная плашка — без нижней ступени */
.quote::before {
  inset: 0 0 var(--bubble-tail-depth) 0;
  border-radius: var(--bubble-radius);
}

/* «хвост»: ступень слева внизу и S-образный переход к основной плашке */
.quote::after {
  left: 0;
  bottom: 0;
  width: calc(var(--bubble-tail-x) + 32.81px);
  height: calc(var(--bubble-tail-depth) + var(--bubble-radius));
  border-radius: 0 0 0 var(--bubble-radius);
  background:
    url('assets/icons/quote-tail.svg') right bottom / var(--bubble-tail-curve) no-repeat,
    linear-gradient(var(--pink), var(--pink)) left top / calc(100% - 31.81px) 100% no-repeat;
}

.quote > * { position: relative; z-index: 1; }

.quote-text {
  margin: 0;
  font-size: clamp(18px, 1.667vw, 24px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--plum);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.quote-avatar { width: 48px; height: 48px; border-radius: 50%; }

.quote-author-text { display: flex; flex-direction: column; gap: 2px; }

.quote-author-name {
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
  letter-spacing: -0.28px;
}

.quote-author-role {
  font-size: 14px;
  line-height: 19.6px;
  font-weight: 500;
  letter-spacing: -0.28px;
  opacity: 0.6;
}

/* --- карточки ценностей --- */

.value-card {
  position: relative;
  flex: none;
  width: calc((100% - 32px) * 270 / 1096);
  height: 304px;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
}

.value-card-title {
  width: auto;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.value-card-text { margin-top: 26px; opacity: 0.75; }

/* в макете текстовый блок последней карточки выходит за паддинг на 16px */
@media (min-width: 1101px) {
  .value-card:last-child .value-card-text { width: calc(100% + 16px); }
}

.value-card-blob {
  display: block;
  position: absolute;
  left: 68.259%;
  top: 91.118%;
  width: 61px;
  height: 61px;
}

.value-card-blob img { width: 100%; height: 100%; }

/* ============================================================
   FAQ
   ============================================================ */

.faq { margin-top: 128px; }

.faq-inner { width: min(616px, 100% - 32px); margin-inline: auto; }

.faq-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  padding: 31px 32px 32px;
  border-top: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.faq-icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
}

/* горизонтальная палочка «минуса» */
.faq-icon::before {
  left: 5px;
  top: 11px;
  width: 14px;
  height: 2px;
}

/* вертикальная — у открытых доворачивается до горизонтали и гаснет */
.faq-icon::after {
  left: 11px;
  top: 5px;
  width: 2px;
  height: 14px;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.faq-item-open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* раскрытие через grid-строку: 0fr → 1fr анимируется, в отличие от height: auto */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.32s ease, padding-top 0.32s ease,
              opacity 0.2s ease, visibility 0s linear 0.32s;
}

.faq-answer > * { min-height: 0; margin: 0; }

.faq-item-open .faq-answer {
  grid-template-rows: 1fr;
  padding-top: 16px;
  opacity: 0.75;
  visibility: visible;
  transition: grid-template-rows 0.32s ease, padding-top 0.32s ease,
              opacity 0.24s ease 0.06s, visibility 0s;
}

/* ============================================================
   CTA-БАННЕР
   ============================================================ */

.cta { margin-top: 128px; }

.cta-banner {
  position: relative;
  height: 419px;
  background: var(--pink);
  border-radius: 32px;
  overflow: hidden;
}

.cta-photo img {
  position: absolute;
  right: 0;
  top: -341px;
  width: 1331px;
  height: 1212px;
  max-width: none;
}

.cta-tag {
  position: absolute;
  left: 50.811%;
  top: 42.08px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 129.71px;
  height: 41.14px;
  border-radius: 12px;
  background: #cfec64;
  color: #208c6c;
  font-size: 18px;
  line-height: 21.6px;
  font-weight: 600;
  letter-spacing: 0;
  transform: rotate(-9.1deg);
}

.cta-card {
  position: absolute;
  left: 57.092%;
  top: 16px;
  width: 41.489%;
  height: 387px;
  padding: 83px 40px 0;
  background: #fff;
  border-radius: 32px;
}

.cta-card-text {
  /* 372px из макета — доля контентной ширины карточки (468 − 80 паддинга) */
  width: 95.876%;
  font-size: clamp(18px, 1.667vw, 24px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-card-btn {
  position: absolute;
  left: 8.547%;
  top: 288px;
  width: 237px;
}

.cta-star {
  display: block;
  position: absolute;
  left: 80.342%;
  top: 175px;
  width: 75px;
  height: 75px;
}

.cta-star img { width: 100%; height: 100%; }

/* ============================================================
   БЕЗОПАСНОСТЬ
   ============================================================ */

.safety { margin-top: 128px; }

.safety-inner { display: flex; justify-content: space-between; }

.safety-title { flex: none; width: 36.702%; }

.safety-title-icon {
  display: inline-block;
  width: 0.953em;
  height: 0.953em;
  margin: 0 0.266em -0.125em 0.281em;
}

.safety-content { flex: none; width: 49.291%; }

.safety-block + .safety-block {
  margin-top: 31px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.safety-block-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: -0.4px;
}

.safety-block-text {
  margin-top: 24px;
  opacity: 0.75;
}

.safety-list {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

/* ============================================================
   ПОДВАЛ
   ============================================================ */

.footer { margin-top: 104px; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 15px 0 16px;
  border-top: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: center; gap: 20px; }

.footer-logo { width: 109.1px; height: 32px; }

.footer-by { display: flex; align-items: center; gap: 8px; }

.footer-by img { width: 135px; height: 32px; }

.footer-by-text { opacity: 0.6; }

.footer-links { display: flex; gap: 16px; }

.footer-links a { text-decoration: none; }

/* ============================================================
   МОБИЛЬНОЕ МЕНЮ
   ============================================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  overflow-y: auto;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu-inner {
  position: relative;
  display: flow-root; /* иначе margin шапки схлопывается наружу и сдвигает низ меню */
  min-height: 100%;
  padding-bottom: 92px;
}

.mobile-menu-header { margin-top: 16px; }

.mobile-nav {
  width: min(343px, 100% - 32px);
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  font-size: 32px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.96px;
  text-decoration: none;
}

.mobile-nav-link img { width: 24px; height: 24px; }

.mobile-menu-cta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 32px;
  justify-content: center;
  padding: 0 28px;
}

/* ============================================================
   УЗКИЙ ДЕСКТОП (≤1159px)
   Ниже этой ширины контейнер уже не равен макетным 1128px, поэтому
   блокам с зафиксированной по макету высотой разрешаем расти по контенту.
   ============================================================ */

@media (max-width: 1159px) {

  .about-text { flex: 0 1 569px; width: auto; min-width: 0; }

  .quote,
  .value-card { height: auto; }

  .quote { min-height: 321px; }

  .value-card { min-height: 304px; }
}

/* ============================================================
   ПЛАНШЕТНЫЙ ЯРУС (769–1100px)
   Ниже 1100px три колонки в блоке «ценностей» становятся нечитаемыми,
   поэтому цитата разворачивается на всю ширину, а карточки встают парой.
   ============================================================ */

@media (max-width: 1100px) {

  .values-inner { padding-block: 64px; }

  .quote { width: 100%; }

  .value-card { width: calc((100% - 16px) / 2); }

  .promo-banner { height: auto; padding: 32px; gap: 32px; }

  .cta-card { padding-top: 64px; }
}

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ (≤768px)
   ============================================================ */

@media (max-width: 768px) {

  body { padding-top: 0; padding-bottom: 16px; }

  .container,
  .container-wide { width: min(343px, 100% - 32px); }

  .section-title {
    font-size: 32px;
    line-height: 32px;
    letter-spacing: -0.96px;
  }

  /* --- hero --- */

  .hero-wrap { width: 100%; }

  .hero { height: 778px; border-radius: 0; }

  .header {
    width: min(343px, 100% - 32px);
    height: 40px;
    margin-top: 17px;
  }

  .logo img { width: 122.7px; height: 36px; }

  .nav,
  .header-btn { display: none; }

  .mobile-menu-header { margin-top: 16px; }

  .menu-toggle {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 8px 12px;
    border-radius: 32px;
    background: var(--ink);
    color: #fff;
  }

  .menu-toggle-label {
    font-size: 14px;
    line-height: 19.6px;
    font-weight: 500;
    letter-spacing: -0.28px;
  }

  .hero-badge { margin-top: 67px; height: 20px; }

  .hero-title {
    width: min(343px, 100% - 32px);
    margin-top: 24px;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.6px;
  }

  .hero-title-break { display: block; }

  .hero-title-icon {
    width: 36px;
    height: 36px;
    margin: 0 10px -5px 10px;
  }

  .hero-phone { top: 373px; width: 805.7px; }

  .hero-note-feelings {
    left: 50%;
    top: 400.2px;
    width: 162.91px;
    height: 73.33px;
    margin-left: -160.5px;
    padding: 16.3px 16px 0 23.4px;
  }

  /* «Describe your» должно уместиться в первую строку, как в макете */
  .hero-note-feelings .hero-note-title { width: 114px; }

  .hero-note-title { font-size: 14px; line-height: 14px; letter-spacing: -0.28px; }

  .hero-note-mic { left: 27.14px; top: 58.14px; width: 36px; height: 36px; }

  .hero-note-checkin {
    left: 50%;
    top: 592px;
    width: 166.65px;
    height: 74px;
    margin-left: 5.5px;
    /* «How are we feeling?» в макете умещается в одну строку */
    padding: 16px 15px;
  }

  .hero-note-trend { left: 106.3px; top: -16.75px; width: 36px; height: 36px; }

  .hero-notch-desktop { display: none; }

  .hero-notch-mobile {
    display: block;
    width: 100%;
    height: 101px;
    bottom: -64px;
  }

  .hero-cta { top: 761px; }

  /* --- about --- */

  .about { margin-top: 157px; }

  .about-inner { flex-direction: column; gap: 48px; }

  .about-title,
  .about-text { flex: none; width: auto; }

  .about-title { font-size: 32px; line-height: 32px; letter-spacing: -0.96px; }

  /* в мобильном макете заголовок в одну строку */
  .about-title br { display: none; }

  .about-text { font-size: 24px; line-height: 26.4px; letter-spacing: -0.48px; }

  /* --- аудитория --- */

  /* −2px: у Figma бокс текста выше обрезан по выносу, у CSS — по line-height */
  .audience { margin-top: 38px; }

  .audience-grid { flex-direction: column; gap: 32px; }

  .audience-icon,
  .audience-icon img { width: 48px; height: 48px; }

  .audience-card-text { margin-top: 8px; }

  /* --- usage --- */

  .usage { margin-top: 104px; }

  .usage-title { width: min(343px, 100% - 32px); margin-inline: auto; text-align: left; }

  .usage-list { margin-top: 48px; gap: 24px; }

  .usage-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 484px;
    padding: 40px 24px;
    border-radius: 24px;
  }

  .usage-txt { position: static; order: 1; width: auto; }

  .usage-card-title,
  .usage-card-start .usage-card-title,
  .usage-card-topics .usage-card-title,
  .usage-card-takeaways .usage-card-title {
    width: auto;
    font-size: 24px;
    line-height: 26.4px;
    letter-spacing: -0.48px;
  }

  .usage-card-text,
  .usage-card-start .usage-card-text,
  .usage-card-topics .usage-card-text,
  .usage-card-takeaways .usage-card-text {
    width: 276px;
    max-width: 100%;
    margin-top: 16px;
  }

  .usage-pic,
  .usage-card-start .usage-pic,
  .usage-card-topics .usage-pic,
  .usage-card-takeaways .usage-pic {
    position: static;
    order: 2;
    left: auto;
    top: auto;
    width: 100%;
  }

  /* --- how it works --- */

  .how { margin-top: 104px; }

  .how-title { width: min(343px, 100% - 32px); margin-inline: auto; text-align: left; }

  .how-inner { margin-top: 48px; flex-direction: column; gap: 48px; }

  .steps { width: 100%; }

  .step,
  .step:first-child { width: 100%; margin-top: 16px; padding-top: 15px; }

  .step:first-child { margin-top: 0; }

  .step:not(.step-active) .step-head { gap: 8px; }

  .step-text { width: 303px; max-width: 100%; }

  .how-media { width: 100%; justify-content: space-between; gap: 8px; }

  .how-media picture { flex: none; }

  .how-media-create img { width: 180px; height: 260px; border-radius: 24px; }
  .how-media-photo img { width: 155px; height: 260px; border-radius: 24px; }

  /* --- оранжевый баннер --- */

  .promo-banner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    /* отступы отсчитаны от отрисованных строк, а не от бокса текста в Figma */
    gap: 43px;
    height: 218px;
    margin-top: 64px;
    padding: 19px 24px 24px;
    border-radius: 24px;
  }

  .promo-banner-text {
    width: 259px;
    max-width: 100%;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.4px;
  }

  .promo-banner-btn { width: 100%; }

  /* --- цитата и ценности --- */

  .values { margin-top: 104px; }

  .values-inner {
    width: 100%;
    padding: 104px 16px;
    border-radius: 0;
  }

  .values-title { width: auto; }

  .values-title-icon { width: 36px; height: 36px; margin: 0 2px -4px 6px; }

  .values-title-break,
  .safety-title-break { display: block; }

  /* wrap в колонке меряет ширину по контенту, а не по контейнеру */
  .values-grid { margin-top: 48px; flex-direction: column; flex-wrap: nowrap; gap: 24px; }

  /* min-height задан для планшета, в мобильном макете высоты меньше */
  .quote,
  .value-card { min-height: 0; }

  .quote {
    --bubble-tail-depth: 17.8px;
    --bubble-tail-x: 70.118%;
    --bubble-tail-curve: 33.32px 17.8px;

    width: auto;
    height: auto;
    padding: 32px 24px;
  }

  .quote::after { width: calc(var(--bubble-tail-x) + 33.32px); }

  .quote-text { font-size: 20px; line-height: 25px; letter-spacing: -0.4px; }

  .value-card {
    width: auto;
    height: 176px;
    padding: 32px 24px;
  }

  .value-card-title { width: auto; }

  .value-card-text { width: 299px; max-width: none; margin-top: 16px; }

  .value-card-blob { left: auto; right: 5px; top: -20px; width: 48px; height: 48px; }

  .value-card:last-child .value-card-blob { top: -13px; }

  /* --- FAQ --- */

  .faq { margin-top: 104px; }

  .faq-inner { width: min(343px, 100% - 32px); }

  .faq-list { margin-top: 48px; }

  .faq-item { padding: 23px 0 24px; }

  /* --- CTA --- */

  .cta { margin-top: 104px; }

  .cta-banner { height: 660px; border-radius: 24px; }

  .cta-photo img { right: auto; left: -302px; top: -341px; }

  .cta-tag {
    left: 53.87px;
    top: 342.48px;
    width: 121.96px;
    height: 38.14px;
    font-size: 16px;
    line-height: 19.2px;
    font-family: 'Onest', 'Poppins', sans-serif;
    transform: rotate(-12.53deg);
  }

  .cta-card {
    left: 16px;
    top: 369px;
    width: 311px;
    height: 275px;
    padding: 41px 16px 0;
    border-radius: 24px;
  }

  .cta-card-text {
    width: 279px;
    max-width: 100%;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.4px;
  }

  .cta-card-btn { left: 16px; top: 199px; width: 279px; }

  .cta-star {
    left: 235px;
    top: 121px;
    width: 54px;
    height: 49px;
  }

  /* --- безопасность --- */

  .safety { margin-top: 104px; }

  .safety-inner { flex-direction: column; }

  .safety-title { width: auto; }

  .safety-title-icon { width: 36px; height: 36px; margin: 0 2px -4px 6px; }

  .safety-content { width: auto; margin-top: 52px; }

  .safety-block { display: flex; flex-direction: column; }

  .safety-block-text { margin-top: 16px; }

  .safety-block + .safety-block { margin-top: 24px; padding-top: 23px; }

  /* --- подвал --- */

  .footer { margin-top: 104px; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: auto;
    padding: 40px 0 0;
  }

  .footer-brand { display: contents; }

  .footer-logo { order: 1; }

  .footer-links {
    order: 2;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 38px;
  }

  .footer-by {
    order: 3;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .footer-by img { width: 119px; height: 28px; }
}

/* Пользователь просил уменьшить анимацию — уважаем настройку системы */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
