@font-face {
  font-family: "Plex Sans LP";
  src: url("./fonts/ibm-plex-sans-cyrillic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Plex Sans LP";
  src: url("./fonts/ibm-plex-sans-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Sans LP";
  src: url("./fonts/ibm-plex-sans-cyrillic-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Plex Sans LP";
  src: url("./fonts/ibm-plex-sans-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Sans LP";
  src: url("./fonts/ibm-plex-sans-cyrillic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Plex Sans LP";
  src: url("./fonts/ibm-plex-sans-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #1F4E79;
  --accent-ink: #163A5A;
  --accent-soft: #E9F0F7;
  --ink: #1B2430;
  --ink-soft: #4A5565;
  --line: #D9E1EA;
  --paper: #FFFFFF;
  --tint: #F5F7FA;
  --ok: #1E6B4F;
  --err: #B42318;
  --radius: 10px;
  --wrap: 1120px;
  --gap: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Plex Sans LP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(28px, 6vw, 48px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 4vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.lead-text { font-size: clamp(17px, 2vw, 19px); color: var(--ink-soft); max-width: 36em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--tint { background: var(--tint); }
.section__head { display: grid; gap: 12px; margin-bottom: clamp(32px, 5vw, 48px); max-width: 44em; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none;
  border: 2px solid var(--accent); cursor: pointer;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* header */
.topbar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 16px; line-height: 1.25; }
.brand small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13px; }
.topbar__phone { font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero__copy { display: grid; gap: 20px; }
.hero__gift {
  margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink); font-weight: 600;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hero__media img { width: 100%; height: auto; }
.hero__geo { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* benefits */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.benefits li {
  display: grid; gap: 6px; padding: 22px 22px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.benefits__num { font-size: 14px; font-weight: 600; color: var(--accent); }
.benefits p { margin: 0; color: var(--ink-soft); }

/* kits */
.kits { display: grid; gap: 16px; }
.kit { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.kit > summary {
  cursor: pointer; list-style: none; padding: 20px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-weight: 700; font-size: 18px;
}
.kit > summary::-webkit-details-marker { display: none; }
.kit > summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); flex: none; }
.kit[open] > summary::after { content: "−"; }
.kit__body { padding: 0 22px 24px; display: grid; gap: 14px; }
.kit__body h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.kit__body ul { margin: 0; padding-left: 20px; }
.kit__body li { margin-bottom: 4px; }
.kit__body p { margin: 0; }
.kit__media { margin: 0; }
.wide-media { margin: 0 0 clamp(32px, 5vw, 48px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.wide-media img { width: 100%; height: auto; }

/* stages */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: stage; }
.stages li {
  display: grid; gap: 8px; padding: 24px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.stages__step { font-size: 14px; font-weight: 600; color: var(--accent); }
.stages p { margin: 0; color: var(--ink-soft); }
.stages ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.stages li + li { }

/* objections */
.objections { display: grid; gap: 12px; }
.objection { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.objection > summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-weight: 600; font-size: 17px;
}
.objection > summary::-webkit-details-marker { display: none; }
.objection > summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; flex: none; }
.objection[open] > summary::after { content: "−"; }
.objection__answer { padding: 0 22px 20px; color: var(--ink-soft); }
.objection__answer p { margin: 0; }

/* trust */
.trust { display: grid; gap: 16px; grid-template-columns: 1fr; }
.trust__item { padding: 22px 0; border-top: 2px solid var(--accent); }
.trust__value { font-size: clamp(32px, 5vw, 44px); font-weight: 700; color: var(--accent); line-height: 1.1; margin-bottom: 8px; }
.trust__text { color: var(--ink-soft); margin: 0; }
.trust__note { margin-top: 28px; padding: 20px 22px; background: var(--accent-soft); border-radius: var(--radius); color: var(--ink); }
.trust__note p { margin: 0; }

/* lead form */
.lead { background: var(--accent); color: #fff; }
.lead h2, .lead p, .lead .eyebrow { color: #fff; }
.lead .eyebrow { opacity: .85; }
.lead__grid { display: grid; gap: 32px; align-items: start; }
.lead__intro p { color: rgba(255,255,255,.9); max-width: 32em; }
.lead__intro a { color: #fff; font-weight: 600; }
.card-form {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px); display: grid; gap: 18px;
}
.card-form h3 { font-size: 22px; }
.card-form .muted { margin: 0; color: var(--ink-soft); font-size: 15px; }
.field { display: grid; gap: 6px; }
.field label, .field > span { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  min-height: 48px; padding: 12px 14px;
  border: 1px solid #A9B5C3; border-radius: 8px; background: #fff; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: var(--err); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.consent a { color: var(--accent); }
.form-submit { width: 100%; }
.lp-error { margin: 0; padding: 12px 14px; border-radius: 8px; background: #FDECEA; color: var(--err); font-size: 15px; }
[data-lp-success] {
  background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px); display: grid; gap: 10px;
}
[data-lp-success] h3 { color: var(--ok); }
[data-lp-success] p { margin: 0; color: var(--ink-soft); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* footer */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer__grid { display: grid; gap: 32px; }
.footer__contacts { display: grid; gap: 8px; font-size: 16px; }
.footer__contacts a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer__contacts p { margin: 0; color: var(--ink-soft); }
.footer__form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.footer__form h3 { font-size: 18px; }
.footer__form [data-lp-success] { padding: 0; border: 0; }
.footer__legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); display: grid; gap: 6px; }
.footer__legal p { margin: 0; }

/* reveal on wide screens */
@media (min-width: 720px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .lead__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1024px) {
  .trust { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 559px) {
  /* на узких экранах бренд и телефон не должны наезжать друг на друга */
  .topbar__inner { flex-wrap: wrap; gap: 4px 12px; padding: 10px 0; min-height: 0; }
  .brand { font-size: 15px; }
  .brand small { display: inline; }
  .brand small::before { content: " · "; }
  .topbar__phone { font-size: 15px; }
}

@media (max-width: 359px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
