@font-face {
  font-family: "Spline Sans";
  src: url("./assets/fonts/SplineSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spline Sans";
  src: url("./assets/fonts/SplineSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spline Sans";
  src: url("./assets/fonts/SplineSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Faberge";
  src: url("./assets/fonts/Faberge-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Faberge";
  src: url("./assets/fonts/Faberge-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #202020;
  --cream: #f7f4eb;
  --paper: #f5f5f3;
  --red: #8f291c;
  --red-dark: #762216;
  --rose: #df6f70;
  --blue: #a8cfff;
  --graphite: #5a5b59;
  --muted: #6d625f;
  --line: rgba(32, 32, 32, 0.18);
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Spline Sans", sans-serif;
  font-weight: 600;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 32, 32, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 32, 0.018) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 50px;
  border-radius: 0 0 40px 40px;
  background: rgba(32, 32, 32, 0.98);
  color: var(--paper);
  transition:
    background 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease,
    transform 0.28s ease;
}

.topbar.is-scrolled {
  background: rgba(32, 32, 32, 0.68);
  box-shadow: 0 18px 40px rgba(32, 32, 32, 0.16);
  backdrop-filter: blur(16px);
}

.brand-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  width: 158px;
}

.brand-logo img {
  width: 100%;
  height: auto;
}

.topbar__nav {
  justify-self: center;
  display: flex;
  gap: clamp(28px, 5vw, 58px);
  font-family: "Spline Sans", sans-serif;
  font-size: 17px;
  font-weight: 600;
}

.topbar__nav a {
  opacity: 0.82;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.topbar__nav a:hover {
  color: var(--blue);
  opacity: 1;
}

.topbar__button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  border-radius: 8px;
  font-family: "Spline Sans", sans-serif;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.topbar__button {
  justify-self: end;
  min-width: 162px;
  min-height: 46px;
  padding: 0 30px;
  border-radius: 18px;
  background: var(--red);
  color: var(--cream);
  font-size: 18px;
}

.button {
  min-height: 42px;
  padding: 0 24px;
  font-size: 14px;
}

.topbar__button:hover,
.button:hover {
  transform: translateY(-2px);
}

.button--solid {
  background: var(--red);
  color: var(--cream);
}

.hero__offer .button--solid {
  min-width: 316px;
  min-height: 58px;
  padding: 0 50px;
  border-radius: 0;
  font-size: 18px;
  transition: transform 0.28s ease, background 0.28s ease;
}

.hero__offer .button--solid:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.button--outline {
  border: 2px solid var(--red);
  color: var(--red);
}

.button--cream {
  background: var(--cream);
  color: var(--red);
}

.button--outline-light {
  border: 2px solid rgba(247, 244, 235, 0.9);
  color: var(--cream);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 88px);
  max-height: 940px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #fbfbfb 0%, #fbfaf5 48%, #f5efd9 100%);
}

.hero__copy {
  position: relative;
  z-index: 3;
  padding: 60px 50px 300px;
}

.hero h1 {
  display: grid;
  grid-template-rows: auto auto;
  max-width: 930px;
  margin: 0;
  font-size: 70px;
  line-height: 0.98;
  font-weight: 600;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  display: inline-block;
  color: var(--red);
  font-family: "Oktyabrina", cursive;
  font-size: 140px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.72;
  transform: translateY(4px);
}

.hero__offer {
  display: grid;
  gap: 12px;
  width: fit-content;
  margin-top: clamp(70px, 10vh, 138px);
  margin-left: clamp(270px, 19vw, 430px);
}

.hero__offer p {
  margin: 0;
  font-size: clamp(27px, 2.1vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}

.hero__offer strong {
  color: var(--red);
  font-family: "Faberge", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.22em;
}

.hero__offer small {
  font-size: 18px;
  font-weight: 400;
}

.hero__person {
  position: absolute;
  right: 50px;
  bottom: -20px;
  z-index: 2;
  width: min(46vw, 780px);
  line-height: 0;
}

.hero__person::after {
  content: "";
  position: absolute;
  inset: 4% 2% 8% -2%;
  z-index: 0;
  border-radius: 42% 58% 48% 52%;
  background:
    radial-gradient(circle at 48% 44%, rgba(244, 222, 159, 0.5), rgba(244, 222, 159, 0.22) 44%, transparent 70%);
  filter: blur(28px);
  transform: translate(10px, 8px);
}

.hero__teacher-photo {
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
}

.teacher-name {
  position: absolute;
  top: 60px;
  right: 50px;
  z-index: 4;
  padding-bottom: 3px;
  border-bottom: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 700;
}

.teacher-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 3px;
  background: var(--red);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.hero-lenin {
  position: absolute;
  left: 50px;
  bottom: clamp(24px, 4vh, 54px);
  z-index: 2;
  width: clamp(250px, 21vw, 390px);
  transform: rotate(0deg);
  opacity: 0.96;
  filter: drop-shadow(0 10px 0 rgba(143, 41, 28, 0.12));
}

.start-band {
  display: grid;
  place-items: center;
  min-height: 176px;
  background: var(--red);
  color: var(--cream);
}

.start-band p {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
}

.start-band span {
  color: var(--blue);
  font-family: "Oktyabrina", cursive;
  font-size: 1.22em;
  font-weight: 400;
  display: inline-block;
  min-width: 170px;
}

.start-band span.is-updating {
  animation: countPulse 0.85s ease both;
}

.paper-panel {
  position: relative;
  margin-top: -1px;
  padding: clamp(58px, 5.5vw, 90px) 0 clamp(70px, 6vw, 100px);
  border-radius: 50px;
  background: var(--paper);
}

.problems.paper-panel {
  overflow: visible;
  padding: 0;
  border-radius: 0;
  background: var(--red);
}

.problems.paper-panel::before,
.problems.paper-panel::after {
  content: none;
}

.problems.paper-panel::after {
  content: none;
}

.problems > .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: clamp(58px, 5.5vw, 90px) 100px clamp(82px, 7vw, 116px);
  overflow: hidden;
  border-radius: 50px;
  background:
    radial-gradient(ellipse at 12% 14%, rgba(168, 207, 255, 0.26), transparent 30%),
    radial-gradient(ellipse at 86% 78%, rgba(143, 41, 28, 0.14), transparent 34%),
    radial-gradient(circle at 60% 22%, rgba(247, 244, 235, 0.72), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0 12%, transparent 12% 34%, rgba(143, 41, 28, 0.035) 34% 35%, transparent 35% 100%),
    linear-gradient(145deg, #e8eee9 0%, #f7f4eb 48%, #eadfce 100%);
}

.problems > .container::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 32, 32, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 32, 0.024) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.problems > .container::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -18%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(168, 207, 255, 0.12);
  filter: blur(2px);
  pointer-events: none;
}

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

.paper-section {
  padding: clamp(70px, 10vw, 116px) 0;
  background: var(--paper);
}

.red-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 118px) 0;
  background: var(--red);
  color: var(--cream);
}

.teacher.red-section {
  background:
    radial-gradient(circle at 23% 58%, rgba(247, 244, 235, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 94% 64%, rgba(247, 244, 235, 0.1) 0 1px, transparent 2px),
    radial-gradient(circle at 16% 24%, rgba(247, 244, 235, 0.1) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 28%, rgba(168, 207, 255, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 72%, rgba(247, 244, 235, 0.09) 0 2px, transparent 3px),
    linear-gradient(120deg, transparent 0 44%, rgba(247, 244, 235, 0.035) 44% 45%, transparent 45% 100%),
    var(--red);
  background-size: 130px 130px, 160px 160px, 220px 220px, 260px 260px, 190px 190px, 100% 100%, auto;
}

.teacher.red-section::before,
.teacher.red-section::after {
  content: "*";
  position: absolute;
  color: rgba(247, 244, 235, 0.12);
  font-size: 78px;
  line-height: 1;
}

.teacher.red-section::before {
  top: 13%;
  right: 9%;
}

.teacher.red-section::after {
  left: 6%;
  bottom: 18%;
  transform: rotate(22deg);
}

.teacher .container {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: 100px;
  padding-left: 100px;
}

.teacher .container::before,
.teacher .container::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.teacher .container::before {
  top: 18%;
  left: -5%;
  width: 120px;
  height: 120px;
  border: 2px dashed rgba(247, 244, 235, 0.12);
  border-radius: 50%;
}

.teacher .container::after {
  top: 9%;
  right: 16%;
  width: 96px;
  height: 34px;
  border-top: 2px solid rgba(247, 244, 235, 0.14);
  border-bottom: 2px solid rgba(247, 244, 235, 0.08);
  transform: rotate(-11deg);
}

.graphite-section {
  position: relative;
  padding: clamp(72px, 9vw, 106px) 0;
  background:
    linear-gradient(135deg, rgba(168, 207, 255, 0.08), transparent 35%),
    var(--graphite);
  color: var(--cream);
}

.red-card-section {
  padding: clamp(34px, 5vw, 70px) 0 clamp(72px, 10vw, 110px);
  background: linear-gradient(180deg, var(--graphite) 0 78px, var(--paper) 78px 100%);
}

.red-card-section > .container {
  padding: clamp(64px, 7vw, 104px) clamp(58px, 7vw, 98px);
  border-radius: 50px;
  background: var(--red);
  color: var(--cream);
}

.section-title {
  margin: 0;
  color: var(--red);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  font-weight: 700;
}

.section-title--light {
  color: var(--cream);
}

.problem-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  column-gap: 30px;
  row-gap: clamp(42px, 4vw, 76px);
  margin-top: clamp(42px, 4.5vw, 72px);
  padding-bottom: 28px;
  align-items: start;
}

.pain-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 280 / 250;
  overflow: hidden;
  border-radius: 32px;
  background: var(--red);
  color: var(--cream);
  align-self: start;
  justify-self: stretch;
}

.pain-card.reveal {
  opacity: 0;
  transition: none;
  will-change: opacity, transform;
}

.pain-card.reveal.is-visible {
  animation: painCardFadeIn 0.9s ease forwards;
}

.pain-card--teacher.reveal {
  transform: translate3d(0, calc(-100% - clamp(42px, 4vw, 76px)), 0);
}

.pain-card--teacher.reveal.is-visible {
  transform: translate3d(0, calc(-100% - clamp(42px, 4vw, 76px)), 0);
  animation:
    painCardFadeIn 0.9s ease forwards,
    painCardSlideDown 2.2s cubic-bezier(0.45, 0, 0.55, 1) 0.55s forwards;
}

.pain-card p {
  position: absolute;
  top: clamp(22px, 1.85vw, 34px);
  left: 18px;
  right: 18px;
  z-index: 2;
  margin: 0;
  font-size: clamp(20px, 1.55vw, 31px);
  line-height: 1.12;
  font-weight: 400;
  text-align: center;
}

.pain-card img {
  position: absolute;
  left: 50%;
  bottom: 0;
  max-width: none;
  width: 88%;
  height: 68%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
}

.pain-card--peter {
  grid-column: 1 / span 3;
  grid-row: 1;
}

.pain-card--building {
  grid-column: 7 / span 3;
  grid-row: 1;
}

.pain-card--building img {
  width: 94%;
  height: 66%;
}

.pain-card--queen {
  grid-column: 10 / span 3;
  grid-row: 1;
}

.pain-card--queen img {
  width: 90%;
  height: 68%;
}

.pain-card--teacher {
  grid-column: 4 / span 3;
  grid-row: 2;
}

.pain-card--teacher img {
  width: 88%;
  height: 68%;
}

.pain-star {
  grid-column: 12;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  color: var(--red);
  font-size: clamp(36px, 3.2vw, 58px);
  font-weight: 700;
  line-height: 0.72;
  transform-origin: 50% 54%;
  animation: painStarSpin 18s linear infinite;
}

.course-fit {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  margin-top: clamp(72px, 8vw, 124px);
  color: var(--red);
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  font-weight: 700;
}

.course-fit p {
  margin: 0;
}

.course-fit p:nth-child(2) {
  justify-self: center;
}

.course-fit p:nth-child(3) {
  justify-self: end;
}

.course-fit > p > span {
  color: var(--rose);
}

.asterisk {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  margin: 0;
  color: var(--red);
  font-family: "Spline Sans", sans-serif;
  font-size: clamp(36px, 3.2vw, 58px);
  font-weight: 700;
  line-height: 0.72;
  transform: translateY(18%);
}

.asterisk::before,
.asterisk::after {
  content: none;
}

.video-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 560px;
  margin-top: 56px;
  border-radius: 28px;
  background: #d8d8d8;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(247, 244, 235, 0.12),
    0 0 70px rgba(168, 207, 255, 0.26),
    0 34px 80px rgba(32, 32, 32, 0.16);
}

.video-placeholder::after {
  content: "";
  position: absolute;
  inset: -28px -34px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(168, 207, 255, 0.34), transparent 68%),
    radial-gradient(circle at 18% 22%, rgba(247, 244, 235, 0.18), transparent 42%);
  filter: blur(26px);
  opacity: 0.9;
  z-index: -1;
}

.teacher .stats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(78px, 8vw, 112px);
}

.teacher .stat {
  position: relative;
  min-height: clamp(190px, 17vw, 260px);
  overflow: hidden;
  border-radius: 42px;
  padding: clamp(28px, 3.2vw, 48px);
  background: rgba(247, 244, 235, 0.96);
  color: var(--red);
}

.teacher .stat.reveal {
  opacity: 0;
  transition: none;
  will-change: opacity, transform;
}

.teacher .stat:nth-child(odd).reveal {
  transform: translate3d(-96px, 0, 0) scale(0.985);
}

.teacher .stat:nth-child(even).reveal {
  transform: translate3d(96px, 0, 0) scale(0.985);
}

.teacher .stat:nth-child(1).reveal.is-visible {
  animation: statDockLeft 1.28s cubic-bezier(0.18, 0.82, 0.2, 1) 0.02s forwards;
}

.teacher .stat:nth-child(2).reveal.is-visible {
  animation: statDockRight 1.28s cubic-bezier(0.18, 0.82, 0.2, 1) 0.12s forwards;
}

.teacher .stat:nth-child(3).reveal.is-visible {
  animation: statDockLeft 1.28s cubic-bezier(0.18, 0.82, 0.2, 1) 0.22s forwards;
}

.teacher .stat:nth-child(4).reveal.is-visible {
  animation: statDockRight 1.28s cubic-bezier(0.18, 0.82, 0.2, 1) 0.32s forwards;
}

.teacher .stat:nth-child(5).reveal.is-visible {
  animation: statDockLeft 1.28s cubic-bezier(0.18, 0.82, 0.2, 1) 0.22s forwards;
}

.teacher .stat:nth-child(6).reveal.is-visible {
  animation: statDockRight 1.28s cubic-bezier(0.18, 0.82, 0.2, 1) 0.32s forwards;
}

.teacher .stat::before,
.teacher .stat::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.teacher .stat::before {
  right: -46px;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(168, 207, 255, 0.52);
}

.teacher .stat::after {
  right: 34px;
  top: 28px;
  width: 46px;
  height: 46px;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.18;
}

.teacher .stat:nth-child(1) {
  grid-column: 1 / span 5;
  background: var(--red-dark);
  color: var(--cream);
}

.teacher .stat:nth-child(2) {
  grid-column: 6 / span 7;
  background: #202020;
  color: var(--cream);
}

.teacher .stat:nth-child(3) {
  grid-column: 1 / span 7;
}

.teacher .stat:nth-child(4) {
  grid-column: 8 / span 5;
  background: var(--blue);
  color: var(--ink);
}

.teacher .stat:nth-child(5) {
  grid-column: 1 / span 4;
  min-height: clamp(158px, 13vw, 210px);
  align-self: end;
  background:
    radial-gradient(circle at 78% 78%, rgba(247, 244, 235, 0.5), transparent 34%),
    linear-gradient(145deg, #ead1da, #d9b3c3);
  color: var(--ink);
}

.teacher .stat:nth-child(6) {
  grid-column: 5 / span 8;
  background:
    radial-gradient(circle at 84% 20%, rgba(168, 207, 255, 0.18), transparent 30%),
    linear-gradient(145deg, #4a2e25, #211614);
  color: var(--cream);
}

.teacher .stat strong {
  position: relative;
  z-index: 1;
  display: block;
  color: currentColor;
  font-size: clamp(64px, 8vw, 132px);
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.teacher .stat span {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 520px;
  margin-top: clamp(18px, 2vw, 28px);
  font-size: clamp(24px, 2.8vw, 48px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.teacher .stat small {
  color: currentColor;
  font-size: 0.58em;
  opacity: 0.58;
}

.learning-scroll {
  --learning-scene-bg:
    radial-gradient(circle at 18% 20%, rgba(168, 207, 255, 0.24), transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(143, 41, 28, 0.12), transparent 30%),
    linear-gradient(180deg, #ece8de 0%, #f7f4eb 48%, #e3e8e4 100%);
  position: relative;
  z-index: 2;
  min-height: 610vh;
  padding: 0;
  overflow: visible;
  background: var(--learning-scene-bg);
  color: var(--ink);
}

.learning__stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: block;
  padding: clamp(96px, 11vh, 138px) 0 clamp(46px, 6vh, 78px);
  overflow: visible;
  background: var(--learning-scene-bg);
}

.learning__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.learning__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(32, 32, 32, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 32, 0.032) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}

.learning__inner {
  position: relative;
  z-index: 1;
  height: calc(100vh - clamp(142px, 17vh, 216px));
  min-height: 620px;
}

.learning__intro {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  transition: opacity 0.32s ease, transform 0.32s ease;
}

.learning-scroll .section-title--light {
  color: var(--red-dark);
  font-size: clamp(48px, 7vw, 104px);
  letter-spacing: 0;
}

.learning__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin-top: 16px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 14px 0 rgba(0, 0, 0, 0.2), 0 24px 48px rgba(0, 0, 0, 0.28);
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.learning__cta--card {
  justify-self: start;
  margin-top: clamp(42px, 7vh, 86px);
  color: var(--cream);
  pointer-events: auto;
}

.learning__cta:hover {
  background: var(--rose);
  transform: translateY(-3px);
  box-shadow: 0 17px 0 rgba(0, 0, 0, 0.18), 0 28px 52px rgba(0, 0, 0, 0.28);
}

.learning__viewport {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 36px;
}

.learning-card,
.review-card,
.tariff-card,
.faq-item {
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.learning-card {
  padding: 22px 26px 26px;
  border-left: 7px solid var(--blue);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.learning-card--step {
  position: absolute;
  left: 50%;
  top: 54%;
  width: clamp(360px, 40vw, 610px);
  min-height: clamp(450px, 61vh, 650px);
  display: grid;
  align-content: start;
  gap: 0;
  padding: clamp(30px, 3.8vw, 52px);
  border: 0;
  border-radius: 36px;
  box-shadow: 0 28px 76px rgba(32, 32, 32, 0.2);
  opacity: var(--card-opacity, 0);
  transform: translate3d(var(--card-x, -50%), var(--card-y, 90vh), 0) rotate(var(--card-rotate, 0deg)) scale(var(--card-scale, 0.94));
  transform-origin: 50% 70%;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: layout paint;
  transition: opacity 0.12s linear;
}

.learning-card--webinar {
  background:
    radial-gradient(circle at 80% 78%, rgba(168, 207, 255, 0.34), transparent 28%),
    linear-gradient(145deg, #fffdf6, #eee6d4);
  color: var(--ink);
}

.learning-card--homework {
  background:
    radial-gradient(circle at 72% 76%, rgba(118, 34, 22, 0.18), transparent 31%),
    linear-gradient(145deg, #f0c8cc, #df6f70);
  color: #321411;
}

.learning-card--cabinet {
  background:
    radial-gradient(circle at 58% 56%, rgba(247, 244, 235, 0.58), transparent 28%),
    linear-gradient(145deg, #c7ddff, #a8cfff 48%, #d7e6ce);
  color: #162634;
}

.learning-card--support {
  background:
    radial-gradient(circle at 50% 54%, rgba(168, 207, 255, 0.24), transparent 36%),
    linear-gradient(145deg, #181818, #090a12);
  color: var(--cream);
}

.learning-card--progress {
  background:
    radial-gradient(circle at 82% 18%, rgba(168, 207, 255, 0.14), transparent 28%),
    radial-gradient(circle at 18% 88%, rgba(247, 244, 235, 0.1), transparent 34%),
    linear-gradient(145deg, #3a251f, #211614 58%, #100d0c);
  color: #f7f4eb;
}

.learning-card__number {
  width: fit-content;
  padding: 0 0 10px;
  border-bottom: 3px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: currentColor;
  font-family: "Spline Sans", sans-serif;
  font-size: clamp(14px, 1.35vw, 20px);
  line-height: 1;
  font-weight: 700;
  opacity: 0.72;
}

.learning-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 0 rgba(32, 32, 32, 0.16);
}

.learning-card--step:hover {
  transform: translate3d(var(--card-x, -50%), var(--card-y, 90vh), 0) rotate(var(--card-rotate, 0deg)) scale(var(--card-scale, 0.94));
  box-shadow: 0 26px 70px rgba(32, 32, 32, 0.16);
}

.learning-card h3 {
  margin: 0 0 10px;
  color: var(--red-dark);
  font-family: "Faberge", "Spline Sans", sans-serif;
  font-size: 24px;
}

.learning-card--step h3 {
  max-width: 95%;
  margin: clamp(22px, 2.6vw, 36px) 0 0;
  color: currentColor;
  font-family: "Spline Sans", sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.94;
  font-weight: 700;
}

.learning-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.18;
}

.learning-card--step p {
  max-width: 94%;
  margin-top: clamp(24px, 3vw, 42px);
  font-size: clamp(18px, 1.75vw, 24px);
  line-height: 1.14;
  font-weight: 700;
}

.learning-card--webinar p,
.learning-card--cabinet p {
  color: rgba(32, 32, 32, 0.72);
}

.learning-card--homework p {
  color: rgba(50, 20, 17, 0.74);
}

.learning-card--support p {
  color: rgba(247, 244, 235, 0.74);
}

.learning-card--progress p {
  color: rgba(247, 244, 235, 0.72);
}

.learning-card__duo,
.learning-card__checks,
.learning-card__yeltsin,
.learning-card__chat,
.learning-card__progress {
  margin-top: clamp(34px, 5vh, 62px);
}

.learning-card__duo {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: max-content auto max-content;
  justify-content: start;
  align-items: center;
  justify-items: start;
  gap: clamp(12px, 2vw, 24px);
  min-height: 154px;
  padding: 0 clamp(10px, 1.8vw, 22px) 0 0;
  color: var(--red-dark);
}

.learning-card__duo-item {
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--red-dark);
  box-shadow: none;
}

.learning-card__duo-item:nth-of-type(2) {
  background: transparent;
  color: var(--ink);
}

.learning-card__duo span {
  display: block;
  font-size: clamp(24px, 3vw, 48px);
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  text-wrap: nowrap;
}

.learning-card__duo b {
  position: relative;
  z-index: 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: clamp(38px, 4vw, 52px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 8px 0 rgba(32, 32, 32, 0.12);
  font-size: clamp(23px, 2.6vw, 32px);
  line-height: 1;
}

@supports (font-size: 1cqw) {
  .learning-card__duo {
    gap: clamp(12px, 4cqw, 24px);
    padding: 0 clamp(10px, 3cqw, 22px) 0 0;
  }

  .learning-card__duo span {
    font-size: clamp(24px, 9.8cqw, 48px);
  }

  .learning-card__duo b {
    width: clamp(38px, 10cqw, 52px);
    font-size: clamp(23px, 6cqw, 32px);
  }
}

.learning-card__duo strong {
  grid-column: 1 / -1;
  flex-basis: 100%;
  width: fit-content;
  justify-self: start;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(118, 34, 22, 0.68);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1;
  font-weight: 700;
}

.learning-card__checks {
  display: grid;
  gap: 12px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.learning-card__checks li,
.learning-card__chat span {
  padding: 17px 20px;
  border-radius: 20px;
  background: rgba(247, 244, 235, 0.78);
  color: var(--ink);
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(32, 32, 32, 0.07);
}

.learning-card__checks li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.learning-card__checks li span {
  color: var(--red-dark);
  font-size: 0.78em;
  opacity: 0.7;
}

.learning-card__checks li::after {
  content: "";
  width: 12px;
  height: 12px;
  justify-self: end;
  border-radius: 50%;
  background: var(--red);
  grid-column: 3;
  grid-row: 1;
}

.learning-card__yeltsin {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 220px;
  overflow: visible;
}

.learning-card__yeltsin img {
  width: min(58%, 240px);
  max-width: none;
  margin-bottom: -18px;
  filter: drop-shadow(0 18px 24px rgba(32, 32, 32, 0.24));
}

.learning-card__chat {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 100%;
  margin-left: 0;
  color: var(--cream);
  font-size: clamp(22px, 2.7vw, 38px);
  line-height: 1;
  font-weight: 700;
}

.learning-card__chat span {
  width: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  box-shadow: none;
}

.learning-card__chat b {
  color: var(--blue);
  font-size: 1.25em;
  line-height: 0.7;
}

.learning-card__progress {
  display: grid;
  gap: clamp(22px, 2.8vw, 34px);
  max-width: 92%;
  margin-top: clamp(46px, 6vh, 76px);
}

.learning-card__progress span,
.learning-card__progress small {
  width: fit-content;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.12);
  color: rgba(247, 244, 235, 0.72);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 700;
}

.learning-card__progress strong {
  color: var(--blue);
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.9;
}

.learning-card__progress div {
  height: 18px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.2);
  overflow: hidden;
}

.learning-card__progress i {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.program-section {
  position: relative;
  z-index: 1;
  margin-top: -1px;
  padding: clamp(82px, 9vw, 124px) 0 clamp(84px, 11vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 207, 255, 0.2), transparent 30%),
    radial-gradient(circle at 82% 62%, rgba(143, 41, 28, 0.12), transparent 32%),
    linear-gradient(180deg, #e3e8e4 0%, #f0eee5 46%, #f7f4eb 100%);
}

.program-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 32, 32, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 32, 0.028) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.program__inner {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: 100px;
  padding-left: 100px;
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.program__head {
  position: relative;
  z-index: 2;
  display: block;
}

.program__modules {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: stretch;
  width: 100%;
  counter-reset: program-card;
}

.program-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: clamp(330px, 34vw, 450px);
  padding: clamp(24px, 2.6vw, 40px);
  border-radius: 32px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(32, 32, 32, 0.08);
  box-shadow: 0 24px 64px rgba(32, 32, 32, 0.13);
  transform: translateY(var(--program-lift, 0));
}

.program-card::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -18%;
  width: clamp(220px, 28vw, 520px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(247, 244, 235, 0.18);
  filter: blur(1px);
  opacity: 1;
  z-index: 0;
}

.program-card::after {
  content: counter(program-card, decimal-leading-zero);
  position: absolute;
  right: clamp(22px, 3vw, 44px);
  bottom: clamp(20px, 2.8vw, 40px);
  pointer-events: none;
  color: rgba(247, 244, 235, 0.46);
  font-size: clamp(82px, 10vw, 168px);
  line-height: 0.8;
  font-weight: 700;
  opacity: 0.86;
  z-index: 1;
}

.program-card--autumn {
  --program-lift: 0px;
  counter-increment: program-card;
  grid-column: 1 / 7;
  background:
    radial-gradient(circle at 88% 78%, rgba(168, 207, 255, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(143, 41, 28, 0.12) 0 18%, transparent 18% 100%),
    linear-gradient(145deg, #fff3d5 0%, #dfc48f 100%);
  color: var(--ink);
  border-color: rgba(143, 41, 28, 0.12);
}

.program-card--winter {
  --program-lift: 0px;
  counter-increment: program-card;
  grid-column: 7 / 13;
  background:
    radial-gradient(circle at 86% 78%, rgba(143, 41, 28, 0.2), transparent 36%),
    linear-gradient(135deg, rgba(168, 207, 255, 0.16) 0 20%, transparent 20% 100%),
    linear-gradient(145deg, #111418 0%, #25344a 64%, #5a322b 100%);
  color: var(--cream);
  border-color: rgba(168, 207, 255, 0.18);
}

.program-card--spring {
  --program-lift: 0px;
  counter-increment: program-card;
  grid-column: 1 / 13;
  min-height: clamp(340px, 30vw, 430px);
  align-content: space-between;
  background:
    linear-gradient(124deg, transparent 0 48%, rgba(168, 207, 255, 0.16) 48% 63%, transparent 63% 100%),
    linear-gradient(32deg, transparent 0 38%, rgba(247, 244, 235, 0.08) 38% 44%, transparent 44% 100%),
    radial-gradient(circle at 84% 56%, rgba(168, 207, 255, 0.3), transparent 34%),
    radial-gradient(circle at 16% 12%, rgba(247, 244, 235, 0.1), transparent 30%),
    linear-gradient(110deg, #8f2f24 0%, #5c251f 40%, #17202c 100%);
  color: var(--cream);
  border-color: rgba(247, 244, 235, 0.16);
}

.program-card--autumn::before {
  background:
    conic-gradient(from 18deg, rgba(143, 41, 28, 0.18), rgba(168, 207, 255, 0.3), rgba(247, 244, 235, 0.1), rgba(143, 41, 28, 0.18));
}

.program-card--autumn::after {
  color: rgba(143, 41, 28, 0.22);
}

.program-card--winter::before {
  background:
    radial-gradient(circle, rgba(168, 207, 255, 0.22), rgba(247, 244, 235, 0.08) 52%, transparent 70%);
  filter: blur(0);
}

.program-card--winter::after {
  color: rgba(168, 207, 255, 0.36);
}

.program-card--spring::before {
  right: 7%;
  bottom: -34%;
  width: clamp(360px, 42vw, 740px);
  background:
    radial-gradient(circle, rgba(168, 207, 255, 0.22), rgba(247, 244, 235, 0.08) 44%, transparent 68%);
}

.program-card--spring::after {
  right: clamp(28px, 4vw, 64px);
  bottom: clamp(26px, 4vw, 58px);
  color: rgba(168, 207, 255, 0.42);
  font-size: clamp(112px, 13vw, 210px);
}

.program-card__period {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: clamp(24px, 3.4vw, 44px);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.16);
  color: currentColor;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(247, 244, 235, 0.18);
}

.program-card--winter .program-card__period {
  background: rgba(247, 244, 235, 0.13);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 235, 0.16);
}

.program-card h3 {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 0 clamp(22px, 2.6vw, 34px);
  font-size: clamp(34px, 4.2vw, 68px);
  line-height: 0.98;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.program-card ul {
  position: relative;
  z-index: 2;
}

.program-card ul,
.tariff-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.program-card li,
.tariff-card li {
  position: relative;
  padding-left: 22px;
}

.program-card li::before,
.tariff-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.program-card li {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 10px 14px 10px 30px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.46);
  box-shadow: inset 0 0 0 1px rgba(32, 32, 32, 0.05);
  font-size: clamp(15px, 1.42vw, 19px);
  line-height: 1.08;
  font-weight: 700;
}

.program-card li::before {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.45;
}

.program-card--winter li {
  background: rgba(247, 244, 235, 0.12);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 235, 0.13);
}

.program-card--spring li {
  background: rgba(247, 244, 235, 0.13);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 235, 0.13);
}

.program-card--spring ul {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  justify-self: start;
  max-width: min(980px, 78%);
  gap: 12px;
}

.program-card--spring li {
  padding: 13px 18px 13px 34px;
  font-size: clamp(16px, 1.65vw, 23px);
}

.program__ticker {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(34px, 5vw, 74px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.program__ticker-track {
  display: flex;
  width: max-content;
  animation: programTicker 32s linear infinite;
  will-change: transform;
}

.program__ticker-group {
  display: flex;
  flex: none;
  justify-content: space-around;
  min-width: 100vw;
  gap: 12px;
  padding-right: 12px;
}

.program__ticker span {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 700;
}

.split-block {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}

.split-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.18;
}

.red-section .split-copy p {
  color: rgba(247, 244, 235, 0.82);
}

.label {
  margin: 0 0 14px;
  color: var(--rose);
  font-family: "Faberge", "Spline Sans", sans-serif;
  font-size: 16px;
}

.reviews-section {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 136px) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(168, 207, 255, 0.22), transparent 26%),
    radial-gradient(circle at 84% 72%, rgba(143, 41, 28, 0.34), transparent 30%),
    linear-gradient(145deg, #181818 0%, #24211f 48%, #0d0e13 100%);
  color: var(--cream);
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 32, 32, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 32, 32, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

.reviews__inner,
.pricing__inner {
  position: relative;
  z-index: 1;
}

.reviews__inner {
  width: 100%;
  max-width: none;
  padding-right: 100px;
  padding-left: 100px;
}

.reviews-section .section-title {
  color: var(--cream);
}

.reviews__head,
.pricing__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.pricing__head p {
  max-width: 520px;
  margin: 0;
  color: rgba(32, 32, 32, 0.62);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.08;
  font-weight: 700;
}

.reviews__controls {
  display: flex;
  gap: 10px;
}

.reviews__button {
  display: grid;
  place-items: center;
  width: 56px;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 10px 0 rgba(32, 32, 32, 0.16);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.reviews__button:hover {
  background: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 13px 0 rgba(32, 32, 32, 0.14);
}

.reviews__viewport {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 26px);
  margin: clamp(34px, 4vw, 56px) 0 0;
  padding: 0 0 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
}

.reviews__viewport::-webkit-scrollbar {
  display: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.08fr) minmax(0, 0.96fr);
  gap: 26px;
  margin-top: 38px;
  align-items: center;
}

.review-card {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border: 0;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 80%, rgba(168, 207, 255, 0.38), transparent 31%),
    linear-gradient(145deg, #fffdf6, #eee6d4);
  box-shadow: 0 22px 68px rgba(32, 32, 32, 0.14);
  scroll-snap-align: start;
}

.review-card span,
.badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--red);
  color: var(--cream);
  font-size: 13px;
}

.review-card p {
  max-width: 680px;
  margin: clamp(30px, 3.8vw, 48px) 0 0;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.06;
  font-weight: 700;
}

.review-card strong {
  display: block;
  margin-top: clamp(22px, 3vw, 34px);
  color: rgba(32, 32, 32, 0.58);
  font-size: clamp(16px, 1.4vw, 20px);
}

.review-card--shot {
  --review-shot-width: min(54vw, 650px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
  width: fit-content;
  max-width: calc(var(--review-shot-width) + clamp(32px, 3.6vw, 48px));
  padding: clamp(24px, 2.4vw, 36px) clamp(16px, 1.8vw, 24px) clamp(16px, 1.8vw, 24px);
  background:
    radial-gradient(circle at 82% 76%, rgba(168, 207, 255, 0.26), transparent 34%),
    linear-gradient(145deg, #f7f4eb, #e8eee7);
}

.review-card--shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: var(--review-shot-width);
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: rgba(247, 244, 235, 0.82);
  box-shadow: 0 16px 44px rgba(32, 32, 32, 0.14);
}

.review-card__note {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(14px, 1.5vw, 22px);
  align-items: start;
  width: var(--review-shot-width);
  min-height: 92px;
  padding-right: clamp(130px, 13vw, 190px);
  min-width: 0;
}

.review-card__note div {
  display: grid;
  gap: 8px;
}

.review-card--shot span,
.review-card--shot small {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(143, 41, 28, 0.2);
  background: rgba(247, 244, 235, 0.76);
  color: var(--red-dark);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(32, 32, 32, 0.08);
}

.review-card--shot strong {
  position: relative;
  z-index: 1;
  margin-top: 0;
  max-width: 520px;
  color: var(--ink);
  font-size: clamp(24px, 2.35vw, 38px);
  line-height: 0.94;
  letter-spacing: 0;
  white-space: nowrap;
}

.review-card--shot p {
  max-width: min(100%, 540px);
  margin: 0;
  color: rgba(32, 32, 32, 0.7);
  font-size: clamp(16px, 1.42vw, 22px);
  line-height: 1.08;
  font-weight: 700;
}

.review-card--dima {
  background:
    radial-gradient(circle at 84% 20%, rgba(168, 207, 255, 0.32), transparent 30%),
    linear-gradient(145deg, #f7f4eb, #dfe9e8);
}

.review-card--artem {
  --review-shot-width: min(60vw, 700px);
  background:
    radial-gradient(circle at 80% 72%, rgba(143, 41, 28, 0.11), transparent 34%),
    linear-gradient(145deg, #fffdf6, #eadfce);
}

.review-card--artem img {
  max-height: 330px;
}

.review-card--yana {
  --review-shot-width: min(48vw, 560px);
  background:
    radial-gradient(circle at 82% 20%, rgba(143, 41, 28, 0.12), transparent 30%),
    linear-gradient(145deg, #edf4fb, #c7ddff);
}

.review-card--fourth {
  --review-shot-width: min(54vw, 650px);
  background:
    radial-gradient(circle at 82% 20%, rgba(168, 207, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #181818, #17242a);
}

.review-card--fourth .review-card__note,
.review-card--fourth strong,
.review-card--fourth p,
.review-card--fourth span {
  color: var(--cream);
}

.review-card--fourth p,
.review-card--fourth span {
  color: rgba(247, 244, 235, 0.7);
}

.review-card--fourth span {
  border-color: rgba(168, 207, 255, 0.26);
  background: rgba(168, 207, 255, 0.14);
}

.review-card--dima small {
  border-color: rgba(168, 207, 255, 0.6);
  background: rgba(168, 207, 255, 0.38);
  color: rgba(32, 32, 32, 0.66);
}

.review-card--artem span {
  border-color: rgba(143, 41, 28, 0.18);
  background: var(--red);
  color: var(--cream);
}

.review-card--yana span {
  border-color: rgba(247, 244, 235, 0.62);
  background: rgba(247, 244, 235, 0.7);
  color: var(--red-dark);
}

@media (max-width: 1100px) {
  .review-card--shot {
    --review-shot-width: calc(min(86vw, 560px) - clamp(28px, 4vw, 44px));
    max-width: min(86vw, 560px);
    padding-top: clamp(14px, 2vw, 20px);
  }

  .review-card__note {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    gap: clamp(10px, 1.5vw, 14px);
    padding-top: 0;
    padding-right: 0;
  }

  .review-card--shot span,
  .review-card--shot small {
    position: static;
    justify-self: end;
    max-width: 100%;
    white-space: normal;
    order: -1;
  }

  .review-card--shot strong {
    max-width: 100%;
  }

  .review-card--shot p {
    width: 100%;
    max-width: none;
  }

  .review-card--shot img {
    width: 100%;
    max-width: 100%;
  }
}

.pricing-section,
.faq {
  position: relative;
  overflow: hidden;
}

.pricing-section {
  padding: clamp(84px, 10vw, 136px) 0;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(255, 248, 231, 0.82), transparent 34%),
    radial-gradient(ellipse at 86% 16%, rgba(168, 207, 255, 0.34), transparent 28%),
    radial-gradient(ellipse at 70% 84%, rgba(143, 41, 28, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(32, 32, 32, 0.035) 0 12%, transparent 12% 34%, rgba(247, 244, 235, 0.38) 34% 48%, transparent 48% 100%),
    linear-gradient(145deg, #e6d9bd 0%, #f7f4eb 44%, #d5e0cf 100%);
}

.pricing__inner {
  width: 100%;
  max-width: none;
  padding-right: 100px;
  padding-left: 100px;
}

.tariff-card {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: start;
  min-height: 470px;
  padding: clamp(24px, 3vw, 36px);
  border: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 22px 68px rgba(32, 32, 32, 0.12);
}

.tariff-card--main {
  min-height: 520px;
  gap: clamp(26px, 2.6vw, 38px);
  padding: clamp(28px, 3.4vw, 44px);
  background:
    radial-gradient(circle at 84% 12%, rgba(168, 207, 255, 0.32), transparent 24%),
    radial-gradient(circle at 76% 80%, rgba(247, 244, 235, 0.18), transparent 32%),
    linear-gradient(145deg, var(--red), #762216);
  color: var(--cream);
}

.tariff-card--main .badge {
  border: 2px solid rgba(247, 244, 235, 0.88);
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 235, 0.22);
}

.tariff-card--main .button--solid {
  background: var(--cream);
  color: var(--red);
}

.tariff-card--year {
  min-height: 470px;
  background:
    radial-gradient(circle at 74% 76%, rgba(247, 244, 235, 0.5), transparent 32%),
    linear-gradient(145deg, #c7ddff, #a8cfff);
}

.tariff-card:not(.tariff-card--main):not(.tariff-card--year) {
  background:
    radial-gradient(circle at 78% 78%, rgba(168, 207, 255, 0.26), transparent 32%),
    linear-gradient(145deg, #fffdf6, #eee6d4);
}

.tariff-card__label {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(143, 41, 28, 0.12);
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.tariff-card .badge {
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
}

.tariff-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1;
}

.tariff-card strong {
  color: inherit;
  font-size: clamp(44px, 4.5vw, 72px);
  line-height: 0.95;
}

.tariff-card strong span {
  font-size: 18px;
}

.tariff-card p {
  margin: 0;
  font-size: 20px;
}

.tariff-card li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding-left: 0;
}

.tariff-card li::before {
  position: static;
  align-self: center;
  justify-self: center;
}

.tariff-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tariff-card__old-price {
  position: relative;
  display: inline-block;
  color: rgba(247, 244, 235, 0.62);
  font-size: clamp(19px, 1.8vw, 27px);
  font-weight: 700;
}

.tariff-card__old-price::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  transform: rotate(-14deg);
}

.tariff-card--main li::before {
  background: rgba(247, 244, 235, 0.78);
}

.tariff-card__plus {
  color: inherit;
}

.tariff-card__plus span {
  position: relative;
  display: inline-block;
  width: fit-content;
}

.tariff-card__plus span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.tariff-card__plus::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #162634;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.pricing-payment-note {
  width: fit-content;
  max-width: min(100%, 920px);
  margin: clamp(22px, 3vw, 38px) auto 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.52);
  color: rgba(50, 20, 17, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(143, 41, 28, 0.12),
    0 14px 42px rgba(32, 32, 32, 0.08);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.18;
  font-weight: 700;
  text-align: center;
}

.individual-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.5fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
  width: 100%;
  min-height: clamp(360px, 29vw, 470px);
  margin-top: clamp(34px, 5vw, 72px);
  padding: clamp(32px, 4.2vw, 58px);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 22%, rgba(168, 207, 255, 0.22), transparent 30%),
    radial-gradient(ellipse at 20% 92%, rgba(143, 41, 28, 0.34), transparent 38%),
    linear-gradient(145deg, #181818 0%, #24211f 52%, #090a12 100%);
  color: var(--cream);
  box-shadow: 0 28px 76px rgba(32, 32, 32, 0.18);
}

.individual-card::before {
  content: "";
  position: absolute;
  right: clamp(22px, 5vw, 82px);
  bottom: clamp(20px, 3vw, 42px);
  width: clamp(220px, 25vw, 390px);
  height: clamp(150px, 16vw, 250px);
  border-radius: 52% 48% 18% 82% / 56% 44% 56% 44%;
  background:
    radial-gradient(circle at 72% 24%, rgba(168, 207, 255, 0.46), transparent 34%),
    linear-gradient(145deg, rgba(247, 244, 235, 0.13), rgba(143, 41, 28, 0.18));
  opacity: 0.9;
  transform: rotate(-5deg);
}

.individual-card.reveal {
  transform: translateY(38px) scale(0.985);
}

.individual-card.reveal.is-visible {
  transform: translateY(0) scale(1);
  transition-duration: 0.95s;
}

.individual-card__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(18px, 2vw, 26px);
  max-width: 680px;
}

.individual-card__label {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.12);
  color: rgba(247, 244, 235, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.individual-card .section-title {
  position: relative;
  z-index: 1;
  color: var(--cream);
  font-size: clamp(30px, 4.4vw, 66px);
  line-height: 0.96;
}

.individual-card p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: rgba(247, 244, 235, 0.72);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.15;
  font-weight: 700;
}

.individual-card__button {
  position: relative;
  z-index: 1;
  width: fit-content;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--cream);
  box-shadow: none;
}

.individual-card__button:hover {
  background: rgba(168, 207, 255, 0.12);
}

.individual-card__figure {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: end;
  min-height: clamp(260px, 24vw, 380px);
  overflow: visible;
}

.individual-card__figure img {
  position: absolute;
  right: clamp(-20px, -1vw, -8px);
  bottom: clamp(-54px, -3.6vw, -28px);
  width: min(32vw, 360px);
  min-width: 250px;
  height: auto;
  clip-path: inset(2px 7px 0 7px round 2px);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.28));
}

.faq {
  padding: clamp(84px, 10vw, 136px) 0 clamp(112px, 11vw, 156px);
  background-color: #08090d;
  background:
    radial-gradient(ellipse at 12% 16%, rgba(247, 244, 235, 0.13), transparent 34%),
    radial-gradient(ellipse at 86% 64%, rgba(143, 41, 28, 0.22), transparent 30%),
    linear-gradient(180deg, #181818 0%, #211c18 36%, #08090d 78%, #08090d 100%);
  color: var(--cream);
}

.faq::before {
  background:
    radial-gradient(ellipse at 18% 66%, rgba(168, 207, 255, 0.1), transparent 34%),
    linear-gradient(135deg, transparent 0 28%, rgba(247, 244, 235, 0.04) 28% 29%, transparent 29% 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 96%);
}

.faq > .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding-right: 100px;
  padding-left: 100px;
}

.faq .section-title {
  color: var(--cream);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: clamp(34px, 4vw, 56px);
}

.faq-list .lead-card {
  margin-top: clamp(44px, 6vw, 84px);
}

.faq-item {
  border: 1px solid rgba(247, 244, 235, 0.16);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 14%, rgba(168, 207, 255, 0.1), transparent 30%),
    rgba(247, 244, 235, 0.09);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.12);
}

.faq-item summary {
  position: relative;
  padding: clamp(22px, 2.2vw, 30px) clamp(72px, 5vw, 92px) clamp(22px, 2.2vw, 30px) clamp(22px, 2.4vw, 34px);
  color: var(--cream);
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: clamp(22px, 2.6vw, 36px);
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(247, 244, 235, 0.32);
  border-radius: 12px;
  color: var(--cream);
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%) rotate(0deg);
  transition:
    transform 0.38s cubic-bezier(0.2, 0.82, 0.2, 1),
    background 0.38s ease,
    border-color 0.38s ease;
}

.faq-item.is-open summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: rgba(168, 207, 255, 0.18);
  border-color: rgba(168, 207, 255, 0.42);
}

.faq-item__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.48s cubic-bezier(0.22, 0.9, 0.2, 1),
    opacity 0.28s ease,
    transform 0.42s cubic-bezier(0.22, 0.9, 0.2, 1);
  will-change: max-height, opacity, transform;
}

.faq-item.is-open .faq-item__body {
  opacity: 1;
  transform: translateY(0);
}

.faq-item p {
  margin: 0;
  max-width: 860px;
  padding: 0 clamp(22px, 2.4vw, 34px) clamp(24px, 2.8vw, 36px);
  color: rgba(247, 244, 235, 0.72);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.25;
  font-weight: 700;
}

.faq-contact-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(12px, 1.6vw, 22px);
  align-items: center;
  min-height: clamp(88px, 7.2vw, 104px);
  padding: clamp(22px, 2.2vw, 30px) clamp(22px, 2.6vw, 38px);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 18%, rgba(247, 244, 235, 0.34), transparent 30%),
    linear-gradient(145deg, #f7f4eb 0%, #edc5bd 62%, #a8cfff 100%);
  color: var(--ink);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.14);
}

.faq-contact-card::before {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -140px;
  width: clamp(180px, 20vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(143, 41, 28, 0.16);
}

.faq-contact-card h3,
.faq-contact-card a {
  position: relative;
  z-index: 1;
}

.faq-contact-card h3 {
  margin: 0;
  color: var(--red-dark);
  font-size: clamp(22px, 2.35vw, 34px);
  line-height: 0.96;
  text-transform: none;
}

.faq-contact-card .button {
  width: fit-content;
  min-height: 50px;
  padding: 0 clamp(28px, 3vw, 42px);
  border: 2px solid rgba(32, 32, 32, 0.08);
  border-radius: 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: clamp(16px, 1.45vw, 20px);
  box-shadow: none;
}

.faq-contact-card .button:hover {
  box-shadow: none;
}

.lead-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 82px);
  align-items: center;
  padding: clamp(32px, 4.6vw, 64px);
  border: 1px solid rgba(247, 244, 235, 0.16);
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(168, 207, 255, 0.18), transparent 30%),
    radial-gradient(circle at 16% 86%, rgba(213, 164, 107, 0.2), transparent 36%),
    linear-gradient(145deg, #2b211d 0%, #171312 52%, #090a12 100%);
  color: var(--cream);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.18);
}

.lead-card::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -100px;
  width: clamp(240px, 25vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 26px solid rgba(247, 244, 235, 0.08);
}

.lead-card__copy,
.lead-form {
  position: relative;
  z-index: 1;
}

.lead-card__label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: clamp(20px, 2.4vw, 32px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.1);
  color: rgba(247, 244, 235, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.lead-card h2 {
  max-width: 760px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(42px, 5.8vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
}

.lead-card p {
  max-width: 620px;
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  color: rgba(247, 244, 235, 0.72);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.14;
  font-weight: 700;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 28px;
  background: rgba(247, 244, 235, 0.08);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 235, 0.08);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(247, 244, 235, 0.7);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input[type="text"] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 2px solid rgba(247, 244, 235, 0.12);
  border-radius: 18px;
  background: rgba(247, 244, 235, 0.96);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  outline: none;
}

.lead-form input[type="text"]:focus {
  border-color: var(--blue);
}

.lead-form__consent {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px !important;
}

.lead-form__consent input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.lead-form__status {
  min-height: 20px;
  margin: 0;
  color: rgba(247, 244, 235, 0.74);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.lead-form__status[data-state="success"] {
  color: #bfe0ff;
}

.lead-form__status[data-state="error"] {
  color: #f4c3bc;
}

.lead-form .button {
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  background: var(--blue);
  color: #162634;
  box-shadow: none;
  cursor: pointer;
}

.lead-form .button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@keyframes faqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  margin-top: -1px;
  padding: 38px 0 48px;
  border-top: 3px solid rgba(168, 207, 255, 0.92);
  background: #08090d;
  color: rgba(247, 244, 235, 0.72);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(320px, auto) minmax(190px, 1fr);
  width: 100%;
  max-width: none;
  padding-right: 100px;
  padding-left: 100px;
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.site-footer__logo {
  filter: brightness(1.08);
}

.site-footer__brand {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.site-footer__legal {
  display: grid;
  gap: 9px;
  justify-items: start;
  font-weight: 700;
}

.site-footer__legal a,
.site-footer__contact a {
  display: inline-flex;
  min-height: auto;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-weight: 700;
}

.site-footer__center {
  justify-self: center;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.site-footer__owner {
  display: grid;
  gap: 4px;
  color: rgba(247, 244, 235, 0.62);
  font-weight: 700;
  line-height: 1.05;
}

.site-footer__nav a,
.site-footer__contact a,
.site-footer__legal a,
.lead-form__consent a {
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover,
.site-footer__legal a:hover,
.lead-form__consent a:hover {
  color: var(--blue);
}

.site-footer__contact {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  text-align: right;
  font-weight: 700;
}

.site-footer__contact span {
  flex-basis: 100%;
}

.cookie-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(247, 244, 235, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(168, 207, 255, 0.18), transparent 34%),
    linear-gradient(145deg, #181818, #090a12);
  color: var(--cream);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.cookie-popup.is-hidden {
  display: none;
}

.cookie-popup p {
  margin: 0;
  color: rgba(247, 244, 235, 0.78);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.cookie-popup div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-popup .button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  box-shadow: none;
  cursor: pointer;
}

.cookie-popup .button:first-child {
  background: var(--cream);
  color: var(--red);
}

.cookie-popup .button--outline-light {
  border: 1px solid rgba(247, 244, 235, 0.72);
  background: rgba(247, 244, 235, 0.16);
  color: var(--cream);
}

.cookie-popup .button--outline-light:hover {
  background: rgba(247, 244, 235, 0.26);
  color: #fffdf6;
}

.bot-redirect-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 13, 16, 0.32);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.bot-redirect-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.bot-redirect-modal__panel {
  width: min(430px, 100%);
  padding: 28px 26px 26px;
  border: 1px solid rgba(168, 207, 255, 0.26);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 16%, rgba(168, 207, 255, 0.2), transparent 36%),
    linear-gradient(145deg, #1b1b1b, #0b0c12);
  color: var(--cream);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.24s ease;
}

.bot-redirect-modal.is-visible .bot-redirect-modal__panel {
  transform: translateY(0) scale(1);
}

.bot-redirect-modal p {
  margin: 0;
  color: rgba(247, 244, 235, 0.9);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.16;
  font-weight: 800;
}

.bot-redirect-modal small {
  display: block;
  margin-top: 14px;
  color: rgba(168, 207, 255, 0.86);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.bot-redirect-modal__progress {
  position: relative;
  overflow: hidden;
  height: 5px;
  margin-top: 24px;
  border-radius: 999px;
  background: rgba(247, 244, 235, 0.14);
}

.bot-redirect-modal__progress::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #f7f4eb);
  transform: translateX(-100%);
  animation: botRedirectProgress 1.05s ease forwards;
}

@keyframes botRedirectProgress {
  to {
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.course-fit .type-char {
  display: inline-block;
  color: var(--red) !important;
  opacity: 0;
  transform: translateY(18px);
}

.course-fit .type-char--accent {
  color: var(--rose) !important;
}

.course-fit.is-typing .type-char {
  animation: typeIn 0.62s ease forwards;
  animation-delay: var(--delay);
}

@keyframes countPulse {
  0% {
    opacity: 0;
    transform: translateY(10px) rotate(-1deg) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-1deg) scale(1);
  }
}

@keyframes typeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes routeMove {
  to {
    stroke-dashoffset: -260;
  }
}

@keyframes programTicker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes painCardFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes painCardSlideDown {
  0% {
    transform: translate3d(0, calc(-100% - clamp(42px, 4vw, 76px)), 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes painStarSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes statDockLeft {
  0% {
    opacity: 0;
    transform: translate3d(-96px, 0, 0) scale(0.985);
  }

  54% {
    opacity: 1;
    transform: translate3d(12px, 0, 0) scale(1.012);
  }

  74% {
    opacity: 1;
    transform: translate3d(-4px, 0, 0) scale(0.998);
  }

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

@keyframes statDockRight {
  0% {
    opacity: 0;
    transform: translate3d(96px, 0, 0) scale(0.985);
  }

  54% {
    opacity: 1;
    transform: translate3d(-12px, 0, 0) scale(1.012);
  }

  74% {
    opacity: 1;
    transform: translate3d(4px, 0, 0) scale(0.998);
  }

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

@media (min-width: 860px) {
  .topbar__nav {
    display: flex;
  }
}

@media (max-width: 1060px) {
  .problems > .container,
  .teacher .container {
    padding-right: 40px;
    padding-left: 40px;
  }

  .learning__inner {
    min-height: 590px;
  }

  .learning-card--step {
    width: clamp(320px, 54vw, 560px);
    min-height: clamp(410px, 60vh, 610px);
  }

  .teacher .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher .stat:nth-child(1),
  .teacher .stat:nth-child(2),
  .teacher .stat:nth-child(3),
  .teacher .stat:nth-child(4),
  .teacher .stat:nth-child(5),
  .teacher .stat:nth-child(6) {
    grid-column: auto;
  }

  .problem-cloud {
    column-gap: 24px;
  }

  .hero {
    min-height: 690px;
  }

  .hero__copy {
    padding: 60px 50px 300px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero h1 em {
    font-size: 116px;
  }

  .hero__person {
    right: 24px;
    width: min(62vw, 660px);
  }

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

  .program__inner,
  .reviews__inner,
  .pricing__inner,
  .faq > .container,
  .site-footer__inner {
    padding-right: 40px;
    padding-left: 40px;
  }

  .individual-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: clamp(260px, 40vw, 360px);
  }

  .individual-card::before {
    right: 22px;
    bottom: 18px;
  }

  .individual-card__figure {
    position: absolute;
    right: 0;
    bottom: 0;
    min-height: 0;
    width: min(48vw, 340px);
    height: 72%;
  }

  .individual-card__figure img {
    right: -24px;
    bottom: -56px;
    width: min(48vw, 340px);
    min-width: 230px;
  }

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

  .program-card {
    min-height: 0;
  }

  .program-card--autumn,
  .program-card--winter,
  .program-card--spring {
    --program-lift: 0px;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .program-card h3 {
    font-size: clamp(34px, 7vw, 56px);
  }

  .program-card--spring ul {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .program-card--spring li {
    padding: 10px 14px 10px 30px;
    font-size: clamp(15px, 1.42vw, 19px);
  }
}

@media (max-width: 780px) {
  .hero-lenin {
    display: none;
  }

  .problems > .container,
  .teacher .container,
  .program__inner,
  .reviews__inner,
  .pricing__inner,
  .faq > .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .learning-scroll {
    min-height: 560vh;
  }

  .learning__stage {
    min-height: 100svh;
    padding: 86px 0 42px;
  }

  .learning__inner {
    height: calc(100svh - 128px);
    min-height: 560px;
  }

  .learning__intro {
    gap: 12px;
    padding-top: 10px;
  }

  .learning-scroll .section-title--light {
    font-size: clamp(38px, 12vw, 62px);
  }

  .learning__cta {
    min-height: 54px;
    padding: 0 30px;
    font-size: 18px;
  }

  .problems.paper-panel {
    background:
      linear-gradient(180deg, var(--red) 0 64px, #e3e8e4 64px 100%);
  }

  .problems > .container {
    width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
    padding: 42px 18px 50px;
    border-radius: 36px;
  }

  .problems .section-title {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 0.95;
  }

  .problem-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 18px;
    margin-top: 34px;
    padding-bottom: 0;
  }

  .pain-card,
  .pain-card--peter,
  .pain-card--building,
  .pain-card--queen,
  .pain-card--teacher {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
    border-radius: 26px;
  }

  .pain-card--teacher.reveal,
  .pain-card--teacher.reveal.is-visible {
    transform: none;
    animation: painCardFadeIn 0.9s ease forwards;
  }

  .pain-card p {
    top: 18px;
    left: 10px;
    right: 10px;
    font-size: clamp(17px, 5.5vw, 25px);
    line-height: 1.05;
  }

  .pain-card img,
  .pain-card--building img,
  .pain-card--queen img,
  .pain-card--teacher img {
    width: 82%;
    height: 56%;
  }

  .learning__cta--card {
    justify-self: stretch;
    margin-top: 46px;
  }

  .learning__viewport {
    inset: 80px 0 0;
  }

  .learning-card--step {
    top: 58%;
    width: min(86vw, 390px);
    min-height: 470px;
    padding: 28px 22px;
    border-radius: 26px;
    box-shadow: 0 18px 46px rgba(32, 32, 32, 0.16);
  }

  .learning-card--step h3 {
    max-width: 92%;
    font-size: 36px;
  }

  .learning-card--step p {
    max-width: 100%;
    font-size: 16px;
  }

  .learning-card__number {
    font-size: 20px;
  }

  .learning-card__duo {
    min-height: 120px;
    padding: 0 12px 0 0;
  }

  .learning-card__duo span {
    font-size: clamp(23px, 8.8cqw, 40px);
  }

  .learning-card__duo-item {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .learning-card__duo b {
    width: 38px;
    font-size: 22px;
  }

  .learning-card__checks li,
  .learning-card__chat span {
    border-radius: 18px;
  }

  .learning-card__yeltsin {
    min-height: 150px;
  }

  .learning-card__yeltsin img {
    width: min(50%, 160px);
    margin-bottom: -12px;
  }

  .learning-card__chat {
    max-width: 100%;
    font-size: 24px;
  }

  .individual-card {
    min-height: 0;
    padding-bottom: 250px;
  }

  .individual-card__figure {
    height: 58%;
  }

  .individual-card__figure img {
    right: -34px;
    bottom: -46px;
    width: 250px;
    min-width: 0;
  }

  .faq-contact-card {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .faq-contact-card .button {
    width: 100%;
  }

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

  .teacher .stats {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 58px;
  }

  .teacher .stat {
    min-height: 168px;
    border-radius: 30px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    justify-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 16px;
    border-radius: 0 0 28px 28px;
  }

  .topbar__nav {
    display: none;
  }

  .brand-logo {
    justify-self: start;
    width: 132px;
  }

  .topbar__button {
    justify-self: end;
    min-width: 128px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero {
    min-height: 740px;
  }

  .hero__copy {
    padding: 42px 24px 380px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h1 em {
    font-size: 76px;
  }

  .hero__offer {
    margin-left: 0;
  }

  .hero__person {
    right: -112px;
    width: 560px;
  }

  .teacher-name {
    top: 42px;
    right: 24px;
    font-size: 16px;
  }

  .hero-lenin {
    left: 24px;
    bottom: 34px;
    width: 170px;
  }

  .start-band {
    min-height: 128px;
  }

  .learning-grid,
  .stats,
  .split-block,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .reviews__head,
  .pricing__head,
  .site-footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-footer__inner {
    padding-right: 20px;
    padding-left: 20px;
    justify-items: center;
    text-align: center;
  }

  .reviews__viewport {
    gap: 16px;
  }

  .review-card--shot {
    grid-template-columns: 1fr;
    max-width: min(86vw, 520px);
  }

  .review-card--shot img {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }

  .review-card__note {
    text-align: left;
  }

  .review-card--shot p {
    max-width: 100%;
  }

  .site-footer__nav {
    justify-content: center;
    justify-self: center;
  }

  .site-footer__contact {
    justify-self: center;
    justify-content: center;
    text-align: center;
  }

  .site-footer__brand,
  .site-footer__legal {
    justify-items: center;
    justify-content: center;
  }

  .site-footer__center {
    justify-self: center;
  }

  .course-fit p,
  .course-fit p:nth-child(2),
  .course-fit p:nth-child(3) {
    justify-self: start;
  }

  .stats {
    gap: 30px;
  }

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

  .red-card-section > .container {
    width: calc(100% - 24px);
    padding: 34px 22px;
    border-radius: 32px;
  }

  .final__actions {
    display: grid;
  }
}

@media (max-width: 430px) {
  .problems > .container {
    width: calc(100% - 16px);
    padding: 36px 14px 42px;
    border-radius: 30px;
  }

  .problem-board {
    gap: 12px;
  }

  .pain-card {
    border-radius: 22px;
  }

  .pain-card p {
    top: 14px;
    font-size: clamp(15px, 5vw, 20px);
  }

  .pain-card img,
  .pain-card--building img,
  .pain-card--queen img,
  .pain-card--teacher img {
    width: 78%;
    height: 52%;
  }

  .site-footer {
    padding: 30px 0 36px;
  }

  .site-footer__nav,
  .site-footer__contact,
  .site-footer__legal {
    gap: 10px 14px;
  }
}

@media (max-width: 520px) {
  .hero-lenin {
    display: none;
  }

  .problems > .container {
    width: calc(100% - 16px);
    padding: 28px 12px 34px;
    border-radius: 30px;
  }

  .problems .section-title {
    font-size: clamp(28px, 8.6vw, 38px);
    line-height: 0.95;
  }

  .problem-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
    padding-bottom: 0;
  }

  .pain-card,
  .pain-card--peter,
  .pain-card--building,
  .pain-card--queen,
  .pain-card--teacher {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    aspect-ratio: 1.04 / 1;
    justify-self: stretch;
    transform: none;
    border-radius: 22px;
  }

  .pain-card.reveal,
  .pain-card.reveal.is-visible,
  .pain-card--teacher.reveal,
  .pain-card--teacher.reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .pain-card--teacher.reveal,
  .pain-card--teacher.reveal.is-visible {
    transform: none;
    animation: painCardFadeIn 0.9s ease forwards;
  }

  .pain-star,
  .asterisk {
    display: none;
  }

  .pain-card p {
    top: 12px;
    left: 8px;
    right: 8px;
    font-size: clamp(13px, 4.25vw, 18px);
    line-height: 1.05;
  }

  .pain-card img,
  .pain-card--building img,
  .pain-card--queen img,
  .pain-card--teacher img {
    width: 76%;
    height: 48%;
  }

  .course-fit {
    margin-top: 28px;
    font-size: clamp(26px, 8.5vw, 38px);
  }

  .program-card--spring li {
    padding: 10px 14px 10px 30px;
    font-size: clamp(15px, 1.42vw, 19px);
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 28px);
  }

  .learning__stage {
    padding-top: 78px;
  }

  .learning__inner {
    min-height: 530px;
  }

  .learning-card--step {
    width: min(88vw, 350px);
    min-height: 430px;
    padding: 24px 20px;
  }

  .learning-card__duo {
    gap: 10px;
    padding-inline: 8px;
  }

  .learning-card__duo span {
    font-size: clamp(22px, 8.2cqw, 34px);
  }

  .learning-card__duo-item {
    min-height: 0;
  }

  .learning-card__duo b {
    width: 34px;
  }

  .problem-cloud {
    min-height: 0;
  }

  .problem-board {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pain-card {
    width: min(100%, 320px);
    justify-self: center;
  }

  .pain-card--peter,
  .pain-card--building,
  .pain-card--queen,
  .pain-card--teacher,
  .pain-star {
    grid-column: 1;
    grid-row: auto;
    transform: none;
  }

  .pain-card--teacher.reveal {
    transform: none;
  }

  .pain-card--teacher.reveal.is-visible {
    animation: painCardFadeIn 0.9s ease forwards;
  }

  .asterisk {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: end;
  }

  .hero {
    min-height: 690px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero h1 em {
    font-size: 60px;
  }

  .hero__copy {
    padding-bottom: 310px;
  }

  .hero__person {
    right: -150px;
    width: 500px;
  }

  .section-title {
    font-size: 34px;
  }

  .start-band p {
    font-size: 31px;
  }

  .course-fit {
    font-size: 32px;
  }

  .learning-card p {
    font-size: 14px;
  }

  .learning-card--step p {
    font-size: 15px;
  }

  .learning-card--step h3 {
    font-size: 31px;
  }

  .learning-card__number {
    font-size: 18px;
  }

  .learning-card__checks li,
  .learning-card__chat span {
    padding: 13px 16px;
    font-size: 15px;
  }

  .learning-card__chat span {
    padding: 0;
    font-size: inherit;
  }

  .learning-card__yeltsin {
    min-height: 170px;
  }

  .tariff-card strong {
    font-size: 38px;
  }
}

@media (max-width: 520px) {
  .hero-lenin {
    display: none;
  }

  .problems > .container {
    width: calc(100% - 16px);
    padding: 28px 12px 34px;
    border-radius: 30px;
  }

  .problems .section-title {
    font-size: clamp(28px, 8.6vw, 38px);
    line-height: 0.95;
  }

  .problem-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
    padding-bottom: 0;
  }

  .pain-card,
  .pain-card--peter,
  .pain-card--building,
  .pain-card--queen,
  .pain-card--teacher {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    aspect-ratio: 1.04 / 1;
    justify-self: stretch;
    transform: none;
    border-radius: 22px;
  }

  .pain-card.reveal,
  .pain-card.reveal.is-visible,
  .pain-card--teacher.reveal,
  .pain-card--teacher.reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .pain-star,
  .asterisk {
    display: none;
  }

  .pain-card p {
    top: 12px;
    left: 8px;
    right: 8px;
    font-size: clamp(13px, 4.25vw, 18px);
    line-height: 1.05;
  }

  .pain-card img,
  .pain-card--building img,
  .pain-card--queen img,
  .pain-card--teacher img {
    width: 76%;
    height: 48%;
  }

  .course-fit {
    margin-top: 28px;
    font-size: clamp(26px, 8.5vw, 38px);
  }

  .program-card--spring li {
    padding: 10px 14px 10px 30px;
    font-size: clamp(15px, 1.42vw, 19px);
  }
}

@media (max-width: 780px) {
  .problems.paper-panel {
    background: var(--red);
  }

  .problems > .container {
    width: calc(100% - 18px);
    padding: 32px 14px 40px;
    border-radius: 34px;
  }

  .problem-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
    padding-bottom: 0;
  }

  .pain-card,
  .pain-card--peter,
  .pain-card--building,
  .pain-card--queen,
  .pain-card--teacher {
    display: grid !important;
    grid-column: auto !important;
    grid-row: auto !important;
    grid-template-columns: minmax(0, 1fr) minmax(92px, 34%);
    align-items: end;
    width: 100% !important;
    min-height: 138px;
    aspect-ratio: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    border-radius: 24px;
  }

  .pain-card p {
    position: relative;
    inset: auto;
    align-self: center;
    padding: 18px 0 18px 18px;
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.05;
    text-align: left;
  }

  .pain-card img,
  .pain-card--building img,
  .pain-card--queen img,
  .pain-card--teacher img {
    position: relative;
    left: auto;
    bottom: auto;
    justify-self: center;
    width: 100%;
    height: 120px;
    transform: none;
    object-fit: contain;
    object-position: center bottom;
  }

  .pain-star,
  .asterisk {
    display: none !important;
  }

  .course-fit {
    margin-top: 34px;
    font-size: clamp(30px, 9vw, 42px);
  }

  .program-card--spring::after {
    right: clamp(20px, 2.6vw, 36px);
    bottom: clamp(20px, 2.8vw, 40px);
    font-size: clamp(82px, 10vw, 168px);
  }

  .program-card--spring ul {
    display: grid;
    gap: 10px;
    max-width: 100%;
  }

  .program-card--spring li {
    width: fit-content;
    padding: 10px 14px 10px 30px;
    font-size: clamp(15px, 1.42vw, 19px);
  }

  .tariff-card,
  .tariff-card--main,
  .tariff-card--year {
    min-height: 0;
    padding-bottom: clamp(24px, 3vw, 36px);
  }

  .tariff-card .button {
    align-self: start;
  }

  .individual-card {
    align-content: center;
    gap: 28px;
    padding-top: 38px;
  }

  .individual-card__copy {
    gap: 22px;
    align-content: start;
  }

  .individual-card .section-title {
    margin-bottom: 2px;
  }

  .individual-card p {
    margin-top: 2px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brand nav"
      "center center"
      "contact contact";
    justify-items: stretch;
    text-align: left;
  }

  .site-footer__brand {
    grid-area: brand;
    justify-items: start;
  }

  .site-footer__legal {
    justify-items: start;
    justify-content: start;
  }

  .site-footer__center {
    display: contents;
  }

  .site-footer__owner {
    grid-area: center;
    justify-self: center;
    justify-items: center;
    margin-top: 24px;
    text-align: center;
  }

  .site-footer__nav {
    grid-area: nav;
    display: grid;
    justify-self: end;
    justify-content: end;
    justify-items: end;
    text-align: right;
  }

  .site-footer__contact {
    grid-area: contact;
    justify-self: center;
    justify-content: center;
    margin-top: 8px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .reviews__viewport {
    gap: 14px;
  }

  .review-card--shot {
    --review-shot-width: calc(86vw - 28px);
    max-width: min(86vw, 460px);
    padding: 12px 14px 14px;
    border-radius: 26px;
  }

  .review-card__note {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    width: 100%;
    gap: 10px;
    padding-top: 0;
    padding-right: 0;
  }

  .review-card--shot span,
  .review-card--shot small {
    position: static;
    justify-self: end;
    max-width: calc(100% - 12px);
    white-space: normal;
    order: -1;
  }

  .review-card--shot img {
    border-radius: 16px;
  }

  .review-card--shot strong {
    max-width: 100%;
    font-size: clamp(21px, 6vw, 24px);
    line-height: 1;
  }

  .review-card--shot p {
    width: 100%;
    max-width: none;
    font-size: clamp(18px, 4.8vw, 20px);
    line-height: 1.15;
  }

  .pain-card,
  .pain-card--peter,
  .pain-card--building,
  .pain-card--queen,
  .pain-card--teacher {
    min-height: 126px;
    grid-template-columns: minmax(0, 1fr) minmax(82px, 32%);
  }

  .pain-card p {
    padding: 16px 0 16px 16px;
    font-size: clamp(18px, 5.4vw, 24px);
  }

  .pain-card img,
  .pain-card--building img,
  .pain-card--queen img,
  .pain-card--teacher img {
    height: 108px;
  }

  .site-footer__inner {
    gap: 24px 18px;
  }

  .site-footer__nav {
    gap: 9px;
  }
}

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

  .reveal,
  .button,
  .topbar__button,
  .problem-card,
  .pain-card.reveal.is-visible,
  .teacher .stat.reveal.is-visible,
  .learning-card,
  .tariff-card {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .program-card::after,
  .program__ticker-track {
    animation: none;
  }

  .pain-star {
    animation: none;
  }

  .learning-card--step {
    transition: none;
  }
}

@media (max-width: 780px) {
  html,
  body {
    overflow-x: hidden;
  }

  main,
  section {
    max-width: 100%;
  }

  .hero {
    display: grid;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  .hero__copy {
    display: grid;
    gap: clamp(18px, 4.6vw, 28px);
    padding: clamp(34px, 7vw, 48px) 22px 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(31px, 8.5vw, 38px);
    line-height: 1.03;
  }

  .hero h1 em {
    font-size: clamp(74px, 20vw, 90px);
    line-height: 0.7;
    transform: translateY(5px);
  }

  .hero__offer {
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin: clamp(22px, 5.5vw, 38px) 0 0;
  }

  .hero__offer p {
    width: 100%;
    font-size: clamp(25px, 6.8vw, 32px);
    line-height: 1.13;
  }

  .hero-offer-break {
    display: none;
  }

  .hero__offer .button--solid {
    justify-self: start;
    width: min(82vw, 330px);
    min-width: 0;
    min-height: 54px;
    padding: 0 24px;
    font-size: 18px;
  }

  .hero__offer small {
    font-size: clamp(18px, 4.8vw, 21px);
  }

  .teacher-name {
    display: none;
  }

  .hero__person {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: center;
    width: min(86vw, 360px);
    max-width: 100%;
    margin: clamp(6px, 2vw, 14px) auto 0;
  }

  .hero__person::after {
    inset: 18% 4% 7%;
    filter: blur(20px);
  }

  .hero__teacher-photo {
    width: 100%;
  }

  .hero-lenin {
    display: none !important;
  }

  .start-band {
    place-items: center start;
    min-height: 104px;
    padding: 0 22px;
  }

  .start-band p {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(28px, 7vw, 35px);
    line-height: 1;
  }

  .start-band span {
    min-width: 0;
    font-size: 1.22em;
    line-height: 0.72;
    transform: translateY(0.04em);
  }

  .individual-card {
    min-height: 0;
    padding-bottom: clamp(30px, 6vw, 44px);
  }

  .individual-card::before,
  .individual-card__figure {
    display: none;
  }

  .individual-card__copy {
    max-width: none;
  }

  .reviews__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .reviews__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .reviews__controls {
    justify-self: end;
  }

  .reviews__button {
    width: 54px;
    font-size: 25px;
  }

  .reviews__viewport {
    gap: 14px;
    width: 100%;
    margin-top: 28px;
    padding-bottom: 16px;
    scroll-padding-inline: 0;
    scroll-snap-type: x proximity;
  }

  .review-card--shot {
    --review-shot-width: 100%;
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
    flex-basis: calc(100vw - 56px);
    padding: 12px;
    border-radius: 26px;
  }

  .review-card__note {
    width: 100%;
    min-height: 0;
    padding-right: 0;
  }

  .review-card--shot img {
    width: 100%;
    max-width: 100%;
    max-height: 240px;
  }

  .review-card--artem img,
  .review-card--fourth img {
    max-height: 260px;
  }

  .review-card--shot strong {
    max-width: 100%;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1;
    white-space: nowrap;
  }

  .review-card--shot p {
    width: 100%;
    max-width: none;
    font-size: clamp(16px, 4.35vw, 19px);
    line-height: 1.14;
  }

  .cookie-popup {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
  }

  .cookie-popup p {
    font-size: 14px;
  }

  .cookie-popup div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 8px;
  }

  .cookie-popup .button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 8px;
    border-radius: 14px;
    font-size: clamp(12px, 3.1vw, 14px);
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .hero__copy {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: clamp(29px, 8vw, 34px);
  }

  .hero h1 em {
    font-size: clamp(72px, 19vw, 82px);
  }

  .hero__person {
    width: min(90vw, 350px);
  }

  .start-band p {
    font-size: clamp(25px, 6.4vw, 30px);
  }

  .reviews__inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .reviews__button {
    width: 50px;
  }

  .review-card--shot {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    flex-basis: calc(100vw - 48px);
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .learning-scroll {
    min-height: 0;
    overflow: hidden;
  }

  .learning__stage {
    position: relative;
    top: auto;
    min-height: 0;
    padding: clamp(58px, 13vw, 82px) 0;
    overflow: hidden;
  }

  .learning__inner {
    height: auto;
    min-height: 0;
    display: grid;
    gap: 24px;
  }

  .learning__intro {
    opacity: 1 !important;
    transform: none !important;
  }

  .learning__viewport {
    position: relative;
    inset: auto;
    display: grid;
    gap: 18px;
    width: 100%;
    pointer-events: auto;
  }

  .learning-card--step {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    min-height: 0;
    opacity: 0 !important;
    transform: translate3d(0, 24px, 0) scale(0.985) !important;
    pointer-events: auto;
    will-change: auto;
    contain: paint;
    transition:
      opacity 0.58s ease,
      transform 0.72s cubic-bezier(0.2, 0.78, 0.18, 1);
  }

  .learning-card--step.is-mobile-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  .learning-card--step:nth-child(2) {
    transition-delay: 0.05s;
  }

  .learning-card--step:nth-child(3) {
    transition-delay: 0.1s;
  }

  .learning-card--step:nth-child(4) {
    transition-delay: 0.15s;
  }

  .learning-card--step:nth-child(5) {
    transition-delay: 0.2s;
  }

  .learning-card--step h3 {
    max-width: 100%;
  }

  .learning-card--step:nth-child(4) {
    margin-right: 0;
  }
}

@media (min-width: 781px) and (max-width: 1060px) {
  .learning__inner {
    min-height: 590px;
  }

  .learning-card--step {
    width: clamp(320px, 54vw, 560px);
    min-height: clamp(410px, 60vh, 610px);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 780px) {
  .learning-card--step,
  .learning-card--step.is-mobile-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}
