:root {
  --paper: #faf9f8;
  --paper-soft: #f1eff8;
  --lavender: #aaaaff;
  --violet: #623b70;
  --plum: #531745;
  --night: #150811;
  --wine: #2a0c23;
  --rose: #be8bcd;
  --ink: #180b17;
  --muted: #6f6170;
  --line: rgba(83, 23, 69, 0.16);
  --line-dark: rgba(250, 249, 248, 0.16);
  --glass: rgba(250, 249, 248, 0.76);
  --radius: 8px;
  --shadow-soft: 0 24px 70px rgba(21, 8, 17, 0.14);
  --shadow-dark: 0 28px 90px rgba(21, 8, 17, 0.42);
  --font-heading: "Times New Roman", Times, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  color: var(--paper);
  background: var(--plum);
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 118px) 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background:
    linear-gradient(152deg, transparent 14%, rgba(170, 170, 255, 0.13) 14.2% 32%, transparent 32.2%),
    linear-gradient(28deg, transparent 23%, rgba(83, 23, 69, 0.07) 23.2% 42%, transparent 42.2%);
}

.section-indigo {
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(21, 8, 17, 0.1), rgba(21, 8, 17, 0.72)),
    linear-gradient(135deg, var(--night) 0%, var(--plum) 43%, var(--violet) 100%);
}

.section-beige {
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(250, 249, 248, 0.96) 0 52%, rgba(170, 170, 255, 0.18) 52.2% 72%, rgba(250, 249, 248, 0.96) 72.2%),
    var(--paper);
}

.hero {
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: 24px 0 clamp(42px, 6vw, 70px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  pointer-events: none;
  background:
    linear-gradient(166deg, transparent 0 32%, rgba(21, 8, 17, 0.34) 32.2% 54%, transparent 54.2%),
    linear-gradient(18deg, rgba(21, 8, 17, 0.62) 0 18%, transparent 18.2%),
    linear-gradient(180deg, transparent, rgba(21, 8, 17, 0.72));
}

.hero::after {
  content: "";
  position: absolute;
  inset: -18% -12% auto auto;
  width: min(820px, 64vw);
  height: min(700px, 68vw);
  pointer-events: none;
  opacity: 0.26;
  background:
    radial-gradient(circle at 58% 44%, rgba(170, 170, 255, 0.46), transparent 0 36%),
    radial-gradient(circle at 52% 52%, rgba(98, 59, 112, 0.5), transparent 0 58%);
  filter: blur(34px);
  transform: scale(1);
  animation: heroGlowBreath 9s ease-in-out infinite;
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(250, 249, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 249, 248, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: clamp(500px, 66vh, 620px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: min(720px, 58vw);
  margin-top: -20px;
}

.hero-logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2vw, 28px);
  align-items: center;
  margin-bottom: clamp(8px, 1.1vw, 18px);
}

.hero-logo {
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(21, 8, 17, 0.34));
  opacity: 0.92;
}

.hero-logo-main {
  height: clamp(74px, 8vw, 118px);
}

.hero-logo-training {
  height: clamp(36px, 4vw, 52px);
}

.eyebrow,
.section-number {
  margin: 0 0 16px;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-indigo .eyebrow,
.section-indigo .section-number {
  color: var(--lavender);
}

.hero__title {
  max-width: 720px;
  margin: 0;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 26px 84px rgba(21, 8, 17, 0.52);
}

.hero__title .line {
  overflow: hidden;
  padding-bottom: 0.03em;
}

.hero__lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(250, 249, 248, 0.82);
  font-family: var(--font-heading);
  font-size: clamp(1.16rem, 2vw, 1.58rem);
  line-height: 1.45;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.hero__meta span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(250, 249, 248, 0.2);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--plum);
  background: rgba(250, 249, 248, 0.92);
  white-space: nowrap;
  backdrop-filter: blur(16px);
  font-weight: 820;
  box-shadow: 0 14px 34px rgba(21, 8, 17, 0.16);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 18px 26px;
  font-weight: 860;
  font-size: 1.02rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -35%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(250, 249, 248, 0.34), transparent);
  transform: translateX(-180%) skewX(-18deg);
  transition: transform 620ms ease;
}

.hero .button {
  min-width: min(390px, 100%);
}

.button svg {
  position: relative;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(170, 170, 255, 0.82);
  outline-offset: 4px;
}

.button-primary {
  color: var(--paper);
  background: var(--violet);
  box-shadow: 0 18px 48px rgba(98, 59, 112, 0.3);
}

.button-primary:hover {
  background: var(--plum);
  box-shadow: 0 20px 56px rgba(83, 23, 69, 0.34);
}

.button-primary:hover::before {
  transform: translateX(430%) skewX(-18deg);
}

.button:hover svg {
  transform: translateX(4px);
}

.button-dark {
  color: var(--paper);
  background: var(--plum);
  box-shadow: 0 17px 44px rgba(83, 23, 69, 0.24);
}

.button-dark:hover {
  background: var(--night);
}

.button-light {
  color: var(--night);
  background: rgba(250, 249, 248, 0.96);
  border-color: rgba(170, 170, 255, 0.34);
  box-shadow:
    0 18px 46px rgba(21, 8, 17, 0.22),
    0 0 0 1px rgba(250, 249, 248, 0.18) inset;
}

.button-light svg {
  color: var(--violet);
}

.button-light:hover {
  background: var(--paper);
  border-color: rgba(170, 170, 255, 0.58);
  box-shadow:
    0 20px 54px rgba(21, 8, 17, 0.24),
    0 0 34px rgba(170, 170, 255, 0.26);
}

.button-light:hover::before {
  transform: translateX(430%) skewX(-18deg);
}

.hero__portrait {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(-15vw, -230px);
  width: min(68vw, 920px);
  height: min(76vh, 700px);
  min-height: 500px;
  transform: translate3d(
      calc(var(--hero-photo-x, 0px) + var(--hero-enter-x, 0px)),
      calc(-50% + var(--hero-photo-y, 0px)),
      0
    )
    scale(var(--hero-enter-scale, 1));
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  will-change: transform;
}

.hero__portrait::before {
  content: "";
  position: absolute;
  inset: -10% -14% -14% -16%;
  background: url("./public/sasha-1800.jpg") 62% 48% / auto 86% no-repeat;
  filter: saturate(0.92) contrast(1.05);
  clip-path: inset(0 var(--hero-photo-reveal, 0%) 0 0);
  transform: scale(var(--hero-photo-scale, 1));
  transform-origin: 62% 48%;
  -webkit-mask-image: radial-gradient(
    ellipse 56% 64% at 60% 48%,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.76) 48%,
    rgba(0, 0, 0, 0.34) 62%,
    rgba(0, 0, 0, 0.08) 74%,
    transparent 86%
  );
  mask-image: radial-gradient(
    ellipse 56% 64% at 60% 48%,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.76) 48%,
    rgba(0, 0, 0, 0.34) 62%,
    rgba(0, 0, 0, 0.08) 74%,
    transparent 86%
  );
}

.hero__portrait::after {
  content: "";
  position: absolute;
  inset: -10% -14% -14% -16%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(21, 8, 17, 0.92), rgba(83, 23, 69, 0.78) 48%, rgba(98, 59, 112, 0.18));
  clip-path: inset(0 var(--hero-mask-reveal, 0%) 0 0);
  transform: translateX(var(--hero-mask-x, 0%));
  transform-origin: 100% 50%;
  -webkit-mask-image: radial-gradient(
    ellipse 56% 64% at 60% 48%,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.76) 48%,
    rgba(0, 0, 0, 0.34) 62%,
    rgba(0, 0, 0, 0.08) 74%,
    transparent 86%
  );
  mask-image: radial-gradient(
    ellipse 56% 64% at 60% 48%,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.76) 48%,
    rgba(0, 0, 0, 0.34) 62%,
    rgba(0, 0, 0, 0.08) 74%,
    transparent 86%
  );
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(440px, 0.62fr) minmax(0, 0.98fr);
  gap: clamp(60px, 6vw, 92px);
  align-items: center;
}

.section-head {
  position: relative;
  z-index: 1;
}

.section-head h2,
.expert-copy h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.15rem, 4.8vw, 4.75rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

#situations-title {
  max-width: 440px;
  font-size: clamp(2.25rem, 3.4vw, 3.45rem);
  line-height: 0.98;
}

#situations-title span {
  display: block;
  white-space: nowrap;
}

.section-indigo .section-head h2 {
  color: var(--paper);
}

.expert .section-head h2,
.expert-copy h2 {
  color: var(--night);
  font-size: clamp(1.78rem, 2.55vw, 2.56rem);
  line-height: 1.02;
}

.section-head p:not(.section-number) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.58;
}

.section-indigo .section-head p:not(.section-number) {
  color: rgba(250, 249, 248, 0.76);
}

.section-head--wide {
  max-width: 820px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.problem-list {
  position: relative;
  z-index: 1;
}

.problem-board {
  width: min(100%, 720px);
  min-height: 580px;
  margin-left: auto;
  border: 1px solid rgba(83, 23, 69, 0.14);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  background:
    linear-gradient(135deg, rgba(250, 249, 248, 0.88), rgba(241, 239, 248, 0.74)),
    radial-gradient(circle at 16% 12%, rgba(170, 170, 255, 0.2), transparent 28%),
    rgba(250, 249, 248, 0.78);
  box-shadow: 0 32px 90px rgba(21, 8, 17, 0.13);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.problem-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(83, 23, 69, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83, 23, 69, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.problem-board::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(83, 23, 69, 0.08);
  border-radius: calc(var(--radius) - 2px);
  pointer-events: none;
}

.board-lines {
  position: absolute;
  inset: 20px;
  z-index: 1;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  pointer-events: none;
  overflow: visible;
}

.board-line {
  fill: none;
  stroke: rgba(83, 23, 69, 0.5);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}

.problem-card,
.learn-card,
.audience-card {
  border-radius: var(--radius);
}

.problem-card {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  min-height: 142px;
  padding: 22px;
  border: 1px solid rgba(83, 23, 69, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 254, 250, 0.96), rgba(250, 249, 248, 0.82)),
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.75), transparent 34%);
  box-shadow: 0 20px 48px rgba(21, 8, 17, 0.12);
  backdrop-filter: blur(10px);
  transform: rotate(var(--note-rotate, 0deg));
  transform-origin: 50% 45%;
}

.problem-card p,
.learn-card p,
.audience-card p,
.expert-copy p {
  margin: 0;
  font-size: clamp(0.95rem, 1vw, 1.02rem);
  line-height: 1.5;
}

.card-line {
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--plum), var(--lavender));
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(83, 23, 69, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 76% 70%, rgba(98, 59, 112, 0.09) 0 1px, transparent 1.5px);
  background-size: 18px 18px, 22px 22px;
  mix-blend-mode: multiply;
}

.problem-card--sticker {
  --note-rotate: -2deg;
  top: 58px;
  left: 42px;
  width: min(264px, 38%);
  background:
    linear-gradient(145deg, #fff7dc, #faf9f8 72%),
    rgba(250, 249, 248, 0.92);
}

.problem-card--paper {
  --note-rotate: 1.5deg;
  top: 70px;
  right: 42px;
  width: min(276px, 39%);
}

.problem-card--marker {
  --note-rotate: 2deg;
  left: 42px;
  bottom: 68px;
  width: min(340px, 48%);
  min-height: 164px;
  border-left: 4px solid var(--violet);
}

.problem-card--document {
  --note-rotate: -1.2deg;
  right: 42px;
  bottom: 68px;
  width: min(260px, 37%);
  background:
    repeating-linear-gradient(180deg, rgba(83, 23, 69, 0.06) 0 1px, transparent 1px 26px),
    linear-gradient(145deg, rgba(250, 249, 248, 0.96), rgba(241, 239, 248, 0.88));
}

.note-index {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(83, 23, 69, 0.42);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.note-pin {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--plum);
  box-shadow:
    inset 0 0 0 3px rgba(250, 249, 248, 0.58),
    0 5px 12px rgba(83, 23, 69, 0.25);
  transform: translateX(-50%);
}

.note-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 76px;
  height: 24px;
  border-radius: 3px;
  background: rgba(250, 249, 248, 0.58);
  box-shadow: 0 6px 18px rgba(21, 8, 17, 0.08);
  transform: translateX(-50%) rotate(-4deg);
  backdrop-filter: blur(4px);
}

.note-tape--small {
  width: 58px;
  transform: translateX(-50%) rotate(5deg);
}

.program .section-head--wide {
  margin-bottom: clamp(20px, 2.8vw, 38px);
}

.learn-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  perspective: 1200px;
}

.program-line {
  position: absolute;
  top: 18px;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  overflow: visible;
}

.program-line__segment {
  fill: none;
  stroke: rgba(170, 170, 255, 0.58);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.program-node {
  fill: var(--lavender);
  stroke: rgba(250, 249, 248, 0.72);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px rgba(170, 170, 255, 0.5));
}

.learn-card {
  position: relative;
  z-index: 1;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 0 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  box-shadow: none;
  transform-origin: 50% 70%;
}

.learn-card::before {
  content: attr(data-chapter);
  position: absolute;
  top: -20px;
  right: 0;
  z-index: -1;
  color: rgba(250, 249, 248, 0.07);
  font-size: clamp(5.1rem, 8.8vw, 7.9rem);
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: 0;
}

.learn-card::after {
  content: none;
}

.learn-index {
  display: inline-flex;
  width: auto;
  height: auto;
  place-items: unset;
  margin: 0 0 10px;
  border-radius: 0;
  color: var(--lavender);
  background: transparent;
  font-size: clamp(1.02rem, 1.32vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  box-shadow: none;
}

.learn-kicker {
  width: fit-content;
  margin: 0 0 66px;
  border-bottom: 1px solid rgba(170, 170, 255, 0.46);
  padding-bottom: 8px;
  color: rgba(250, 249, 248, 0.7);
  font-size: clamp(0.94rem, 1vw, 1.02rem);
  font-weight: 760;
}

.learn-card p {
  position: relative;
  max-width: 380px;
  padding: 20px 22px 0 0;
  border-top: 1px solid rgba(170, 170, 255, 0.34);
  color: rgba(250, 249, 248, 0.88);
  font-size: clamp(1.06rem, 1.18vw, 1.2rem);
  line-height: 1.58;
}

.learn-card--two {
  padding-top: 20px;
}

.learn-card--two::before {
  top: -12px;
}

.learn-card--two .learn-kicker {
  margin-bottom: 66px;
}

.learn-card--three {
  padding-top: 20px;
}

.learn-card--three p {
  max-width: 330px;
  margin-left: 0;
}

.program .center-action {
  margin-top: clamp(8px, 1vw, 16px);
}

.program .button-light {
  min-width: min(450px, 100%);
  min-height: 68px;
  padding: 22px 40px;
  font-size: clamp(1.08rem, 1.22vw, 1.18rem);
  font-weight: 900;
}

.center-action {
  position: relative;
  z-index: 1;
  text-align: center;
}

.audience-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  align-items: start;
  padding: 10px 0 8px;
}

.audience-card {
  --polaroid-rotate: 0deg;
  position: relative;
  min-height: 505px;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 26px;
  overflow: hidden;
  border: 1px solid rgba(83, 23, 69, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.98), rgba(247, 242, 233, 0.96)),
    #faf7ef;
  box-shadow:
    0 36px 94px rgba(21, 8, 17, 0.17),
    0 14px 30px rgba(83, 23, 69, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  transform: rotate(var(--polaroid-rotate));
  transform-origin: 50% 62%;
  transition: transform 240ms ease, box-shadow 240ms ease;
  cursor: default;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background:
    radial-gradient(circle at 18% 20%, rgba(83, 23, 69, 0.09) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 76% 68%, rgba(98, 59, 112, 0.07) 0 0.8px, transparent 1.4px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 44%, rgba(83, 23, 69, 0.035));
  background-size: 18px 18px, 24px 24px, 100% 100%;
  mix-blend-mode: multiply;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 9px;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(0deg, rgba(83, 23, 69, 0.035), transparent 42%);
  mix-blend-mode: soft-light;
}

.audience-card:hover {
  transform: translateY(-6px) scale(1.02) rotate(var(--polaroid-rotate));
  box-shadow:
    0 46px 112px rgba(21, 8, 17, 0.22),
    0 18px 38px rgba(83, 23, 69, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.audience-card--leader {
  --polaroid-rotate: -4deg;
  margin-top: 24px;
}

.audience-card--hr {
  --polaroid-rotate: 2deg;
  margin-top: 0;
}

.audience-card--entrepreneur {
  --polaroid-rotate: -2deg;
  margin-top: 0;
}

.audience-card--consultant {
  --polaroid-rotate: 4deg;
  margin-top: 10px;
}

.audience-photo {
  position: relative;
  z-index: 1;
  height: clamp(250px, 18.8vw, 320px);
  overflow: hidden;
  border: 1px solid rgba(83, 23, 69, 0.1);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(170, 170, 255, 0.18), rgba(83, 23, 69, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 0 34px rgba(21, 8, 17, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7);
}

.audience-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    inset 0 0 28px rgba(21, 8, 17, 0.14);
}

.audience-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(21, 8, 17, 0.16)),
    radial-gradient(circle at 70% 12%, rgba(170, 170, 255, 0.2), transparent 0 38%);
  mix-blend-mode: soft-light;
}

.audience-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 420ms ease, filter 420ms ease;
}

.audience-card:hover .audience-photo img {
  transform: scale(1.04);
  filter: saturate(0.98) contrast(1.04);
}

.audience-caption {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 158px;
  margin-top: 18px;
  padding: 20px 8px 0;
  border-top: 1px solid rgba(83, 23, 69, 0.12);
}

.audience-caption::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(98, 59, 112, 0.62);
  box-shadow: 0 0 0 4px rgba(170, 170, 255, 0.16);
}

.audience-stamp {
  position: absolute;
  right: 3px;
  bottom: 0;
  color: rgba(83, 23, 69, 0.38);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.audience-card h3 {
  min-height: 0;
  margin: 0 34px 12px 0;
  color: var(--plum);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.45vw, 1.42rem);
  line-height: 1.12;
  font-weight: 900;
}

.audience-card p {
  color: rgba(24, 11, 23, 0.72);
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.45;
}

.audience .button-primary {
  min-width: min(430px, 100%);
  min-height: 66px;
  padding: 22px 34px;
  font-size: clamp(1.08rem, 1.3vw, 1.2rem);
  font-weight: 900;
  box-shadow: 0 20px 54px rgba(98, 59, 112, 0.34);
}

.audience .button-primary:hover {
  box-shadow:
    0 24px 64px rgba(83, 23, 69, 0.4),
    0 0 34px rgba(170, 170, 255, 0.2);
}

.registration {
  background:
    linear-gradient(142deg, var(--night), var(--wine) 52%, var(--plum));
}

.registration-lead {
  display: grid;
  gap: 4px;
}

.registration-widget {
  position: relative;
  z-index: 1;
  min-height: 320px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(250, 249, 248, 0.16), rgba(170, 170, 255, 0.09)),
    rgba(250, 249, 248, 0.06);
  box-shadow: var(--shadow-dark);
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 42px);
  backdrop-filter: blur(18px);
}

.registration-widget__inner {
  width: min(760px, 100%);
  min-height: 220px;
  border: 1px solid rgba(250, 249, 248, 0.22);
  border-radius: var(--radius);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: clamp(16px, 3vw, 30px);
  text-align: center;
  background: rgba(250, 249, 248, 0.92);
  box-shadow: 0 24px 64px rgba(21, 8, 17, 0.2);
}

.expert-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.expert-photo {
  position: relative;
  width: min(112%, 620px);
  height: min(650px, 68vw);
  min-height: 460px;
  margin-left: clamp(-26px, -2vw, -10px);
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 46px 110px rgba(21, 8, 17, 0.22),
    0 18px 42px rgba(83, 23, 69, 0.12);
  background: var(--night);
}

.expert-photo::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(250, 249, 248, var(--expert-frame-opacity, 0));
  border-radius: 18px;
  pointer-events: none;
  transform: scale(var(--expert-frame-scale, 0.98));
  box-shadow: 0 0 0 1px rgba(170, 170, 255, calc(var(--expert-frame-opacity, 0) * 0.32));
}

.expert-photo::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  clip-path: inset(var(--expert-photo-clip-top, 0%) 0 var(--expert-photo-clip-bottom, 0%) 0 round 24px);
  background:
    linear-gradient(105deg, transparent 0 40%, rgba(250, 249, 248, 0.28) 48%, transparent 57%) var(--expert-shine-x, -160%) 0 / 58% 100% no-repeat,
    linear-gradient(180deg, transparent 58%, rgba(21, 8, 17, 0.18)),
    radial-gradient(circle at 70% 12%, rgba(170, 170, 255, 0.12), transparent 0 36%);
  mix-blend-mode: soft-light;
}

.expert-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  clip-path: inset(var(--expert-photo-clip-top, 0%) 0 var(--expert-photo-clip-bottom, 0%) 0 round 24px);
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.04);
}

.expert-copy {
  max-width: 620px;
  color: var(--ink);
}

.expert-label {
  margin-bottom: 10px;
  color: var(--violet);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.expert-copy h2 span {
  display: block;
}

.expert-role {
  max-width: 590px;
  margin: 12px 0 16px;
  color: var(--plum);
  font-family: var(--font-heading);
  font-size: clamp(1.04rem, 1.42vw, 1.28rem) !important;
  line-height: 1.25 !important;
  font-weight: 900;
}

.expert-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 18px;
}

.expert-facts div {
  position: relative;
  min-height: 50px;
  border: 1px solid rgba(98, 59, 112, 0.16);
  border-radius: 12px;
  padding: 12px 16px 12px 22px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(250, 249, 248, 0.74)),
    rgba(170, 170, 255, 0.16);
  color: var(--night);
  box-shadow: 0 14px 34px rgba(83, 23, 69, 0.08);
  font-size: clamp(0.9rem, 0.96vw, 0.98rem);
  line-height: 1.34;
}

.expert-facts div::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--plum), var(--lavender));
}

.expert-facts div:nth-child(2),
.expert-facts div:nth-child(4) {
  border-color: rgba(98, 59, 112, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(250, 249, 248, 0.74)),
    rgba(170, 170, 255, 0.16);
}

.expert-facts div:nth-child(5) {
  border-color: rgba(98, 59, 112, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(250, 249, 248, 0.74)),
    rgba(170, 170, 255, 0.16);
}

.expert .button-dark {
  min-width: min(410px, 100%);
  min-height: 58px;
  margin-top: 20px;
  padding: 18px 32px;
  font-size: clamp(1rem, 1.08vw, 1.1rem);
  font-weight: 900;
  box-shadow: 0 22px 58px rgba(83, 23, 69, 0.3);
}

.expert .button-dark:hover {
  box-shadow:
    0 26px 68px rgba(83, 23, 69, 0.36),
    0 0 32px rgba(170, 170, 255, 0.16);
}

.thanks-page {
  background: var(--night);
}

.thanks {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 92px) 0;
}

.thanks::after {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: min(760px, 62vw);
  height: min(620px, 58vw);
  pointer-events: none;
  opacity: 0.34;
  background:
    radial-gradient(circle at 42% 44%, rgba(170, 170, 255, 0.38), transparent 0 36%),
    radial-gradient(circle at 64% 52%, rgba(98, 59, 112, 0.58), transparent 0 60%);
  filter: blur(36px);
  animation: heroGlowBreath 9s ease-in-out infinite;
}

.thanks-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.thanks-copy {
  max-width: 760px;
}

.thanks-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border: 1px solid rgba(250, 249, 248, 0.24);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 34% 28%, rgba(250, 249, 248, 0.24), transparent 0 34%),
    rgba(250, 249, 248, 0.08);
  box-shadow: 0 22px 58px rgba(21, 8, 17, 0.28);
}

.thanks-mark span {
  width: 30px;
  height: 18px;
  border-left: 4px solid var(--paper);
  border-bottom: 4px solid var(--paper);
  transform: rotate(-45deg) translate(2px, -2px);
}

.thanks h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.4vw, 5.25rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 26px 84px rgba(21, 8, 17, 0.52);
}

.thanks-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(250, 249, 248, 0.82);
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.48;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.thanks-actions .button {
  min-width: min(320px, 100%);
  margin-top: 0;
}

.thanks-support {
  border: 1px solid rgba(250, 249, 248, 0.18);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(250, 249, 248, 0.15), rgba(170, 170, 255, 0.08)),
    rgba(21, 8, 17, 0.36);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.thanks-support__title {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.5;
  font-weight: 780;
}

.thanks-support__links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.thanks-support__links a {
  min-height: 48px;
  border: 1px solid rgba(250, 249, 248, 0.18);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  color: var(--paper);
  background: rgba(250, 249, 248, 0.08);
  text-decoration: none;
  font-weight: 860;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.thanks-support__links a::after {
  content: "→";
  color: var(--lavender);
}

.thanks-support__links a:hover {
  transform: translateY(-2px);
  border-color: rgba(170, 170, 255, 0.45);
  background: rgba(250, 249, 248, 0.13);
}

.thanks-signoff {
  margin: 24px 0 0;
  color: var(--lavender);
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 1.8vw, 1.58rem);
  font-weight: 900;
}

.footer {
  padding: clamp(46px, 6vw, 78px) 0 28px;
  color: var(--paper);
  background:
    linear-gradient(160deg, rgba(83, 23, 69, 0.58), transparent 46%),
    var(--night);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(160px, 0.7fr));
  gap: clamp(24px, 4vw, 48px);
}

.footer-title {
  margin: 0 0 16px;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 900;
}

.footer p,
.footer a {
  color: rgba(250, 249, 248, 0.72);
  line-height: 1.55;
}

.footer a {
  text-decoration: none;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.footer a:hover {
  color: var(--lavender);
}

.footer-partnership,
.footer-manager-note {
  margin-top: 18px;
}

.footer-partnership span {
  display: block;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.footer-socials a,
.footer-dev-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(170, 170, 255, 0.35);
  border-radius: var(--radius);
  padding: 9px 12px;
  color: var(--night) !important;
  background: var(--lavender);
  font-weight: 860;
}

.footer-socials a:hover,
.footer-dev-link:hover {
  background: var(--paper);
  color: var(--plum) !important;
}

.footer-dev-link,
.footer-dev-link:hover {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: rgba(250, 249, 248, 0.72) !important;
  background: transparent;
  font-weight: inherit;
}

.footer-dev-link:hover {
  color: var(--lavender) !important;
}

.footer-contact-link {
  display: block;
  margin-top: 8px;
}

.footer-contact-link-strong,
.footer-strong {
  font-weight: 860;
}

.footer-links,
.footer-contacts {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer h3 {
  margin: 0 0 8px;
  color: var(--paper);
}

.footer-contacts p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(34px, 5vw, 58px);
  padding-top: 22px;
  border-top: 1px solid rgba(250, 249, 248, 0.14);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.reveal {
  will-change: transform, opacity;
}

@keyframes heroGlowBreath {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(1);
  }

  50% {
    opacity: 0.34;
    transform: scale(1.06);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__grid,
  .section-grid,
  .expert-grid {
    grid-template-columns: 1fr;
  }

  .expert-photo {
    width: min(100%, 620px);
    height: min(620px, 92vw);
    margin: 0 auto;
  }

  .expert-copy {
    max-width: 100%;
  }

  .hero__portrait {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 420px;
    min-height: 0;
    transform: none;
    margin-top: 28px;
    background:
      radial-gradient(circle at 52% 34%, rgba(170, 170, 255, 0.12), transparent 0 38%),
      linear-gradient(180deg, rgba(21, 8, 17, 0.02), rgba(21, 8, 17, 0.22));
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  }

  .hero__portrait::before {
    inset: -4% -8% -12%;
    background-position: 50% 42%;
    background-size: auto 96%;
    -webkit-mask-image: radial-gradient(
      ellipse at 50% 42%,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.7) 56%,
      rgba(0, 0, 0, 0.2) 72%,
      transparent 86%
    );
    mask-image: radial-gradient(
      ellipse at 50% 42%,
      #000 0%,
      #000 42%,
      rgba(0, 0, 0, 0.7) 56%,
      rgba(0, 0, 0, 0.2) 72%,
      transparent 86%
    );
  }

  .hero__portrait::after {
    inset: -12%;
    background:
      linear-gradient(180deg, rgba(83, 23, 69, 0.4) 0%, transparent 22%, transparent 68%, rgba(21, 8, 17, 0.72) 100%),
      linear-gradient(90deg, rgba(21, 8, 17, 0.56) 0%, transparent 24%, transparent 74%, rgba(98, 59, 112, 0.44) 100%);
  }

  .hero__content {
    max-width: 100%;
    margin-top: 0;
  }

  .thanks-shell {
    grid-template-columns: 1fr;
  }

  .thanks-support {
    max-width: 620px;
  }

  .problem-board {
    width: 100%;
    min-height: 620px;
    margin-left: 0;
  }

  .problem-card--sticker {
    left: 42px;
  }

  .problem-card--paper {
    right: 42px;
  }

  .problem-card--marker {
    left: 42px;
    width: min(390px, 52%);
  }

  .problem-card--document {
    right: 42px;
  }

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

  .learn-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 22px;
  }

  .program-line {
    top: 0;
    left: 0;
    width: 80px;
    height: 100%;
    transform: rotate(90deg);
    transform-origin: 40px 40px;
  }

  .learn-card,
  .learn-card--two,
  .learn-card--three {
    min-height: auto;
    padding-top: 20px;
  }

  .learn-card::before {
    top: -8px;
    right: 18px;
    font-size: clamp(5.2rem, 18vw, 8rem);
  }

  .learn-index,
  .learn-card--two .learn-index {
    margin-bottom: 10px;
  }

  .learn-kicker,
  .learn-card--two .learn-kicker {
    margin-bottom: 32px;
  }

  .learn-card p,
  .learn-card--three p {
    max-width: 640px;
    margin-left: 0;
  }

  .audience-card {
    min-height: 500px;
  }

  .audience-photo {
    height: clamp(300px, 38vw, 360px);
  }

  .audience-card--leader,
  .audience-card--hr,
  .audience-card--entrepreneur,
  .audience-card--consultant {
    margin-top: 0;
  }

  .audience-card--leader {
    --polaroid-rotate: -2deg;
  }

  .audience-card--hr {
    --polaroid-rotate: 1deg;
  }

  .audience-card--entrepreneur {
    --polaroid-rotate: -1deg;
  }

  .audience-card--consultant {
    --polaroid-rotate: 2deg;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 18px 0 48px;
  }

  .hero-logos {
    gap: 14px;
    margin-bottom: 20px;
  }

  .hero-logo-main {
    height: clamp(62px, 20vw, 88px);
  }

  .hero-logo-training {
    height: clamp(32px, 10vw, 42px);
  }

  .hero__title {
    font-size: clamp(1.9rem, 9.6vw, 2.45rem);
    line-height: 1.04;
  }

  #situations-title {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3.15rem);
    line-height: 0.98;
  }

  #situations-title span:first-child::after {
    content: " эти";
  }

  #situations-title span:nth-child(2) {
    font-size: 0;
  }

  #situations-title span:nth-child(2)::before {
    content: "ситуации?";
    font-size: clamp(2.25rem, 10vw, 3.15rem);
  }

  .hero__meta span {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .thanks {
    min-height: auto;
  }

  .thanks-mark {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
  }

  .thanks-actions {
    gap: 10px;
  }

  .hero__portrait {
    height: 300px;
  }

  .hero__portrait::before {
    background-size: auto 98%;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .learn-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 34px;
  }

  .audience-card {
    min-height: auto;
    --polaroid-rotate: 0deg;
    width: min(100%, 420px);
    margin: 0 auto;
    padding: 10px 10px 20px;
  }

  .audience-photo {
    height: clamp(245px, 72vw, 310px);
  }

  .audience-caption {
    min-height: auto;
    margin-top: 16px;
    padding-top: 18px;
  }

  .program-line {
    display: block;
    top: 22px;
    left: 0;
    width: 28px;
    height: calc(100% - 44px);
    transform: none;
    transform-origin: 50% 0;
  }

  .program-line__segment {
    display: none;
  }

  .program-line::before,
  .program-line::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 0;
    width: 2px;
    height: 100%;
    border-radius: 999px;
  }

  .program-line::before {
    background: rgba(170, 170, 255, 0.24);
  }

  .program-line::after {
    background: linear-gradient(180deg, var(--lavender), rgba(190, 139, 205, 0.68));
    box-shadow: 0 0 22px rgba(170, 170, 255, 0.18);
    transform: scaleY(var(--program-mobile-line-scale, 1));
    transform-origin: 50% 0;
  }

  .program-node {
    display: none;
  }

  .learn-card p {
    padding-right: 0;
  }

  .learn-card,
  .learn-card--two,
  .learn-card--three {
    --program-node-opacity: 1;
    --program-node-scale: 1;
    min-height: auto;
    padding: 12px 0 34px 18px;
  }

  .learn-card::after {
    content: "";
    position: absolute;
    left: -31px;
    top: 18px;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(250, 249, 248, 0.78);
    border-radius: 50%;
    background: var(--lavender);
    box-shadow:
      0 0 0 6px rgba(170, 170, 255, 0.12),
      0 0 18px rgba(170, 170, 255, 0.42);
    opacity: var(--program-node-opacity, 1);
    transform: scale(var(--program-node-scale, 1));
    transform-origin: 50% 50%;
  }

  .learn-card::before {
    top: 2px;
    right: 2px;
    font-size: clamp(4rem, 25vw, 6.4rem);
  }

  .learn-index,
  .learn-card--two .learn-index {
    margin-bottom: 10px;
  }

  .learn-kicker,
  .learn-card--two .learn-kicker {
    margin-bottom: 18px;
  }

  .learn-card p,
  .learn-card--three p {
    max-width: 100%;
    font-size: clamp(0.98rem, 4vw, 1.08rem);
    line-height: 1.52;
  }

  .audience-card h3 {
    min-height: auto;
  }

  .problem-board {
    --board-mobile-line-scale: 1;
    display: grid;
    min-height: auto;
    gap: 18px;
    padding: 22px 16px 22px 44px;
    overflow: visible;
  }

  .board-lines {
    display: none;
  }

  .problem-board::after {
    inset: 12px;
  }

  .problem-board::before {
    opacity: 0.32;
  }

  .problem-board .problem-card::after {
    content: attr(data-mobile-step);
    position: absolute;
    left: -35px;
    top: 22px;
    z-index: 4;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(250, 249, 248, 0.86);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--paper);
    background: var(--plum);
    box-shadow:
      0 0 0 5px rgba(170, 170, 255, 0.22),
      0 10px 22px rgba(83, 23, 69, 0.18);
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  .problem-board .problem-card:first-of-type::after {
    content: "01";
  }

  .problem-board .problem-card:nth-of-type(2)::after {
    content: "02";
  }

  .problem-board .problem-card:nth-of-type(3)::after {
    content: "03";
  }

  .problem-board .problem-card:nth-of-type(4)::after {
    content: "04";
  }

  .problem-board .problem-card:first-of-type::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 32px;
    bottom: calc(-300% - 54px);
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--plum), rgba(170, 170, 255, 0.78));
    box-shadow: 0 0 18px rgba(98, 59, 112, 0.16);
    transform: scaleY(var(--board-mobile-line-scale, 1));
    transform-origin: 50% 0;
  }

  .problem-card,
  .problem-card--sticker,
  .problem-card--paper,
  .problem-card--marker,
  .problem-card--document {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
    padding: 18px;
    transform: none;
  }

  .problem-card--marker {
    border-left-width: 3px;
  }

  .expert-photo {
    width: 100%;
    height: 480px;
    min-height: 0;
  }

  .expert-facts {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero::after {
    animation: none;
  }
}
