/* Murchat — стили сайта.
   Только светлая тема. Фон нежно-бежевый, карточки белые, телефон на первом экране — на шалфейной плашке.
   Раскладка: мобильная в одну колонку; от 900px текст встаёт рядом со своим диалогом, тарифы — в три колонки.
   Язык интерфейса — нейтральный, как у мессенджера: системный шрифт, тонкие линии, один акцентный цвет. */

:root {
  --bg: #F8F7F3;
  --card: #FFFFFF;
  --surface: #F1EEE8;
  --plaque: #E8EDE4;
  --green: #4A6B50;
  --green-text: #3D5A44;
  --accent-tint: rgba(179, 48, 95, .055);
  --fg: #211F20;
  --fg-2: #6E6966;
  --fg-3: #8E8884;
  --line: #E6E2D9;
  --line-strong: #D3CEC4;
  --btn-2: #EFEBE4;
  --btn-2-hover: #E7E2D9;
  --accent: #B3305F;
  --accent-hover: #982650;
  --accent-fg: #FFFFFF;
  --inverse: #211F20;
  --inverse-fg: #FFFFFF;
  --nose: #F28D7A;
  --bubble-in: #F1EEE8;
  --bubble-in-fg: #211F20;
  --bubble-out: #262326;
  --bubble-out-fg: #FFFFFF;
  --scrim: rgba(33, 31, 32, .45);
  --photo-bg: #F1E6E1;
  --skin: #E6CFC3;
  --nail: #D93E74;
  --glitter: #FFFFFF;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --gutter: 20px;
  --maxw: 1120px;
  color-scheme: light;
}

/* ── База ─────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(100px + env(safe-area-inset-top, 0px));
}

:root {
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

[hidden] { display: none !important; }

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); }
.price, .price-old, .setup-now, .setup-old, .step-title, .features b { font-family: var(--font-head); }

/* Курсив с засечками — только «вашего салона.» на первом экране (и цифры статистики, см. .stat-num) */
h1 em, h2 em, h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.display em { font-weight: 500; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--inverse);
  color: var(--inverse-fg);
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.wrap.narrow { max-width: 780px; }
.measure > * { max-width: 780px; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.display {
  font-size: clamp(38px, 10.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.display em { display: block; font-size: 1.06em; line-height: 1.08; letter-spacing: -0.015em; }
@media (min-width: 900px) { .display { font-size: clamp(44px, 5vw, 66px); } }

.h2 {
  font-size: clamp(30px, 6.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.h3 {
  font-size: clamp(22px, 3.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.016em;
  font-weight: 700;
}

.lead {
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 36em;
}

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.caption {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-3);
}

.muted { color: var(--fg-2); }

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

.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow .2s ease, background-color .2s ease; }
.btn-secondary:hover { background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

.icon-btn {
  -webkit-appearance: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.icon-btn:hover { background: var(--btn-2); }

.link-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Шапка ────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "logo actions" "tag tag";
  align-items: center;
  column-gap: 12px;
  padding-block: 10px;
}
.brand { display: contents; }
.logo { grid-area: logo; justify-self: start; }
.topbar-actions { grid-area: actions; }
.tagline {
  grid-area: tag;
  padding-top: 5px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--fg-2);
}
@media (min-width: 760px) {
  .topbar-in { display: flex; justify-content: space-between; gap: 16px; height: 64px; padding-block: 0; }
  .brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
  .tagline { padding: 2px 0 2px 14px; border-left: 1px solid var(--line); font-size: 14px; line-height: 1.3; }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.logo:hover { text-decoration: none; }
.logo-svg {
  display: block;
  width: auto;
  height: 22px;
  overflow: visible;
}
@media (min-width: 760px) { .logo-svg { height: 24px; } }
.mark-nose { fill: var(--nose); }
.mark-live { display: none; }
.logo-svg.is-live .mark-live { display: inline; }
.logo-svg.is-live .mark-rest { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.topcta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.topcta.is-on { opacity: 1; visibility: visible; transform: none; }

/* ── Секции ───────────────────────────────────────────────────── */

.section {
  padding-block: 76px;
  border-top: 1px solid var(--line);
}
.section-surface { background: var(--surface); }
@media (min-width: 900px) {
  .section { padding-block: 116px; }
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 760px;
  margin-bottom: 48px;
}
@media (min-width: 900px) {
  .section-head { margin-bottom: 72px; }
}

.split {
  display: grid;
  gap: 44px;
  align-items: start;
}
.split > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .split.center { align-items: center; }
}

.stack { display: grid; gap: 18px; align-content: start; }
.stack-lg { display: grid; gap: 28px; align-content: start; }

/* Список с галочками */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 30px;
}
.ticks li::before,
.trust li::before,
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.4l3.2 3.1L14 5.6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.4l3.2 3.1L14 5.6' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

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

.hero { padding-block: 36px 76px; }
.hero-grid { display: grid; gap: 52px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-sub { font-size: 18px; line-height: 1.5; color: var(--fg-2); max-width: 33em; }
.hero-lead { font-size: clamp(20px, 2.6vw, 24px); line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.hero-src { margin-top: -10px; }
@media (min-width: 900px) {
  .hero { padding-block: 64px 116px; overflow-x: hidden; overflow-x: clip; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.cta-row .btn { flex: 1 1 100%; }
@media (min-width: 400px) {
  .cta-row .btn { flex: 0 0 auto; }
}

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--fg-2);
}
.trust li { position: relative; padding-left: 22px; }
.trust li::before { width: 16px; height: 16px; top: .15em; }

/* ── Телефон и диалоги ────────────────────────────────────────── */

.hero-plaque {
  display: grid;
  place-items: center;
  padding: 64px 18px 44px;
  border-radius: 150px 150px 28px 28px;
  background: var(--plaque);
}
.hero-plaque .device { width: 88%; transform: rotate(3deg); }
@media (min-width: 900px) {
  .hero-plaque {
    padding: 88px 48px 68px;
    border-radius: 220px 220px 36px 36px;
    margin-right: calc(-1 * clamp(0px, (100vw - var(--maxw)) / 2 - 12px, 72px));
  }
  .hero-plaque .device { width: 100%; max-width: 372px; }
}

.device {
  width: 100%;
  max-width: 352px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.screen {
  border-radius: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px 6px;
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.status-icons { display: inline-flex; align-items: center; gap: 6px; }

.chat {
  background: var(--card);
  min-width: 0;
}
.chat-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 440px;
  width: 100%;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--line);
}
.chat-head .back { color: var(--fg); display: inline-flex; }
.chat-title { display: grid; line-height: 1.25; min-width: 0; }
.chat-title b { font-size: 15px; font-weight: 600; }
.chat-title small { font-size: 12.5px; color: var(--fg-3); }

.ava {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--inverse);
  color: var(--inverse-fg);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px 18px;
}
.chat-meta {
  align-self: center;
  font-size: 12px;
  color: var(--fg-3);
  padding-block: 4px 8px;
  font-variant-numeric: tabular-nums;
}
.msg {
  max-width: 84%;
  padding: 9px 14px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.msg.in { align-self: flex-start; background: var(--bubble-in); color: var(--bubble-in-fg); }
.msg.out { align-self: flex-end; background: var(--bubble-out); color: var(--bubble-out-fg); }
.msg.in + .msg.out, .msg.out + .msg.in, .photo + .msg.in { margin-top: 8px; }
.msg .slots { display: block; margin-block: 6px; font-variant-numeric: tabular-nums; }

.photo {
  align-self: flex-end;
  width: 46%;
  max-width: 170px;
  border-radius: 18px;
  overflow: hidden;
  line-height: 0;
}
.photo svg, .photo img { width: 100%; height: auto; display: block; }
.nails .bg { fill: var(--photo-bg); }
.nails .skin { fill: var(--skin); }
.nails .nail { fill: var(--nail); }
.nails .gl { fill: var(--glitter); }

.flow-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-2);
  padding-left: 4px;
}

.fig-caption {
  font-size: 15px;
  color: var(--fg-2);
  max-width: 440px;
}

/* Уведомление салону */
.notice {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  max-width: 440px;
  width: 100%;
}
.notice-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--inverse);
  color: var(--inverse-fg);
  display: grid;
  place-items: center;
}
.notice-icon svg { width: 27px; height: auto; display: block; }
.notice-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--fg-3); }
.notice b { display: block; font-size: 15px; font-weight: 600; color: var(--fg); margin-top: 1px; }
.notice p { font-size: 14.5px; line-height: 1.42; color: var(--fg-2); margin-top: 2px; }
.notice .chip-action {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--btn-2);
  color: var(--fg);
  font-size: 13.5px;
  font-weight: 600;
}

/* Карточка клиентки */
.client {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  max-width: 440px;
  width: 100%;
}
.client-head { display: flex; align-items: center; gap: 12px; }
.client-head .ava { background: var(--btn-2); color: var(--fg); }
.client-head b { display: block; font-size: 16px; }
.client-head small { font-size: 13px; color: var(--fg-3); }
.client dl { display: grid; gap: 10px; font-size: 14.5px; }
.client dl div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; }
.client dt { color: var(--fg-3); }
.client .note-new {
  display: block;
  background: var(--btn-2);
  border-radius: 8px;
  padding: 6px 10px;
  margin: -6px -10px;
}
.client .note-new small { display: block; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
.client-foot { font-size: 13.5px; color: var(--fg-2); border-top: 1px solid var(--line); padding-top: 12px; }

/* ── Проблема ─────────────────────────────────────────────────── */

.stats { list-style: none; display: grid; gap: 44px; padding-block: 8px; }
.measure > .stats { max-width: 920px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }
.stat { display: grid; gap: 8px; align-content: start; min-width: 0; }
.stat-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(68px, 18vw, 108px);
  line-height: .95;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.stat-text { font-size: clamp(18px, 2.3vw, 21px); line-height: 1.38; font-weight: 600; letter-spacing: -0.01em; max-width: 22em; }


.problem-body { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.45; letter-spacing: -0.008em; max-width: 30em; }

/* ── Четыре источника ценности ───────────────────────────────── */

.part { display: grid; gap: 52px; }
.part + .part { margin-top: 96px; padding-top: 72px; border-top: 1px solid var(--line); }
.part-head { display: grid; gap: 12px; max-width: 760px; }
.part-title { font-size: clamp(24px, 4.4vw, 34px); line-height: 1.15; letter-spacing: -0.022em; font-weight: 600; }
#what .section-head { margin-bottom: 40px; }
@media (min-width: 900px) {
  .part { gap: 64px; }
  .part + .part { margin-top: 116px; padding-top: 96px; }
}
.pillars { display: grid; gap: 88px; }
.pillar { display: grid; gap: 32px; align-items: start; }
.pillar > * { min-width: 0; }
.pillar-copy { display: grid; gap: 16px; max-width: 34em; }
.pillar-copy p { color: var(--fg-2); }
.pillar-visual { display: grid; gap: 14px; justify-items: start; }
@media (min-width: 900px) {
  .pillar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .pillar-visual { justify-items: end; }
}

/* ── Чего не делает ──────────────────────────────────────────── */

.never { list-style: none; display: grid; border-top: 1px solid var(--line); }
.never li {
  position: relative;
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.never li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.6px solid var(--fg-3);
}
.never li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 27.2px;
  width: 10px;
  height: 1.6px;
  background: var(--fg-3);
}


/* ── Проверьте сами ───────────────────────────────────────────── */

.probes { list-style: none; display: grid; gap: 12px; }
@media (min-width: 720px) { .probes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.probe {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}
.probe-send { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.probe-bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 18px;
  background: var(--bubble-out);
  color: var(--bubble-out-fg);
  font-size: 15px;
  line-height: 1.38;
  min-width: 0;
  overflow-wrap: anywhere;
}
.probe-bubble.kind { background: var(--btn-2); color: var(--fg); }
.probe-see { font-size: 15px; color: var(--fg-2); }
.probe-see b { color: var(--fg); font-weight: 600; }
.copy {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: var(--btn-2);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 12px;
  cursor: pointer;
}
.copy { transition: background-color .2s ease, color .2s ease; }
.copy:hover { background: var(--accent-tint); color: var(--accent); }

.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.channels .btn { flex: 0 1 auto; }
.section-surface .btn-secondary { background: var(--card); }
.section-surface .btn-secondary:hover { background: linear-gradient(var(--accent-tint), var(--accent-tint)), var(--card); }

/* ── Приложение ───────────────────────────────────────────────── */

.features { list-style: none; display: grid; gap: 28px 40px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.features li { display: grid; gap: 6px; align-content: start; min-width: 0; }
.features b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.features span { color: var(--fg-2); font-size: 15.5px; }

.shots { margin-top: 56px; min-width: 0; }
.shots-nav { display: none; }
@media (min-width: 900px) {
  .shots { margin-top: 72px; }
  .shots-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 16px; }
}
.shots-btn { border: 1px solid var(--line); }
.shots-btn[disabled] { opacity: .35; cursor: default; }
.shots-btn[disabled]:hover { background: transparent; }
.shots-track {
  list-style: none;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px)));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  scroll-padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-bottom: 4px;
}
.shots-track::-webkit-scrollbar { display: none; }
.shots-track:focus-visible { outline-offset: -2px; }
.shot { flex: 0 0 212px; scroll-snap-align: start; display: grid; gap: 14px; align-content: start; }
@media (min-width: 900px) { .shot { flex-basis: 236px; } }
.shot-frame {
  padding: 6px;
  border-radius: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.shot-screen {
  position: relative;
  aspect-ratio: 1179 / 2556;
  max-width: 100%;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.shot-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.shot-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--fg-3);
}
.shot-cap { font-size: 15px; font-weight: 600; padding-left: 4px; }

/* ── Цены ─────────────────────────────────────────────────────── */

.frame { display: grid; gap: 18px; max-width: 780px; }
.frame p { font-size: clamp(19px, 2.4vw, 23px); line-height: 1.45; letter-spacing: -0.01em; }
.frame p + p { color: var(--fg-2); }
.frame sup { font-size: .6em; color: var(--fg-3); }

.promo { display: grid; gap: 8px; max-width: 460px; margin-top: 52px; }
.promo label { font-weight: 600; font-size: 15px; }
.promo-row { display: flex; gap: 8px; }
.promo-msg { font-size: 14.5px; color: var(--fg-2); min-height: 1.45em; }
.promo-msg.ok { color: var(--fg); }
.promo-msg .link-btn { font-size: 14.5px; margin-left: 4px; }

.input {
  -webkit-appearance: none;
  appearance: none;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  color: var(--fg);
  font: inherit;
  font-size: 16px;
}
.input::placeholder { color: var(--fg-3); }
.input:hover { border-color: var(--line-strong); }
.input:focus { outline: none; border-color: var(--accent); }
.input:focus-visible { outline: none; }
.section-surface .input { background: var(--card); }

.plans { display: grid; gap: 16px; margin-top: 20px; align-items: stretch; }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}
.plan-head { display: grid; gap: 4px; }
.plan-name-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-head h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.015em; }
.plan-for { font-size: 15px; color: var(--fg-2); }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--inverse);
  color: var(--inverse-fg);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill.soft { background: var(--btn-2); color: var(--fg); }
.plan-price { display: grid; gap: 8px; justify-items: start; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price {
  font-size: 46px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.per { font-size: 16px; color: var(--fg-2); }
.price-old { font-size: 36px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.price-note { font-size: 14px; color: var(--fg-2); }
.plan-list { list-style: none; display: grid; gap: 11px; font-size: 15.5px; }
.plan-list li { position: relative; padding-left: 28px; }
.plan-list li.lead-in { padding-left: 0; color: var(--fg-2); font-size: 14.5px; }
.plan-list li.lead-in::before { display: none; }
.plan .btn { margin-top: auto; }
.plan-payback { margin-top: -8px; font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.plan-payback sup { color: var(--fg-3); }

.setup {
  margin-top: 16px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}
.setup-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.setup-title { font-size: clamp(22px, 3vw, 26px); font-weight: 700; letter-spacing: -0.015em; }
.setup-price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.setup-now { font-size: clamp(30px, 4.4vw, 36px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.setup-old { font-size: clamp(24px, 3.4vw, 28px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.plans-foot { display: grid; gap: 10px; margin-top: 28px; font-size: 15.5px; color: var(--fg-2); max-width: 780px; }
.plans-foot b { color: var(--fg); font-weight: 600; }
.plans-foot s { color: var(--fg-3); }
.foot-notes { display: grid; gap: 4px; margin-top: 8px; font-size: 13.5px; color: var(--fg-3); }

/* ── Кто мы ───────────────────────────────────────────────────── */

.quote {
  font-family: var(--font-head);
  color: var(--fg);
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 22em;
}

/* ── Кейсы ────────────────────────────────────────────────────── */

.cases { list-style: none; display: grid; gap: 16px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case { display: grid; gap: 14px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.case-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--fg-2); }
.case-counts { display: grid; gap: 6px; font-size: 18px; font-weight: 600; }
.case blockquote { color: var(--fg-2); }

/* ── Вопросы ──────────────────────────────────────────────────── */

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  margin-right: 4px;
  border-right: 2px solid var(--fg-3);
  border-bottom: 2px solid var(--fg-3);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq-a { display: grid; gap: 10px; padding-bottom: 22px; color: var(--fg-2); max-width: 40em; }

/* ── Последний экран и подвал ─────────────────────────────────── */

.final { display: grid; gap: 28px; }
.final .h2 { max-width: 18em; }
.contacts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15.5px; color: var(--fg-2); }
.contacts a { font-weight: 600; }

.footer { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 14px; color: var(--fg-2); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer a { color: var(--fg-2); }

/* ── Окно выбора канала демо ─────────────────────────────────── */

.sheet {
  border: 0;
  padding: 0;
  margin: auto 0 0;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  background: transparent;
  color: var(--fg);
}
.sheet::backdrop { background: var(--scrim); }
.sheet-panel {
  display: grid;
  gap: 16px;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  padding-top: 10px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.sheet-grab { justify-self: center; width: 40px; height: 5px; border-radius: 999px; background: var(--line); }
.sheet-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sheet-top h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.sheet-top p { font-size: 15px; color: var(--fg-2); margin-top: 4px; }
.sheet-links { display: grid; gap: 8px; }
.sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-radius: var(--r);
  background: var(--btn-2);
  color: var(--fg);
  font-weight: 600;
}
.sheet-link:hover { background: var(--btn-2-hover); text-decoration: none; }
.sheet-link small { font-weight: 400; color: var(--fg-2); font-size: 14px; }
.sheet-foot { font-size: 14.5px; color: var(--fg-2); border-top: 1px solid var(--line); padding-top: 14px; }
@media (min-width: 640px) {
  .sheet { margin: auto; width: min(460px, calc(100% - 32px)); }
  .sheet-panel { border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
  .sheet-grab { display: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  max-width: calc(100% - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--inverse);
  color: var(--inverse-fg);
  font-size: 14.5px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ── Страница подключения ─────────────────────────────────────── */

.connect { padding-block: 28px 88px; }
.connect-head { display: grid; gap: 14px; margin-bottom: 32px; }
.connect-head h1 { font-size: clamp(32px, 7.4vw, 46px); line-height: 1.08; letter-spacing: -0.028em; font-weight: 700; }
.back-link { font-size: 15px; justify-self: start; }

.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  counter-increment: step;
  min-width: 0;
  margin: 0;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
@media (min-width: 600px) { .step { padding: 26px; } }
.step-title {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.step-title::before {
  content: counter(step);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--inverse);
  color: var(--inverse-fg);
  display: grid;
  place-items: center;
  font-size: 14px;
}
.step-body { clear: both; display: grid; gap: 18px; }

.opts { display: grid; gap: 10px; }
.opt {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.opt.is-checked { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.opt input { margin: 0; width: 20px; height: 20px; accent-color: var(--accent); }
.opt-main { display: grid; min-width: 0; }
.opt-name { font-weight: 600; }
.opt-for { font-size: 14px; color: var(--fg-2); }
.opt-price { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt-price s { display: block; font-weight: 400; font-size: 13px; color: var(--fg-3); }
.opt-price small { display: block; font-weight: 400; font-size: 12.5px; color: var(--fg-2); white-space: normal; max-width: 8.5em; margin-left: auto; }

.applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--surface);
}
.applied-code { display: grid; gap: 2px; }
.applied-code b { font-weight: 600; }
.applied-code span { font-size: 14px; color: var(--fg-2); }

.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field > .field-label { font-weight: 600; font-size: 15px; }
.field .opt-hint { font-weight: 400; color: var(--fg-3); }
.hint { font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.hint .link-btn { font-size: 14px; }
.field-err { font-size: 14px; color: var(--fg); }
.field.has-error .input { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.row-2 { display: grid; gap: 18px; }
@media (min-width: 520px) { .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 15.5px;
  -webkit-tap-highlight-color: transparent;
}
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip.is-checked { background: var(--inverse); color: var(--inverse-fg); border-color: var(--inverse); }
.chip:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

.summary {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  font-size: 15.5px;
  color: var(--fg-2);
}
.summary b { color: var(--fg); font-weight: 600; }

.submit-row { display: grid; gap: 12px; }

.done, .fallback { display: grid; gap: 20px; }
.done-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--inverse);
  color: var(--inverse-fg);
  display: grid;
  place-items: center;
}
.done h2, .fallback h2 { font-size: clamp(30px, 7vw, 40px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.done-text { font-size: 19px; line-height: 1.5; max-width: 30em; }
.lead-text {
  margin: 0;
  padding: 16px 18px;
  border-radius: 999px;
  background: var(--surface);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { flex: 1 1 200px; }

/* ── Юридические страницы ─────────────────────────────────────── */

.legal { padding-block: 32px 88px; }
.legal-body { display: grid; gap: 14px; max-width: 44em; }
.legal-body h1 { font-size: clamp(30px, 6.6vw, 42px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 8px; }
.legal-body h2 { font-size: 20px; letter-spacing: -0.01em; margin-top: 22px; }
.legal-body p, .legal-body li { color: var(--fg-2); }
.legal-body ul { padding-left: 1.2em; display: grid; gap: 6px; }
.draft-banner { padding: 14px 16px; border-radius: var(--r); background: var(--surface); font-size: 14.5px; color: var(--fg-2); }

.nw { white-space: nowrap; }

/* ── Подсветка там, где курсор ─────────────────────────────────
   Обводка карточки розовеет там, где курсор. Пятна на фоне и внутри карточек нет.
   Класс .glow и координаты --mx/--my ставит common.js, только для мыши. */
.glow { position: relative; --bw: 1px; }
.glow::after {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--bw));
  padding: var(--bw);
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), var(--accent), transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
}
.glow:hover::after { opacity: 1; }


.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--accent); }
.faq summary:hover::after { border-color: var(--accent); }
.features li:hover b { color: var(--accent); }
.features b { transition: color .2s ease; }
.sheet-link { transition: background-color .2s ease, box-shadow .2s ease; }
.sheet-link:hover { background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }

/* Логотип над блоком приложения: анимация, когда до него долистали */
.app-head { margin-inline: auto; text-align: center; justify-items: center; }
.app-head .lead { margin-inline: auto; }
.app-title { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: .3em; row-gap: 8px; font-size: clamp(24px, 6.4vw, 46px); }
.app-logo { display: block; color: var(--fg); }
.app-title .logo-svg.logo-lg { height: .94em; }


/* ── Согласие с документами на странице подключения ───────────── */
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 14px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.consent .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 560px) {
  .consent { grid-template-columns: auto minmax(0, 1fr) auto; }
  .consent .btn { grid-column: auto; }
}
.consent-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: transparent;
  display: grid;
  place-items: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.consent.is-accepted .consent-mark { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.consent.has-error { border-color: var(--accent); }
.consent-text { display: grid; gap: 2px; font-size: 15px; }
.consent-text b { font-weight: 600; }
.consent-text span { color: var(--fg-2); font-size: 14px; }
[data-consent-err] { margin-top: -8px; }

.consent-panel {
  height: min(86vh, 760px);
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  gap: 14px;
}
.consent-sheet[open] .consent-panel { display: grid; }
@media (min-width: 640px) {
  .consent-sheet { width: min(620px, calc(100% - 32px)); }
  .consent-panel { grid-template-rows: auto auto minmax(0, 1fr) auto; }
}
.consent-progress { height: 3px; border-radius: 999px; background: var(--btn-2); overflow: hidden; }
.consent-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .15s linear; }
.consent-doc {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 8px 0;
  border-bottom: 1px solid var(--line);
}
.consent-doc:focus-visible { outline-offset: 2px; }
.consent-section { gap: 10px; font-size: 15px; }
.consent-section + .consent-section { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.consent-section h1 { font-size: 22px; margin: 0; }
.consent-section h2 { font-size: 17px; margin-top: 12px; }
.consent-foot { display: grid; gap: 8px; }
.consent-foot .hint { text-align: center; }

/* Скриншоты настоящих переписок (тёмная тема мессенджера) */
.chat-shot {
  width: 100%;
  max-width: 400px;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.chat-shot img { display: block; width: 100%; height: auto; }

/* Свечение под курсором — на плашке за телефоном и в блоке «Проверьте сами» */
.section-plaque { background: var(--plaque); }
.hero-plaque, .section-plaque { position: relative; isolation: isolate; }
.hero-plaque::before, .section-plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--px, 50%) var(--py, 50%), rgba(179, 48, 95, .2), rgba(179, 48, 95, .06) 45%, transparent 72%);
  opacity: 0;
  transition: opacity .45s ease;
}
.hero-plaque.is-glow::before, .section-plaque.is-glow::before { opacity: 1; }

/* Ссылки на документы над кнопкой тарифа */
.plan-docs { font-size: 14px; line-height: 1.45; color: var(--fg-2); }
.plan-docs a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.plan-docs a:hover { color: var(--accent); }
.plan .plan-docs + .btn { margin-top: 0; }

/* Две цены в карточке тарифа: подпись слева, цена справа */
.plan-price { justify-items: stretch; gap: 14px; }
.plan-price .pill { justify-self: start; }
.price-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price-label { display: grid; gap: 3px; min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.price-label .price-note { font-weight: 400; font-size: 13.5px; color: var(--green-text); }
.plan-price .pill { background: var(--green); }
.promo-msg.ok { color: var(--green-text); }
.price-line .price-row { flex: none; flex-wrap: nowrap; gap: 8px; }
.price-line .price { font-size: 30px; }
.price-line .price-old { font-size: 21px; }

/* К оплате при запуске */
.plan-pay { display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.pay-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; }
.pay-now { font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pay-note { font-size: 13.5px; line-height: 1.45; color: var(--fg-2); }
.plan-app-note { margin-top: -12px; font-size: 13.5px; text-align: center; color: var(--fg-2); }

/* «Связаться с нами» в правом нижнем углу */
.contact-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  background: var(--card);
  box-shadow: 0 6px 24px rgba(33, 31, 32, .14);
}
.footer { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

/* Таблица подрядчиков в условиях */
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--fg-2); }
.legal-table th { color: var(--fg); font-weight: 600; }

/* Уведомление поверх скриншота: наезжает на его низ, матовое стекло размывает то, что под ним */
.notice.notice-float {
  position: relative;
  z-index: 1;
  margin-top: -64px;
  margin-left: 16px;
  max-width: min(360px, calc(100% - 32px));
  background: rgba(255, 255, 255, .7);
  border-color: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
          backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 12px 32px rgba(33, 31, 32, .14);
}
@media (min-width: 900px) {
  .notice.notice-float { margin-left: 0; margin-right: 64px; margin-top: -72px; }
}

/* Заблокированный промокод: виден, но не меняется */
.input:disabled { background: var(--surface); color: var(--fg); -webkit-text-fill-color: var(--fg); opacity: 1; cursor: default; }

/* Страница подключения: зафиксированные тариф и промокод, галочка согласия */
.locked {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--surface);
}
.locked-main { display: grid; gap: 2px; min-width: 0; }
.locked-main b { font-weight: 600; font-size: 16.5px; }
.locked-price { font-size: 14.5px; color: var(--fg-2); }
.locked-price s { color: var(--fg-3); margin-right: 6px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--fg-2);
  cursor: pointer;
}
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }

/* Кнопка в шапке: на узком экране — короткая подпись, чтобы не наезжать на логотип */
.topcta .cta-short { display: none; }
@media (max-width: 559px) {
  .topcta .cta-long { display: none; }
  .topcta .cta-short { display: inline; }
}

/* Страница «Связаться с нами» */
.contact-body { display: grid; gap: 18px; max-width: 44em; }
.contact-body h1 { font-size: clamp(30px, 6.6vw, 42px); line-height: 1.1; letter-spacing: -0.025em; }
.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 16px;
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.contact-card .btn { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .contact-card { grid-template-columns: auto minmax(0, 1fr) auto; }
  .contact-card .btn { grid-column: auto; }
}
.contact-ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; }
.contact-main { display: grid; gap: 2px; }
.contact-main b { font-weight: 600; font-size: 17px; }
.contact-main span { color: var(--fg-2); font-size: 15px; font-variant-numeric: tabular-nums; }
