/* Agriva - главная, версия 8 (05.11.2026). Тексты v7 и брифа, подача по приёмам glendeal.com:
   метка, крупный заголовок и одна строка у каждого блока; проблема и ответ парами; шаги с экраном у каждого;
   белый фон, один фирменный цвет кнопки, акцент заголовка вторым шрифтом (курсив с засечками).
   Цвета только из assets/tokens.css через var(--…); прозрачность - color-mix(… transparent).
   Всё видно без JavaScript и без анимации: ничего не прячется до прокрутки. */

:root {
  --hd: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec-y: clamp(64px, 8vw, 112px);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --page: var(--white);
  --soft-bg: var(--ivory-2);
  --muted: color-mix(in srgb, var(--ink) 72%, transparent);
  --soft: color-mix(in srgb, var(--ink) 66%, transparent);
  --hair: color-mix(in srgb, var(--ink) 11%, transparent);
  --accent: var(--forest);
  --accent-2: var(--forest-2);
  --ok: var(--leaf);
  --warn: var(--orange);
  --warn-ink: color-mix(in srgb, var(--orange) 45%, var(--ink));
  --warn-bg: color-mix(in srgb, var(--orange) 14%, var(--white));
  --pain-bg: color-mix(in srgb, var(--danger) 8%, var(--white));
  --fix-bg: color-mix(in srgb, var(--leaf) 14%, var(--white));
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--hd) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

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

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip:focus { transform: none; }

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

/* ───────── Текст ───────── */

.chip {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.sec--soft .chip { background: var(--white); }

h1,
h2 {
  color: var(--ink);
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: clamp(40px, 5.6vw, 70px);
  letter-spacing: -.035em;
  line-height: 1.03;
}

h2 {
  font-size: clamp(30px, 3.7vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.1;
}

/* Акцент заголовка: второй шрифт, один цвет. */
h1 em,
h2 em {
  color: var(--ok);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.03em;
}

h3 {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -.012em;
  line-height: 1.3;
}

.lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  text-wrap: pretty;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}

.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-2); }
.btn--primary:active { transform: translateY(1px); }

.btn--soft { background: var(--ivory); color: var(--accent); }
.btn--soft:hover { background: var(--sand); }

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 15px;
}

.btn[aria-disabled="true"] {
  background: color-mix(in srgb, var(--accent) 78%, var(--white));
  cursor: progress;
  transform: none;
}

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

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--page) 94%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: border-color .2s var(--ease);
}

.hdr.is-scrolled { border-bottom-color: var(--hair); }

.hdr__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--hd);
}

.hdr__brand { flex: none; margin-right: auto; }
.hdr__brand img { width: 120px; height: auto; }

.hdr__nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  flex-direction: column;
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid var(--hair);
  background: var(--page);
  box-shadow: var(--shadow-sm);
}

.menu-open .hdr__nav { display: flex; }

.hdr__nav a {
  padding: 14px 2px;
  border-bottom: 1px solid var(--hair);
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
}

.hdr__nav a:last-child { border-bottom: 0; }
.hdr__nav a:hover { color: var(--accent-2); }
.hdr__nav .hdr__nav-cta { color: var(--accent-2); }

.hdr__cta { flex: none; }

.hdr__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.hdr__toggle span,
.hdr__toggle span::before,
.hdr__toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.hdr__toggle span { position: relative; }

.hdr__toggle span::before,
.hdr__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.hdr__toggle span::before { top: -6px; }
.hdr__toggle span::after { top: 6px; }
.menu-open .hdr__toggle span { background: transparent; }
.menu-open .hdr__toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .hdr__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 960px) {
  .hdr__brand img { width: 142px; }
  .hdr__nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 4px;
    margin-right: 12px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
  }
  .hdr__nav a {
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    color: var(--muted);
    font-size: 15.5px;
  }
  .hdr__nav a:hover { color: var(--ink); background: var(--ivory-2); }
  .hdr__nav .hdr__nav-cta { display: none; }
  .hdr__toggle { display: none; }
}

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

.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); }

.hero__grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}

.hero__copy { max-width: 640px; }

.hero__lead {
  max-width: 580px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__hint {
  margin-top: 16px;
  color: var(--soft);
  font-size: 15px;
}

/* Фото рынка - фоном за экраном поставки: видно по краям карточки. */
.hero__visual {
  position: relative;
  padding: 36px 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ivory);
}

.hero__photo { position: absolute; inset: 0; }

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shot { position: relative; }

@media (min-width: 640px) {
  .hero__visual { padding: 52px 48px; }
  .hero__shot { max-width: 430px; }
}

@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero__visual { padding: 56px 48px 56px 56px; }
  .hero__shot { width: min(410px, 88%); }
}

/* ───────── Экран продукта (иллюстрация) ───────── */

.shot__tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 12px;
  border: 1px dashed color-mix(in srgb, var(--ink) 32%, transparent);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}

.app {
  display: grid;
  gap: 16px;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.app__kicker,
.app__label {
  color: var(--soft);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.app__title {
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.app__group {
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}

.app__label { margin-bottom: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}

.meter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.meter i { height: 8px; border-radius: 999px; background: var(--hair); }
.meter i.is-on { background: var(--ok); }
.meter i.is-warn { background: var(--warn); }

.meter--sm {
  grid-template-columns: repeat(2, 28px);
  gap: 4px;
  margin: 0;
}

.meter--sm i { height: 6px; }

.app__line {
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.app__line--doc { margin-top: 6px; color: var(--muted); font-weight: 550; }
.app__line--muted { margin-top: 8px; color: var(--muted); font-weight: 550; }

.app__next {
  padding: 14px 16px;
  border-left: 4px solid var(--warn);
  border-radius: var(--radius-sm);
  background: var(--warn-bg);
}

.app__label--warn { margin-bottom: 6px; color: var(--warn-ink); }

.app__next-text {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}

.split { display: grid; gap: 8px; }

.split__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
}

.split__val { color: var(--muted); font-variant-numeric: tabular-nums; }
.split__row--warn { margin-bottom: 8px; }
.split__row--warn .split__val { color: var(--warn-ink); font-weight: 750; }

.bubble {
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: 4px 14px 14px 14px;
  background: var(--ivory-2);
}

.bubble__from { margin-bottom: 4px; color: var(--soft); font-size: 12.5px; font-weight: 750; }
.bubble__text { font-size: 15px; line-height: 1.45; }

.app--flow { gap: 12px; }
.flow__item + .flow__item { padding-top: 12px; border-top: 1px solid var(--hair); }
.flow__item.app__next { border-top: 0; }

.harvey { display: flex; align-items: center; gap: 12px; }

.harvey img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.harvey--small { align-items: flex-start; }
.harvey--small img { flex: none; width: 36px; height: 36px; }

.harvey__name { font-size: 16px; font-weight: 750; line-height: 1.3; }

.harvey__role {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.harvey__zone { margin-top: 2px; color: var(--soft); font-size: 13.5px; line-height: 1.35; }

.badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}

/* ───────── Блоки ───────── */

.sec { padding-block: var(--sec-y); }
.sec--soft { background: var(--soft-bg); }

.sec__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 4.4vw, 56px);
}

.sec__head--center {
  margin-inline: auto;
  text-align: center;
}

.sec__head--center .lead { margin-inline: auto; }

/* Проблема: что мешает - и какой шаг это закрывает */

.pairs {
  display: grid;
  gap: 16px;
}

.pair { display: grid; gap: 10px; align-content: start; }

.pair__pain,
.pair__fix {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.pair__pain { min-height: 100%; background: var(--pain-bg); }

.pair__fix {
  background: var(--fix-bg);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow .18s var(--ease);
}

.pair__fix:hover { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--leaf) 45%, transparent); }

.pair__fix small {
  display: block;
  margin-bottom: 2px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pair__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.pair__pain .pair__mark { background: color-mix(in srgb, var(--danger) 16%, var(--white)); color: var(--danger); }
.pair__fix .pair__mark { background: color-mix(in srgb, var(--leaf) 26%, var(--white)); color: var(--accent-2); }

@media (min-width: 900px) {
  .pairs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pair { grid-template-rows: 1fr auto; }
}

/* Как работает: три шага, у каждого свой экран */

.steps {
  display: grid;
  gap: 24px;
  max-width: 1120px;
  margin-inline: auto;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 52px;
  bottom: -20px;
  left: 21px;
  width: 2px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}

.step__card {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--soft-bg);
}

.step__copy h3 { margin-bottom: 10px; }

.step__copy p {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.step__shot {
  padding: clamp(14px, 2vw, 22px);
  border-radius: var(--radius-md);
}

.step__shot .app { box-shadow: var(--shadow-sm); }
.step__shot--lime { background: var(--lime-soft); }
.step__shot--sky { background: var(--sky); }
.step__shot--sand { background: var(--sand); }

@media (min-width: 900px) {
  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 20px; }
  .step__num { width: 52px; height: 52px; font-size: 20px; }
  .step:not(:last-child)::before { top: 60px; left: 25px; }
  .step__card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 36px; }
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 760px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--soft-bg);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--accent-2); }

/* Продукт: что Agriva делает с обновлениями */

.abilities {
  display: grid;
  gap: 16px;
  max-width: 1080px;
  margin-inline: auto;
}

.ability {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
}

.ability p { font-size: 19px; font-weight: 750; line-height: 1.35; }

.ability__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fix-bg);
  color: var(--accent-2);
}

.ability__icon svg { width: 24px; height: 24px; }

@media (min-width: 860px) {
  .abilities { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

.product__foot {
  display: grid;
  gap: 16px;
  align-items: center;
  max-width: 1080px;
  margin: 20px auto 0;
}

.approve {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--white);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.35;
}

.approve svg { flex: none; width: 26px; height: 26px; color: var(--lime); }

.product__foot .harvey {
  padding: 16px 20px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
}

@media (min-width: 860px) {
  .product__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
}

/* Команда */

.team__head { max-width: 820px; margin-bottom: clamp(36px, 4.4vw, 56px); }

.founders { display: grid; gap: 20px; max-width: 780px; }

.founder {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--hair);
  border-radius: var(--radius-md);
  background: var(--white);
}

.founder img {
  width: 112px;
  height: 140px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  object-position: 50% 20%;
}

.founder h3 { font-size: 20px; }
.founder__title { margin-top: 4px; color: var(--accent-2); font-size: 15px; font-weight: 700; }
.founder__zone { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.45; }

@media (min-width: 760px) {
  .founders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder { grid-template-columns: 1fr; align-items: start; padding: 0 0 22px; overflow: hidden; }
  .founder img { width: 100%; height: auto; aspect-ratio: 4 / 4.2; border-radius: 0; }
  .founder__text { padding: 0 22px; }
}

/* Заявка на пилот: зелёный блок с формой */

.pilot__card {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 4.5vw, 64px);
  border-radius: var(--radius-xl);
  background: var(--accent);
  color: var(--white);
}

.pilot__copy h2 { color: var(--white); }
.pilot__copy h2 em { color: var(--lime); }
.pilot__copy h2:focus { outline: none; }
.pilot__copy h2:focus-visible { outline: 3px solid var(--lime); }
.pilot__copy .lead { color: color-mix(in srgb, var(--white) 84%, transparent); }

.chip--on-dark {
  background: color-mix(in srgb, var(--white) 14%, transparent);
  color: var(--white);
}

.ticks { display: grid; gap: 10px; margin-top: 26px; }

.ticks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 650;
}

.ticks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lime) 30%, transparent);
  color: var(--lime);
  font-size: 13px;
  font-weight: 800;
}

.pilot__photo { display: none; }

@media (min-width: 1000px) {
  .pilot__photo { display: block; margin-top: 40px; }
  .pilot__photo img { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); object-fit: cover; }
}

.pilot__panel {
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
}

.pilot__card :focus-visible { outline-color: var(--lime); }
.pilot__panel :focus-visible { outline-color: var(--accent-2); }

@media (min-width: 1000px) {
  .pilot__card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
}

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }

.field label { color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.35; }

.field__optional { margin-left: 6px; color: var(--soft); font-size: 14px; font-weight: 550; }

.field__hint { margin-top: -4px; color: var(--soft); font-size: 14px; line-height: 1.4; }

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 26%, transparent);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

.field textarea { min-height: 116px; resize: vertical; }

.field input:hover,
.field textarea:hover { border-color: color-mix(in srgb, var(--ink) 42%, transparent); }

.field input:focus,
.field textarea:focus {
  border-color: var(--accent-2);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 28%, transparent);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--danger); }

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--danger);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.4;
}

.field__error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.field__error[hidden],
.form__alert[hidden],
.form__done[hidden] { display: none; }

.form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form__submit { justify-self: start; min-width: 200px; }

.form__alert {
  padding: 14px 16px;
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--danger) 8%, var(--white));
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.5;
}

.form__alert a { color: var(--danger); font-weight: 700; }

.form__privacy { color: var(--soft); font-size: 14px; line-height: 1.5; }
.form__privacy a { color: var(--accent-2); font-weight: 650; }

.form__done {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.4;
}

.form__done:focus { outline: none; }
.form__done svg { flex: none; width: 36px; height: 36px; color: var(--success); }

@media (max-width: 520px) {
  .form__submit { justify-self: stretch; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ───────── Подвал ───────── */

.ftr {
  padding: 48px 0 40px;
  border-top: 1px solid var(--hair);
  background: var(--page);
  color: var(--muted);
  font-size: 15px;
}

.ftr__grid { display: grid; gap: 24px; }

.ftr__brand img { width: 124px; height: auto; }
.ftr__brand p { max-width: 320px; margin-top: 12px; line-height: 1.5; }

.ftr__links { display: flex; flex-wrap: wrap; gap: 10px 26px; }

.ftr__links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--ink) 25%, transparent);
  text-underline-offset: 4px;
}

.ftr__links a:hover { text-decoration-color: currentColor; }

.ftr__copy { color: var(--soft); font-size: 14px; }

@media (min-width: 900px) {
  .ftr__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .ftr__links { justify-content: flex-end; }
  .ftr__copy { grid-column: 1 / -1; }
}

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