:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --card: #1f1f1f;
  --card-2: #161616;
  --line: rgba(255, 255, 255, .08);
  --white: #fff;
  --muted: rgba(255, 255, 255, .6);
  --muted-2: rgba(255, 255, 255, .7);
  --accent: #929bf3;
  --accent-soft: #e8e9fb;
  --light: #f2f2f2;
  --grad: linear-gradient(90deg, #6071f3 0%, #f8baff 100%);
  --radius-block: 60px;
  --font: "Montserrat", system-ui, sans-serif;
  --font-ua: "e-Ukraine", "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font: 400 16px/1.4 var(--font); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@font-face { font-family: "e-Ukraine"; src: url("fonts/e-Ukraine-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "e-Ukraine"; src: url("fonts/e-Ukraine-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "e-Ukraine"; src: url("fonts/e-Ukraine-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
.accent { color: var(--accent); font-weight: 700; }

.container { width: 100%; max-width: 1760px; margin: 0 auto; padding: 0 40px; }
.block { margin: 0 20px; border-radius: var(--radius-block); position: relative; overflow: hidden; }
.section-title { font-size: 64px; line-height: 1.1; font-weight: 400; text-align: center; letter-spacing: -.02em; }
.section-title--caps { text-transform: uppercase; font-weight: 700; }
.section-sub { color: var(--muted); font-size: 20px; line-height: 1.3; text-align: center; max-width: 880px; margin: 24px auto 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 100px; padding: 0 56px; border-radius: 100px; border: 0;
  background: var(--grad); color: #000; text-decoration: none; cursor: pointer;
  font: 600 18px/1 var(--font); text-transform: uppercase; text-align: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 10px 40px rgba(96, 113, 243, .35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 14px 50px rgba(96, 113, 243, .5); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.btn--white { background: #fff; box-shadow: none; }
.btn--outline {
  min-height: 60px; padding: 0 40px; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .7); font-size: 16px; box-shadow: none;
}
.btn--outline:hover { background: #fff; color: #000; box-shadow: none; }

/* Header */
.header {
  position: absolute; top: 0; left: 20px; right: 20px; z-index: 5; height: 88px;
  border-bottom: 1px solid rgba(255, 255, 255, .05); backdrop-filter: blur(5px);
}
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 150px; height: 48px; }
.nav { display: flex; gap: 40px; }
.nav a { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; text-decoration: none; transition: color .2s; }
.nav a:hover { color: var(--accent); }

/* Hero */
.hero { background: #121212 url("img/hero.webp") center right / cover no-repeat; border-radius: 0 0 var(--radius-block) var(--radius-block); min-height: 900px; display: flex; align-items: center; }
.hero .container { padding-top: 140px; padding-bottom: 80px; }
.hero__inner { max-width: min(1000px, 52vw); }
.hero__label { color: var(--accent); font-size: 20px; font-weight: 500; text-transform: uppercase; }
.hero h1 { margin-top: 28px; font-size: clamp(40px, 3.35vw, 64px); line-height: 1.1; font-weight: 400; letter-spacing: -.02em; }
.hero__last { white-space: nowrap; }
.hero__badge br { white-space: normal; }
/* Design: two lines on the same line as «запустити рекламу», translucent white, turned a little. */
.hero__badge {
  display: inline-block; vertical-align: -.55em; margin-left: .25em; padding: 8px 16px;
  background: rgba(255, 255, 255, .1); border-radius: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--accent); font-size: .5em; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; transform: rotate(-4deg);
}
.hero__text { margin-top: 44px; max-width: min(690px, 46vw); color: var(--muted-2); font-size: 20px; line-height: 1.3; }
.hero__text strong { color: #fff; font-weight: 700; }
.hero__honest { margin-top: 24px; font-size: 20px; font-weight: 700; }
.hero__honest span { color: var(--accent); }
.hero__cta { margin-top: 70px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.hero__cta .btn { min-width: 436px; }
.hero__free b { display: block; font-size: 40px; line-height: 1.2; font-weight: 700; color: var(--accent); }
.hero__free li { position: relative; padding-left: 16px; font-size: 16px; line-height: 1.25; }
.hero__free li::before { content: "·"; position: absolute; left: 2px; }

/* Before / now */
.about { margin-top: 0; background: #141414; padding: 110px 0; }
.about .section-title { font-size: 48px; line-height: 1.2; }
.about .section-title strong { display: block; color: var(--accent); }
.compare {
  margin: 64px auto 0; max-width: 1460px; display: grid; grid-template-columns: 1fr 1.2fr 1.2fr;
  position: relative; background: var(--card); border-radius: 24px;
}
.compare__col { display: grid; grid-template-rows: 70px repeat(4, 70px); }
.compare__col > * { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 16px; }
.compare__col > *:last-child { border-bottom: 0; }
.compare__col + .compare__col { border-left: 1px solid rgba(255, 255, 255, .04); }
.compare__head { color: var(--accent); font-size: 20px !important; font-weight: 700; text-transform: uppercase; }
.compare__name { font-weight: 600; font-size: 18px !important; }
.compare__col--now { position: relative; }
.compare__col--now::before {
  content: ""; position: absolute; inset: -8px -8px -8px -8px; border-radius: 28px; padding: 7px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.compare__label { display: none; }

/* Route steps */
.route { padding: 120px 0 60px; }
.steps { margin-top: 64px; display: grid; gap: 28px; position: relative; }
.step { display: grid; grid-template-columns: 1fr 590px; align-items: stretch; position: relative; }
.step__body { background: var(--card-2); border-radius: 50px 0 0 50px; padding: 60px 60px 60px 160px; display: flex; flex-direction: column; justify-content: center; position: relative; margin-right: -40px; }
.step__num {
  position: absolute; left: 30px; top: 50%; transform: translateY(-50%); width: 90px; height: 90px; border-radius: 50%;
  background: var(--grad); color: #000; display: grid; place-items: center; font-size: 24px; font-weight: 600;
}
.step h3 { font-size: 32px; line-height: 1.3; font-weight: 500; max-width: 760px; }
.step p { margin-top: 24px; color: var(--muted); font-size: 24px; line-height: 1.3; max-width: 700px; }
.step__img { position: relative; z-index: 1; border-radius: 50px; padding: 8px; background: var(--grad); }
.step__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 44px; background: #000; aspect-ratio: 1012 / 800; }

/* Lessons */
.lessons { background: var(--light); color: #000; padding: 120px 0; }
.lessons .section-title { color: #000; }
.lessons__list { margin-top: 64px; display: grid; gap: 22px; }
.lesson {
  background: #fff; border-radius: 40px; padding: 44px 44px 44px 260px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.lesson__tag {
  position: absolute; top: 0; left: 0; background: #000; color: #fff; border-radius: 40px 0 24px 0;
  padding: 14px 40px; font-size: 20px; font-weight: 600; text-transform: uppercase;
}
.lesson h3 { font-size: 32px; line-height: 1.2; font-weight: 700; }
.lesson p { background: var(--accent-soft); border-radius: 20px; padding: 24px 32px; font-size: 18px; line-height: 1.45; color: rgba(0, 0, 0, .8); }

/* Speakers */
.speakers { padding: 120px 0 0; }
.speakers__stage { margin-top: 60px; min-height: 930px; background: #111 url("img/speakers.webp") center bottom / cover no-repeat; border-radius: var(--radius-block); }
.speakers__stage .container { display: flex; justify-content: space-between; gap: 40px; padding-top: 90px; padding-bottom: 90px; }
.speaker { width: min(560px, 29vw); display: flex; flex-direction: column; }
.speaker__head { min-height: 300px; }
.speaker__ava { display: none; }
.speaker h3 { font-size: 48px; line-height: 1.1; font-weight: 600; }
.speaker__role { margin-top: 24px; color: var(--muted-2); font-size: 20px; font-weight: 500; }
.speaker__facts { display: grid; gap: 18px; }
.speaker__facts li {
  position: relative; padding: 22px 24px 22px 80px; border-radius: 20px; font-size: 16px; line-height: 1.4;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px);
}
.speaker__facts li::before {
  content: ""; position: absolute; left: 22px; top: 22px; width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23929BF3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='m3 8.5 3.2 3.2L13 4.5'/%3E%3C/svg%3E") center no-repeat;
}
.speaker__facts b { color: var(--accent); font-weight: 700; }

/* Audience */
.audience { padding: 140px 0 120px; }
.audience .section-title strong { color: var(--accent); font-weight: 700; }
.grid-who {
  margin: 64px auto 0; max-width: 1574px; border-radius: 50px; overflow: hidden; background: var(--card);
  border: 1px solid rgba(255, 255, 255, .08); display: grid; grid-template-columns: repeat(6, 1fr);
}
.who { grid-column: span 3; padding: 50px 40px; text-align: center; border: 1px solid rgba(255, 255, 255, .08); margin: -1px 0 0 -1px; }
.who:nth-child(3), .who:nth-child(4), .who:nth-child(5) { grid-column: span 2; }
.who__icon { font-size: 32px; line-height: 1; }
.who p { margin-top: 32px; font-size: 20px; line-height: 1.4; }
.audience__cta { margin-top: 70px; text-align: center; }
.audience__cta p { font-size: 32px; line-height: 1.2; font-weight: 500; }
.audience__cta .btn { margin-top: 40px; min-width: 474px; }

/* Reviews */
.reviews { padding: 120px 0; background: radial-gradient(60% 50% at 50% 55%, rgba(124, 104, 214, .45), rgba(10, 10, 10, 0) 70%), var(--bg); }
.reviews .section-title { font-size: 48px; font-weight: 500; }
.reviews .section-sub { font-size: 18px; font-family: var(--font-ua); }
.review { font-family: var(--font-ua); }
.slider { margin-top: 56px; position: relative; }
.slider__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px 4px 12px;
}
.slider__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 72px) / 4); min-width: 300px; scroll-snap-align: start;
  background: #212226; border: 8px solid rgba(255, 255, 255, .05); background-clip: padding-box; border-radius: 28px; padding: 28px;
}
.review__head { display: flex; align-items: center; gap: 16px; }
.review__ava { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px; background: radial-gradient(circle at 70% 75%, #7a6ad8, #272449 70%); border: 1px solid #c9a8f5; }
.review__name { font-size: 20px; font-weight: 500; }
.review p { margin-top: 20px; font-size: 16px; line-height: 1.45; }
.slider__nav { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }
.slider__btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06);
  color: #fff; font-size: 22px; cursor: pointer; transition: background .2s;
}
.slider__btn:hover { background: rgba(255, 255, 255, .15); }

/* FAQ */
.faq { padding: 120px 0; }
.faq .section-title strong { color: var(--accent); font-weight: 700; }
.faq__list { margin-top: 64px; display: grid; gap: 28px; }
.faq details { border-radius: 40px; background: #1a1a1a; border: 1px solid rgba(255, 255, 255, .06); transition: background .2s; }
.faq details[open] { background: var(--light); color: #1f1f1f; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 40px; padding: 30px 30px 30px 30px;
  font-size: 24px; line-height: 1.3; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__q { width: 70px; height: 70px; flex: none; border-radius: 50%; background: #222; display: grid; place-items: center; }
.faq details[open] .faq__q { background: #fff; }
.faq__q::before { content: "?"; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 16px; font-weight: 800; }
.faq details[open] .faq__q::before { background: #000; color: #fff; }
.faq__t { flex: 1; }
.faq__pm { width: 70px; height: 70px; flex: none; border-radius: 16px; background: var(--grad); position: relative; }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 2px; background: #000; transform: translate(-50%, -50%); }
.faq__pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq details[open] .faq__pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 130px 36px 140px; font-size: 18px; line-height: 1.5; font-weight: 500; color: rgba(0, 0, 0, .6); }

/* Final */
.final { padding: 40px 0 120px; }
.final__box { max-width: 1360px; margin: 0 auto; border-radius: 50px; padding: 8px; background: var(--grad); }
.final__inner { border-radius: 44px; background: #131313; padding: 90px 40px; text-align: center; }
.final h2 { font-size: 48px; line-height: 1.2; font-weight: 400; }
.final h2 strong { color: var(--accent); font-weight: 700; }
.final .btn { margin-top: 50px; min-width: 430px; }

/* Footer */
.footer { background: #000; padding: 36px 0 30px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer .nav { padding-top: 6px; }
.socials { display: flex; gap: 20px; }
.socials a { width: 28px; height: 28px; display: grid; place-items: center; opacity: .95; transition: opacity .2s; }
.socials a:hover { opacity: .7; }
.socials svg { width: 24px; height: 24px; fill: #fff; }
.footer__bottom { margin-top: 60px; display: flex; justify-content: space-between; font-size: 14px; }

/* Popup (design: dark card on the hero background inside a translucent frame) */
.popup {
  border: 0; padding: 0; background: transparent; color: #fff; width: min(620px, calc(100vw - 20px)); max-width: none; max-height: none;
  margin: auto; overflow: visible;
}
.popup[open] { display: flex; animation: pop .3s ease; }
.popup::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.popup__card { position: relative; width: 100%; margin: auto; padding: 20px; border-radius: 60px; background: rgba(255, 255, 255, .1); }
.popup__body {
  position: relative; border-radius: 44px; border: 2px solid rgba(255, 255, 255, .12); padding: 64px 38px 48px;
  background: #000 url("img/hero.webp") 30% center / cover no-repeat; overflow: hidden;
}
.popup__body::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #000 35%, rgba(0, 0, 0, 0) 75%); pointer-events: none; }
.popup__body > * { position: relative; }
.popup__close {
  position: absolute; top: 18px; right: 18px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s;
}
.popup__close:hover { background: rgba(255, 255, 255, .25); }
.popup h2 { font-size: 32px; line-height: 1.2; font-weight: 700; text-align: center; }
.form { margin-top: 32px; display: grid; gap: 12px; }
.form input {
  width: 100%; height: 64px; padding: 0 20px; border-radius: 20px; border: 1px solid transparent; background: #f2f2f2;
  font: 500 16px var(--font); color: #000; outline: none; transition: border-color .2s, background .2s;
}
.form input::placeholder { color: rgba(0, 0, 0, .5); }
.form input:focus { border-color: #000; background: #fff; }
.form input:user-invalid { border-color: #e5484d; }
.form .btn { margin-top: 20px; min-height: 80px; width: 100%; padding: 0 24px; border: 2px solid #fff; font-size: 16px; }
.form__note { margin-top: 8px; font-size: 12px; line-height: 1.4; font-weight: 500; text-align: center; color: rgba(255, 255, 255, .7); }
.form__error { color: #ff8a8a; font-size: 14px; text-align: center; }
.form__legal { font-size: 11px; text-align: center; color: rgba(255, 255, 255, .45); }
.form__legal a { color: inherit; }

/* Quiz & thanks */
.page-success { background: radial-gradient(55% 75% at 100% 100%, rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 70%), #000; background-attachment: fixed; }
.success { min-height: calc(100vh - 120px); padding: 90px 0 60px; }
.success--thanks { display: flex; align-items: center; }
.success--thanks .container { width: 100%; }
.success__box { max-width: 1204px; margin: 0 auto; text-align: center; }
.success h1 { font-size: 64px; line-height: 1.1; font-weight: 700; }
.success__sub { margin-top: 16px; font-size: 24px; line-height: 1.3; color: rgba(255, 255, 255, .85); }
.success__loading { margin-top: 48px; color: var(--accent); font-size: 18px; font-weight: 600; text-transform: uppercase; }
.meter { margin: 16px auto 0; max-width: 876px; height: 64px; padding: 6px; border: 3px solid #fff; border-radius: 40px; }
.meter__fill { position: relative; height: 100%; width: 0; min-width: 116px; border-radius: 32px; background: var(--grad); }
.meter__shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.meter__shine::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); animation: shimmer 1.8s 1.6s ease-in-out infinite;
}
.meter__pct b { font-weight: 700; }
.meter__pct {
  position: absolute; right: 2px; top: 2px; bottom: 2px; z-index: 1; min-width: 110px; padding: 0 18px; border-radius: 30px;
  display: flex; align-items: center; justify-content: center; background: #111; color: #fff; font-size: 28px; font-weight: 700;
  box-shadow: 0 0 0 2px #e8b6ff;
}
.success__text { margin: 64px auto 0; max-width: 640px; font-size: 20px; line-height: 1.4; }
.quiz { margin-top: 40px; background: var(--light); color: #000; border-radius: 40px; padding: 40px 40px 48px; text-align: left; }
.quiz__top { display: flex; align-items: center; gap: 24px; font-size: 16px; }
.quiz__line { flex: 1; height: 4px; border-radius: 4px; background: #fff; overflow: hidden; }
.quiz__line b { display: block; height: 100%; width: 25%; background: #000; border-radius: inherit; transition: width .4s ease; }
.quiz fieldset { border: 0; margin: 40px 0 0; padding: 0 0 0 128px; min-width: 0; }
.quiz legend { float: left; width: 100%; font-size: 24px; font-weight: 700; padding: 0; margin: 0 0 20px -60px; }
.quiz legend::before { content: attr(data-n) " →"; display: inline-block; width: 60px; font-size: 22px; }
.quiz label { clear: both; display: flex; align-items: center; gap: 14px; margin: 4px 0; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; font-size: 18px; cursor: pointer; transition: background .15s, border-color .15s; }
.quiz label:hover { background: rgba(146, 155, 243, .08); }
.quiz label:has(input:checked) { background: rgba(146, 155, 243, .18); border-color: var(--accent); }
.quiz input[type="radio"] { width: 24px; height: 24px; margin: 0; accent-color: #6071f3; flex: none; }
.quiz__error { margin-top: 10px; color: #d0302f; font-size: 14px; }
.quiz__nav { margin: 24px 0 0 -128px; padding: 20px 0 0 120px; border-top: 1px solid rgba(0, 0, 0, .12); display: flex; gap: 12px; }
.quiz__btn { width: 48px; height: 48px; border-radius: 8px; border: 1px solid #c9c9c9; background: transparent; font-size: 20px; cursor: pointer; transition: filter .2s; }
.quiz__btn:hover { filter: brightness(.95); }
.quiz__btn--next { border: 0; background: #929bf3; color: #000; }
.quiz__btn--submit { width: auto; padding: 0 24px; font: 600 15px var(--font); text-transform: uppercase; }
.tg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin-top: 56px; min-height: 68px; min-width: 344px; padding: 0 40px; border-radius: 12px;
  background: linear-gradient(90deg, #2089d8, #36b2e1); color: #fff; text-decoration: none; font: 700 16px var(--font-ua); text-transform: uppercase;
  transition: filter .2s, transform .2s;
}
.tg-btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.tg-btn svg { width: 26px; height: 26px; fill: #fff; }
.footer--simple { background: transparent; padding: 24px 0 32px; }
.footer--simple .container { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer--simple .logo img { width: 130px; height: auto; }
.footer__legal { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* Legal */
.legal { min-height: 80vh; padding: 160px 0 100px; background: radial-gradient(70% 90% at 100% 100%, rgba(255, 255, 255, .35), rgba(0, 0, 0, 0) 70%), #000; }
.legal__box { max-width: 1010px; margin: 0 auto; }
.legal h1 { font-size: 64px; font-weight: 600; line-height: 1.1; }
.legal p { margin-top: 32px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .85); }

/* Motion */
.btn:not(.btn--outline):not(.btn--white) { animation: pulse 2s ease-in-out infinite; }
.btn--white { animation: pulse-white 2s ease-in-out infinite; }
.form .btn { animation: none; }
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 10px 40px rgba(96, 113, 243, .35); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 10px 60px rgba(248, 186, 255, .55); }
}
@keyframes pulse-white {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { transform: scale(1.04); box-shadow: 0 0 40px rgba(255, 255, 255, .35); }
}
.btn:hover { animation-play-state: paused; }

@keyframes shimmer { to { transform: translateX(100%); } }
.success__loading::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes reveal { from { opacity: 0; transform: translateY(16px); } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 1700px) and (min-width: 701px) {
  .hero { background: linear-gradient(#121212 24%, rgba(18, 18, 18, 0) 40%), #121212 url("img/hero.webp") right bottom / auto 76% no-repeat; }
  .hero__inner { max-width: 50vw; }
}

/* ===== Tablet ===== */
@media (max-width: 1280px) {
  .section-title, .hero h1 { font-size: 52px; }
  .step { grid-template-columns: 1fr 440px; }
  .lesson { padding-left: 60px; padding-top: 80px; }
  .faq__a { padding: 0 40px 36px 140px; }
}

/* ===== Phone ===== */
@media (max-width: 700px) {
  .container { padding: 0 16px; }
  .block { margin: 0 8px; border-radius: 32px; }
  .section-title, .about .section-title, .reviews .section-title, .final h2 { font-size: 30px; line-height: 1.15; }
  .section-sub { font-size: 15px; margin-top: 16px; }
  .btn { min-height: 64px; padding: 0 24px; font-size: 15px; width: 100%; }

  .header { left: 8px; right: 8px; height: 64px; }
  .header .nav, .header .btn--outline { display: none; }
  .logo img { width: 110px; height: 35px; }

  .hero { background: linear-gradient(#121212 calc(100% - 92vw), rgba(18, 18, 18, 0) calc(100% - 70vw)), #121212 url("img/hero-m.webp") center bottom / 100% auto no-repeat; border-radius: 0 0 32px 32px; min-height: 0; align-items: flex-start; }
  .hero .container { padding-top: 90px; padding-bottom: 88vw; }
  .hero__inner, .hero__text { max-width: none; }
  .hero__label { font-size: 14px; }
  .hero h1 { margin-top: 14px; font-size: 32px; }
  .br-d { display: none; }
  .hero__last { white-space: normal; }
  .hero__badge { display: block; width: fit-content; margin: 10px 4px 0 auto; font-size: 16px; padding: 4px 8px; border-radius: 10px; }
  .hero__text, .hero__honest { font-size: 15px; }
  .hero__text { margin-top: 24px; }
  .hero__cta { margin-top: 32px; gap: 20px; flex-direction: column; text-align: center; }
  .hero__cta .btn { min-width: 0; }
  .hero__free b { font-size: 28px; }
  .hero__free ul { display: inline-block; text-align: left; font-size: 13px; }

  .about { padding: 60px 0; }
  .compare { grid-template-columns: 1fr; background: transparent; gap: 24px; margin-top: 32px; }
  .compare__col--names { display: none; }
  .compare__col { grid-template-rows: auto; background: var(--card); border-radius: 24px; border: 0 !important; }
  .compare__col > * { min-height: 0; padding: 14px 16px; flex-direction: column; gap: 6px; font-size: 14px; }
  .compare__label { display: block; font-weight: 600; font-size: 16px; }
  .compare__head { padding: 18px !important; }
  .compare__col--now::before { inset: -6px; padding: 6px; border-radius: 28px; }

  .route { padding: 70px 0 30px; }
  .steps { margin-top: 32px; gap: 20px; }
  .step { grid-template-columns: 1fr; }
  .step__body { margin: 0 0 -30px; border-radius: 28px 28px 0 0; padding: 28px 20px 56px 20px; }
  .step__num { position: static; transform: none; width: 52px; height: 52px; font-size: 16px; margin-bottom: 16px; }
  .step h3 { font-size: 20px; }
  .step p { font-size: 15px; margin-top: 12px; }
  .step__img { border-radius: 28px; padding: 5px; }
  .step__img img { border-radius: 24px; }

  .lessons { padding: 60px 0; }
  .lessons__list { margin-top: 32px; gap: 16px; }
  .lesson { grid-template-columns: 1fr; padding: 64px 16px 16px; gap: 16px; border-radius: 24px; }
  .lesson__tag { font-size: 14px; padding: 10px 24px; border-radius: 24px 0 16px 0; }
  .lesson h3 { font-size: 20px; }
  .lesson p { font-size: 14px; padding: 16px; border-radius: 14px; }

  .speakers { padding: 70px 0 0; }
  .speakers__stage { margin-top: 32px; min-height: 0; background: linear-gradient(#141414 calc(100% - 96vw), rgba(20, 20, 20, 0) calc(100% - 70vw)), #141414 url("img/speakers-m.webp") center bottom / 100% auto no-repeat; }
  .speakers__stage .container { flex-direction: column; padding-top: 32px; padding-bottom: 92vw; gap: 40px; }
  .speaker { width: 100%; }
  .speaker__head { min-height: 0; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; margin-bottom: 20px; }
  .speaker__ava { display: block; width: 48px; height: 48px; border-radius: 50%; grid-row: span 2; }
  .speaker h3 { font-size: 22px; }
  .speaker__role { margin-top: 4px; font-size: 14px; }
  .speaker__facts li { font-size: 14px; padding: 16px 16px 16px 62px; }
  .speaker__facts li::before { left: 16px; top: 16px; width: 30px; height: 30px; }

  .audience { padding: 70px 0 60px; }
  .grid-who { grid-template-columns: 1fr; border-radius: 28px; margin-top: 32px; }
  .who, .who:nth-child(3), .who:nth-child(4), .who:nth-child(5) { grid-column: auto; padding: 24px 16px; }
  .who p { margin-top: 14px; font-size: 15px; }
  .audience__cta { margin-top: 40px; }
  .audience__cta p { font-size: 20px; }
  .audience__cta .btn { min-width: 0; margin-top: 24px; }

  .reviews { padding: 70px 0; }
  .review { flex-basis: 86%; min-width: 0; padding: 20px; }
  .review p { font-size: 14px; }

  .faq { padding: 60px 0; }
  .faq__list { margin-top: 32px; gap: 14px; }
  .faq details { border-radius: 24px; }
  .faq summary { gap: 14px; padding: 16px; font-size: 16px; }
  .faq__q { width: 40px; height: 40px; }
  .faq__q::before { width: 20px; height: 20px; font-size: 12px; }
  .faq__pm { width: 40px; height: 40px; border-radius: 10px; }
  .faq__pm::before, .faq__pm::after { width: 16px; }
  .faq__a { padding: 0 16px 20px; font-size: 14px; }

  .final { padding: 20px 0 60px; }
  .final__box { border-radius: 30px; padding: 5px; }
  .final__inner { border-radius: 26px; padding: 40px 16px; }
  .final .btn { min-width: 0; margin-top: 28px; }

  .footer__top { flex-direction: column; align-items: center; gap: 24px; }
  .footer .nav { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
  .footer__bottom { flex-direction: column-reverse; align-items: center; gap: 12px; margin-top: 32px; }

  .popup__card { padding: 10px; border-radius: 50px; }
  .popup__body { border-radius: 40px; padding: 40px 18px 32px; }
  .popup__close { top: 14px; right: 14px; width: 34px; height: 34px; font-size: 20px; }
  .popup h2 { font-size: 24px; }
  .form { margin-top: 24px; }
  .form .btn { min-height: 72px; margin-top: 12px; padding: 0 12px; font-size: 15px; white-space: nowrap; }

  .page-success { background: radial-gradient(90% 45% at 100% 100%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%), #000; }
  .success { padding: 48px 0 32px; min-height: calc(100vh - 110px); }
  .success h1 { font-size: 34px; }
  .success__sub { font-size: 17px; }
  .success__loading { margin-top: 28px; font-size: 14px; }
  .meter { height: 44px; padding: 4px; border-width: 2px; }
  .meter__fill { min-width: 76px; }
  .meter__pct { min-width: 70px; padding: 0 10px; font-size: 18px; }
  .success__text { margin-top: 32px; font-size: 16px; }
  .quiz { padding: 20px 16px 24px; border-radius: 24px; margin-top: 28px; }
  .quiz__top { gap: 14px; font-size: 14px; }
  .quiz fieldset { padding-left: 0; margin-top: 24px; }
  .quiz legend { margin-left: 0; font-size: 18px; }
  .quiz legend::before { width: auto; margin-right: 8px; font-size: 16px; }
  .quiz label { font-size: 16px; }
  .quiz__nav { margin-left: 0; padding-left: 0; }
  .tg-btn { min-width: 0; width: 100%; margin-top: 36px; }
  .legal { padding: 100px 0 60px; }
  .legal h1 { font-size: 32px; }
  .legal p { font-size: 15px; margin-top: 20px; }
}
