/* ===== Токени з макета ===== */
:root {
  --blue: #466bff;          /* «Основной цвет AI» */
  --blue-dark: #1c37a3;
  --blue-10: rgba(70, 107, 255, .1);
  --yellow: #fffcaa;
  --yellow-ink: #37360c;
  --gray: #b1b1b1;
  --faq-bg: #f2f6fa;
  --red: #ff482a;
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: #000;
  color: #000;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
ul { list-style: none; }
a { color: inherit; }
b { font-weight: 600; }

/* Обрізка тексту по висоті великих літер — як у Figma (text-box-trim). */
h1, h2, h3, p { text-box: trim-both cap alphabetic; }

.blue { color: var(--blue); }
.ink { color: #000; }
.cover { object-fit: cover; }
.fill { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== Каркас ===== */
.screen { position: relative; overflow: hidden; }
.screen--dark { background: #000; color: #fff; }
.screen--light { background: #fff; color: #000; }
.wrap { position: relative; width: 100%; max-width: 390px; margin: 0 auto; }
.col {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 30px 20px;
}
.col--32 { gap: 32px; }

/* ===== Типографіка ===== */
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.eyebrow { font-weight: 500; font-size: 16px; line-height: 1.09; letter-spacing: -.8px; }
.h-xl { font-weight: 700; font-size: 50px; line-height: 1.09; letter-spacing: -2.5px; }
.h-lg { font-weight: 700; font-size: 30px; line-height: 1.09; letter-spacing: -1.5px; text-align: center; }
.lead { font-size: 16px; line-height: 1.09; letter-spacing: -.8px; text-align: center; max-width: 320px; }

/* ===== Кнопка ===== */
.btn {
  position: relative; flex: none;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; height: 65px; padding: 0 16px;
  border-radius: 100px; background: var(--blue);
  color: #fff; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: 23px; line-height: 1.3; letter-spacing: -1.15px;
  box-shadow: 0 2px 50px rgba(70, 107, 255, .4), 0 4px 0 var(--blue-dark);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 1.142px 1.142px 22.837px rgba(255, 255, 255, .6);
}
.btn:active { transform: translateY(3px); box-shadow: 0 2px 50px rgba(70, 107, 255, .4), 0 1px 0 var(--blue-dark); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.screen--light .btn:focus-visible { outline-color: var(--blue-dark); }
.btn--upper { text-transform: uppercase; }
.btn__old {
  position: relative; display: inline-flex; align-items: center;
  padding-left: 2.19px; font-weight: 400; font-size: 20px; letter-spacing: -1px; opacity: .5;
}
.btn__old img { position: absolute; left: 0; top: 50%; width: 75px; height: 1px; }

/* ===== Стікер ===== */
.sticker {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--yellow); color: var(--yellow-ink);
  font-weight: 600; line-height: 1.3; white-space: nowrap; text-box: none;
}

/* ===== Чіп ===== */
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 30px; padding: 0 10px; border-radius: 100px; background: var(--blue-10);
  color: var(--blue); font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: -.56px; white-space: nowrap;
}
.chip--lg { font-weight: 500; font-size: 16px; letter-spacing: -.8px; }

.crop { position: relative; overflow: hidden; border-radius: 10px; }
.crop > img { position: absolute; }

/* Декоративна текстура (image 171352) */
.texture { position: absolute; mix-blend-mode: lighten; pointer-events: none; }
.texture__in { position: absolute; inset: 0; overflow: hidden; opacity: .23; }
.texture__in img { position: absolute; height: 152.45%; left: -14.14%; top: -52.45%; width: 114.14%; }

/* ================= 1. HERO ================= */
.hero__wrap { height: 816px; }
.hero__grid .vline { position: absolute; top: 0; width: 1px; height: 476px; opacity: .18; }
.hero__grid .vline img { position: absolute; left: 1px; top: 0; width: 476px; height: 1px; transform-origin: 0 0; transform: rotate(90deg); }
.hero__grid .hline { position: absolute; left: -105px; width: 842.565px; height: 1px; opacity: .18; }
.hero__grid .hline img { width: 100%; height: 1px; transform: rotate(180deg); }

.hero__head {
  position: absolute; left: 20px; right: 20px; top: 50px;
  display: flex; flex-direction: column; align-items: center; gap: 15px; z-index: 1;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 15px;
  background: #fff; color: #000; border-radius: 12.581px;
  font-weight: 600; font-size: 13px; line-height: 1.155; letter-spacing: -.52px;
}
.badge > span:first-child { text-box: trim-both cap alphabetic; }
.badge__dot { position: relative; width: 5.846px; height: 6px; }
.badge__dot img { position: absolute; inset: -44.23% -45.39%; width: calc(100% + 90.78%); height: calc(100% + 88.46%); }
.hero__title {
  font-weight: 700; font-size: 30px; line-height: 1.09; letter-spacing: -1.5px;
  text-transform: uppercase; text-align: center;
}

.hero__glow { position: absolute; left: calc(50% + 6.17px); top: calc(50% + 20.17px); width: 164.339px; height: 164.339px; transform: translate(-50%, -50%); }
.hero__glow img { position: absolute; inset: -73.55%; width: 247.1%; height: 247.1%; }
.hero__img { position: absolute; left: 20px; top: 235px; width: calc(100% - 40px); max-width: 350px; aspect-ratio: 1; height: auto; object-fit: cover; }
.hero__fade { position: absolute; left: 0; right: 0; top: 400px; height: 186px; background: linear-gradient(to top, #000, rgba(0, 0, 0, 0)); }

.hero__bottom {
  position: absolute; left: 20px; right: 20px; bottom: 50px; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
}
.bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bullet {
  display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px; overflow: hidden;
  background: rgba(70, 107, 255, .1); border: .5px solid var(--blue); border-radius: 10px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; letter-spacing: -.7px; white-space: nowrap;
}
.bullet img { flex: none; }

.bonus {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 16px; border-radius: 15px;
  background: rgba(0, 0, 0, .1); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(37px); backdrop-filter: blur(37px);
}
.bonus__text { display: flex; flex-direction: column; gap: 10px; max-width: 191px; }
.bonus__title { max-width: 164px; font-weight: 500; font-size: 14px; line-height: 1.1; letter-spacing: -.8px; }
.bonus__desc { font-size: 10px; line-height: 1.3; letter-spacing: -.5px; }
.bonus__sep { position: relative; flex: none; width: 1px; height: 71px; }
.bonus__sep img { position: absolute; left: 1px; top: 0; width: 71px; height: 1px; transform-origin: 0 0; transform: rotate(90deg); }
.timer {
  display: flex; align-items: center; flex: none;
  font-weight: 500; font-size: 39.805px; line-height: 1; letter-spacing: -1.99px;
  font-variant-numeric: tabular-nums;
}
.timer__colon { font-family: 'Inter Tight', var(--font); font-weight: 700; letter-spacing: -.8px; margin: 0 4px 4px; }

.hero__lorem {
  position: absolute; color: rgba(255, 255, 255, .3); text-transform: lowercase;
  font-family: 'Inter', var(--font); pointer-events: none; user-select: none;
}
.hero__lorem--1 { left: -33px; top: 232px; width: 117px; font-size: 8.598px; filter: blur(.935px); }
.hero__lorem--2 { left: 298px; top: 253px; width: 169px; font-size: 12.419px; filter: blur(1.625px); }

.texture--hero-l { left: 0; top: 0; width: 161px; height: 163.284px; transform: rotate(180deg); }
.texture--hero-r { right: 0; top: 0; width: 161px; height: 163.284px; transform: scaleY(-1); }

/* ================= 2. АВТОР ================= */
.gallery { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.gallery__row { display: grid; }
.gallery__row--2 { grid-template-columns: 171fr 173fr; gap: 6px; height: 198px; }
.gallery__row--3 { grid-template-columns: 113fr 114fr 113fr; gap: 5px; height: 175px; }
.gallery__row--3 img { width: 100%; height: 100%; border-radius: 10px; }

.brands { display: flex; flex-direction: column; align-items: center; gap: 15px; width: 256px; }
.brands__title { font-weight: 600; font-size: 24px; line-height: 1.09; letter-spacing: -1.2px; color: var(--blue); text-align: center; }
.brands__row { display: flex; align-items: center; gap: 8px; flex: none; }
.brand { position: relative; flex: none; overflow: hidden; border-radius: 8px; box-shadow: 0 3.827px 6.698px rgba(0, 0, 0, .11); }
.brand img { position: absolute; }
.brand--side { width: 171px; height: 67px; opacity: .4; }
.brand--main { width: 258px; height: 106px; background: #fff; }

.devils { position: relative; width: 100%; height: 121px; overflow: hidden; border-radius: 20px; background: #000; color: #fff; }
.devils__glow { position: absolute; left: 179px; top: 60px; width: 105px; height: 105px; mix-blend-mode: screen; }
.devils__glow img { position: absolute; inset: -142.86%; width: 385.72%; height: 385.72%; }
.devils__photo { position: absolute; left: 144px; top: -31px; width: 226px; height: 293px; }
.devils__body { position: absolute; left: 20px; top: 20px; width: 163px; display: flex; flex-direction: column; gap: 10px; }
.devils__logo { width: 40px; height: 40px; border-radius: 12px; border: .5px solid rgba(255, 255, 255, .4); }
.devils__body p { font-size: 16px; letter-spacing: -.64px; }
.devils__brand { color: var(--red); }

.stat, .video {
  position: relative; width: 100%; overflow: hidden; border-radius: 20px; background: #fff;
  box-shadow: 0 3.827px 6.698px rgba(0, 0, 0, .11);
}
.stat { height: 195px; }
.stat__photo { position: absolute; left: 20px; top: 20px; width: 115px; height: 155px; }
.stat__body { position: absolute; right: 20px; top: 20px; width: 162px; display: flex; flex-direction: column; gap: 15px; }
.stat__text { font-size: 16px; line-height: 1.29; letter-spacing: -.64px; }
.stat__num { font-weight: 700; font-size: 54px; line-height: 1.29; letter-spacing: -2.16px; color: var(--blue); }
.stat__bars { display: flex; align-items: flex-end; gap: 5px; }
.stat__bars span { width: 37px; border-radius: 5px; background: var(--blue); }
.stat__bars span:nth-child(2), .stat__bars span:nth-child(3) { width: 36px; }

.video { height: 263px; }
.video__cover { position: absolute; left: 20px; right: 20px; top: 20px; height: 155px; }
.video__play {
  position: absolute; left: 50%; top: 97.5px; width: 48px; height: 48px; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(70, 107, 255, .5); -webkit-backdrop-filter: blur(.923px); backdrop-filter: blur(.923px);
  transition: transform .15s ease;
}
.video__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video__play img { width: 23.51px; height: 23.51px; margin-left: 1px; }
.video__text { position: absolute; left: 20px; right: 20px; top: 190px; font-size: 16px; line-height: 1.29; letter-spacing: -.64px; }

/* ================= 3. УРОКИ ================= */
.lesson { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.lesson__media {
  position: relative; height: 153px; overflow: hidden; isolation: isolate;
  background: #000; border: .5px solid var(--blue); border-radius: 20px;
}
.lesson__decor { position: absolute; inset: -.5px; }
.d { position: absolute; }
.d__in { position: absolute; inset: 0; }
.d__img { position: absolute; }
.d__img img { width: 100%; height: 100%; }
.lesson__fade { position: absolute; left: -.5px; width: 350px; height: 56px; background: linear-gradient(to top, #000, rgba(0, 0, 0, 0)); }
.lesson__title { font-weight: 600; font-size: 18px; line-height: 1.29; letter-spacing: -.9px; }
.lesson__text { font-size: 16px; line-height: 1.29; letter-spacing: -.8px; }

/* ================= 4. ЩО МАТИМЕШ ================= */
.outcome { padding-bottom: 46px; }
.outcome__title { max-width: 228px; line-height: 1.29; }
.outcome__lead { line-height: 1.29; }
.outcome__img { position: relative; flex: none; width: 440px; height: 284px; margin: -12px 0 -24px; overflow: hidden; }
.outcome__img img { position: absolute; }
.outcome__fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 45.693%, #fff); }
.outcome__text { max-width: none; line-height: 1.29; }

/* ================= 5. РЕЗУЛЬТАТИ ================= */
.results { position: relative; width: 100%; height: 268px; }
.result { position: absolute; inset: 0; display: none; }
.result.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.result__card {
  position: absolute; left: 16px; right: 16px; top: 18px; bottom: 0;
  overflow: hidden; border-radius: 20px; background: var(--blue); color: #fff;
}
.texture--res-r { left: 160px; top: 0; width: 158px; height: 160px; transform: scaleY(-1); }
.texture--res-l { left: 0; top: 90px; width: 158px; height: 160px; transform: scaleX(-1); }
.result__glow { position: absolute; left: calc(50% + 115.5px); top: calc(50% - 143.5px); width: 229px; height: 229px; transform: translate(-50%, -50%); mix-blend-mode: plus-lighter; pointer-events: none; }
.result__glow img { position: absolute; inset: -70.84%; width: 241.68%; height: 241.68%; }
.result__body { position: absolute; left: 20px; right: 20px; top: 20.18px; display: flex; flex-direction: column; gap: 14px; }
.result__head { display: flex; align-items: center; gap: 8px; }
.result__head > img { width: 51px; height: 51px; border-radius: 50%; }
.result__who { display: flex; flex-direction: column; gap: 10px; }
.result__name { font-weight: 600; font-size: 20px; line-height: 1; letter-spacing: -.8px; }
.result__ig {
  display: inline-flex; align-items: center; gap: 4.543px; height: 20px; padding: 0 9.086px; align-self: flex-start;
  border-radius: 91px; background: rgba(255, 255, 255, .1);
  font-size: 10px; line-height: 1; letter-spacing: -.4px; white-space: nowrap;
}
.result__shot { position: relative; height: 145px; border-radius: 13.04px; overflow: hidden; box-shadow: 0 3.477px 6.085px rgba(0, 0, 0, .11); }
.result__sticker {
  position: absolute; right: 16px; top: 0; z-index: 3;
  height: 34.719px; padding: 0 10.072px; border-radius: 11.191px;
  font-size: 17.906px; letter-spacing: -.895px; box-shadow: 0 4.477px 7px rgba(0, 0, 0, .15);
}

.arrow {
  position: absolute; top: 125px; width: 26px; height: 26px; z-index: 4;
  border: 0; background: none; cursor: pointer; padding: 0;
}
.arrow--prev { left: 0; }
.arrow--prev img { width: 26px; height: 26px; transform: scaleX(-1); }
.arrow--next { right: 0; }
.arrow--next span { position: absolute; inset: -11.54% -19.23% -26.92% -19.23%; }
.arrow--next img { width: 100%; height: 100%; }
.arrow:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 3px; border-radius: 50%; }

/* ================= 6. ЩО ВХОДИТЬ ================= */
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.inc__item {
  display: flex; gap: 15px; border-radius: 20px;
  background: var(--blue-10); border: .726px solid var(--blue); box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
  font-weight: 500; font-size: 16px; line-height: normal; letter-spacing: -.8px;
}
.inc__item--tile { flex-direction: column; height: 136px; padding: 19.27px; }
.inc__item--row { grid-column: 1 / -1; align-items: center; height: 80px; padding: 0 19.27px; }
.inc__item--white { background: #fff; border: 0; color: #000; padding: 0 20px; box-shadow: none; filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .05)); }
.icon-box { display: flex; align-items: center; justify-content: center; flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--blue); }
.icon-box--sm { width: 32px; height: 32px; border-radius: 8.96px; }
.icon-video { position: relative; width: 30px; height: 30px; }
.icon-video img { position: absolute; inset: 6.25% 18.75%; width: 62.5%; height: 87.5%; }
.cta-sticker { position: relative; width: 100%; padding-top: 25.8px; }
.sticker--tilt {
  position: absolute; left: 50%; top: 4.25px; z-index: 2;
  height: 31.023px; padding: 0 9px; border-radius: 10px;
  font-size: 16px; letter-spacing: -.8px; box-shadow: 0 4px 7px rgba(0, 0, 0, .35);
  transform: translateX(-50%) rotate(-3.55deg);
}

/* ================= 7. КОМУ ПІДІЙДЕ ================= */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.who__card {
  position: relative; overflow: hidden; min-height: 186px; padding: 19px 14px;
  display: flex; flex-direction: column; gap: 15px;
  background: rgba(0, 0, 0, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}
.who__card--short { min-height: 168px; }
.who__glow { position: absolute; left: 50%; top: -49px; width: 90px; height: 90px; transform: translateX(-50%); pointer-events: none; }
.who__glow img { position: absolute; inset: -129.11%; width: 358.22%; height: 358.22%; }
.who__card .icon-box { position: relative; }
.who__title { position: relative; font-weight: 600; font-size: 14px; line-height: normal; letter-spacing: -.56px; }
.who__title--lg { font-size: 16px; letter-spacing: -.64px; }
.who__text { position: relative; font-size: 12px; line-height: normal; letter-spacing: -.48px; color: var(--gray); }

/* ================= 8. FAQ ================= */
.faq { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.faq__item { position: relative; background: var(--faq-bg); border-radius: 10px; }
.faq__item summary {
  display: flex; align-items: center; min-height: 75px; padding: 20px 62px 20px 20px;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 10px; }
.faq__q { display: block; font-weight: 600; font-size: 18px; line-height: 1.2; letter-spacing: -.72px; text-box: trim-both cap alphabetic; }
.faq__icon {
  position: absolute; right: 20px; top: 50%; margin-top: -15px;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 10.5px; background: var(--blue);
  filter: drop-shadow(0 1.5px 4.125px rgba(70, 107, 255, .25));
  transition: transform .2s ease;
}
.faq__icon img { width: 18px; height: 18px; }
.faq__item[open] .faq__icon { transform: scaleY(-1); }
.faq__item[open] summary { min-height: 0; padding-bottom: 0; }
.faq__a { max-width: 250px; padding: 15px 20px 20px; box-sizing: content-box; font-size: 16px; line-height: 1.2; letter-spacing: -.64px; }

/* ===== Вузькі екрани ===== */
@media (max-width: 374px) {
  .btn { font-size: 20px; }
  .btn__old { font-size: 17px; }
  .bullet { font-size: 12.5px; }
  .h-xl { font-size: 44px; }
  .timer { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
