﻿@font-face {
  font-family: "Katanf";
  src: url("fonts/Katanf.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {

  --blue: rgb(0, 104, 255);

  --blue-dark: rgb(0, 82, 210);

  --blue-soft: #E8F2FF;

  --ink: #1A1620;

  --muted: #6B6470;

  --line: #E6EAF0;

  --bg: #F4F8FF;

  --card: #FFFFFF;

  --danger: #E8442F;

  --radius: 24px;

  --shadow: 0 24px 60px -36px rgba(0, 104, 255, 0.28);

  --font: "Manrope", Arial, sans-serif;

}



* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {

  font-family: var(--font);

  color: var(--ink);

  background: var(--bg);

  min-height: 100vh;

  font-size: 15px;

  font-weight: 400;

  line-height: 1.55;

}

body.quiz-open { overflow: hidden; }

img { max-width: 100%; display: block; }

button, input { font: inherit; }

a { color: inherit; }



.page { min-height: 100vh; display: flex; flex-direction: column; }

.wrap {

  width: min(1120px, calc(100% - 2rem));

  margin: 0 auto;

}



/* вЂ”вЂ”вЂ” Landing вЂ”вЂ”вЂ” */

.landing {

  flex: 1 0 auto;

  display: grid;

  place-items: center;

  padding: 1.5rem 0 2rem;

  min-height: 100vh;

  min-height: 100dvh;

  box-sizing: border-box;

}

.hero-card {

  width: min(1120px, calc(100% - 2rem));

  display: grid;

  grid-template-columns: 1.05fr 1fr;

  gap: 0;

  background: var(--card);

  border-radius: 28px;

  overflow: hidden;

  box-shadow: var(--shadow);

  border: 1px solid rgba(0, 104, 255, 0.08);

}

.hero-media {

  position: relative;

  min-height: 520px;

  background-color: #d6e8ff;

  background-image: var(--hero-image);

  background-size: cover;

  background-position: center 18%;

  background-repeat: no-repeat;

  isolation: isolate;

}

.hero-media::after {

  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background: linear-gradient(180deg, transparent 42%, rgba(12, 24, 48, 0.58) 100%);

}

.hero-media img {

  position: absolute;

  inset: 0;

  z-index: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center 18%;

}

.hero-overlay {

  position: absolute;

  left: 1.1rem;

  right: 1.1rem;

  bottom: 1.25rem;

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

}

.hero-overlay-line {

  display: inline-block;

  margin: 0.18rem 0;

  padding: 0.55rem 0.85rem;

  background: var(--blue);

  color: #fff;

  border-radius: 12px;

  font-size: clamp(1.37rem, 2.3vw, 1.66rem);

  font-weight: 800;

  line-height: 1.25;

  box-shadow: 0 10px 24px -14px rgba(0, 104, 255, 0.8);

  white-space: nowrap;

}



.hero-copy {

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 1.15rem;

  padding: clamp(1.4rem, 3vw, 2.4rem);

}

.brand {

  display: flex;

  align-items: center;

  gap: 0.65rem;

  text-decoration: none;

}

.logo-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 10px;
  width: 169px;
  height: 32px;
  flex: none;
}

.logo-group-mark {
  display: flex;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--blue);
}

.logo-group-mark-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.logo-group-text {
  flex: none;
  width: 127px;
  height: 30px;
  font-family: "Outfit", Arial, sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 30px;
  color: var(--blue);
  letter-spacing: 0;
}

.brand-mark {

  width: 42px;

  height: 42px;

  flex: 0 0 auto;

  display: block;

  object-fit: contain;

  background: transparent;

}

.brand-text strong {

  display: block;

  font-family: "Katanf", Arial, sans-serif;

  font-size: 1.15rem;

  font-weight: 400;

  color: #000;

  letter-spacing: 0;

}

.brand-text small {

  display: block;

  margin-top: 0.1rem;

  color: var(--muted);

  font-size: 0.72rem;

  font-weight: 600;

}

.hero-title {

  font-size: 28px;

  font-weight: 700;

  letter-spacing: 0;

  line-height: 1.3;

  color: var(--ink);

}

.hero-title .hl { color: var(--blue); }

.cta {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 70px;

  width: 280px;

  height: 70px;

  padding: 0 1.6rem;

  border: 0;

  border-radius: 15px;

  background-color: rgb(0, 104, 255);

  background-position: center center;

  color: #ffffff;

  font-size: 20px;

  font-family: var(--font);

  line-height: 1;

  font-weight: 500;

  cursor: pointer;

  text-decoration: none;

  transform-origin: center;

  animation: ctaPulse 1.8s ease-in-out infinite;

  transition:

    background-color 0.2s ease-in-out,

    color 0.2s ease-in-out,

    border-color 0.2s ease-in-out,

    box-shadow 0.2s ease-in-out;

}

.cta:hover {

  background-color: rgb(0, 82, 210);

  animation-play-state: paused;

}

@keyframes ctaPulse {

  0%, 100% { transform: scale(1); }

  50% { transform: scale(1.035); }

}

.bonus-label {

  margin-top: 0.35rem;

  color: var(--muted);

  font-size: 15px;

  font-weight: 400;

  letter-spacing: 0;

  line-height: 1.3;

  text-transform: uppercase;

}

.bonus-card {

  display: grid;

  grid-template-columns: auto 1fr auto;

  gap: 0.5rem;

  align-items: center;

  width: 50%;

  max-width: 50%;

  box-sizing: border-box;

  padding: 0.76rem 0.52rem;

  border: 1.5px solid #2A2A2A;

  border-radius: 18px;

  background: #F2F2F2;

}

.bonus-ico {

  width: 44px;

  height: 44px;

  display: block;

  object-fit: contain;

  background: transparent;

  border-radius: 0;

}

.bonus-card p {

  display: grid;

  gap: 0.06rem;

  margin: 0;

  color: #2A2A2A;

  font-size: 0.62rem;

  font-weight: 800;

  line-height: 1.15;

  text-transform: uppercase;

  letter-spacing: 0.01em;

}

.bonus-card p span {

  display: block;

}

.bonus-lock {

  width: 27px;

  height: 27px;

  display: block;

  object-fit: contain;

  background: transparent;

  border-radius: 0;

}

.legal {

  color: var(--muted);

  font-size: 11px;

  font-weight: 300;

  line-height: 1.55;

}



/* вЂ”вЂ”вЂ” Footer вЂ”вЂ”вЂ” */

.site-foot {

  padding: 2.5rem 0 2rem;

  background: #fff;

  border-top: 1px solid var(--line);

}

.site-foot-inner {

  width: min(1120px, calc(100% - 2rem));

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1.4fr 1fr auto;

  gap: 1.5rem;

  align-items: start;

}

.site-foot-brand { grid-column: 1; }

.site-foot-phone { grid-column: 3; grid-row: 1; justify-self: end; }

.site-foot-company { grid-column: 1; }

.site-foot-links { grid-column: 2; grid-row: 1; display: grid; gap: 0.45rem; }

.site-foot .brand-text strong { color: #000; }

.site-foot p, .site-foot a {

  color: var(--muted);

  font-size: 12px;

  font-weight: 400;

  line-height: 1.4;

  text-decoration: none;

}

.site-foot-links a {

  font-size: 16px;

  font-weight: 500;

  line-height: 1;

}

.site-foot a:hover { color: var(--blue); }

.site-foot-phone {

  font-size: 22px !important;

  font-weight: 600 !important;

  color: var(--ink) !important;

  line-height: 1;

}



/* вЂ”вЂ”вЂ” Quiz shell вЂ”вЂ”вЂ” */

.quiz-screen {

  display: none;

  min-height: 100vh;

  padding: 1.25rem 0 2rem;

  background: rgba(20, 30, 50, 0.45);

}

.quiz-screen.is-on {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 500;
  overflow: auto;
}

.quiz-modal {

  position: relative;

  width: min(980px, calc(100% - 1.25rem));

  height: 600px;

  background: #fff;

  border-radius: max(0px, calc(25px - 1px));

  overflow: hidden;

  box-shadow: var(--shadow);

  display: grid;

  grid-template-columns: minmax(0, 1fr) 288px;

  grid-template-rows: 6px minmax(0, 1fr) auto;

  transform: none;
  margin-top: -50px;

}

.quiz-progress {
  grid-column: 1 / -1;
  grid-row: 1;
  background: color-mix(in srgb, var(--blue) 18%, #fff);
}

.quiz-stage {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  will-change: transform, opacity;
}

.quiz-side {
  grid-column: 2;
  grid-row: 2 / 4;
  background: #E8ECF3;
  padding: 1.45rem 1.15rem;
  border-left: 1px solid var(--line);
  min-height: 0;
  will-change: transform, opacity;
}

.quiz-nav {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.85rem clamp(1.2rem, 3vw, 2rem) 1.1rem;
  background: #fff;
  border-top: 1px solid var(--line);
  z-index: 4;
}

.quiz-nav .step-label {
  margin-right: auto;
}

.quiz-nav .nav-actions {
  margin-left: 0;
}

.quiz-stage.is-leave,
.quiz-side.is-leave {
  animation: quizLeaveDown 0.46s ease-in forwards;
}

.quiz-stage.is-leave-back,
.quiz-side.is-leave-back {
  animation: quizLeaveUp 0.46s ease-in forwards;
}

.quiz-stage.is-enter,
.quiz-side.is-enter {
  animation: quizEnterUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.quiz-stage.is-enter-back,
.quiz-side.is-enter-back {
  animation: quizEnterDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes quizLeaveDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(48px);
  }
}

@keyframes quizLeaveUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-40px);
  }
}

@keyframes quizEnterUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quizEnterDown {
  0% {
    opacity: 0;
    transform: translateY(-36px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-stage.is-leave,
  .quiz-stage.is-leave-back,
  .quiz-stage.is-enter,
  .quiz-stage.is-enter-back,
  .quiz-side.is-leave,
  .quiz-side.is-leave-back,
  .quiz-side.is-enter,
  .quiz-side.is-enter-back {
    animation: none;
  }
  .sent-action--start .sent-action-arrow {
    animation: none !important;
  }
}

.quiz-close {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #1A1A1A;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.quiz-progress > i {

  display: block;

  height: 100%;

  width: 25%;

  background: var(--blue);

  transition: width 0.25s ease;

}

.quiz-main {

  display: flex;

  flex-direction: column;

  height: 100%;

  padding: clamp(1.2rem, 3vw, 2rem);

  gap: 1.25rem;

  min-height: 0;

  overflow: auto;

}

.quiz-side-box {

  background: #EEF1F6;

  border-radius: 10px;

  padding: 1.35rem 1.2rem;

  color: #374151;

  font-size: 16px;

  font-weight: 300;

  line-height: 1.55;

  text-align: left;

  display: block;

  height: auto;

  align-self: start;

}

.quiz-side-box strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.quiz-q {

  color: var(--ink);

  font-size: 26px;

  font-weight: 600;

  letter-spacing: 0;

  line-height: 1.23;

}

.quiz-q .hl { color: var(--blue); }

.quiz-step-form > .quiz-q {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.23;
}

#quizStep {

  display: flex;

  flex-direction: column;

  gap: 1.35rem;

  flex: 1;

  min-height: 0;

}

.quiz-sub {

  margin-top: -0.4rem;

  color: var(--muted);

  font-size: 16px;

  font-weight: 300;

  line-height: 1.55;

}

.quiz-choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  width: 100%;
}

.quiz-choice .quiz-options {
  width: 100%;
  padding: 0.55rem;
  border: 1.5px solid transparent;
  border-radius: 18px;
  box-sizing: border-box;
}

.quiz-choice.is-invalid .quiz-options {
  border-color: var(--danger);
}

.quiz-required {
  display: none;
  margin: 0;
  padding-left: 0.15rem;
  color: var(--danger);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.quiz-choice.is-invalid .quiz-required {
  display: block;
}

.quiz-options {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0.65rem;

}

.quiz-options.is-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.quiz-opt {

  display: flex;

  align-items: flex-start;

  gap: 0.5rem;

  min-width: 0;

  box-sizing: border-box;

  overflow: hidden;

  min-height: 52px;

  padding: 0.65rem 0.75rem;

  border: 1.5px solid var(--line);

  border-radius: 14px;

  background: #fff;

  cursor: pointer;

  text-align: left;

  font-size: 16px;

  font-weight: 300;

  line-height: 1.25;

  color: #374151;

  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;

}

.quiz-opt > span:not(.quiz-radio) {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  line-height: 1.25;
}

.quiz-opt:hover { border-color: color-mix(in srgb, var(--blue) 45%, #C5CDD8); }

.quiz-opt.is-on {

  border-color: var(--blue);

  background: color-mix(in srgb, var(--blue) 8%, #fff);

  box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.12);

}

.quiz-radio {

  width: 20px;

  height: 20px;

  border-radius: 50%;

  border: 2px solid color-mix(in srgb, var(--blue) 28%, #C5CDD8);

  flex: 0 0 auto;

  position: relative;

  margin-top: 0.12em;

}

.quiz-opt.is-on .quiz-radio {

  border-color: var(--blue);

}

.quiz-opt.is-on .quiz-radio::after {

  content: "";

  position: absolute;

  inset: 3px;

  border-radius: 50%;

  background: var(--blue);

}

.step-label {

  color: var(--muted);

  font-size: 14px;

  font-weight: 300;

  line-height: 1.55;

}

.nav-actions { display: flex; gap: 0.55rem; margin-left: auto; }

.btn-back {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 48px;

  height: 48px;

  border-radius: 12px;

  border: 1.5px solid var(--blue);

  background: #fff;

  color: var(--blue);

  font-size: 1.15rem;

  font-weight: 700;

  cursor: pointer;

}

.nav-arrow {

  width: 18px;

  height: 18px;

  display: block;

  flex-shrink: 0;

}

.btn-next {

  position: relative;

  overflow: hidden;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 1ch;

  min-width: 140px;

  height: 48px;

  padding: 0 1.1rem;

  border: 0;

  border-radius: 12px;

  background: var(--blue);

  color: #fff;

  font-size: 16px;

  font-weight: 500;

  line-height: 1.4;

  cursor: pointer;

  isolation: isolate;

}

.btn-next-text,
.btn-next .nav-arrow {
  position: relative;
  z-index: 2;
}

.btn-next::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.18) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  animation: btnShine 3.12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.btn-next:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: var(--blue);
  color: #fff;
}

.btn-next:disabled::after {
  display: block;
}

@keyframes btnShine {
  0%, 25% {
    transform: translateX(-160%) skewX(-18deg);
  }
  55%, 100% {
    transform: translateX(280%) skewX(-18deg);
  }
}

.btn-back:hover, .btn-next:hover:not(:disabled) { filter: brightness(0.96); }



.fields { display: grid; gap: 0.75rem; max-width: 420px; }

.quiz-stage:has(.quiz-main.is-form) {
  overflow: auto;
}

#quizStep.quiz-step-form {
  overflow: visible;
}
.field-error {
  border-color: #E8442F !important;
  box-shadow: 0 0 0 3px rgba(232, 68, 47, 0.12) !important;
}
.form-error {
  display: none;
  color: #E8442F;
  font-size: 13px;
  font-weight: 400;
}
.form-error.is-on { display: block; }

.delivery {
  display: grid;
  gap: 0.55rem;
}
.delivery-label {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.delivery-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.delivery-btn {
  min-height: 52px;
  padding: 0.55rem 0.65rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #374151;
  cursor: pointer;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, color 0.15s;
}
.delivery-btn:hover {
  border-color: color-mix(in srgb, var(--blue) 45%, #C5CDD8);
}
.delivery-btn.is-on {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.12);
}
.delivery.is-invalid .delivery-split {
  outline: 1.5px solid var(--danger);
  outline-offset: 4px;
  border-radius: 16px;
}
.delivery-panel {
  display: grid;
  gap: 0.55rem;
}
.delivery-panel[hidden],
.messenger-username[hidden] {
  display: none !important;
}
.messenger-label {
  margin: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.messenger-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 280px);
  margin: 0 auto;
}
.messenger-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: 100%;
  min-width: 0;
  padding: 0.4rem;
  border: 2.5px solid #dfe5f0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
}
.messenger-opt:hover {
  border-color: color-mix(in srgb, var(--blue) 45%, #C5CDD8);
  transform: translateY(-1px);
}
.messenger-opt.is-on {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.18);
}
.messenger-icon {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 48px;
}
.delivery-messenger.is-invalid .messenger-opt {
  border-color: rgba(220, 60, 60, 0.45);
}
.delivery-messenger.is-invalid .messenger-opt.is-on {
  border-color: var(--danger);
}
.messenger-username-label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.quiz-step-form.is-done .fields,
.quiz-step-form.is-done .consents,
.quiz-step-form.is-done .quiz-sub,
.quiz-step-form.is-done .quiz-q,
.quiz-step-form.is-done .form-legal {
  display: none;
}

.form-legal {
  max-width: 520px;
  margin-top: -0.45rem;
}
.quiz-step-form.is-done .success.is-on {
  display: grid;
}

.field {

  width: 100%;

  min-height: 48px;

  padding: 0.7rem 0.95rem;

  border: 1.5px solid var(--line);

  border-radius: 12px;

  background: #fff;

  outline: none;

  font-size: 15px;

  font-weight: 400;

  line-height: 1.25;

}

.field:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 104, 255, 0.12); }

.field:-webkit-autofill,
.field:-webkit-autofill:hover,
.field:-webkit-autofill:focus,
.field:-webkit-autofill:active {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px #fff inset;
  transition: background-color 99999s ease-out 0s;
}

.phone-field {
  position: relative;
  width: 100%;
  max-width: 420px;
  z-index: 2;
}

.phone-field.is-open {
  z-index: 20;
}

.phone-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  max-height: min(220px, 36vh);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 22, 32, 0.08);
  box-shadow:
    0 18px 40px -22px rgba(20, 40, 30, 0.45),
    0 8px 20px -14px rgba(20, 40, 30, 0.2);
}

.phone-dropdown.is-portal {
  position: fixed;
  right: auto;
}

.phone-shell {
  position: relative;
  width: 100%;
}

.phone-prefix {
  position: absolute;
  left: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 28px;
  padding: 0.25rem 0.35rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.phone-prefix:hover {
  background: rgba(20, 40, 30, 0.05);
}

.phone-flag-img {
  display: block;
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 40, 30, 0.12);
  flex: 0 0 auto;
  background: #eee;
}

.phone-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #8A968E;
  margin-top: 1px;
  transition: transform 0.18s ease;
}

.phone-field.is-open .phone-caret {
  transform: rotate(180deg);
}

.phone-input {
  padding-left: 3.45rem !important;
}

.phone-field.is-invalid .phone-input {
  border-color: #E8442F !important;
  box-shadow: 0 0 0 3px rgba(232, 68, 47, 0.12) !important;
}

.phone-dropdown[hidden] {
  display: none !important;
}

.phone-search {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.58rem 0.8rem;
  border: none;
  border-bottom: 1px solid rgba(26, 22, 32, 0.08);
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  outline: none;
}

.phone-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  overflow: auto;
  max-height: 168px;
}

.phone-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.48rem 0.8rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}

.phone-option:hover,
.phone-option.is-active {
  background: rgba(0, 104, 255, 0.08);
}

.phone-option-name span {
  color: #6A766E;
  font-weight: 550;
}

.phone-option-meta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4A564E;
  white-space: nowrap;
}

.phone-empty {
  padding: 0.85rem;
  color: #6A766E;
  font-size: 0.85rem;
  text-align: center;
}

.phone-row {
  display: none;
}

.flag {
  display: none;
}

.consents { display: grid; gap: 0.65rem; max-width: 520px; }

.consent-all {
  justify-self: start;
  margin-top: 0.15rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  cursor: pointer;
  text-decoration: none;
}

.consent-all:hover,
.consent-all.is-on {
  color: var(--blue-dark);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 15px;
  font-weight: 300;
  color: #6B7280;
  line-height: 1.55;
  cursor: pointer;
}

.consent span {
  flex: 1;
  min-width: 0;
}

.consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  margin: 0;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 2px solid var(--blue);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  opacity: 0.6;
  transition: all 0.2s;
}

.consent input[type="checkbox"]:checked {
  opacity: 1;
  background: transparent;
  border-color: var(--blue);
}

.consent input[type="checkbox"]::after {
  content: "";
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 3px;
  border-style: solid;
  border-color: var(--blue);
  border-width: 0 0 2px 2px;
  transform: translate(-50%, -70%) rotate(-45deg);
  transform-origin: center;
}

.consent input[type="checkbox"]:checked::after {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 3px;
  border: solid var(--blue);
  border-width: 0 0 2px 2px;
  transform: translate(-50%, -70%) rotate(-45deg);
}

.consent input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 45%, #fff);
}

.success {

  display: none;

  text-align: center;

  padding: 2rem 1rem;

  gap: 0.75rem;

}

.success.is-on { display: grid; place-items: center; }

.sent-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 32px 24px 28px;
  background: #fff;
  border-radius: inherit;
  overflow: auto;
}
.sent-overlay[hidden] {
  display: none !important;
}
.sent-overlay.is-on {
  display: grid;
}
.sent-panel {
  width: min(100%, 416px);
  margin: 0 auto;
}
.sent-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  text-align: center;
}
.sent-step[hidden],
.sent-overlay.is-thanks .sent-step-telegram {
  display: none !important;
}
.sent-exit-congrats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 104, 255, 0.14) 0%, rgba(0, 104, 255, 0.06) 100%);
  border: 1px solid rgba(0, 104, 255, 0.2);
  box-shadow: 0 12px 28px -20px rgba(0, 104, 255, 0.55);
}
.sent-exit-congrats[hidden] {
  display: none !important;
}
.sent-exit-congrats-text {
  margin: 0;
  font-size: clamp(17px, 2.8vw, 19px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}
.sent-exit-congrats-text .hl {
  color: var(--blue);
}
.sent-exit-congrats-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: #626462;
}
.sent-exit-congrats-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(0, 104, 255, 0.12);
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.sent-exit-divider {
  width: 100%;
  height: 2px;
  margin: 2px 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 104, 255, 0.25) 15%,
    var(--blue) 50%,
    rgba(0, 104, 255, 0.25) 85%,
    transparent 100%
  );
  border-radius: 2px;
}
.sent-exit-divider[hidden] {
  display: none !important;
}
.sent-materials-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.sent-step-telegram.has-exit-congrats {
  gap: 14px;
}
.sent-step-telegram:not(.has-exit-congrats) .sent-exit-congrats,
.sent-step-telegram:not(.has-exit-congrats) .sent-exit-divider {
  display: none !important;
}
.sent-step-telegram.has-exit-congrats #sentTelegramBadge {
  display: none !important;
}
.sent-icon-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 32px;
  flex-shrink: 0;
}
.sent-icon-badge--telegram {
  background: rgba(42, 171, 238, 0.12);
}
.sent-icon-badge--success {
  background: rgba(61, 184, 122, 0.12);
}
.sent-telegram-icon {
  width: 32px;
  height: 32px;
  display: block;
}
.sent-check-icon {
  width: 28px;
  height: 28px;
  display: block;
  color: #3db87a;
}
.sent-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.sent-title {
  margin: 0;
  font-size: clamp(22px, 3.5vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
}
.sent-title .hl {
  color: var(--blue);
}
.sent-sub .hl {
  color: var(--blue);
  font-weight: 700;
}
.sent-sub {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #626462;
}
.sent-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.sent-action:hover {
  filter: brightness(0.96);
}
.sent-action--telegram {
  background: #2aabee;
  color: #fff;
}
.sent-action--success {
  background: #3db87a;
  color: #fff;
}
.sent-action-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.sent-close {
  position: absolute;
  top: 18px;
  right: 16px;
  z-index: 21;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #f5f5f5;
  color: #626462;
  cursor: pointer;
}
.sent-close svg {
  width: 12px;
  height: 12px;
  display: block;
}

/* ——— Success → start screen (Figma «Как проходит урок») ——— */
.sent-overlay.is-thanks {
  overflow: hidden;
  padding: 16px 20px;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(0, 104, 255, 0.09), transparent 55%),
    #faf9f6;
  align-items: stretch;
  justify-items: stretch;
}
.sent-overlay.is-thanks.is-on {
  display: flex;
}
.sent-overlay.is-thanks .sent-panel {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sent-step-start {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
  text-align: left;
  gap: 0;
}
.sent-start-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.sent-start-header {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.sent-start-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(0, 104, 255, 0.1);
  border: 1px solid rgba(0, 104, 255, 0.14);
  color: var(--blue-dark);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.sent-start-kicker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  flex-shrink: 0;
}
.sent-start-kicker-icon svg {
  width: 11px;
  height: 11px;
}
.sent-step-start .sent-title {
  margin: 0;
  font-family: "Bricolage Grotesque", var(--font);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--blue);
}
.sent-step-start .sent-title .hl {
  color: var(--blue-dark);
}
.sent-start-sub {
  margin: 0;
  max-width: 36em;
  font-family: var(--font);
  font-size: clamp(14px, 2.1vw, 16px);
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
}
.sent-start-steps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
  width: 100%;
  position: relative;
}
.sent-start-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  padding: 12px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(26, 22, 32, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sent-start-card--active {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  background: linear-gradient(180deg, rgba(0, 104, 255, 0.07) 0%, #fff 48%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--blue) 18%, transparent),
    0 16px 40px rgba(0, 104, 255, 0.12);
}
.sent-start-card-illus {
  position: relative;
  flex: none;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: #f0f4f8;
  overflow: hidden;
}
.sent-start-card-illus--cta img {
  object-position: center top;
}
.sent-start-card-illus img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.sent-start-card-illus--crop img {
  object-position: center 28%;
}
.sent-start-card-num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.sent-start-card--active .sent-start-card-num {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
}
.sent-action--inline {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 8px;
  z-index: 2;
  box-sizing: border-box;
  width: calc(100% - 16px);
  max-width: calc(100% - 16px);
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  transform: translateX(-50%);
  box-shadow: 0 8px 20px rgba(0, 104, 255, 0.35);
}
.sent-start-footer-spacer {
  flex-shrink: 0;
  min-height: 44px;
}
.sent-start-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding-top: 2px;
}
.sent-start-cta-note {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
  text-align: center;
}
.sent-start-cta-note s {
  text-decoration: line-through;
  opacity: 0.55;
  font-weight: 500;
}
@media (min-width: 721px) {
  .sent-start-steps::after {
    content: "";
    position: absolute;
    top: 38%;
    left: calc(16.666% + 10px);
    right: calc(16.666% + 10px);
    height: 2px;
    background: linear-gradient(90deg, var(--line) 0%, rgba(0, 104, 255, 0.35) 50%, var(--line) 100%);
    border-radius: 1px;
    pointer-events: none;
    z-index: 0;
  }
  .sent-start-card {
    z-index: 1;
  }
  .sent-start-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(26, 22, 32, 0.1);
  }
  .sent-start-card--active:hover {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--blue) 18%, transparent),
      0 20px 44px rgba(0, 104, 255, 0.16);
  }
  .sent-start-cta .sent-action--start {
    width: calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
    min-width: 0;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 15px;
  }
  .sent-start-cta .sent-action--start:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--blue) 35%, transparent);
    outline-offset: 3px;
  }
  .sent-start-footer-spacer {
    display: none;
  }
}
.sent-start-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  flex-shrink: 0;
  padding-top: 2px;
}
.sent-start-card-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sent-start-card-title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(13px, 1.9vw, 16px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.sent-start-card--active .sent-start-card-title {
  color: var(--blue-dark);
}
.sent-start-card-meta {
  font-weight: 700;
  color: var(--blue);
}
.sent-start-card-desc {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(12px, 1.6vw, 14px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.sent-action--start {
  flex-shrink: 0;
  width: 100%;
  min-height: 44px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 104, 255, 0.22);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform-origin: center;
  animation: ctaPulse 1.8s ease-in-out infinite;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.sent-action--start.sent-action--inline {
  width: calc(100% - 16px);
  max-width: calc(100% - 16px);
  min-height: 36px;
  padding: 8px 14px;
  transform: translateX(-50%);
}
.sent-action--start:hover {
  filter: brightness(1.03);
  animation-play-state: paused;
  box-shadow: 0 14px 28px rgba(0, 104, 255, 0.28);
}
.sent-action--start.sent-action--inline:hover {
  transform: translateX(-50%) translateY(-1px);
}
.sent-action--start:hover .sent-action-arrow {
  animation-play-state: paused;
}
.sent-action-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  animation: sentStartArrowNudge 1.15s ease-in-out infinite;
}

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

.sent-overlay.is-thanks.is-on .sent-start-header {
  animation: sentStartFadeUp 0.45s ease backwards;
}
.sent-overlay.is-thanks.is-on .sent-start-card {
  animation: sentStartFadeUp 0.5s ease backwards;
}
.sent-overlay.is-thanks.is-on .sent-start-card:nth-child(1) {
  animation-delay: 0.06s;
}
.sent-overlay.is-thanks.is-on .sent-start-card:nth-child(2) {
  animation-delay: 0.12s;
}
.sent-overlay.is-thanks.is-on .sent-start-card:nth-child(3) {
  animation-delay: 0.18s;
}
.sent-overlay.is-thanks.is-on .sent-start-cta {
  animation: sentStartFadeUp 0.5s ease 0.24s backwards;
}

@media (prefers-reduced-motion: reduce) {
  .sent-overlay.is-thanks.is-on .sent-start-header,
  .sent-overlay.is-thanks.is-on .sent-start-card,
  .sent-overlay.is-thanks.is-on .sent-start-cta {
    animation: none;
  }
  .sent-start-card:hover {
    transform: none;
  }
  .sent-action-arrow {
    animation: none;
  }
  .sent-action--start {
    animation: none !important;
  }
}

@keyframes sentStartArrowNudge {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(5px); }
}

@media (max-width: 720px) {
  .sent-overlay.is-thanks {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 14px calc(76px + env(safe-area-inset-bottom));
    align-items: flex-start;
  }

  .sent-overlay.is-thanks .sent-panel {
    height: auto;
    min-height: 100%;
  }

  .sent-step-start {
    overflow: visible;
    min-height: auto;
  }

  .sent-start-layout {
    height: auto;
    min-height: 0;
    gap: 14px;
  }

  .sent-start-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: none;
    overflow: visible;
    min-height: auto;
  }

  .sent-start-card {
    flex: none;
    min-height: auto;
    padding: 14px 14px 14px 18px;
    border-radius: 18px;
  }

  .sent-start-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 3px;
    background: var(--line);
  }

  .sent-start-card--active::before {
    background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  }

  .sent-start-card-num {
    top: 12px;
    left: 12px;
  }

  .sent-start-card-illus {
    flex: none;
    min-height: unset;
    max-height: none;
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .sent-start-card-illus img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }

  .sent-start-card-illus--cta img,
  .sent-start-card-illus--crop img {
    object-position: center;
  }

  .sent-start-card-desc {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  .sent-start-cta .sent-action--start {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    min-height: 52px;
    padding: 14px 22px;
    font-size: 16px;
    z-index: 30;
    box-shadow:
      0 -4px 20px rgba(0, 0, 0, 0.06),
      0 10px 28px rgba(0, 104, 255, 0.28);
  }

  .sent-start-cta-note {
    display: none;
  }

  .sent-start-cta .sent-action--start:hover {
    animation-play-state: paused;
  }

  .sent-start-footer-spacer {
    display: none;
  }

  .sent-start-layout::after {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(76px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, #faf9f6 72%, rgba(250, 249, 246, 0));
    pointer-events: none;
    z-index: 29;
  }
}

@media (max-height: 560px) and (min-width: 721px) {
  .sent-overlay.is-thanks {
    padding: 8px 10px;
  }
  .sent-start-layout {
    gap: 6px;
  }
  .sent-start-header {
    gap: 5px;
  }
  .sent-step-start .sent-title {
    font-size: 20px;
  }
  .sent-start-sub {
    font-size: 13px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .sent-start-card {
    padding: 8px;
    gap: 6px;
  }
  .sent-start-card-illus {
    min-height: 48px;
  }
  .sent-start-cta .sent-action--start {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 13px;
  }
  .sent-start-card-desc {
    -webkit-line-clamp: 1;
  }
  .sent-start-footer-spacer {
    min-height: 36px;
  }
}

@media (max-width: 720px) and (max-height: 560px) {
  .sent-step-start .sent-title {
    font-size: 20px;
  }

  .sent-start-sub {
    font-size: 13px;
  }

  .sent-start-card {
    padding: 10px;
  }

  .sent-start-cta .sent-action--start {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .sent-start-card-title {
    font-size: 12px;
  }
  .sent-start-card-num {
    min-width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

.exit-screen.is-sent .exit-modal {
  overflow: hidden;
  min-height: min(520px, calc(100dvh - 2rem));
}

.exit-screen.is-sent .quiz-close {
  display: none;
}

.success-ico {

  width: 64px;

  height: 64px;

  border-radius: 50%;

  display: grid;

  place-items: center;

  background: #D6E8FF;

  color: rgb(0, 82, 210);

  font-size: 1.6rem;

  font-weight: 800;

}



@media (max-width: 860px) {

  .hero-card { grid-template-columns: 1fr; }

  .hero-media { min-height: 300px; }

  .hero-overlay {
    align-items: flex-start;
    text-align: left;
  }

  .quiz-screen {
    position: fixed;
    inset: 0;
    z-index: 500;
    padding: 0;
    background: #fff;
    min-height: 100dvh;
    height: 100dvh;
    place-items: stretch;
  }

  .quiz-screen.is-on { display: block; }

  .quiz-modal {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    margin-top: 0;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    grid-template-columns: 1fr;
    grid-template-rows: 5px auto minmax(0, 1fr) auto;
  }

  .quiz-progress {
    grid-column: 1;
    grid-row: 1;
  }

  .quiz-side {
    grid-column: 1;
    grid-row: 2;
    background: transparent;
    border: 0;
    border-left: 0;
    padding: 1.6rem 1.35rem 0;
  }

  .quiz-side-box {
    min-height: 0;
    height: auto;
    background: #EDEFF3;
    border-radius: 12px;
    padding: 0.95rem 1rem;
    font-size: 14px;
    font-weight: 300;
    text-align: left;
    color: #4B5563;
  }

  .quiz-stage {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    overflow: hidden;
  }

  .quiz-main {
    padding: 1.25rem 1.35rem 1rem;
    gap: 0;
    overflow: hidden;
  }

  #quizStep {
    gap: 1.5rem;
    overflow: auto;
    padding-bottom: 1rem;
  }

  .quiz-q {
    font-size: 26px;
    margin-top: 0.35rem;
  }

  .quiz-step-form > .quiz-q {
    font-size: 26px;
  }

  .quiz-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .quiz-opt {
    align-items: flex-start;
    height: auto;
    min-height: 88px;
    border-radius: 18px;
    font-size: clamp(15px, 3.8vw, 17px);
    font-weight: 500;
    line-height: 1.28;
    padding: 0.9rem 0.85rem;
    gap: 0.6rem;
  }

  .quiz-opt > span:not(.quiz-radio) {
    overflow: hidden;
  }

  .quiz-radio {
    width: 24px;
    height: 24px;
    margin-top: 0.1rem;
  }

  .step-label { display: none; }

  .quiz-nav {
    grid-column: 1;
    grid-row: 4;
    margin-top: 0;
    padding: 0.85rem 1.35rem calc(0.95rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }

  .nav-actions {
    width: 100%;
    margin-left: 0;
    gap: 0.65rem;
  }

  .btn-back {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex: 0 0 auto;
  }

  .btn-next {
    flex: 1;
    min-width: 0;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
  }

  .quiz-close {
    top: 16px;
    right: 14px;
  }

  .field, .flag {
    border-radius: 14px;
    min-height: 46px;
  }

  .quiz-step-form .field,
  .exit-body .field {
    font-size: 16px;
    line-height: 1.2;
    padding: 0.58rem 0.85rem;
  }

  #quizStep.quiz-step-form {
    scroll-padding-bottom: calc(11rem + env(safe-area-inset-bottom));
  }

  .exit-body {
    scroll-padding-bottom: calc(9rem + env(safe-area-inset-bottom));
  }

  .phone-dropdown {
    max-height: min(156px, 26dvh);
    border-radius: 12px;
  }

  .phone-list {
    max-height: 108px;
  }

  .phone-option {
    padding: 0.38rem 0.65rem;
    font-size: 13px;
    gap: 0.45rem;
  }

  .phone-option-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .phone-option-name span {
    display: none;
  }

  .phone-search {
    padding: 0.45rem 0.65rem;
    font-size: 14px;
  }

  .phone-input {
    padding-left: 3.2rem !important;
  }

  .phone-prefix {
    min-height: 24px;
    padding: 0.2rem 0.3rem;
  }

  .phone-flag-img {
    width: 20px;
    height: 14px;
  }

  .quiz-main.is-form {
    max-height: none;
    overflow: visible;
  }

  .site-foot-inner { grid-template-columns: 1fr; gap: 1.1rem; }

  .site-foot-brand,
  .site-foot-phone,
  .site-foot-company,
  .site-foot-links {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

}

/* Mobile ~430Г—932 вЂ” layout like EasyCode funnel */
@media (max-width: 560px) {

  body { background: #fff; }

  .landing {
    padding: calc((2.55rem + 30px) * 0.72) calc(1.7rem + 10px) 2rem;
    place-items: start center;
    min-height: 100dvh;
    padding-bottom: 6rem;
  }

  .hero-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .hero-media {
    min-height: 250px;
    height: 250px;
    border-radius: 28px;
    overflow: hidden;
  }

  .hero-media::after {
    background: linear-gradient(180deg, transparent 38%, rgba(12, 24, 48, 0.5) 100%);
  }

  .hero-overlay {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.85rem;
    align-items: flex-start;
    text-align: left;
  }

  .hero-overlay-line {
    margin: 0.14rem 0;
    padding: 0.38rem 0.58rem;
    border-radius: 10px;
    font-size: clamp(0.84rem, 3.7vw, 0.98rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-copy {
    padding: 1.35rem 0.2rem 0.5rem;
    gap: 0;
  }

  .hero-copy .brand { display: none; }

  .hero-copy .hero-title {
    order: 1;
    margin: 0 0 1.75rem;
  }

  .hero-copy .bonus-label {
    order: 2;
    margin: 0 0 0.55rem;
    font-size: 14px;
    font-weight: 400;
  }

  .hero-copy .bonus-card {
    order: 3;
    margin: 0 0 2.1rem;
  }

  .hero-copy .cta {
    order: 4;
    width: 100%;
    max-width: none;
    height: 70px;
    min-height: 70px;
    margin: 0 0 1.85rem;
    font-size: 18px;
    line-height: 1.1;
  }

  .hero-copy .legal {
    order: 5;
    margin: 0;
  }

  .hero-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
  }

  .bonus-card {
    width: 74%;
    max-width: 74%;
    padding: 0.85rem 0.62rem;
    border-radius: 16px;
    gap: 0.55rem;
  }

  .bonus-ico {
    width: 48px;
    height: 48px;
  }

  .bonus-card p {
    font-size: clamp(0.68rem, 2.9vw, 0.78rem);
    line-height: 1.18;
  }

  .bonus-lock {
    width: 28px;
    height: 28px;
  }

  .legal {
    font-size: 10px;
    font-weight: 300;
    line-height: 1.3;
  }

  .site-foot {
    margin-top: 0;
    border-top: 0;
    padding: 5.5rem calc(1.7rem + 10px) 2.5rem;
  }

  .site-foot-inner {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.15rem;
  }

  .site-foot-brand {
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
  }

  .site-foot-brand .logo-group {
    margin: 0 auto;
  }

  .site-foot-phone {
    font-size: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0;
  }

  .site-foot-company {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
  }

  .site-foot-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
  }

  .quiz-screen {
    position: fixed;
    inset: 0;
    z-index: 500;
    padding: 0;
    background: #fff;
    min-height: 100dvh;
    height: 100dvh;
    place-items: stretch;
  }

  .quiz-screen.is-on { display: block; }

  .quiz-modal {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    margin-top: 0;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    grid-template-columns: 1fr;
    grid-template-rows: 5px auto minmax(0, 1fr) auto;
  }

  .quiz-progress {
    grid-column: 1;
    grid-row: 1;
  }

  .quiz-side {
    grid-column: 1;
    grid-row: 2;
    background: transparent;
    border: 0;
    padding: 1.6rem 1.35rem 0;
  }

  .quiz-side-box {
    min-height: 0;
    height: auto;
    background: #EDEFF3;
    border-radius: 12px;
    padding: 0.95rem 1rem;
    font-size: 12px;
    font-weight: 300;
    text-align: left;
    color: #4B5563;
  }

  .quiz-stage {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    overflow: hidden;
  }

  .quiz-main {
    padding: 1.25rem 1.35rem 1rem;
    gap: 0;
    overflow: hidden;
  }

  #quizStep {
    gap: 1.5rem;
    overflow: auto;
    padding-bottom: 1rem;
  }

  .quiz-q {
    font-size: 26px;
    margin-top: 0.35rem;
  }

  .quiz-step-form > .quiz-q {
    font-size: 26px;
  }

  .quiz-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .quiz-opt {
    align-items: flex-start;
    height: auto;
    min-height: 88px;
    border-radius: 18px;
    font-size: clamp(15px, 3.8vw, 17px);
    font-weight: 500;
    line-height: 1.28;
    padding: 0.9rem 0.85rem;
    gap: 0.6rem;
  }

  .quiz-opt > span:not(.quiz-radio) {
    overflow: hidden;
  }

  .quiz-radio {
    width: 24px;
    height: 24px;
    margin-top: 0.1rem;
  }

  .step-label { display: none; }

  .quiz-nav {
    grid-column: 1;
    grid-row: 4;
    margin-top: 0;
    padding: 0.85rem 1.35rem calc(0.95rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }

  .nav-actions {
    width: 100%;
    margin-left: 0;
    gap: 0.65rem;
  }

  .btn-back {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex: 0 0 auto;
  }

  .btn-next {
    flex: 1;
    min-width: 0;
    height: 52px;
    border-radius: 14px;
    font-size: 16px;
  }

  .quiz-close {
    top: 16px;
    right: 14px;
  }

  .field, .flag {
    border-radius: 14px;
    min-height: 46px;
  }

  .quiz-step-form .field,
  .exit-body .field {
    font-size: 16px;
    line-height: 1.2;
    padding: 0.58rem 0.85rem;
  }

  #quizStep.quiz-step-form {
    scroll-padding-bottom: calc(11rem + env(safe-area-inset-bottom));
  }

  .exit-body {
    scroll-padding-bottom: calc(9rem + env(safe-area-inset-bottom));
  }

  .phone-dropdown {
    max-height: min(156px, 26dvh);
    border-radius: 12px;
  }

  .phone-list {
    max-height: 108px;
  }

  .phone-option {
    padding: 0.38rem 0.65rem;
    font-size: 13px;
    gap: 0.45rem;
  }

  .phone-option-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .phone-option-name span {
    display: none;
  }

  .phone-search {
    padding: 0.45rem 0.65rem;
    font-size: 14px;
  }

  .phone-input {
    padding-left: 3.2rem !important;
  }

  .phone-prefix {
    min-height: 24px;
    padding: 0.2rem 0.3rem;
  }

  .phone-flag-img {
    width: 20px;
    height: 14px;
  }

  .quiz-main.is-form {
    max-height: none;
    overflow: visible;
  }

}

/* Narrow phones (~375): keep overlay line on one line without overflow */
@media (max-width: 400px) {
  .hero-overlay {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.7rem;
  }

  .hero-overlay-line {
    font-size: clamp(0.76rem, 3.45vw, 0.86rem);
    padding: 0.28rem 0.44rem;
    margin: 0.08rem 0;
    border-radius: 8px;
  }
}

/*
  Height в‰¤800: scale the 430Г—932 mobile layout by viewport height.
  Photo keeps base ratio, then grows by ~half of leftover viewport space.
  Footer stays on the next screen (landing = 100dvh).
*/
@media (max-width: 560px) and (max-height: 800px) {
  .landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    place-items: unset;
    padding-top: max(0.4rem, 4.18dvh);
    padding-left: calc(1.2rem + 6px);
    padding-right: calc(1.2rem + 6px);
    padding-bottom: 0.75rem;
    min-height: 100dvh;
    box-sizing: border-box;
  }

  .hero-card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
  }

  /* Takes the other half of free space so bottom gap ~halves */
  .hero-card::after {
    content: "";
    flex: 1 1 0;
    min-height: 0;
    order: 3;
    pointer-events: none;
  }

  .hero-media {
    order: 1;
    flex: 1 1 28dvh;
    height: auto;
    min-height: 28dvh;
    max-height: 42dvh;
    border-radius: clamp(16px, 3dvh, 28px);
  }

  .hero-overlay {
    left: 0.6rem;
    right: 0.6rem;
    bottom: clamp(0.4rem, 1.15dvh, 0.85rem);
  }

  .hero-overlay-line {
    font-size: clamp(0.72rem, 1.5dvh + 0.35rem, 0.92rem);
    padding: clamp(0.22rem, 0.55dvh, 0.38rem) clamp(0.4rem, 0.85dvh, 0.58rem);
    margin: 0.06rem 0;
  }

  .hero-copy {
    order: 2;
    flex: 0 0 auto;
    padding: clamp(0.55rem, 2.3dvh, 1.35rem) 0.15rem 0.15rem;
  }

  .hero-copy .hero-title {
    margin: 0 0 clamp(0.65rem, 3.2dvh, 1.75rem);
  }

  .hero-title {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
  }

  .hero-copy .bonus-label {
    margin: 0 0 clamp(0.25rem, 1dvh, 0.55rem);
    font-size: 14px;
    font-weight: 400;
  }

  .hero-copy .bonus-card {
    margin: 0 0 clamp(0.8rem, 3.7dvh, 2.1rem);
  }

  .bonus-card {
    width: 74%;
    max-width: 74%;
    padding: clamp(0.58rem, 1.5dvh, 0.85rem) clamp(0.48rem, 1.4dvh, 0.62rem);
    border-radius: clamp(14px, 2dvh, 16px);
    gap: clamp(0.42rem, 1.2dvh, 0.55rem);
  }

  .bonus-ico {
    width: clamp(40px, 5.8dvh, 48px);
    height: clamp(40px, 5.8dvh, 48px);
  }

  .bonus-lock {
    width: clamp(22px, 3.2dvh, 28px);
    height: clamp(22px, 3.2dvh, 28px);
  }

  .bonus-card p {
    font-size: clamp(0.62rem, 1.25dvh, 0.78rem);
    line-height: 1.18;
  }

  .hero-copy .cta {
    height: clamp(46px, 7.5dvh, 70px);
    min-height: clamp(46px, 7.5dvh, 70px);
    margin: 0 0 clamp(0.6rem, 3.3dvh, 1.85rem);
    font-size: 18px;
    line-height: 1.1;
    font-weight: 500;
  }

  .legal {
    font-size: 10px;
    font-weight: 300;
    line-height: 1.3;
  }

  .site-foot {
    padding-top: max(3.25rem, 9dvh);
    padding-bottom: 2rem;
  }
}

/* Short phones: compact quiz */
@media (max-width: 560px) and (max-height: 800px) {
  .quiz-side {
    padding: clamp(0.55rem, 1.8dvh, 1.2rem) clamp(0.75rem, 3.5vw, 1.15rem) 0;
  }

  .quiz-side-box {
    padding: clamp(0.5rem, 1.3dvh, 0.85rem) clamp(0.65rem, 1.5dvh, 0.95rem);
    font-size: 12px;
    font-weight: 300;
    border-radius: 10px;
  }

  .quiz-main {
    padding: clamp(0.45rem, 1.4dvh, 1rem) clamp(0.75rem, 3.5vw, 1.15rem) 0.35rem;
  }

  #quizStep {
    gap: clamp(0.55rem, 1.6dvh, 1.2rem);
    padding-bottom: 0.4rem;
  }

  .quiz-q {
    font-size: 26px;
    margin-top: 0.1rem;
  }

  .quiz-step-form > .quiz-q {
    font-size: 26px;
  }

  .quiz-options {
    gap: clamp(0.75rem, 1.6dvh, 0.95rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-opt {
    align-items: flex-start;
    height: auto;
    min-height: clamp(80px, 10dvh, 88px);
    border-radius: 16px;
    padding: clamp(0.75rem, 1.5dvh, 0.9rem) clamp(0.7rem, 1.4dvh, 0.85rem);
    font-size: clamp(14px, 3.6vw, 16px);
    font-weight: 500;
    line-height: 1.28;
    gap: 0.55rem;
  }

  .quiz-opt > span:not(.quiz-radio) {
    overflow: hidden;
  }

  .quiz-radio {
    width: clamp(22px, 3.2dvh, 24px);
    height: clamp(22px, 3.2dvh, 24px);
    margin-top: 0.1rem;
  }

  .quiz-nav {
    padding: clamp(0.4rem, 1.1dvh, 0.75rem) clamp(0.75rem, 3.5vw, 1.15rem) calc(0.5rem + env(safe-area-inset-bottom));
  }

  .btn-back {
    width: clamp(40px, 6dvh, 50px);
    height: clamp(40px, 6dvh, 50px);
    border-radius: 11px;
  }

  .btn-next {
    height: clamp(40px, 6dvh, 50px);
    border-radius: 11px;
    font-size: 16px;
  }

  .quiz-close {
    top: 8px;
    right: 8px;
  }

  .field,
  .flag {
    min-height: clamp(44px, 6.2dvh, 46px);
    border-radius: 12px;
  }

  .consent {
    font-size: 12px;
    font-weight: 300;
  }

  .consent-all {
    font-size: 12px;
  }
}

/* вЂ”вЂ”вЂ” Exit popup вЂ”вЂ”вЂ” */

body.exit-open { overflow: hidden; }

body.quiz-open .exit-screen {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.exit-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  padding: 1.25rem;
  background: rgba(20, 30, 50, 0.45);
  place-items: center;
}

.exit-screen.is-on {
  display: grid;
}

.exit-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(640px, calc(100dvh - 2rem));
  overflow: auto;
  background: #fff;
  border-radius: max(0px, calc(25px - 1px));
  box-shadow: var(--shadow);
}

.exit-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 3vw, 2rem) 1.4rem;
}

.exit-body .quiz-q {
  padding-right: 2rem;
}

.exit-body .quiz-sub {
  margin-top: 0;
}

.exit-body .hl {
  color: var(--blue);
  font-weight: 800;
}

.exit-submit {
  width: 100%;
  max-width: 420px;
  min-height: 52px;
  height: auto;
  padding: 0.85rem 1.1rem;
}

.exit-body .form-legal {
  margin-top: 0;
  max-width: none;
}

.exit-modal .sent-overlay {
  border-radius: inherit;
  z-index: 30;
}

.exit-modal.is-sent .exit-body,
.exit-screen.is-sent .exit-body {
  display: none;
}

.quiz-modal.is-sent .quiz-nav,
.quiz-modal.is-sent .quiz-close {
  display: none !important;
}

@media (max-width: 860px) {
  .exit-screen {
    padding: 0;
    background: #fff;
    place-items: stretch;
  }

  .exit-modal {
    width: 100%;
    max-height: none;
    min-height: 100dvh;
    border-radius: 0;
  }

  .exit-screen.is-sent .exit-modal {
    min-height: 100dvh;
  }

  .exit-body {
    padding: 3rem 1rem calc(1.2rem + env(safe-area-inset-bottom));
  }
}


