/* ── Bento ─────────────────────────────────────────────────────────── */
.bento { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bx--wide { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } }
.bx {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  padding: 22px; transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s, border-color .22s;
}
.bx:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.bx h4 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }
.bx p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }

/* ── Чего не будет ─────────────────────────────────────────────────── */
.nots { display: grid; gap: 1px; background: var(--line); }
@media (min-width: 760px) { .nots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.not { background: var(--bg); padding: 22px 0; }
@media (min-width: 760px) { .not { padding: 22px 30px; } .not:nth-child(odd) { padding-left: 0; } }
.not b { display: block; font-size: 18px; font-weight: 560; letter-spacing: -0.02em; margin-bottom: 6px; }
.not b::before { content: ''; display: inline-block; width: 16px; height: 1px; background: var(--warn); vertical-align: middle; margin-right: 10px; }
.not p { margin: 0; color: var(--fg-2); font-size: 14.5px; max-width: 42ch; }

.soon { font-size: clamp(17px, 2vw, 23px); line-height: 1.5; letter-spacing: -0.015em; margin: 0 0 20px; max-width: 30ch; font-weight: 500; }

/* ── Ловушка почты: одно поле и кнопка ─────────────────────────────── */
.catch { display: flex; gap: 10px; flex-wrap: wrap; max-width: 480px; }
.catch input {
  flex: 1 1 240px; height: 50px; min-width: 0;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2);
  padding: 0 15px; font: inherit; font-size: 16px; color: var(--fg);
  transition: border-color .18s, box-shadow .18s;
}
.catch input::placeholder { color: var(--fg-3); }
.catch input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.catch .btn { height: 50px; flex: none; }
.catch.is-bad input { border-color: var(--warn); }
.catch-err { font-size: 13px; color: var(--warn); margin: 8px 0 0; min-height: 1px; }
.catch-note { font-family: var(--mono); font-size: 12px; color: var(--fg-3); margin: 12px 0 0; }

/* ── Всплывающее окно с остальными полями ──────────────────────────── */
.pop-back {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center;
  padding: 20px; background: rgba(10, 14, 12, .58); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .25s;
  overflow-y: auto;
}
.pop-back.is-open { opacity: 1; pointer-events: auto; }
.pop {
  width: 100%; max-width: 520px; background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-pop);
  transform: translateY(14px) scale(.98); transition: transform .28s cubic-bezier(.2,.7,.3,1);
  margin: auto;
}
.pop-back.is-open .pop { transform: none; }
.pop-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.pop-head h3 { flex: 1; }
.pop-x {
  width: 30px; height: 30px; flex: none; border-radius: 8px; border: 0;
  background: var(--bg-3); color: var(--fg-2); cursor: pointer; font-size: 16px; line-height: 1;
}
.pop-x:hover { color: var(--fg); }
.pop-sub { color: var(--fg-2); font-size: 14.5px; margin: 0 0 20px; }
.pop-mail { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-2); margin: 0 0 18px; padding: 9px 12px; background: var(--accent-soft); border-radius: 9px; }
.pop-mail b { color: var(--fg); font-weight: 500; }
.pop-mail button { margin-left: auto; background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 12.5px; text-decoration: underline; }

/* ── Поля ──────────────────────────────────────────────────────────── */
.f-row { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 480px) { .f-row--2 { grid-template-columns: 1fr 1fr; } }
.f label { display: block; font-size: 12.5px; color: var(--fg-2); margin-bottom: 6px; }
.f label .dimx { color: var(--fg-3); }
.f input {
  width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 9px;
  padding: 0 13px; font: inherit; font-size: 15px; color: var(--fg); background: var(--bg-2);
  transition: border-color .18s, box-shadow .18s;
}
.f input::placeholder { color: var(--fg-3); }
.f input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.f.is-bad input { border-color: var(--warn); }
.f-err { font-size: 12px; color: var(--warn); margin: 5px 0 0; min-height: 1px; }
.f-hint { font-size: 12px; color: var(--fg-3); margin: 5px 0 0; }
.f-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; margin: 6px 0 18px; cursor: pointer; }
.f-agree a { text-decoration: underline; text-underline-offset: 2px; }
.f-box {
  width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2);
  flex: none; margin-top: 1px; display: grid; place-items: center; background: var(--bg-2);
  transition: background .18s, border-color .18s;
}
.f-box.is-on { background: var(--accent); border-color: var(--accent); }
.f-box.is-on::after { content: ''; width: 9px; height: 5px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1.5px); }
.f-send { width: 100%; }
.f-fail { font-size: 13px; color: var(--warn); margin: 10px 0 0; }

.form-done { text-align: center; padding: 20px 6px; }
.form-done .ok {
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; margin: 0 auto 16px; font-size: 20px;
}
.form-done p { color: var(--fg-2); margin: 8px 0 0; font-size: 15px; }

/* ── Форма в конце страницы ────────────────────────────────────────── */
.form-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 64px; } }
/* ⚠️ КАРТОЧКА — ОСТРОВОК ОБЫЧНОЙ ПОВЕРХНОСТИ ВНУТРИ КОНТРАСТНОЙ ПОЛОСЫ, и
   токены текста в ней надо ВЕРНУТЬ. Полоса переопределяет `--fg` у всего, что
   внутри неё, а фон карточки берётся из `--bg-2`, который полоса не трогает, —
   получался светлый текст на белом (заголовок «Оставьте почту» выглядел
   погашенным, найдено владельцем 03.09.2026). Значения берутся из
   `--surface-*`: их контрастная секция не переопределяет, и копий чисел здесь
   не заводится — иначе тёмная тема разъедется со светлой. */
.form-card {
  background: var(--surface-bg-2); border: 1px solid var(--surface-line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card);
  --bg: var(--surface-bg); --bg-2: var(--surface-bg-2); --bg-3: var(--surface-bg-3);
  --fg: var(--surface-fg); --fg-2: var(--surface-fg-2); --fg-3: var(--surface-fg-3);
  --line: var(--surface-line); --line-2: var(--surface-line-2);
  color: var(--surface-fg);
}

/* ── Вопросы ───────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.qa { border-bottom: 1px solid var(--line); }
.qa > button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 34px 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.015em;
  position: relative; color: var(--fg);
}
.qa > button::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--fg-3); transition: transform .25s;
}
.qa.is-open > button::after { transform: translateY(-50%) rotate(45deg); }
.qa-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s cubic-bezier(.2,.7,.3,1); }
.qa.is-open .qa-body { grid-template-rows: 1fr; }
.qa-body > div { overflow: hidden; }
.qa-body p { margin: 0 0 22px; color: var(--fg-2); font-size: 15.5px; max-width: 62ch; }

/* ── Футер ─────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.foot .container { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.foot-right { margin-left: auto; }
