/* Лендинг Лизы Андреенко. Токены — палитра «Солнечная».
   --muted в макете #8a8a8a: на градиенте #e6ecff контраст 2.9:1, это ниже AA.
   Для мелкого текста используется #6a6a6a (около 4.6:1 на самом светлом участке). */

:root {
  --ink: #202020;
  --ink2: #555555;
  --muted: #6a6a6a;
  --line: #ececec;
  --soft: #f4f4f4;
  --y: #ffd43b;
  --y-hover: #f5c400;
  --v: #6553e8;
  --v2: #7b6cf6;
  --accent-soft: #e6e2ff;
  --link: #4b3fc0;
  --deep: #2b2d5c;
  --note: #fff5cc;
  --pill-mint-bg: #d5f3e7;
  --pill-mint-fg: #14684b;
  --pill-vio-bg: #e6e2ff;
  --pill-vio-fg: #4b3fc0;
  --pill-blue-bg: #ddf0fb;
  --pill-blue-fg: #18638f;
  --radius: 24px;
  --shadow-md: 0 18px 40px -24px rgba(43, 45, 92, .45);
  --display: "Playfair Display", Georgia, serif;
  --sans: "Onest", system-ui, sans-serif;
  --serif: "Literata", "Literata FB", Georgia, serif;
  --script: "Marck Script", cursive;
  --maxw: 1180px;
  --gutter: clamp(24px, 6vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background-color: #e6ecff;
  background-image: linear-gradient(180deg, #e3f6ef 0%, #e6ecff 100%);
  background-repeat: no-repeat;
  background-size: 100% 1280px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--v); }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
}
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
h1, h2, h3, p { overflow-wrap: break-word; }
.bw picture, .about-photo picture { display: block; width: 100%; height: 100%; }
h1, h2, h3 { text-wrap: balance; }

.mk {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cpath d='M3 22 L60 15 L130 8 L198 2 L196 40 L199 70 L197 96 L120 98 L50 99 L1 100 L4 66 L0 44 Z' fill='%23ffd43b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 62%;
  background-position: 0 88%;
  padding: 0 .08em 0 .05em;
  margin: 0 -.06em 0 -.01em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- шапка ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid rgba(43, 45, 92, .08);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.topnav.is-stuck {
  background: rgba(244, 247, 255, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: transparent;
  box-shadow: 0 10px 28px -20px rgba(43, 45, 92, .55);
}
.topnav .wrap {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.wordmark-name {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
  line-height: 1;
  padding-bottom: .55em;
}
.wordmark-ribbon {
  position: absolute;
  left: .2em;
  top: .9em;
  width: .32em;
  height: .7em;
  background: var(--y);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.wordmark-sub {
  display: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink2);
}
.spacer { flex: 1; }
.topnav nav {
  display: none;
  flex-shrink: 0;
  gap: clamp(16px, 2.2vw, 32px);
}
.topnav nav a {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.topnav nav a:hover { color: var(--link); }
.nav-cta {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta:hover { background: #fff; color: var(--ink); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  padding: 17px 30px;
  border: 0;
  border-radius: 999px;
  background-color: var(--y);
  background-image: linear-gradient(105deg, transparent 0%, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 220% 100%;
  background-position: 130% 0;
  text-decoration: none;
  box-shadow: 0 10px 24px -14px rgba(160, 120, 0, .8);
  cursor: pointer;
  transition: background-color .15s ease, background-position .7s ease, transform .15s ease;
}
.btn-pill:hover {
  background-color: var(--y-hover);
  background-position: -30% 0;
  color: var(--ink);
  transform: translateY(-1px);
}
.btn-pill .arr { font-size: 18px; }
.btn-pill:disabled { opacity: .7; cursor: progress; transform: none; }

/* ---------- первый экран: телефон (макет 4), шире — 4б ---------- */
.hero { position: relative; padding: 22px 0 56px; text-align: left; }
.who {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  background: #fff;
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  box-shadow: 0 1px 2px rgba(32, 32, 32, .04);
  text-align: left;
}
.who .ava {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #e3e3e3;
}
.who b { font-weight: 600; color: var(--ink); }
.who span { font-size: 12.5px; color: var(--ink2); }
.bw img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 45%;
}
.kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--v);
  font-size: 20px;
  margin: 22px 0 6px;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: 0;
  /* 22ch of Playfair. em stays put while the latin subset (the «0») is still loading. */
  max-width: 13.2em;
  color: var(--ink);
}
.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink2);
  /* 64ch of Onest. */
  max-width: 42.56em;
  margin: 16px 0 22px;
}
.under {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 14px 0 0;
  /* 52ch of Onest. */
  max-width: 34.58em;
}
.me {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(43, 45, 92, .1);
}
.me-name {
  font-family: var(--script);
  font-size: 28px;
  color: var(--v);
  line-height: 1;
  margin: 0;
}
.me-role {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink2);
}

.stage {
  position: relative;
  margin-top: 36px;
  padding-top: 8px;
}
.sticker {
  margin: 0;
  position: absolute;
  right: 46px;
  top: -16px;
  z-index: 4;
  background: var(--y);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.2;
  transform: rotate(-5deg);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .4);
}
.win {
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 80px -36px rgba(43, 45, 92, .55), 0 1px 2px rgba(32, 32, 32, .05);
  overflow: hidden;
  text-align: left;
}
.win-ribbon {
  position: absolute;
  right: 30px;
  top: 0;
  width: 22px;
  height: 44px;
  background: var(--y);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
  z-index: 2;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--soft);
}
.win-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9d9d9;
}
.win-bar span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border-radius: 99px;
  padding: 3px 14px;
}
.win-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.win-nav::-webkit-scrollbar { display: none; }
.win-nav .wordmark-name { font-size: 16px; color: var(--ink); }
.win-nav b {
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 3px;
}
.win-body { padding: 20px 22px 16px; }
.win-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}
.win-title {
  margin: 0;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 24px;
  letter-spacing: -.02em;
}
.win-h p { margin: 2px 0 0; font-size: 12.5px; color: var(--ink2); }
.add {
  flex: none;
  background: var(--y);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
}
.g { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gc { border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.gc-h { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; }
.oc-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--note);
  display: flex;
  align-items: center;
  justify-content: center;
}
.oc-ico svg { display: block; }
.oc-name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.oc-meta { font-size: 12px; color: var(--muted); }
.gc-l { font-size: 11px; color: var(--muted); margin-top: 12px; }
.gc-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.gc-d { font-weight: 600; font-size: 14px; }
.gc-d small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); min-height: 1.2em; }
.win-foot { font-size: 11.5px; color: var(--muted); margin-top: 12px; }
.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill.no { background: var(--soft); color: var(--ink2); }
.pill.yes { background: var(--pill-mint-bg); color: var(--pill-mint-fg); }
.pill.new { background: var(--pill-vio-bg); color: var(--pill-vio-fg); }
.gc:nth-child(n+3) { display: none; }
.win-nav .hide { display: none; }

.stage-side { margin-top: 16px; }
.mini {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
  text-align: left;
  width: 100%;
  color: var(--ink);
  text-decoration: none;
}
.mini .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini .t { font-weight: 600; font-size: 15px; margin-top: 6px; line-height: 1.3; color: inherit; }
.mini .s { font-size: 12.5px; color: var(--ink2); margin-top: 6px; }
.mini.eks { display: block; background: var(--deep); color: #fff; }
.mini.eks .k { color: var(--y); }
.mini.eks .s { color: #c9cbe8; }
.mini.eks:hover { color: #fff; }
.who2 { display: none; }
.who2 .ava {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: #e3e3e3;
  margin-bottom: 10px;
}
.who2 .n {
  font-family: var(--script);
  font-size: 26px;
  color: var(--v);
  line-height: 1;
}

/* 4б: от 761px текст по центру, карточки в ряд под окном */
@media (max-width: 1040px) {
  .topnav .wrap { gap: 12px; }
  .topnav nav { gap: 12px; }
  .wordmark { gap: 6px; }
  .wordmark-sub { font-size: 13px; }
}
/* 4б с 761px. Подпись логотипа влезает рядом с меню только шире ~860px:
   между 761 и 859 она пересекалась бы со ссылками. */
@media (min-width: 761px) {
  .topnav nav { display: flex; }
  .hero { text-align: center; padding-top: 24px; }
  .hero-title {
    font-size: clamp(40px, 4vw, 58px);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-lead { margin: 18px auto 24px; }
  .under { margin-left: auto; margin-right: auto; }
  .who span { font-size: 14px; }
  .me, .sticker { display: none; }
  .btn-pill { font-size: 16px; padding: 17px 30px; }
  .stage { max-width: 900px; margin: 30px auto 0; padding-top: 0; }
  .g { grid-template-columns: 1fr 1fr; }
  .gc:nth-child(n+3) { display: block; }
  .win-nav .hide { display: inline; }
  .who2 { display: block; width: 240px; }
  .eks { width: 240px; }
  .stage-side {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
  }
}
@media (min-width: 860px) {
  .wordmark-sub { display: inline; }
}

/* Боковые карточки 4б не вылезают за вьюпорт, пока вокруг окна нет ~40px запаса.
   От 1280px они стоят как в макете: слева подпись, справа ЭКСМО. */
@media (min-width: 1280px) {
  .stage { padding-bottom: 28px; }
  .stage-side { display: block; height: 0; margin: 0; }
  .who2 {
    position: absolute;
    left: -180px;
    top: 36px;
    transform: rotate(-3deg);
    z-index: 3;
  }
  .eks {
    position: absolute;
    right: -160px;
    top: 60px;
    width: 240px;
    transform: rotate(3deg);
    z-index: 3;
  }
}
@media (min-width: 1280px) and (max-width: 1359px) {
  .who2 { left: -156px; }
  .eks { right: -140px; }
}
@media (min-width: 761px) and (max-width: 1279px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .who2, .eks { transition: transform .35s ease, box-shadow .35s ease; }
  .who2:hover, .eks:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 48px -18px rgba(43, 45, 92, .55);
  }
}
@media (min-width: 1280px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .who2, .eks { transition: transform .35s ease, box-shadow .35s ease; }
  .who2:hover {
    animation: none;
    transform: rotate(-5deg) translateY(-8px);
    box-shadow: 0 28px 50px -16px rgba(101, 83, 232, .55);
  }
  .eks:hover {
    animation: none;
    transform: rotate(5deg) translateY(-8px);
    box-shadow: 0 32px 54px -16px rgba(101, 83, 232, .45);
  }
}
@media (min-width: 1280px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .who2 { animation: float-l 7s ease-in-out infinite; }
  .eks { animation: float-r 8s ease-in-out infinite; }
}

/* ---------- секции ---------- */
.band { padding: clamp(64px, 9vw, 108px) 0; }
.band-white { background: #fff; }
.band-soft { background: var(--soft); }
.band h2, .legal h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  color: var(--ink);
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink2);
  max-width: 62ch;
  margin: 0 0 8px;
}
.center-lead { margin-left: auto; margin-right: auto; }

.who-grid, .ways, .quotes {
  display: grid;
  gap: 16px;
}
.card, .step, .way, .quote, .price-card, .case-card, .form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.card, .way, .quote {
  padding: clamp(20px, 3vw, 28px);
}
.card h3, .way h3, .step h3, .feat h3 {
  font-family: var(--sans);
  font-weight: 650;
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
}
.card ul, .price-card ul { margin: 0; padding-left: 1.15em; }
.card li, .price-card li { margin: 0 0 8px; }
.card li:last-child, .price-card li:last-child { margin-bottom: 0; }
.card .note, .after {
  margin: 16px 0 0;
  color: var(--ink2);
}
.ethics {
  margin: 16px 0 0;
  max-width: 72ch;
  color: var(--ink2);
}

.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: step;
}
.step {
  padding: 22px 22px 20px;
}
.step .num {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  color: var(--v);
  margin-bottom: 10px;
}
.step p, .way p, .feat p, .case-copy p { margin: 0; }
.step p + p, .case-copy p + p { margin-top: 12px; }
.theory {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink2);
}

.ways { margin-top: 22px; }
.way h3 { color: var(--deep); }
.closing { margin: 22px 0 0; max-width: 68ch; }

.feat {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}
.shot {
  margin: 0;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #f3f1ff);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  line-height: 0;
}
.shot picture { display: block; border-radius: 18px; overflow: hidden; }
.shot picture, .shot img { width: 100%; height: auto; }
.shot img { aspect-ratio: 16 / 10; transition: transform .6s ease; }
.feat-solo { margin-top: 28px; max-width: 68ch; }
.feat-solo h3 { margin-bottom: 8px; }
.ph {
  aspect-ratio: 16 / 10;
  border: 1.5px dashed var(--line);
  background: var(--soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.45;
}
.ph-cover {
  aspect-ratio: 2 / 3;
  width: min(100%, 240px);
}
.ph-quote {
  aspect-ratio: auto;
  min-height: 140px;
  margin-top: 22px;
  justify-content: flex-start;
  text-align: left;
}
.shot-note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.case-card {
  display: grid;
  gap: 22px;
  padding: clamp(18px, 3vw, 28px);
  align-items: start;
}
.case-photo {
  margin: 0;
  width: min(100%, 240px);
  aspect-ratio: 2 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e3e3e3;
}
.case-photo picture { display: block; width: 100%; height: 100%; }
.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.case-review {
  background: #fff7d6;
  border-left: 4px solid var(--v);
}
.case-review .qmark {
  display: block;
  font-family: var(--display);
  font-size: 64px;
  line-height: .7;
  height: .55em;
  color: var(--v);
  margin: 0 0 8px;
}
.case-review blockquote { max-width: 65ch; }
.case-review figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 18px;
  font-weight: 400;
  color: var(--ink);
}
.case-review figcaption picture {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #e3e3e3;
}
.case-review figcaption img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.case-review .nm { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.case-review .cap { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink2); line-height: 1.35; }
.case-kicker { font-size: 18px; }
.quotes { margin-top: 16px; }
.quote { margin: 0; }
.quote.case-review { margin-top: 48px; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
}
.quote figcaption {
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink2);
}
.subhead {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  margin: 36px 0 8px;
}

.about-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
.about-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  width: min(100%, 420px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e3e3e3;
}
.about-photo img { width: 100%; height: 100%; }
.about-copy p { margin: 0 0 14px; max-width: 62ch; }
.about-copy p:last-child { margin-bottom: 0; }

.price-card { padding: clamp(24px, 4vw, 40px); }
.price-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  margin: 0 0 12px;
}
.price-card > p { margin: 0 0 22px; color: var(--ink2); max-width: 52ch; }
.price-cols { display: grid; gap: 22px; }
.price-label {
  font-weight: 650;
  margin: 0 0 8px;
}
.out { margin: 0; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px -22px rgba(43, 45, 92, .6);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .35s ease;
}
.faq-a > p {
  min-height: 0;
  overflow: hidden;
}
.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--ink2);
  max-width: 72ch;
}

.apply-intro { max-width: 62ch; }
.apply .btn-pill { margin-top: 8px; }
.form-card { padding: clamp(20px, 3vw, 36px); margin-top: 22px; }
.form-error {
  background: #fff5f2;
  color: #7a2e16;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.fld { margin: 0 0 20px; border: 0; padding: 0; min-inline-size: 0; }
.fld legend, .lbl {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
  padding: 0;
}
.hint { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: 400 16px/1.45 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  padding: 12px 14px;
}
textarea { resize: vertical; min-height: 96px; }
.radios { display: grid; gap: 8px; }
.radios label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  line-height: 1.4;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  min-height: 44px;
}
.radios input {
  margin-top: 2px;
  accent-color: var(--v);
  width: 18px;
  height: 18px;
  flex: none;
}
.radios label:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: 2px; }
.radios label:has(input:checked) {
  border-color: var(--v2);
  background: var(--accent-soft);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}
.check input { margin-top: 3px; accent-color: var(--v); width: 18px; height: 18px; flex: none; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.form-ok {
  margin-top: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 32px);
}
.form-ok p { margin: 0; font-size: 18px; }
.form-ok p + p { margin-top: 12px; font-size: 16px; }
.contacts { margin: 22px 0 0; color: var(--ink2); }

.site-foot {
  padding: 28px 0 48px;
  border-top: 1px solid rgba(43, 45, 92, .08);
  color: var(--ink2);
  font-size: 14.5px;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.site-foot p { margin: 0; }
.site-foot a { color: var(--link); }

/* политика */
.legal { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 8vw, 96px); }
.legal .back { display: inline-block; margin-bottom: 22px; font-weight: 600; text-decoration: none; }
.legal h1 { margin-bottom: 8px; }
.legal .upd { color: var(--ink2); margin: 0 0 28px; }
.legal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 36px 0 12px;
}
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; }
.legal p { margin: 0 0 12px; max-width: 68ch; }
.legal ul { margin: 0 0 12px; padding-left: 1.2em; }
.legal { max-width: none; }

@media (min-width: 720px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
  .ways { grid-template-columns: 1fr 1fr; }
  .ways .way:last-child { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: minmax(220px, 340px) 1fr; gap: 40px; }
  .case-card { grid-template-columns: 220px 1fr; gap: 28px; }
  .price-cols { grid-template-columns: 1.2fr .8fr; gap: 32px; }
  .feat { grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 48px); }
  .feat.reverse .feat-copy { order: 2; }
}
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .btn-pill { font-size: 15px; padding: 16px 22px; }
  .feat.reverse .feat-copy { order: 0; }
}

/* кому подойдёт */
.fit-grid {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.fit {
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-md);
}
.fit h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 16px;
}
.fit .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 28px;
  line-height: 1.45;
}
.fit li:last-child { margin-bottom: 0; }
.fit-yes {
  background: linear-gradient(180deg, #e7f8f0 0%, #fff 46%);
  border: 1px solid #b7e4d0;
}
.fit-yes .mark { background: var(--pill-mint-bg); color: var(--pill-mint-fg); }
.fit-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pill-mint-fg);
  font-weight: 700;
}
.fit-no {
  background: linear-gradient(180deg, #fff1ee 0%, #fff 48%);
  border: 1px solid #f0cfc8;
}
.fit-no .mark { background: #ffe1da; color: #8d3328; }
.fit-no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #8d3328;
  font-weight: 700;
}
.callout {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--y);
  color: var(--ink);
  border-radius: 16px;
  font-weight: 600;
  line-height: 1.45;
}

/* шаги — одна колонка, вертикальная шкала */
.steps.timeline {
  --draw: 1;
  grid-template-columns: 1fr;
  position: relative;
  gap: 0;
  margin-top: 12px;
  padding-left: 0;
}
html.motion .steps.timeline { --draw: 0; }
.steps.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 16px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--v) 0%, var(--y) 100%);
  transform: scaleY(var(--draw));
  transform-origin: top center;
}
.steps.timeline .step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.steps.timeline .num {
  width: 56px;
  height: 56px;
  margin: 4px 0 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  font-size: 26px;
  position: relative;
  z-index: 1;
}
.steps.timeline .step > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 20px 22px 18px;
  margin: 0 0 16px;
}
.step-note { font-size: 14.5px; color: var(--ink2); }
html.motion .steps.timeline .step.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
html.motion .steps.timeline .step.reveal.in {
  opacity: 1;
  transform: none;
}
html.motion .steps.timeline .step.in .num {
  background: var(--deep);
  color: var(--y);
}

.materials {
  display: block;
  margin-top: 36px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--soft);
  border-radius: var(--radius);
}
.materials h3 { margin: 0 0 8px; }
.materials p { margin: 0; }
.materials p + p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e2e2;
}

/* курс и сопровождение */
.band-compare {
  background:
    radial-gradient(820px 380px at 8% 0%, rgba(101, 83, 232, .14), transparent 70%),
    radial-gradient(720px 360px at 100% 100%, rgba(255, 212, 59, .45), transparent 68%),
    #f4f6ff;
}
.compare {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
.compare-card {
  border-radius: 28px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-md);
}
.compare-card h2,
.compare-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 16px;
}
.compare-card p { margin: 0 0 14px; }
.compare-card p:last-child { margin-bottom: 0; }
.compare-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.compare-visual { display: flex; flex-wrap: wrap; gap: 6px; min-height: 44px; margin-bottom: 14px; align-items: center; }
.compare-mentor {
  background: var(--deep);
  color: #f4f5ff;
}
.compare-mentor .compare-kicker { color: var(--y); }
.compare-mentor h2 { color: #fff; }
.compare-mentor p { color: #e4e6f8; }
.compare-mentor .person {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--y);
  box-shadow: 0 0 0 8px rgba(255, 212, 59, .22);
}
.compare-course {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(101, 83, 232, .12);
}
.compare-course .compare-kicker { color: var(--v); }
.compare-course .crowd span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd9f3;
}
.compare-course .crowd span:nth-child(3n) { background: #c9c2f2; }
.compare-course .crowd span:nth-child(5n) { background: #b7b0ea; }
.compare-aside {
  margin-top: 4px;
  padding: 14px 16px;
  background: #fff8dc;
  border-radius: 16px;
  border-left: 4px solid var(--y);
}

.apply { text-align: center; }
.apply .lead { margin-left: auto; margin-right: auto; }
.contact-line {
  margin: 20px auto 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink2);
}
.apply .under {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}
.apply .contact-line + .under { margin-top: 6px; }
@media (min-width: 1024px) {
  .apply .under { max-width: 47.88em; }
}

.form-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  color: var(--ink);
  width: min(640px, calc(100vw - 32px));
  max-width: min(640px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}
.form-dialog::backdrop {
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.form-panel {
  position: relative;
  background: rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -28px rgba(43, 45, 92, .7);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .form-dialog::backdrop { background: rgba(43, 45, 92, .72); }
  .form-panel {
    background: #fff;
    border-color: transparent;
  }
}
.dialog-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 12px 12px 0;
  background: linear-gradient(rgba(255, 255, 255, .55) 60%, rgba(255, 255, 255, 0));
}
.dialog-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.15;
  margin: 0;
  padding: 4px 28px 0;
}
.dialog-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { background: var(--accent-soft); }
.form-dialog .form-card,
.form-dialog .form-ok {
  margin-top: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
.form-dialog .form-card { padding-top: 12px; }

@media (min-width: 720px) {
  .fit-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .compare { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-pill { transition: none; }
  .btn-pill:hover { transform: none; background-position: 130% 0; }
  html.motion .steps.timeline .step.reveal,
  html.motion .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .blob { animation: none; }
  .shot img { transition: none; }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 40;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--v), var(--y));
  transform: scaleX(0);
  transform-origin: left center;
}

.blob-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  opacity: .5;
}
.blob-a {
  width: min(460px, 70vw);
  height: min(460px, 70vw);
  background: #cfc2ff;
  top: -120px;
  left: -80px;
  animation: drift 18s ease-in-out infinite;
}
.blob-b {
  width: min(380px, 60vw);
  height: min(380px, 60vw);
  background: #ffe08a;
  right: -60px;
  top: 40px;
  animation: drift 22s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, 18px, 0) scale(1.06); }
}
@keyframes float-l {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-8px); }
}
@keyframes float-r {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-10px); }
}

html.motion .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
html.motion .reveal.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 760px) {
  .blob { animation: none; filter: blur(28px); opacity: .38; }
  html.motion .reveal { transform: translateY(8px); transition-duration: .35s; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shot:hover img { transform: scale(1.045); }
  .quote:hover, .way:hover, .fit:hover, .compare-card:hover, .price-card:hover, .shot:hover {
    box-shadow: 0 24px 48px -22px rgba(101, 83, 232, .5);
  }
}
[data-tilt] {
  transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform .18s ease, box-shadow .25s ease;
}
html.motion .reveal[data-tilt] { transition: opacity .5s ease, transform .5s ease, box-shadow .25s ease; }
html.motion .reveal[data-tilt].in { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); }

@media (prefers-reduced-motion: reduce) {
  .blob, .blob-a, .blob-b, .who2, .eks { animation: none; }
  .shot img, .faq-a, .faq summary::after, .topnav, .topnav .wrap { transition: none; }
}
