/* Тон сайта: графит, белый и один резкий акцент. Никаких пастельных
   переливов — только плотные цвета, жёсткая типографика и прямые линии. */

:root {
  --bg: #f4f2ef;
  --white: #ffffff;

  --graphite-950: #1b1f26;
  --graphite-900: #232830;
  --graphite-800: #2f3641;
  --graphite-700: #3d4552;
  --graphite-500: #6d7684;

  --sand-100: #efe9e0;
  --sand-200: #ded5c8;

  --accent-600: #a8261a;
  --accent-500: #c62f20;
  --accent-400: #e0402f;
  --accent-300: #f06a5b;
  --accent-soft: rgba(198, 47, 32, 0.08);

  --text: #101317;
  --text-soft: #4b5460;
  --text-muted: #7d8794;

  --border: #dcdcd8;
  --border-strong: #c4c4be;

  --shadow-sm: 0 6px 18px rgba(11, 13, 16, 0.07);
  --shadow-md: 0 24px 60px rgba(11, 13, 16, 0.16);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

/* SITE HEADER */

.site-header {
  position: relative;
  z-index: 6;
  padding-bottom: 30px;
  animation: fadeUp 0.7s ease both;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--white);
  text-decoration: none;
}

.site-logo__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-500);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-logo__text {
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.site-logo__sub {
  display: block;
  color: rgba(239, 233, 224, 0.55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.site-phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid rgba(239, 233, 224, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(239, 233, 224, 0.07);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.site-phone::before {
  content: "";
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231aa58c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.3 1.8.6 2.7a2 2 0 0 1-.4 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.5 2.7.6a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.site-phone:hover {
  border-color: var(--accent-500);
  background: rgba(198, 47, 32, 0.18);
}

/* HERO */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 26px 0 40px;
  border-bottom: 3px solid var(--accent-500);
  background:
    radial-gradient(680px 420px at 84% 6%, rgba(198, 47, 32, 0.26), transparent 68%),
    radial-gradient(900px 620px at 12% 18%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(158deg, var(--graphite-800) 0%, var(--graphite-900) 46%, var(--graphite-950) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 26px,
    rgba(255, 255, 255, 0.03) 26px 27px
  );
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(760px 620px at 88% 24%, #000, transparent 72%);
  mask-image: radial-gradient(760px 620px at 88% 24%, #000, transparent 72%);
}

.hero-sheen {
  position: absolute;
  z-index: 1;
  left: -220px;
  bottom: -260px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(239, 233, 224, 0.10), transparent 62%);
}

.hero-frame {
  position: absolute;
  inset: 16px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(239, 233, 224, 0.12);
  border-radius: var(--radius-sm);
}

.hero-frame::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 84px;
  height: 84px;
  border-top: 2px solid var(--accent-500);
  border-left: 2px solid var(--accent-500);
  border-radius: var(--radius-sm) 0 0 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  align-content: center;
  gap: 46px;
  padding-bottom: 20px;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(560px, 100%);
}

.hero-form {
  position: relative;
  z-index: 5;
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 30px 70px rgba(5, 6, 8, 0.5);
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-form__heading {
  margin-bottom: 22px;
}

.hero-form__heading h2 {
  margin: 10px 0 8px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-form__heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.hero-form__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.hero-form .quiz {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  background: rgba(239, 233, 224, 0.07);
  border: 1px solid rgba(239, 233, 224, 0.18);
  color: var(--sand-100);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeUp 0.7s ease both;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 0 4px rgba(198, 47, 32, 0.22);
}

.hero h1 {
  margin: 0;
  max-width: 560px;
  color: var(--white);
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
  animation: fadeUp 0.8s 0.08s ease both;
}

.hero h1 span:nth-child(2) {
  color: var(--accent-400);
}

.hero-description {
  max-width: 520px;
  margin: 24px 0 30px;
  color: rgba(239, 233, 224, 0.76);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  animation: fadeUp 0.8s 0.16s ease both;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(239, 233, 224, 0.82);
  font-size: 15px;
}

.hero-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 2px;
  background: var(--accent-500);
}

.hero-actions {
  display: none;
  align-items: center;
  gap: 18px;
  animation: fadeUp 0.8s 0.24s ease both;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 32px;
  border-radius: var(--radius-sm);
  background: var(--accent-500);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.primary-btn:hover {
  background: var(--accent-400);
}

.primary-btn:active {
  background: var(--accent-600);
}

/* TRUST */

.trust {
  position: relative;
  z-index: 5;
  overflow: hidden;
  padding: 70px 0 80px;
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(27, 31, 38, 0.06) 1px, transparent 1px);
  background-size: 74px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

.trust::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(198, 47, 32, 0.07), transparent 65%);
}

.trust > .container {
  position: relative;
  z-index: 1;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-card {
  position: relative;
  padding: 30px 28px;
  background: var(--graphite-900);
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: fadeUp 0.7s ease both;
}

.trust-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent-500);
}

.trust-number {
  margin-bottom: 9px;
  color: var(--white);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.trust-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
}

/* QUIZ — разметку генерирует src/quiz.js, поэтому классы здесь .quiz__* */

.section-label {
  margin-bottom: 10px;
  color: var(--accent-500);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quiz {
  position: relative;
  overflow: hidden;
  min-height: 530px;
  padding: clamp(28px, 5vw, 55px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.quiz__loading {
  padding: 60px 0;
  color: var(--text-muted);
  text-align: center;
}

.quiz__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
}

.quiz__counter {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.quiz__percent {
  color: var(--accent-500);
  font-size: 13px;
  font-weight: 600;
}

.quiz__track {
  display: none;
}

.quiz__steps {
  position: relative;
  min-height: 355px;
}

.quiz__step {
  display: none;
  animation: slideIn 0.45s ease both;
}

.quiz__step.is-active {
  display: block;
}

.quiz__step-number {
  display: none;
}

.quiz__title {
  max-width: 700px;
  margin: 0 0 30px;
  font-size: clamp(29px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin-top: 1rem;
}

.quiz__title:focus {
  outline: none;
}

.quiz__subtitle {
  margin: -18px 0 30px;
  max-width: 620px;
  color: var(--text-soft);
  line-height: 1.6;
}

.quiz__options {
  display: grid;
  gap: 13px;
}

.quiz__options_multi {
  grid-template-columns: repeat(3, 1fr);
}

.quiz__options_multi .quiz__option {
  min-height: 112px;
  padding: 20px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
}

.quiz__options_single {
  grid-template-columns: repeat(2, 1fr);
  max-width: 750px;
}

.quiz__options_single .quiz__option {
  min-height: 66px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.quiz__option {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.quiz__option:hover {
  border-color: var(--graphite-700);
  background: #fafaf8;
}

.quiz__option.is-selected {
  border-color: var(--accent-500);
  background: var(--accent-soft);
}

.quiz__options_single .quiz__option.is-selected {
  color: var(--accent-600);
  box-shadow: none;
}

.quiz__option-icon {
  display: block;
  font-size: 27px;
  line-height: 1;
}

.quiz__option-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.quiz__options_single .quiz__option-label {
  font-size: 16px;
}

.quiz__option-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: transparent;
  font-size: 11px;
  transition: 0.2s ease;
}

.quiz__options_single .quiz__option-check {
  top: 50%;
  transform: translateY(-50%);
}

.quiz__option.is-selected .quiz__option-check {
  border-color: var(--accent-400);
  background: var(--accent-400);
  color: #fff;
}

.quiz__error {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 13px;
  background: rgba(204, 78, 54, 0.08);
  color: var(--accent-600);
  font-size: 13px;
  font-weight: 600;
}

.quiz__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 620px;
}

.quiz__field_wide {
  grid-column: 1 / -1;
}

.quiz__field {
  position: relative;
}

.quiz__input {
  width: 100%;
  height: 54px;
  padding: 15px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  transition: border-color 0.25s ease;
}

.quiz__input:focus {
  border-bottom-color: var(--accent-400);
}

.quiz__input::placeholder {
  color: transparent;
}

.quiz__input:focus::placeholder {
  color: var(--text-muted);
}

.quiz__label {
  position: absolute;
  top: 17px;
  left: 0;
  color: var(--text-muted);
  pointer-events: none;
  transition: 0.2s ease;
}

.quiz__field:has(.quiz__input:focus) .quiz__label,
.quiz__field:has(.quiz__input:not(:placeholder-shown)) .quiz__label {
  top: -5px;
  font-size: 11px;
  color: var(--accent-500);
}

@supports not selector(:has(*)) {
  .quiz__label {
    position: static;
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    color: var(--accent-500);
  }

  .quiz__input::placeholder {
    color: var(--text-muted);
  }
}

.quiz__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  max-width: 530px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.quiz__consent-box {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  accent-color: var(--accent-400);
}

.quiz__consent-link {
  color: var(--accent-600);
}

.quiz__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 230px;
  margin-top: 32px;
  padding: 0 30px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-500);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quiz__submit:hover:not(:disabled) {
  background: var(--accent-400);
}

.quiz__submit:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.quiz__step_success.is-active {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

.quiz__success-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 23px;
  border-radius: 50%;
  background: #38e81f;
  color: #fff;
  font-size: 32px;
}

.quiz__step_success .quiz__title {
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.quiz__step_success .quiz__subtitle {
  max-width: 500px;
  margin: 0 auto;
  color: var(--text-soft);
  line-height: 1.65;
}

.quiz__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.quiz__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d8e5e1;
  cursor: pointer;
  transition: 0.25s ease;
}

.quiz__dot.is-done {
  background: var(--accent-300);
}

.quiz__dot.is-active {
  width: 24px;
  border-radius: 99px;
  background: var(--accent-400);
}

.quiz__nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.quiz__prev,
.quiz__next {
  min-width: 110px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s ease;
}

.quiz__prev {
  background: #ebebe7;
  color: var(--text-soft);
}

.quiz__prev:hover:not(:disabled) {
  background: #dededa;
}

.quiz__prev:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quiz__next {
  background: var(--accent-500);
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.quiz__next:hover {
  background: var(--accent-400);
}

.quiz__step_reject.is-active {
  padding: 30px;
  text-align: center;
  border-left: 3px solid var(--accent-500);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  animation: fadeUp 0.5s ease both;
}

.quiz__reject-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-500);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}

.quiz__step_reject .quiz__title {
  margin-bottom: 8px;
  font-size: clamp(21px, 2.6vw, 27px);
}

.quiz__step_reject .quiz__subtitle {
  margin: 0 auto;
  max-width: 460px;
  color: var(--text-soft);
  font-size: 14px;
}

.quiz__reject-back {
  margin-top: 22px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #ebebe7;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quiz__reject-back:hover {
  background: #dededa;
}

/* LEGAL PAGES (agree / policy) */

.legal-top {
  padding: 20px 0;
  border-bottom: 3px solid var(--accent-500);
  background: var(--graphite-950);
}

.legal-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-brand {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.legal-brand span {
  display: block;
  color: var(--accent-300);
  font-weight: 600;
}

.legal-top__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.legal-back {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.legal-back:hover {
  color: var(--accent-300);
}

.legal-page {
  padding: 48px 0 90px;
  background: var(--bg);
}

.legal {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 55px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

.legal h1 {
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.legal h2 {
  margin: 40px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.legal h2:first-of-type {
  margin-top: 26px;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal li {
  margin-bottom: 9px;
}

.legal a {
  color: var(--accent-600);
}

/* FOOTER */

footer {
  padding: 30px 0;
  border-top: 3px solid var(--accent-500);
  background: var(--graphite-950);
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--accent-300);
}

.footer-copy {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-align: center;
}

.footer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
}

/* ANIMATIONS */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198,47,32, 0.36);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(198,47,32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198,47,32, 0);
  }
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content,
  .hero-form {
    width: 100%;
    max-width: 640px;
  }

  .hero h1 {
    max-width: 640px;
  }

  .hero-actions {
    display: flex;
  }
}

@media (max-width: 850px) {
  .hero {
    padding-top: 22px;
  }

  .site-header {
    padding-bottom: 24px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .quiz__options_multi {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-logo__mark {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .site-logo__text {
    font-size: 13px;
  }

  .site-logo__sub {
    display: none;
  }

  .site-phone {
    gap: 7px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .legal-back {
    display: none;
  }

  .legal-brand {
    font-size: 13px;
  }

  .hero {
    padding-bottom: 46px;
  }

  .hero-frame {
    inset: 6px;
  }

  .eyebrow {
    margin-bottom: 18px;
    padding: 7px 11px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero-frame::before {
    width: 54px;
    height: 54px;
  }

  .hero-mesh {
    background-size: 56px 56px;
  }

  .hero h1 {
    font-size: 31px;
    letter-spacing: -0.02em;
  }

  .hero-points {
    display: none;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .primary-btn {
    width: 100%;
  }

  .hero-form {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .hero-form__heading {
    margin-bottom: 18px;
  }

  .hero-form__heading h2 {
    font-size: 22px;
  }

  .quiz {
    min-height: 620px;
    padding: 25px 20px;
    border-radius: 24px;
  }

  .quiz__options_multi {
    grid-template-columns: 1fr 1fr;
  }

  .quiz__options_multi .quiz__option {
    min-height: 105px;
    padding: 15px;
  }

  .quiz__option-icon {
    font-size: 23px;
  }

  .quiz__option-label {
    font-size: 12px;
  }

  .quiz__options_single {
    grid-template-columns: 1fr;
  }

  .quiz__fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .quiz__steps {
    min-height: 425px;
  }

  .quiz__nav {
    justify-content: flex-end;
  }

  .quiz__prev, .quiz__next {
    min-width: 88px;
  }

  .quiz__step_success.is-active {
    min-height: 390px;
  }

  .quiz__step_success .quiz__title {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Прячем элементы, у которых стоит атрибут hidden.
   Без этих правил display:flex у .quiz__nav и .quiz__dots
   перебивает встроенный атрибут hidden, и элементы остаются видимыми. */
.quiz__nav[hidden],
.quiz__dots[hidden],
.quiz__head[hidden],
.quiz__track[hidden],
.quiz__error[hidden] {
  display: none;
}
