/* Лендинг Snupo. Светлая страница с тёмной секцией для родителей — как
   страницы продуктов apple.com: крупные заголовки, много воздуха, экраны в
   рамках устройств. Шрифт системный: на Mac и iPhone это SF, и странице не
   нужно ничего качать. */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #d2d2d7;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --ink-on-dark: #f5f5f7;
  --accent: #6b51bf;
  --accent-hover: #5b43a8;
  --accent-soft: #f1ecff;
  --accent-on-dark: #b9a6ff;
  --radius: 28px;
  --wrap: 980px;
  --wrap-wide: 1260px;
  --gutter: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid rgba(107, 81, 191, .55);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.wrap-wide {
  width: min(var(--wrap-wide), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, 100% - 2 * var(--gutter)); }

/* ——— Шапка ——— */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 52px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.nav.is-stuck { border-bottom-color: rgba(0, 0, 0, .1); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  width: min(var(--wrap-wide), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; }

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-links a {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: -0.01em;
  opacity: .8;
}
.nav-links a:hover { opacity: 1; text-decoration: none; color: var(--accent); }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--accent); text-decoration: none; }
.nav-phone-first { margin-left: auto; }
.nav-phone svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.nowrap { white-space: nowrap; }

/* ——— Кнопки и ссылки ——— */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 0;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: -0.022em;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--accent-hover); text-decoration: none; }
.button:active { transform: scale(.98); }

.button-small {
  min-height: 0;
  padding: 5px 13px;
  font-size: 12px;
  line-height: 1.34;
  letter-spacing: -0.01em;
}
.button-large { min-height: 52px; padding: 15px 30px; }
.button-quiet { background: var(--accent-soft); color: var(--accent); }
.button-quiet:hover { background: #e6ddff; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 17px;
}
.more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  margin-left: 3px;
}

/* ——— Типографика ——— */

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.headline {
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.028em;
}

.lead {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.33;
  letter-spacing: -0.012em;
}

h3 {
  font-size: 21px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ——— Первый экран ——— */

.hero {
  padding-top: clamp(44px, 7vw, 88px);
  text-align: center;
  overflow: hidden;
}
.hero-copy { max-width: 860px; }
.hero .lead { max-width: 720px; margin-inline: auto; }

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 30px;
  margin-top: 30px;
}

.hero-devices {
  position: relative;
  max-width: 1080px;
  margin-top: clamp(44px, 6vw, 72px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.hero-in {
  animation: rise 1s var(--ease) both;
}
.hero-in:nth-child(2) { animation-delay: .08s; }
.hero-in:nth-child(3) { animation-delay: .16s; }
.hero-in:nth-child(4) { animation-delay: .24s; }
.hero-rise { animation: rise-far 1.4s var(--ease) .3s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-far {
  from { opacity: 0; transform: translateY(80px) scale(.96); }
  to { opacity: 1; transform: none; }
}

/* ——— Ноутбук ——— */

.laptop {
  position: relative;
  width: 91%;
  margin-inline: auto;
}
.laptop-screen {
  position: relative;
  padding: 2.1% 2.1% 2.8%;
  background: #0f0f11;
  border-radius: clamp(10px, 1.9vw, 22px) clamp(10px, 1.9vw, 22px) 0 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    0 0 0 1px #9d9da3;
}
.laptop-screen::before {
  /* камера */
  content: "";
  position: absolute;
  top: .8%;
  left: 50%;
  width: .55%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #2a2a2e;
  transform: translateX(-50%);
}
.laptop-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.laptop-base {
  position: relative;
  height: clamp(9px, 1.6vw, 20px);
  margin-inline: -6.5%;
  background: linear-gradient(to bottom, #e8e8ed 0%, #d2d2d7 45%, #a7a7ad 100%);
  border-radius: 1px 1px 48% 48% / 1px 1px 100% 100%;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .35);
}
.laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 14%;
  height: 42%;
  background: linear-gradient(to bottom, #bdbdc3, #d6d6db);
  border-radius: 0 0 10px 10px / 0 0 8px 8px;
  transform: translateX(-50%);
}

/* ——— Телефон ——— */

/* Размеры рамки — в долях ширины самого телефона (cqw): проценты в отступах
   считались бы от ширины родителя, и рамка толстела вместе с секцией. */
.phone {
  container-type: inline-size;
  position: relative;
}
.phone-body {
  padding: 3.4cqw;
  background: #1d1d1f;
  border-radius: 15cqw;
  box-shadow:
    inset 0 0 0 1.5px #4a4a4f,
    0 0 0 1.5px #b8b8be,
    0 30px 60px -20px rgba(0, 0, 0, .35);
}
.phone-screen {
  overflow: hidden;
  background: #fafafc;
  border-radius: 11.6cqw;
}
.phone-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.phone-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 13cqw;
  padding: 1.5cqw 9cqw 0 11cqw;
  color: #1d1d1f;
  font-size: 4.3cqw;
  font-weight: 600;
  letter-spacing: 0;
}
.phone-status i {
  /* «остров» камеры */
  position: absolute;
  top: 3cqw;
  left: 50%;
  width: 29cqw;
  height: 8.2cqw;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}
.phone-status b {
  /* батарея */
  width: 7.2cqw;
  height: 3.4cqw;
  border: .45cqw solid currentColor;
  border-radius: 1.1cqw;
  opacity: .9;
  background: linear-gradient(to right, currentColor 0 72%, transparent 72%);
  background-clip: content-box;
  padding: .35cqw;
}
.phone-dark .phone-screen { background: #151417; }
.phone-dark .phone-status { color: #f5f5f7; }

.hero-phone,
.devices-phone {
  position: absolute;
  right: 1%;
  bottom: 0;
  width: 19.5%;
  min-width: 96px;
}

/* ——— Секции ——— */

.section {
  padding-block: clamp(80px, 11vw, 150px);
}
.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}
.section-dark .eyebrow { color: var(--accent-on-dark); }
.section-dark .lead { color: var(--ink-3); }

.gradient {
  background: linear-gradient(90deg, #b9a6ff 0%, #f0a6ff 55%, #ffb8a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 820px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  text-align: center;
}
.section-head .lead { max-width: 700px; margin-inline: auto; }

/* Для кого: плитки 2 × 2 */

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tile {
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg);
  border-radius: var(--radius);
}
.tile h3 {
  margin-top: 22px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.tile p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.42;
}
.tile-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}
.tile-icon svg,
.card-icon,
.trio svg,
.call-end svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Вырезка сетки */

.detail {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fafafc;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 30px 70px -30px rgba(40, 20, 90, .35);
}
.detail img {
  display: block;
  width: 100%;
  height: auto;
}

/* Три факта под картинкой */

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: clamp(48px, 6vw, 80px);
}
.facts h3 { margin-bottom: 8px; }
.facts p { color: var(--ink-2); }

.devices {
  position: relative;
  max-width: 1080px;
  padding-bottom: clamp(36px, 5vw, 64px);
}

/* Родителям: три телефона, на узком экране — лента */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: clamp(28px, 4vw, 56px);
  width: min(var(--wrap-wide), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.gallery:focus-visible { outline-offset: 10px; }
.gallery-item:nth-child(2) { transition-delay: .12s; }
.gallery-item:nth-child(3) { transition-delay: .24s; }
.gallery figcaption {
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 17px;
  text-align: center;
}
.gallery figcaption b {
  display: block;
  color: var(--ink-on-dark);
  font-weight: 600;
}
.section-dark .phone-body {
  box-shadow:
    inset 0 0 0 1.5px #4a4a4f,
    0 0 0 1.5px #5d5d63,
    0 30px 80px -20px rgba(120, 90, 220, .35);
}

/* Общение */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.split .headline { font-size: clamp(34px, 4.6vw, 56px); }

.chat {
  position: relative;
  padding: 0 0 70px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.chat-avatar,
.call-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e2daff;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}
.chat-title b { display: block; font-weight: 600; }
.chat-title small,
.call-who small { color: var(--ink-2); font-size: 13px; }

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 10px;
}
.msg {
  max-width: 80%;
  padding: 9px 14px;
  border-radius: 20px;
  line-height: 1.35;
}
.msg-in {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 6px;
}
.msg-out {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.msg-author {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

.call {
  position: absolute;
  right: -18px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(330px, 86%);
  padding: 14px 14px 14px 16px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 20px 50px -18px rgba(0, 0, 0, .35);
}
.call-who { flex: 1; min-width: 0; }
.call-who b {
  display: block;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.call-end {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff3b30;
  color: #fff;
}
.call-end svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }

/* Ещё: карточки */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  padding: 32px 30px 34px;
  background: var(--bg);
  border-radius: 22px;
}
.card-icon { color: var(--accent); width: 32px; height: 32px; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 6px; color: var(--ink-2); }

/* Своя база */

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.trio svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
  stroke-width: 1.5;
}
.trio h3 { margin-top: 16px; }
.trio p { margin-top: 6px; color: var(--ink-2); }

/* Подключение */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  padding: 34px 30px 36px;
  background: var(--bg);
  border-radius: 22px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.steps p { margin-top: 6px; color: var(--ink-2); }

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 20px;
  padding: clamp(30px, 4vw, 48px);
  background: linear-gradient(120deg, #2a1d5c 0%, #6b51bf 60%, #9d7bea 100%);
  border-radius: var(--radius);
  color: #fff;
}
.price h3 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.price p { margin-top: 6px; color: rgba(255, 255, 255, .78); font-size: 19px; }
.price .button { background: #fff; color: var(--accent); }
.price .button:hover { background: var(--accent-soft); }

/* Вопросы: раскрывающийся список */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-right: 6px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq details p {
  max-width: 660px;
  padding: 0 4px 24px;
  color: var(--ink-2);
}

/* Заявка */

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field {
  position: relative;
  display: block;
}
.field-wide,
.form-foot,
.form-done { grid-column: 1 / -1; }

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 26px 16px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(107, 81, 191, .16);
}
.field > span:not(.field-error) {
  position: absolute;
  left: 17px;
  top: 18px;
  color: var(--ink-3);
  font-size: 17px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .18s ease, color .18s ease;
}
.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  transform: translateY(-10px) scale(.72);
}
.field input:focus + span,
.field textarea:focus + span { color: var(--accent); }
.field input[required] + span::after,
.field textarea[required] + span::after { content: " *"; color: var(--accent); }

.field.is-invalid input,
.field.is-invalid textarea { border-color: #e30000; }
.field.is-invalid input:focus,
.field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(227, 0, 0, .12); }
.field-error {
  display: block;
  margin: 6px 4px 0;
  color: #e30000;
  font-size: 14px;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.43;
  cursor: pointer;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid #aeaeb2;
  border-radius: 7px;
  background: var(--bg) center / 14px no-repeat;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.check input:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.3 11.5 3.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.check input:focus-visible {
  outline: 3px solid rgba(107, 81, 191, .55);
  outline-offset: 2px;
}
.check.is-invalid input { border-color: #e30000; }
.check .field-error { position: absolute; left: 34px; top: 100%; margin-top: 4px; }
.check.is-invalid { margin-bottom: 18px; }

.legal-note {
  margin-top: 36px;
  padding: 24px 26px 26px;
  background: var(--bg);
  border-radius: 18px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.legal-note h3 {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.01em;
}
.legal-note p,
.legal-note ol { margin-top: 8px; }
.legal-note ol { padding-left: 20px; list-style: decimal; }
.legal-note li + li { margin-top: 4px; }
.legal-note b { color: var(--ink); font-weight: 600; }
.legal-meta { color: var(--ink-3); }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 10px;
}
.form-note {
  flex: 1 1 280px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.43;
}
.form-done {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 24px;
  background: var(--accent-soft);
  border-radius: 18px;
}
.form-done[hidden] { display: none; }
.form-done p { flex: 1 1 320px; }

/* Страница политики */

.legal {
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px);
}
.legal h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.028em;
}
.legal .legal-meta { margin-top: 12px; font-size: 15px; }
.legal h2 {
  margin-top: 40px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.legal p,
.legal ul { margin-top: 12px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li + li { margin-top: 6px; }

/* Подвал */

.footer {
  padding: 22px 0 34px;
  background: var(--bg-alt);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.footer a { color: var(--ink); }
.footer-legal { flex-basis: 100%; color: var(--ink-3); }

/* Появление при прокрутке: без скрипта всё видно сразу */

.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ——— Узкие экраны ——— */

@media (max-width: 1068px) {
  .nav-links { gap: 18px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-phone { margin-left: auto; }

  .tiles,
  .cards,
  .facts,
  .trio,
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts,
  .trio { gap: 28px; }
  .facts { text-align: center; }

  .split { grid-template-columns: 1fr; }
  .split-copy { text-align: center; }
  .chat { max-width: 520px; margin-inline: auto; }
  .call { right: 50%; transform: translateX(50%); }

  /* Телефоны родителя — лентой с прокруткой вбок */
  .gallery {
    display: flex;
    gap: 22px;
    width: 100%;
    padding: 0 var(--gutter) 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 min(68vw, 300px);
    scroll-snap-align: center;
  }
}

@media (max-width: 600px) {
  :root { --radius: 22px; --gutter: 16px; }
  .nav-inner { gap: 16px; }
  .nav-phone span { display: none; }
  .nav-phone svg { width: 20px; height: 20px; }
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form-foot .button { width: 100%; }
  .hero-phone,
  .devices-phone { width: 24%; right: 0; }
  .laptop { width: 88%; margin-left: 0; }
  .tile p { font-size: 17px; }
  .chat { font-size: 15px; }
  .call { width: 90%; }
  .faq summary { font-size: 19px; padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-in,
  .hero-rise { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
