/* === css/fonts.css === */
/* Arimo Bold — локальний TTF (справжній 700, не faux-bold з Google subset) */
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/assets/fonts/arimo-700.a405bb908799.ttf") format('truetype');
}

/* === css/tokens.css === */
:root {

  --color-bg:          #010213;
  --color-bg-alt:      #080a1c;
  --color-bg-dark:     #02021a;
  --color-bg-card:     #0a1978;
  --color-bg-card-alt: #0d1a2e;

  --color-primary:       #2623d8;
  --color-primary-light: #2823ec;
  --color-primary-dark:  #0200ac;

  --color-accent:       #e8b429;
  --color-accent-light: #f5b12a;

  --color-green:  #4bd700;
  --color-purple: #a756fc;

  --color-text:       #ffffff;
  --color-text-muted: #b3adae;
  --color-text-dark:  #d9d9d9;
  --color-btn-label:  #e8e6ff;

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-accent: rgba(232, 180, 41, 0.4);

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Arimo', sans-serif;

  --text-xs:   0.625rem;
  --text-sm:   0.75rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.625rem;
  --text-2xl:  2rem;
  --text-3xl:  2.625rem;
  --text-4xl:  3.375rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --container-max: 1440px; /* ширше 1200, менше полів на desktop */

  --section-py: var(--space-12); /* компактніше за space-20/12 */
  --section-py-mobile: var(--space-8);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 100px;

  --shadow-sm:  0 1px 4px rgba(0, 0, 0, 0.3);
  --shadow-md:  0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 0 32px rgba(232, 180, 41, 0.2);
  --shadow-blue:   0 0 32px rgba(38, 35, 216, 0.3);

  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === css/main.css === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700;800&family=Arimo:wght@400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@media (max-width: 1023px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  padding-left: max(var(--space-6), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space-6), env(safe-area-inset-right, 0px));
}

/* Один шар фону на всю промо-сторінку. Фон на секціях + z-index
   дає GPU-смуги (сірі ділянки) на стиках features / why / pricing. */
#main-content {
  background-color: var(--color-bg);
}

/* Section — вертикальний ритм промо (див. --section-py у tokens) */
.section {
  padding: var(--section-py) 0;
}

/* Підрядні секції з однаковим фоном: не складати padding×2 */
#main-content > .section {
  padding-bottom: calc(var(--section-py) / 2);
}

#main-content > .section + .section {
  padding-top: calc(var(--section-py) / 2);
}

/* Зміна фону bg → bg-alt (pricing → why) */
#main-content > .why.section {
  padding-top: var(--section-py);
  padding-bottom: calc(var(--section-py) / 2);
}

/* why → reviews — той самий bg-alt, без подвоєння */
#main-content > .promo-label.section {
  padding-top: calc(var(--section-py) / 2);
  padding-bottom: calc(var(--section-py) / 2);
}

/* reviews (bg-alt) → faq (bg) */
#main-content > .faq.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

#main-content > .pricing.section {
  padding-bottom: var(--section-py);
}

/* CTA має власний padding у cta-banner.css */
#main-content > .cta-banner.section {
  padding-top: 0;
  padding-bottom: var(--section-py);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.eyebrow__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section__subtitle {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 65ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1;
  transition: transform var(--transition-spring),
              opacity var(--transition-base),
              box-shadow var(--transition-base);
  white-space: nowrap;
  min-height: 52px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-bg-dark);
}
.btn--primary:hover { box-shadow: var(--shadow-accent); }

.btn--outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--color-text);
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn--ghost {
  color: var(--color-text);
}
.btn--ghost:hover { color: var(--color-accent); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

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

/* ── Text overflow safety ──
   Форми: maxlength на бекенді/HTML; тут — щоб інпут/текст не роздували flex/grid.
   Картки: ellipsis (1 рядок) або clamp (2–3); довгі описи — перенос. */
.container,
main,
.lms-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
textarea,
select {
  max-width: 100%;
  min-width: 0;
}

textarea {
  overflow-wrap: anywhere;
  overflow-x: hidden;
}

/* Утиліти для заголовків/меты в картках і рядках UI */
.u-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}

.u-clamp-2,
.u-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}

.u-clamp-2 { -webkit-line-clamp: 2; }
.u-clamp-3 { -webkit-line-clamp: 3; }

.u-break {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 767px) {
  .section { padding: var(--section-py-mobile) 0; }

  #main-content > .section {
    padding-bottom: calc(var(--section-py-mobile) / 2);
  }

  #main-content > .section + .section {
    padding-top: calc(var(--section-py-mobile) / 2);
  }

  #main-content > .why.section {
    padding-top: var(--section-py-mobile);
    padding-bottom: calc(var(--section-py-mobile) / 2);
  }

  #main-content > .promo-label.section {
    padding-top: calc(var(--section-py-mobile) / 2);
    padding-bottom: calc(var(--section-py-mobile) / 2);
  }

  #main-content > .faq.section {
    padding-top: var(--section-py-mobile);
    padding-bottom: var(--section-py-mobile);
  }

  #main-content > .pricing.section {
    padding-bottom: var(--section-py-mobile);
  }

  #main-content > .cta-banner.section {
    padding-top: 0;
    padding-bottom: var(--section-py-mobile);
  }

  .container { padding: 0 var(--space-5); }
}

/* === css/components/header.css === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #010212;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid #0e102a;
  padding-top: env(safe-area-inset-top, 0px);

  overflow: visible;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #010212 0%, #070d78 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.header__inner {
  position: relative;
  z-index: 1;
  /* Синхрон зі .container (--container-max), інакше при 1440px шапка
     лишалась на 1200px і хіро виглядав зсунутим. */
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: max(var(--space-6), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space-6), env(safe-area-inset-right, 0px));
  overflow: visible;
}

.header__line {
  display: none;
}

.header__nav {
  box-sizing: border-box;
  overflow: visible;
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  width: 100%;

  box-sizing: border-box;
  height: calc(68px + 6px);
  min-height: calc(68px + 6px);
  padding: 6px 0 0;
  overflow: visible;
}

.header__bar-main {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0;
  height: 68px;
  overflow: visible;
}

.header__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: auto;
  height: 68px;
  padding: 10px;
  flex-shrink: 0;
}

.header__brand-logo {
  display: none;
}

.header__brand-icon {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.header__brand-name {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 27px;
  line-height: 33px;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.header__brand-name-accent {
  color: var(--color-accent);
}

.header__menu {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 34.75rem;
  max-width: 34.75rem;
  min-height: 3.1875rem;
  overflow: visible;
}

.header__links {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
}

.header__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 3.1875rem;
  padding: 15px 20px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.167;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 0 0 4px #000000;
  white-space: nowrap;
  background: transparent;
  overflow: visible;
}

.header__link::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 160%;
  height: 220%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse 50% 45% at 50% 50%,
    rgba(200, 210, 255, 0.38) 0%,
    rgba(120, 140, 255, 0.16) 38%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

/* Figma: soft radial glow за пунктом меню (лише pointer:fine — без sticky на iOS) */
@media (hover: hover) and (pointer: fine) {
  .header:hover::before {
    opacity: 1;
  }

  .header__link:hover::before,
  .header__link:focus-visible::before {
    opacity: 1;
  }
}

.header__link:focus-visible {
  outline: 2px solid rgba(97, 82, 242, 0.7);
  outline-offset: 2px;
}

/* Плаваюче підкреслення — один шар, їде між вкладками (див. promo-main.js).
   ::after лишається fallback без JS. */
.header__links-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 82px;
  height: 3px;
  border-radius: 12px;
  background: #2206c7;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform, width;
  transition:
    transform 320ms cubic-bezier(0.4, 0, 0.2, 1),
    width 320ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 180ms ease;
}

.header__links-indicator.is-ready {
  opacity: 1;
}

.header__links:has(.header__links-indicator.is-ready) .header__link--active::after {
  content: none;
}

.header__link--active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 82px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #2206c7;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .header__links-indicator {
    transition: none;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  margin-left: auto;
  overflow: visible;
}

.header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-sizing: border-box;
  width: 7.8125rem;
  height: 3.375rem;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 0 4px #000000;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.167;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  transition: border-color var(--transition-base), opacity var(--transition-base);
}

.header__login:hover { border-color: rgba(255, 255, 255, 0.65); }

.header__login-icon {
  display: block;
  box-sizing: border-box;
  width: 18px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  align-self: center;
}

.header__logout-form {
  display: inline-flex;
  margin: 0;
  padding: 0;
}

.header__logout {
  cursor: pointer;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.header__register {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  box-sizing: border-box;
  width: 13.6875rem;
  height: 3.25rem;
  padding: 15px 16px;
  border: 1px solid #4c44f5;
  border-radius: 18px;
  background: radial-gradient(206.19% 206.19% at 50% 50%, #100cb8 0%, #4f45e5 100%);
  box-shadow: inset 0 0 13px #6152f2;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.167;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  overflow: visible;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    color var(--transition-base);
}

/* Зовнішнє світіння окремим шаром — box-shadow обрізався краями .header. */
.header__register::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  transform: translate(-50%, -50%);
  border-radius: 40px;
  background: radial-gradient(
    ellipse 55% 55% at 50% 50%,
    rgba(44, 40, 210, 0.95) 0%,
    rgba(44, 40, 210, 0.45) 42%,
    transparent 72%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

/* Property 1=Variant2 — hover (лише pointer: fine — без sticky hover на iOS) */
@media (hover: hover) and (pointer: fine) {
  .header__register:hover {
    background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
    box-shadow: inset 0 0 40px #6152f2;
  }

  .header__register:hover::after {
    opacity: 1;
  }
}

.header__register:focus-visible {
  background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
  box-shadow: inset 0 0 40px #6152f2;
}

.header__register:focus-visible::after {
  opacity: 1;
}

.header__register:active {
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    rgba(90, 86, 255, 0.2) 0%,
    rgba(16, 0, 255, 0.2) 100%
  );
  box-shadow: none;
  color: #7d86b9;
}

.header__register:active::after {
  opacity: 1;
}

.header__register-icon {
  display: block;
  box-sizing: border-box;
  width: 14px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  align-self: center;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.header__burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 5px;
  width: 2rem;
  min-width: 2rem;
  height: 3.125rem;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.header__burger-line {
  display: block;
  width: 1.25rem;
  height: 0;
  border-top: 2px solid #ffffff;
  background: transparent;
  border-radius: 0;
  flex-shrink: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
  pointer-events: none;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__mobile-menu {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.header__mobile-menu[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.header__mobile-backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(1, 2, 18, 0.55);
  opacity: 0;
  cursor: pointer;
  transition: opacity var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

.header__mobile-menu[aria-hidden="false"] .header__mobile-backdrop {
  opacity: 1;
}

.header__mobile-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 14.375rem;
  max-width: calc(100vw - 2rem);
  background: #0b0e2e;
  border: 1px solid #252a56;
  border-left: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  border-radius: 0 17px 17px 0;
  transform: translateX(-105%);
  transition: transform var(--transition-base);
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.header__mobile-menu[aria-hidden="false"] .header__mobile-panel {
  transform: translateX(0);
}

.header__mobile-head {
  position: relative;
  flex: none;
  height: 5.6875rem;
}

.header__mobile-close {
  position: absolute;
  top: 2.5rem;
  left: 1.3125rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  width: 1.25rem;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header__mobile-close-line {
  display: block;
  width: 1.25rem;
  height: 0;
  border-top: 2px solid #ffffff;
}

.header__mobile-divider {
  display: block;
  flex: none;
  width: 7.1875rem;
  height: 0;
  margin: 0.125rem 0;
  border-top: 1px solid #252a56;
}

.header__mobile-divider--full {
  width: 100%;
}

.header__mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 0.125rem;
  overflow-y: auto;
}

.header__mobile-link {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  flex: none;
  height: 3.5rem;
  padding: 0.9375rem 1.25rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.4375rem;
  font-weight: 700;
  line-height: 1.625rem;
  color: #ffffff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  filter: drop-shadow(0 0 4px #000000);
  transition: opacity var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

.header__mobile-link:hover {
  opacity: 0.88;
}

.header__mobile-link--active {
  color: #ffffff;
}

.header__mobile-footer {
  box-sizing: border-box;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-height: 16.1875rem;
  margin-top: auto;
  padding:
    0.75rem 1rem
    calc(1rem + env(safe-area-inset-bottom, 0px));
  background: #020219;
  border-top: 1px solid #252a56;
  border-radius: 0 0 0 17px;
}

.header__mobile-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5625rem;
  width: 12.375rem;
  height: 2.5625rem;
}

.header__mobile-social-link {
  display: block;
  flex: none;
  width: 2.5625rem;
  height: 2.5625rem;
  border-radius: 8px;
  transition: opacity var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

.header__mobile-social-link:hover {
  opacity: 0.88;
}

.header__mobile-social-link img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.header__mobile-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.4375rem;
  width: 11.125rem;
  height: 3rem;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.header__mobile-brand-icon {
  display: block;
  flex: none;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.header__mobile-brand-name {
  display: block;
  flex: none;
  font-family: var(--font-display);
  font-size: 1.6875rem;
  font-weight: 800;
  line-height: 2.0625rem;
  color: #ffffff;
  text-align: center;
}

.header__mobile-brand-accent {
  color: var(--color-accent);
}

.header__mobile-write-btn {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: auto;
  min-width: 11.875rem;
  max-width: 100%;
  height: 3.1875rem;
  padding: 0.9375rem 1.25rem;
  border: 1px solid #4c44f5;
  border-radius: 15px;
  background: radial-gradient(206.19% 206.19% at 50% 50%, #100cb8 0%, #4f45e5 100%);
  box-shadow: inset 0 0 13px #6152f2;
  text-decoration: none;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

/* Property 1=Variant2 — hover (лише pointer: fine — без sticky hover на iOS) */
@media (hover: hover) and (pointer: fine) {
  .header__mobile-write-btn:hover {
    background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
    box-shadow: 0 0 40px #2c28d2, inset 0 0 40px #6152f2;
  }

  .header__mobile-write-btn:hover .header__mobile-write-label {
    color: #ffffff;
    -webkit-text-stroke: 0 transparent;
    paint-order: normal;
  }
}

.header__mobile-write-btn:focus-visible {
  background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
  box-shadow: 0 0 40px #2c28d2, inset 0 0 40px #6152f2;
}

.header__mobile-write-btn:focus-visible .header__mobile-write-label {
  color: #ffffff;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

.header__mobile-write-btn:active {
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    rgba(90, 86, 255, 0.2) 0%,
    rgba(16, 0, 255, 0.2) 100%
  );
  box-shadow: 0 0 40px #2c28d2;
}

.header__mobile-write-btn:active .header__mobile-write-label {
  color: #7d86b9;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

.header__mobile-write-label {
  flex: none;
  width: 7.8125rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3125rem;
  text-align: center;
  color: var(--color-btn-label);
  -webkit-text-stroke: 1px #0e0bb3;
  paint-order: stroke fill;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: color var(--transition-base);
}

.header__mobile-write-icon {
  display: block;
  flex: none;
  width: 0.9375rem;
  height: 0.9375rem;
  max-width: none;
  object-fit: contain;
}

.header__mobile-copy {
  width: 12.375rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 400;
  line-height: 1.7258;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* 1024–1199px: логотип(198) + меню(538) + кнопки(351) = 1087px не влазять
   у контент-зону ≥1024 (976px при паддінгу 24px) — links__nowrap не
   стискається нижче своєї природної ширини (flexbox min-content), тому
   рядок вилазив за in-канав («Вийти» обрізане на 1024px). Звужуємо
   паддінг лінків і шрифт меню — 538px → ~380px, вкладається з запасом. */
@media (max-width: 1199px) and (min-width: 1024px) {
  .header__inner {
    padding-left: max(var(--space-5), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-5), env(safe-area-inset-right, 0px));
  }

  .header__brand {
    flex: 0 0 auto;
    width: auto;
  }

  .header__menu {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }

  .header__link {
    padding: 14px 8px;
    font-size: 1rem;
  }
}

@media (max-width: 1023px) {
  /* Figma «Шапка тел.» 390×92 → Frame 364 364×74.
     sticky (не fixed) — хедер лишається в потоці (без потреби компенсувати
     висоту паддінгом на .hero), але прилипає до верху при скролі, як і на
     десктопі. overflow-x:clip на body (main.css) не ламає sticky, на
     відміну від overflow:hidden — той самий підхід, що в .lms-sidebar. */
  .header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    min-height: 5.75rem;
    margin: 0;
    padding:
      calc(9px + env(safe-area-inset-top, 0px))
      env(safe-area-inset-right, 0px)
      9px
      max(5px, env(safe-area-inset-left, 0px));
    background: #010212;
    border-bottom: 1px solid #0e102a;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 17px 17px;
  }

  .header__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .header__nav {
    width: 100%;
  }

  .header__line {
    display: none;
  }

  .header__menu {
    display: none;
  }

  .header__bar {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    width: 364px;
    max-width: 100%;
    height: 74px;
    min-height: 74px;
    margin: 0;
    padding: 0;
  }

  .header__burger {
    display: flex;
    flex: 0 0 32px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    width: 32px;
    min-width: 32px;
    height: 50px;
    min-height: 50px;
    padding: 21px 6px 19px;
    margin: 0;
  }

  .header__burger-line {
    width: 20px;
  }

  .header__bar-main {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    box-sizing: border-box;
    width: 325px;
    max-width: calc(100% - 43px);
    height: 74px;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  .header__actions {
    display: flex;
    flex: 0 0 163px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    width: 163px;
    height: 74px;
    margin: 0;
    padding: 0;
  }

  /* Зареєструватися — 163×34 */
  .header__register {
    gap: 13px;
    width: 163px;
    color: var(--color-btn-label);
    -webkit-text-stroke: 1px #0e0bb3;
    paint-order: stroke fill;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
  }

  .header__register,
  .header__login {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 10px 20px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  /* Увійти — 99×34 */
  .header__login {
    gap: 3px;
    width: 99px;
    background: transparent;
    filter: drop-shadow(0 0 4px #000000);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .header__register-icon,
  .header__login-icon {
    display: block;
    flex: none;
    object-fit: contain;
    object-position: center;
    align-self: center;
  }

  .header__register-icon {
    width: 11px;
    height: 14px;
    filter: none;
  }

  .header__login-icon {
    width: 14px;
    height: 12px;
  }

  .header__brand {
    display: flex;
    flex: 0 0 155px;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    width: 155px;
    max-width: 155px;
    min-width: 0;
    height: 40px;
    padding: 0;
  }

  .header__brand-logo {
    display: none;
  }

  .header__brand-icon {
    display: block;
    flex: none;
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .header__brand-name {
    display: block;
    flex: none;
    width: 109px;
    max-width: 109px;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    line-height: 29px;
    color: #ffffff;
    text-align: center;
  }

  .header__brand-name-accent {
    color: var(--color-accent);
  }
}

/* ── Планшет і широкий телефон (431–1023px) ──
   Блок вище зверстаний під точний Figma-кадр «Шапка тел.» (390px) —
   фіксовані px (.header__bar 364px, .header__bar-main 325px,
   .header__actions 163px) на будь-якому екрані ширшому за ~430px
   (планшет, телефон-ландшафт, вузьке вікно браузера) лишають рядок
   стиснутим у лівий верхній кут, а праворуч — порожню смугу. 431px —
   межа найширших «звичайних» телефонів-портрет (iPhone Pro Max 430px);
   усе, що ширше, отримує fluid-рядок на всю ширину; кнопки — в рядок
   (не стовпчиком), бо місця вистачає. */
@media (min-width: 431px) and (max-width: 1023px) {
  .header {
    padding:
      calc(14px + env(safe-area-inset-top, 0px))
      max(24px, env(safe-area-inset-right, 0px))
      14px
      max(24px, env(safe-area-inset-left, 0px));
  }

  .header__bar {
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 56px;
  }

  .header__bar-main {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 16px;
    width: auto;
    max-width: none;
    height: auto;
  }

  .header__brand {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .header__actions {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: auto;
    height: auto;
  }

  .header__register,
  .header__login {
    height: 44px;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 16px;
  }

  .header__register {
    gap: 10px;
    width: auto;
  }

  .header__login {
    gap: 6px;
    width: auto;
  }
}

@media (max-width: 374px) {
  .header__bar {
    width: 100%;
  }

  .header__bar-main {
    flex: 1 1 auto;
    width: auto;
    max-width: calc(100% - 43px);
    min-width: 0;
  }

  .header__register {
    width: 148px;
    padding-inline: 12px;
    gap: 8px;
    font-size: 11px;
  }

  .header__login {
    width: 88px;
    padding-inline: 12px;
    gap: 3px;
  }

  .header__actions {
    flex: 0 0 auto;
    width: 148px;
  }

  .header__brand {
    flex: 1 1 auto;
    width: auto;
    max-width: 136px;
    min-width: 0;
  }

  .header__brand-name {
    width: auto;
    max-width: none;
    font-size: 20px;
    line-height: 24px;
  }

  .header__brand-icon {
    width: 32px;
    height: 32px;
  }
}

@media (min-width: 1024px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .header__mobile-menu {
    display: none;
  }
}

/* === css/components/hero-1.css === */
.hero {
  position: relative;
  padding-top: calc(84px + var(--space-12));
  /* Trust → features: компактніше, без подвійного «подиху» з .section */
  padding-bottom: var(--space-6);
  overflow: hidden;
}

.hero__inner {

  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 1110px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.hero__action-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 35px;
  width: 100%;
}

.hero__stats-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__stat {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1 1 17.125rem;
  min-width: 17.125rem;
  max-width: 100%;
  height: 8.3125rem;
  padding: 0;
  background: rgba(8, 10, 28, 0.2);
  border: 1px solid #151528;
  box-shadow: 0 0 8.1px 6px rgba(0, 0, 0, 0.29);
  border-radius: 26px;
}

.hero__stat-icon {
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  margin-left: 8px;
  border-radius: 23px;
}

.hero__stat-icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.hero__stat-icon-huge {
  position: absolute;
  left: 23.75%;
  right: 23.75%;
  top: 23.75%;
  bottom: 23.75%;
  filter: drop-shadow(0 0 4.5px rgba(0, 0, 0, 0.25));
}

.hero__stat-icon-subtract {
  position: absolute;
  left: 8.33%;
  top: 8.33%;
  width: 83.34%;
  height: 83.34%;
  display: block;
  object-fit: contain;
}

.hero__stat-icon--check {
  background: #103623;
}

.hero__stat-icon--check .hero__stat-icon-huge {
  filter: drop-shadow(0 0 4.5px rgba(0, 0, 0, 0.25));
}

.hero__stat-icon-glyph {
  position: absolute;
  display: block;
}

.hero__stat-icon-vector {
  position: absolute;
  display: block;
  object-fit: contain;
}

.hero__stat-icon--bulb {
  background: #432711;
}

.hero__stat-icon-glyph--bulb {
  left: 1.1875rem;
  top: 1.1875rem;
  width: 2.625rem;
  height: 2.625rem;
  filter: drop-shadow(0 4px 5.1px rgba(0, 0, 0, 0.25));
}

.hero__stat-icon--bulb .hero__stat-icon-vector {
  left: 12.5%;
  top: 0;
  width: 75%;
  height: 100%;
}

.hero__stat-icon--support {
  background: #26104b;
}

.hero__stat-icon-star {
  position: absolute;
  left: 1.125rem;
  top: 1.1875rem;
  width: 2.6875rem;
  height: 2.5625rem;
  display: block;
  /* drop-shadow йде по контуру зірки; box-shadow давав квадратний ореол. */
  filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.25));
  object-fit: contain;
}

.hero__stat-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding: 0 12px 0 16px;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.21875;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__stat-label {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__stat:nth-child(2) .hero__stat-copy {
  gap: 0;
}

.hero__stat--gain {
  overflow: visible;
}

.hero__stat--gain .hero__stat-icon {
  margin-left: 24px;
}

.hero__stat--gain .hero__stat-copy {
  gap: 0;
  padding: 0 24px 0 22px;
}

.hero__stat-score {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.4375rem;
  color: #ffffff;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

.hero__stat-score-from {
  text-shadow: 0 0 15px #d62525;
}

.hero__stat-score-arrow {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__stat-score-to {
  text-shadow: 0 0 15px #3dcd3e;
}

.hero__stat--gain .hero__stat-label {
  max-width: 12.4375rem;
  font-size: 1.125rem;
  line-height: 1.3125rem;
  color: #b3adae;
}

.hero__stat:nth-child(3) .hero__stat-copy {
  gap: 3px;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__eyebrow-icon {
  width: 24px;
  height: 23px;
  flex-shrink: 0;
}

.hero__eyebrow-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.2;
  background: radial-gradient(
    ellipse 133px 9px at center,
    rgb(167, 130, 225) 9%,
    rgb(130, 89, 200) 86%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__title-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__title-line {
  display: block;
  color: var(--color-text);
}

.hero__title-line--accent {
  color: var(--color-accent);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 404px;
}

.hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 39px;
  width: fit-content;
  max-width: 100%;
  padding: 20px 29px 20px 61px;
  border: 1px solid #4c44f5;
  border-radius: 18px;
  background: radial-gradient(206.19% 206.19% at 50% 50%, #100cb8 0%, #4f45e5 100%);
  box-shadow: inset 0 0 13px #6152f2;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.167;
  color: var(--color-btn-label);
  -webkit-text-stroke: 1px #0e0bb3;
  paint-order: stroke fill;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  min-height: 76px;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

/* Property 1=Variant2 — hover (лише pointer: fine — без sticky hover на iOS) */
@media (hover: hover) and (pointer: fine) {
  .hero__cta:hover {
    background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
    border-color: #4c44f5;
    box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
    color: #ffffff;
  }

  .hero__cta:hover .hero__cta-label {
    color: #ffffff;
    -webkit-text-stroke: 0 transparent;
    paint-order: normal;
  }

  .hero__cta:hover .hero__cta-arrow-wrap {
    background: #6e6aff;
    border-color: #524fff;
  }
}

.hero__cta:focus-visible {
  background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
  border-color: #4c44f5;
  box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
  color: #ffffff;
}

.hero__cta:focus-visible .hero__cta-label {
  color: #ffffff;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

.hero__cta:focus-visible .hero__cta-arrow-wrap {
  background: #6e6aff;
  border-color: #524fff;
}

.hero__cta:active {
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    rgba(90, 86, 255, 0.2) 0%,
    rgba(16, 0, 255, 0.2) 100%
  );
  border-color: #4c44f5;
  box-shadow: 0 0 50px #2c28d2;
  color: #7d86b9;
}

.hero__cta:active .hero__cta-label {
  color: #7d86b9;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

.hero__cta:active .hero__cta-icon {
  filter: brightness(0) saturate(100%) invert(59%) sepia(9%) saturate(1095%)
    hue-rotate(186deg) brightness(91%) contrast(88%);
}

.hero__cta:active .hero__cta-arrow-wrap {
  background: #302e6d;
  border-color: #524fff;
}

/* === css/components/hero-2.css === */
.hero__cta-main {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 1 1 auto;
  min-width: 0;
}

.hero__cta-label {
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-base);
}

.hero__cta-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: filter var(--transition-base);
}

.hero__cta-arrow-wrap {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #2823ec;
  border: 1px solid transparent;
  transition:
    background var(--transition-base),
    border-color var(--transition-base);
}

.hero__cta-arrow {
  position: relative;
  display: block;
  width: 13px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
}

.hero__cta-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -1px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.hero__visual {
  position: relative;
  flex: none;
  width: 642px;
  max-width: 100%;
  height: 468px;
}

.hero__visual-scene {
  position: relative;
  width: 642px;
  max-width: 100%;
  height: 468px;
  flex: none;
}

/* ChatGPT Image 17 — emblem */
.hero__visual-emblem {
  position: absolute;
  width: 459px;
  height: 386px;
  left: 143.5px;
  top: 32px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.hero__visual-float {
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
}

.hero__visual-float--cap {
  width: 337px;
  height: 280px;
  left: 395.5px;
  top: -44px;
}

.hero__visual-float--cap .hero__visual-float-img {
  left: 33.09%;
  top: 25.54%;
  right: auto;
  bottom: auto;
  width: 34.12%;
  height: 41.07%;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: hero-float-cap 12.003s linear 1ms infinite;
}

.hero__visual-float--chart {
  width: 269px;
  height: 234px;
  left: -37.5px;
  top: -36px;
}

.hero__visual-float--chart .hero__visual-float-img {
  left: 22.68%;
  top: 17.95%;
  right: auto;
  bottom: auto;
  width: 55.76%;
  height: 64.1%;
  animation: hero-float-chart 12.003s linear 1ms infinite;
}

.hero__visual-float--book {
  width: 337px;
  height: 256px;
  left: -79.5px;
  top: 292px;
}

.hero__visual-float--book .hero__visual-float-img {
  left: 27.6%;
  top: 20.31%;
  right: auto;
  bottom: auto;
  width: 41.57%;
  height: 54.73%;
  animation: hero-float-book 12.003s linear 1ms infinite;
}

.hero__visual-float-img {
  position: absolute;
  display: block;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
}

@keyframes hero-float-chart {
  0%, 100% {
    transform: rotate(0deg);
    animation-timing-function: linear;
  }

  33.333% {
    transform: rotate(10deg);
    animation-timing-function: linear;
  }

  66.666% {
    transform: rotate(-8deg);
    animation-timing-function: linear;
  }
}

/* Cap: px-variants → translate3d + scale + rotate (без left/top/width — інакше дригає) */
@keyframes hero-float-cap {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }

  33.333% {
    transform: translate3d(4.565px, -5.135px, 0) scale(1.020087) rotate(-4deg);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }

  66.666% {
    transform: translate3d(-22.575px, 14.225px, 0) scale(1.023217) rotate(4deg);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }
}

@keyframes hero-float-book {
  0%, 100% {
    transform: rotate(-3deg);
    animation-timing-function: ease-in;
  }

  33.333% {
    transform: rotate(5deg);
    animation-timing-function: ease-in;
  }

  66.666% {
    transform: rotate(-5deg);
    animation-timing-function: ease-in;
  }
}

/* Cap mobile — scale translate/rotate від desktop (×0.643 для ~74px іконки) */
@keyframes hero-float-cap-mobile {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }

  33.333% {
    transform: translate3d(2.94px, -3.3px, 0) scale(1.02) rotate(-4deg);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }

  66.666% {
    transform: translate3d(-14.5px, 9.14px, 0) scale(1.02) rotate(4deg);
    animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
  }
}

@keyframes hero-float-book-mobile {
  0%, 100% {
    transform: matrix(1, -0.09, 0.09, 1, 0, 0) rotate(0deg);
    animation-timing-function: ease-in;
  }

  33.333% {
    transform: matrix(1, -0.09, 0.09, 1, 0, 0) rotate(8deg);
    animation-timing-function: ease-in;
  }

  66.666% {
    transform: matrix(1, -0.09, 0.09, 1, 0, 0) rotate(-8deg);
    animation-timing-function: ease-in;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__visual-float--chart .hero__visual-float-img {
    animation: none;
    transform: rotate(0deg);
  }

  .hero__visual-float--cap .hero__visual-float-img {
    animation: none;
    will-change: auto;
    left: 33.09%;
    top: 25.54%;
    right: auto;
    bottom: auto;
    width: 34.12%;
    height: 41.07%;
    transform: none;
  }

  .hero__visual-float--book .hero__visual-float-img {
    animation: none;
    transform: rotate(-3deg);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1023px) {
  .hero__visual-float--cap .hero__visual-float-img {
    left: 33.09%;
    top: 25.54%;
    right: auto;
    bottom: auto;
    width: 34.12%;
    height: 41.07%;
    animation: none;
    transform: none;
  }

  .hero__visual-float--chart .hero__visual-float-img {
    animation: none;
    transform: rotate(0deg);
  }

  .hero__visual-float--book .hero__visual-float-img {
    animation: none;
    transform: matrix(1, -0.09, 0.09, 1, 0, 0);
  }
}

.hero__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 22.375rem;
  margin-top: var(--space-6);
  margin-inline: auto;
}

.hero__trust-title {
  margin: 0;
  width: 100%;
  max-width: 19.5625rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.125;
  text-align: center;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__trust-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  width: 10.31125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
}

.hero__trust-item--knu {
  gap: 8px;
  width: 10.31125rem;
  height: 3.11375rem;
}

.hero__trust-item--kpi {
  gap: 12px;
  width: 9.558125rem;
  height: 3.125rem;
}

.hero__trust-item--lnu {
  gap: 5px;
  width: 9.955rem;
  height: 3.091875rem;
}

.hero__trust-logo {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.hero__trust-item--knu .hero__trust-logo {
  width: 3.12375rem;
  height: 3.11375rem;
}

.hero__trust-item--kpi .hero__trust-logo {
  width: 2.120625rem;
  height: 3.125rem;
}

.hero__trust-item--lnu .hero__trust-logo {
  width: 2.955rem;
  height: 3.091875rem;
}

.hero__trust-uni {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 6.6875rem;
  min-width: 6.6875rem;
  height: 2rem;
  flex-shrink: 0;
}

.hero__trust-uni-name {
  display: block;
  width: 100%;
  height: 1.3125rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.3125rem;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__trust-uni-sub {
  display: block;
  width: 100%;
  height: 0.6875rem;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 0.6875rem;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* === css/components/hero-3.css === */
/* hero-3.css — Figma nodes 577:7668–577:7703.
   Адаптація: mobile (≤1023px), tablet 1024–1199 (стек без фікс. сітки),
   desktop (≥1200px). Сітка 1110px лише коли реально влазить — інакше
   overflow:hidden різав заголовок і лишав float книги «сиротою». */
@media (max-width: 1023px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: none;
    column-gap: 0;
    text-align: left;
  }

  .hero__content {
    order: 1;
    width: 100%;
  }

  .hero__visual {
    order: 2;
    width: 22.375rem;
    height: 24.5625rem;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
  }

  .hero {

    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
    background: #010213;
    overflow-x: clip;
    max-width: 100%;
  }

  .hero__visual-scene {
    width: 22.375rem;
    height: 24.5625rem;
    transform: none;
    margin-inline: auto;
  }

  .hero__visual-emblem {
    width: 21.625rem;
    height: 18.1875rem;
    left: 0.75rem;
    top: 5.3125rem;
  }

  .hero__visual-float--cap {
    width: 13.5625rem;
    height: 11.25rem;
    left: 8.8125rem;
    top: -1.9375rem;
  }

  .hero__visual-float--cap .hero__visual-float-img {
    left: 33.09%;
    top: 25.54%;
    right: auto;
    bottom: auto;
    width: 34.12%;
    height: 41.07%;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: hero-float-cap-mobile 12.003s linear 1ms infinite;
  }

  .hero__visual-float--chart {
    width: 9.8125rem;
    height: 8.5625rem;
    left: -2.625rem;
    top: 0;
  }

  .hero__visual-float--chart .hero__visual-float-img {
    left: 22.68%;
    top: 17.95%;
    right: auto;
    bottom: auto;
    width: 55.76%;
    height: 64.1%;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: hero-float-chart 12.003s linear 1ms infinite;
  }

  .hero__visual-float--book {
    width: 12.9375rem;
    height: 9.8125rem;
    left: 13.5rem;
    top: 5.625rem;
  }

  .hero__visual-float--book .hero__visual-float-img {
    left: 27.6%;
    top: 20.31%;
    right: auto;
    bottom: auto;
    width: 41.57%;
    height: 54.73%;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: hero-float-book-mobile 12.003s linear 1ms infinite;
  }

  .hero__action-block {
    order: 3;
    align-items: center;
    gap: 12px;
    max-width: 18.9375rem;
  }

  .hero__subtitle { max-width: none; }

  .hero__cta {
    width: 100%;
    align-self: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 20px 29px 20px 61px;
    gap: 39px;
  }

  .hero__stats-list {
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    width: 17.125rem;
    max-width: 100%;
  }

  .hero__stat {
    position: relative;
    display: block;
    flex: none;
    width: 17.125rem;
    max-width: 100%;
    min-width: 0;
    height: 8.3125rem;
  }

  .hero__stat-icon {
    position: absolute;
    left: 8px;
    top: 27px;
    margin-left: 0;
    width: 5rem;
    height: 5rem;
  }

  .hero__stat-copy {
    position: absolute;
    left: 111px;
    top: 27px;
    width: 9.75rem;
    padding: 0;
    gap: 1px;
  }

  .hero__stat:nth-child(2) .hero__stat-copy {
    left: 110px;
    top: 28px;
    width: 7.375rem;
    gap: 0;
  }

  .hero__stat--gain {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 8.3125rem;
    padding: 24px 16px 24px 0;
  }

  .hero__stat--gain .hero__stat-icon {
    position: relative;
    left: auto;
    top: auto;
    margin-left: 24px;
    flex-shrink: 0;
  }

  .hero__stat--gain .hero__stat-copy,
  .hero__stat:nth-child(2).hero__stat--gain .hero__stat-copy {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 8px 0 16px;
  }

  .hero__stat-score {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    line-height: 1.22;
    gap: 6px;
  }

  .hero__stat--gain .hero__stat-label {
    max-width: none;
    font-size: 1rem;
    line-height: 1.25;
  }

  .hero__stat:nth-child(3) .hero__stat-copy {
    left: 111px;
    top: 28px;
    width: 6.875rem;
    gap: 3px;
  }

  .hero__stat-value {
    font-size: 2rem;
    line-height: 1.21875;
  }

  .hero__stat-label {
    font-size: 1rem;
    line-height: 1.125;
    color: #b3adae;
  }

  .hero__trust {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 22.375rem;
    margin-top: 0;
    margin-inline: auto;
  }

  .hero__trust-title {
    width: 100%;
    max-width: 19.5625rem;
    margin: 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.125;
    color: #b3adae;
  }

  .hero__trust-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    width: 10.31125rem;
    margin: 0;
    padding: 0;
    align-self: center;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero__content {
    width: 100%;
    max-width: 28.875rem;
  }

  .hero__action-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
    max-width: 40rem;
  }

  .hero__visual {
    width: min(642px, 100%);
    max-width: 100%;
    height: 468px;
    overflow: hidden;
  }

  .hero__visual-scene {
    width: 642px;
    height: 468px;
    margin-inline: auto;
  }

  .hero__stats-list {
    justify-content: center;
  }

  .hero__trust {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 462px) minmax(0, 642px);
    column-gap: 6px;
    grid-template-rows: auto auto auto auto;
    align-items: start;
    justify-content: center;
  }

  .hero__content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero__visual {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: start;
  }

  .hero__action-block {
    display: contents;
  }

  .hero__cta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .hero__stats-list {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
  }

  .hero__trust {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: var(--space-2);
    max-width: none;
  }

  .hero__trust-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 3.75rem;
    width: 100%;
  }

  .hero__trust-item--knu,
  .hero__trust-item--kpi,
  .hero__trust-item--lnu {
    width: auto;
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .hero__inner {
    gap: 0.75rem;
    max-width: 22.375rem;
    margin-bottom: 0;
  }

  .hero__intro {
    gap: 0.375rem;
  }

  .hero__eyebrow {
    gap: 8px;
  }

  .hero__eyebrow-icon {
    width: 1.125rem;
    height: 1.0625rem;
  }

  .hero__eyebrow-text {
    font-size: 1rem;
    line-height: 1.125rem;
    background: radial-gradient(
      50% 50% at 50% 50%,
      #a782e1 9.13%,
      #8259c8 86.06%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .hero__title {
    font-size: 2rem;
    line-height: 1.21875;
  }

  .hero__subtitle {
    font-size: 1rem;
    line-height: 1.7258;
    color: #b3adae;
    max-width: none;
  }

  .hero__visual {
    overflow: visible;
  }

  .hero__action-block {
    max-width: 18.9375rem;
    gap: 0.75rem;
  }

  .hero__cta {
    width: 100%;
    min-height: 4.75rem;
    padding: 1.25rem 1.8125rem 1.25rem 3.8125rem;
    gap: 2.4375rem;
    border-radius: 18px;
    font-size: 1.125rem;
    line-height: 1.167;
  }

  .hero__trust {
    gap: 2rem;
    max-width: 22.375rem;
    margin-top: 0;
  }

  .hero__trust-title {
    max-width: 19.5625rem;
  }
}

/* === css/components/features.css === */
.features {
  position: relative;
}

.features__shell {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.features__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(1, 0, 172, 0.18);
}

.features__eyebrow-icon {
  width: 24px;
  height: 23px;
  flex-shrink: 0;
}

.features__eyebrow-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125;
  background: radial-gradient(
    ellipse 133px 9px at center,
    rgb(49, 3, 234) 9%,
    rgb(93, 65, 255) 86%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.features__layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2.0625rem;
  width: 100%;
  max-width: 69.90625rem;
  margin-inline: auto;
}

.features__mockup {
  flex: none;
  width: 40.625rem;
  max-width: 100%;
  height: 30.5rem;
}

.features__mockup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.features__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  flex: none;
  width: 27rem;
  max-width: 100%;
}

.features__title {
  margin: 0;
  max-width: 24.4375rem;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 3.1875rem;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.features__title-line {
  display: block;
}

.features__title-line--accent {
  color: var(--color-accent);
}

.features__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.9375rem;
  width: 100%;
}

.features__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.4375rem;
  width: 100%;
  max-width: 27rem;
}

.features__item:first-child {
  align-items: flex-start;
  max-width: 22.625rem;
}

.features__item--notes {
  align-self: stretch;
}

.features__icon {
  box-sizing: border-box;
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border-radius: 20px;
  box-shadow: 0 0 12.5px 2px #081775;
}

.features__icon img {
  width: 3.125rem;
  height: 3.125rem;
  object-fit: contain;
}

.features__item--notes .features__icon img {
  width: 2.4375rem;
  height: 3.25rem;
}

.features__item-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: 1;
  min-width: 0;
  max-width: 16.1875rem;
}

.features__item--notes .features__item-body {
  max-width: 20.5625rem;
}

.features__item-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.6875rem;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.features__item-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.3125rem;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1023px) {
  .features__layout {
    flex-direction: column;
    justify-content: flex-start;
    max-width: none;
  }

  .features__mockup {
    width: 100%;
    max-width: 40.625rem;
    height: auto;
    margin-inline: auto;
  }

  .features__mockup img {
    width: 100%;
    height: auto;
    max-height: 30.5rem;
  }

  .features__content {
    width: 100%;
    max-width: 27rem;
    margin-inline: auto;
  }
}

/* === css/components/promo-guide.css === */
.promo-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  background: transparent;
}

.promo-guide__title {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 5px 10px;
  border: 0;
  border-radius: 11px;
  background: rgba(172, 32, 0, 0.18);
  color: #f43220;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125;
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.promo-guide__title-icon {
  display: block;
  width: 1.25rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.promo-guide__player {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 38rem;
  aspect-ratio: 608 / 341;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  background: #0b0e2e;
  border: 1px solid #252a56;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.promo-guide__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.promo-guide__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.promo-guide__player.is-playing .promo-guide__frame {
  opacity: 1;
  pointer-events: auto;
}

.promo-guide__player.is-playing .promo-guide__play,
.promo-guide__player.is-playing .promo-guide__poster {
  display: none;
}

.promo-guide__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.promo-guide__play--static {
  cursor: default;
  pointer-events: none;
}

.promo-guide__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.1875rem;
  height: 5.0625rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 8px 24px rgba(38, 35, 216, 0.45);
}

.promo-guide__play-tri {
  display: block;
  width: 1.375rem;
  height: 1.5rem;
  flex: none;
  background: #fff;
  clip-path: polygon(12% 8%, 92% 50%, 12% 92%);
  transform: translateX(0.125rem);
}

.promo-guide__fs {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(11, 14, 46, 0.72);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.promo-guide__fs:focus-visible {
  outline: 2px solid #6152f2;
  outline-offset: 2px;
}

.promo-guide__fs-icon {
  display: block;
  width: 1rem;
  height: 0.875rem;
  border: 2px solid #fff;
  border-radius: 2px;
  pointer-events: none;
}

.promo-guide__player.is-fullscreen .promo-guide__fs-icon {
  box-shadow: inset 0 0 0 2px #fff;
  border-width: 3px;
}

.promo-guide__player.is-fullscreen {
  max-width: none;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
  background: #000;
}

.promo-guide__player.is-fullscreen .promo-guide__frame {
  opacity: 1;
  pointer-events: auto;
}

.promo-guide__pending {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #e8eaf6;
  background: rgba(11, 14, 46, 0.72);
}

@media (max-width: 1023px) and (min-width: 768px) {
  .promo-guide {
    gap: 2rem;
  }

  .promo-guide__player {
    max-width: 32rem;
  }
}

@media (max-width: 767px) {
  .promo-guide {
    gap: 1.5rem;
    max-width: 22.375rem;
    margin-inline: auto;
  }

  .promo-guide__title {
    white-space: normal;
    max-width: calc(100% - 0.5rem);
  }

  .promo-guide__player {
    max-width: 100%;
    border-radius: 12px;
  }

  .promo-guide__play-icon {
    width: 4.25rem;
    height: 4.25rem;
  }

  .promo-guide__fs {
    right: 0.5rem;
    bottom: 0.5rem;
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (max-width: 374px) {
  .promo-guide__title {
    padding: 5px 8px;
    gap: 6px;
  }
}

/* === css/components/pricing.css === */
.pricing {
  position: relative;
  overflow: visible;
}

.pricing .container {
  position: relative;
}

.pricing__canvas {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 69.90625rem;
  margin-inline: auto;
  overflow: visible;
}

@media (min-width: 1200px) {
  .pricing__canvas {
    width: 69.90625rem;
    max-width: 69.90625rem;
  }
}

.pricing__decor-item {
  position: absolute;
  overflow: visible;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (min-width: 1024px) {
  .pricing__board > .pricing__decor-item--bottom {
    top: 26.45125rem;
    left: 46.841875rem;
    width: 23.3125rem;
    height: 26.46875rem;
    z-index: 0;
  }

  .pricing__decor-item--bottom .pricing__decor-graphic {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: left top;
  }
}

.pricing__decor-graphic {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (max-width: 1023px) {
  .pricing {
    overflow-x: clip;
  }
}

@media (max-width: 767px) {
  .pricing__board > .pricing__decor-item--bottom {
    display: none;
  }
}

.pricing__pair {
  position: relative;
  z-index: 1;
  overflow: visible;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  flex: none;
  width: 34.1875rem;
  max-width: 100%;
}

.pricing__pair > .pricing__mode {
  flex: 0 0 100%;
  width: 100%;
}

.pricing__pair > .pricing-card {
  position: relative;
  z-index: 1;
}

.pricing__header {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.375rem;
  margin-bottom: 0;
  width: 100%;
}

.pricing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 11px;
  background: rgba(2, 0, 172, 0.18);
}

.pricing__eyebrow-icon {
  width: 1.27375rem;
  height: 1.27375rem;
  flex-shrink: 0;
  display: block;
}

.pricing__eyebrow-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125rem;
  background: radial-gradient(
    50% 50% at 50% 50%,
    #3203ea 9.13%,
    #5d41ff 86.06%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.pricing__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 33.5rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 3.1875rem;
  text-align: center;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing__title-line {
  display: block;
  width: 100%;
}

.pricing__title-accent {
  color: var(--color-accent);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing__subtitle {
  max-width: 63.25rem;
  width: 100%;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.3125rem;
  color: var(--color-text-muted);
  text-align: center;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing__board {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  overflow: visible;
}

.pricing__mode {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
}

.pricing__mode--self .pricing__mode-line {
  width: 5.923125rem;
}

.pricing__mode--self .pricing__mode-text {
  max-width: 10.104375rem;
}

.pricing__mode--group .pricing__mode-line {
  width: 6.03125rem;
}

.pricing__mode--group .pricing__mode-text {
  max-width: 9.325625rem;
}

.pricing__mode-line {
  flex: none;
  width: 7.4375rem;
  height: 0;
  border: none;
  border-top: 2px solid #151939;
  background: none;
}

.pricing__mode-text {
  flex: none;
  padding-inline: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3125rem;
  text-align: center;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing__columns {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  max-width: 69.875rem;
  overflow: visible;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex: none;
  width: 16.71875rem;
  max-width: 100%;
  min-height: 30.125rem;
  padding: 1.5rem;
  background: #080c21;
  border: 1px solid #2b304d;
  border-radius: 30px;
  box-sizing: border-box;
  isolation: isolate;
}

.pricing-card--featured {
  min-height: 32rem;
  border-color: #387ad4;
  box-shadow: inset 0 0 24px #2206c7;
}

.pricing-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.4375rem;
  padding: 5px 10px;
  border-radius: 0 0 7px 7px;
  background: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 0.875rem;
  color: #030d21;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  box-sizing: border-box;
}

.pricing-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 219.5px;
  flex: 1;
}

.pricing-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.pricing-card__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pricing-card__plan {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing-card__pick {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing-card__icons {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 42px;
  width: 100%;
  padding-inline: 24px;
  box-sizing: border-box;
}

.pricing-card__icon {
  display: block;
  width: 55px;
  height: 55px;
  flex-shrink: 0;
  object-fit: contain;
}

.pricing-card__icons .pricing-card__or {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.pricing-card__subjects {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card__or {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing-card__subject {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #ffffff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.pricing-card__dot {
  box-sizing: border-box;
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-radius: 50%;
  background: transparent;
}

.pricing-card__dot--math {
  border: 1px solid #d41e04;
}

.pricing-card__dot--history {
  border: 1px solid #2206c7;
}

.pricing-card__dot--active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  background: transparent;
}

.pricing-card__dot--math.pricing-card__dot--active {
  border-color: #d41e04;
}

.pricing-card__dot--math.pricing-card__dot--active::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #981502;
}

.pricing-card__dot--history.pricing-card__dot--active {
  border-color: #2206c7;
}

.pricing-card__dot--history.pricing-card__dot--active::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19039b;
}

.pricing-card__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 13.6875rem;
  margin-inline: auto;
  text-align: left;
}

.pricing-card__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pricing-card__price-main {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 59px;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing-card--featured .pricing-card__price-main {
  color: var(--color-accent);
}

.pricing-card__period {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: #b3adae;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.pricing-card__feature::before {
  content: '';
  width: 17.5px;
  height: 17.5px;
  flex-shrink: 0;
  background: url("/static/img/figma/export/pricing-feature-check.064ccc75569f.svg") no-repeat center / contain;
}

.pricing-card__feature--save {
  color: var(--color-accent);
  white-space: nowrap;
}

.pricing-card__feature--save::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("/static/img/figma/export/pricing-feature-save.8009f60a51fc.svg") no-repeat center / contain;
}

.pricing-card__btn {
  margin-top: auto;
  flex: none;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  width: 12.6875rem;
  height: 3.8125rem;
  padding: 20px 35px;
  border: 1px solid #4c44f5;
  border-radius: 15px;
  text-decoration: none;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.pricing-card__btn-inner {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex: none;
  width: 8.3125rem;
  height: 1.3125rem;
}

.pricing-card__btn-label {
  display: inline-block;
  flex: none;
  box-sizing: border-box;
  width: 8.3125rem;
  height: 1.3125rem;
  font-family: 'Arimo', sans-serif;
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  font-synthesis: none;
  line-height: 21px;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  color: var(--color-btn-label);
  -webkit-text-stroke: 1px #0e0bb3;
  paint-order: stroke fill;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: color var(--transition-base);
}

.pricing-card__btn--outline {
  background: transparent;
  background-image: none;
  box-shadow: inset 0 0 13px #6152f2;
}

/* Придбати курс основ. — primary */
.pricing-card__btn--primary {
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    #100cb8 0%,
    #4f45e5 100%
  );
  box-shadow: inset 0 0 13px #6152f2;
}

/* Property 1=Variant2 — hover (лише pointer: fine — без sticky hover на iOS) */
@media (hover: hover) and (pointer: fine) {
  .pricing-card__btn--primary:hover {
    background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
    box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
  }

  .pricing-card__btn--outline:hover {
    box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
  }

  .pricing-card__btn--primary:hover .pricing-card__btn-label,
  .pricing-card__btn--outline:hover .pricing-card__btn-label {
    color: #ffffff;
    -webkit-text-stroke: 0 transparent;
    paint-order: normal;
  }
}

.pricing-card__btn--primary:focus-visible {
  background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
  box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
}

.pricing-card__btn--outline:focus-visible {
  box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
}

.pricing-card__btn--primary:focus-visible .pricing-card__btn-label,
.pricing-card__btn--outline:focus-visible .pricing-card__btn-label {
  color: #ffffff;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

.pricing-card__btn--primary:active {
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    rgba(90, 86, 255, 0.2) 0%,
    rgba(16, 0, 255, 0.2) 100%
  );
  box-shadow: 0 0 50px #2c28d2;
}

.pricing-card__btn--outline:active {
  box-shadow: 0 0 50px #2c28d2;
}

.pricing-card__btn--primary:active .pricing-card__btn-label,
.pricing-card__btn--outline:active .pricing-card__btn-label {
  color: #7d86b9;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

.pricing__guarantee-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0;
  width: 100%;
}

.pricing__guarantee {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
  gap: 8px;
  width: 28.24125rem;
  max-width: 100%;
  min-height: 2.433125rem;
  background: #030823;
  border-radius: 11px;
}

.pricing__guarantee-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 26.99125rem;
  max-width: 100%;
  min-height: 1.183125rem;
}

.pricing__guarantee-icon {
  flex: none;
  width: 1.25rem;
  height: 1.3125rem;
}

.pricing__guarantee-text {
  flex: none;
  margin: 0;
  max-width: 25.375rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125rem;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .pricing__guarantee-text {
    white-space: nowrap;
  }
}

@media (max-width: 1023px) {
  .pricing__board > .pricing__decor-item--bottom {
    display: none;
  }

  .pricing__columns {
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
  }

  .pricing__pair {
    width: 100%;
    max-width: 34.1875rem;
    justify-content: center;
  }

  .pricing-card {
    width: 100%;
    max-width: 16.71875rem;
    min-height: 0;
  }

  .pricing-card__features {
    flex: initial;
    max-width: 100%;
  }

  .pricing-card__body {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .pricing__pair {
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
    width: 100%;
    max-width: 16.71875rem;
  }

  .pricing-card__price-main {
    font-size: 3rem;
    line-height: 1.229;
  }

  .pricing-card__icons {
    gap: clamp(1.5rem, 8vw, 2.625rem);
    padding-inline: 12px;
  }

  .pricing-card__subjects {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .pricing-card__subject {
    white-space: normal;
  }
}

/* === css/components/why.css === */
.why {
  position: relative;
  overflow: visible;
}

.why .container {
  position: relative;
}

/* Artboard 1200px. Переваги y=1335:
   LEFT image 2 @ -10.5/1381.5 — золото за заголовком і 1-м рядом.
   RIGHT Intersect @ 973/1376 — телефон за правим краєм 1-го ряду.
   TARGET Intersect @ 792/2121 — мішень за «Тести» / відео.
   Центр сцени через margin, не transform — інакше GPU-шар дає світлішу смугу. */
.why__decor-scene {
  position: absolute;
  top: 0;
  left: 50%;
  width: 75rem;
  height: 80rem;
  margin-left: -37.5rem;
  pointer-events: none;
  overflow: visible;
}

.why__decor-item {
  position: absolute;
  overflow: visible;
}

.why__decor-item--left {
  top: 0;
  left: -0.65625rem;
  width: 29.4375rem;
  height: 26.5625rem;
}

.why__decor-item--right {
  top: 0;
  left: 60.8125rem;
  width: 14.8125rem;
  height: 28rem;
}

.why__decor-item--target {
  top: calc(var(--section-py) + 49.125rem);
  left: 49.5rem;
  width: 23.3125rem;
  height: 26.46875rem;
}

.why__decor-graphic {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  mix-blend-mode: screen;
}

.why__decor-item--left .why__decor-graphic {
  object-fit: fill;
}

.why__decor-item--right .why__decor-graphic {
  object-position: left top;
}

@media (max-width: 1200px) {
  .why__decor-scene {
    margin-left: -37.5rem;
    transform: scale(calc(100vw / 75rem));
    transform-origin: top center;
  }
}

@media (max-width: 767px) {
  .why__decor-scene {
    display: none;
  }
}

.why__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4375rem;
  max-width: 68.75rem;
  margin-inline: auto;
}

.why .promo-guide {
  margin-top: 0.5625rem;
}

.why__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  max-width: 39.5rem;
  text-align: center;
}

.why__eyebrow {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #081252;
  border-radius: 11px;
  background: #041145;
}

.why__eyebrow-icon {
  width: 1.03125rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: block;
}

.why__eyebrow-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125;
  color: #0e4ac7;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.why__eyebrow-text--mobile {
  display: none;
}

.why__titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.why__title {
  width: 100%;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.214;
  text-align: center;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.why__title-accent {
  color: var(--color-accent);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.why__subtitle {
  width: 100%;
  max-width: 39.5rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.167;
  text-align: center;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.why__board {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 62.75rem;
}

.why__column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  flex: 1 1 0;
  min-width: 0;
  max-width: 30.625rem;
}

.why-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 14.4375rem;
  padding: 0 0.75rem 0 0;
  border: 1px solid #705ed8;
  border-radius: 30px;
  background: linear-gradient(230.95deg, #0e1d75 0%, #0d1546 23%);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.why-card__media {
  display: block;
  flex-shrink: 0;
  width: 11.25rem;
  height: 13.6875rem;
  max-width: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  -webkit-filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.why-card__media--online {
  width: 11.5rem;
  height: 7.9375rem;
}

.why-card__media--video {
  width: 12.0625rem;
  height: 11.4375rem;
}

.why-card__media--quizlet {
  width: 12.5625rem;
  height: 14.5625rem;
}

.why-card__media--cabinet {
  width: 10.9375rem;
  height: 13.3125rem;
}

.why-card__media--notes {
  width: 11.1875rem;
  height: 13.8125rem;
}

.why-card__media--tests {
  width: 11.25rem;
  height: 13.6875rem;
}

.why-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  flex: 1 1 auto;
  min-width: 0;
}

.why-card__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-synthesis: none;
}

.why-card__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.275;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .why__header {
    max-width: 39.5rem;
  }

  .why__board {
    flex-shrink: 0;
    width: 62.75rem;
    max-width: 62.75rem;
  }

  .why__column {
    flex: 0 0 30.625rem;
    width: 30.625rem;
    max-width: 30.625rem;
  }

  .why-card {
    height: 14.4375rem;
    min-height: 14.4375rem;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .why__inner {
    gap: 2rem;
  }

  .why__header {
    max-width: 100%;
  }

  .why__title {
    font-size: 2rem;
    line-height: 1.22;
  }

  .why__board {
    gap: 0.75rem;
  }

  .why-card {
    min-height: 13.5rem;
    padding-right: 0.75rem;
  }

  .why-card__media,
  .why-card__media--online,
  .why-card__media--video,
  .why-card__media--quizlet,
  .why-card__media--cabinet,
  .why-card__media--notes,
  .why-card__media--tests {
    width: 8.5rem;
    height: 10.5rem;
  }

  .why-card__media--online {
    height: 6.25rem;
  }

  .why-card__title {
    font-size: 1.5rem;
    line-height: 1.17;
  }
}

@media (max-width: 767px) {
  .why__inner {
    gap: 2rem;
  }

  .why .promo-guide {
    margin-top: 0;
  }

  .why__header {
    gap: 2rem;
    max-width: 22.375rem;
  }

  .why__eyebrow-text--desktop {
    display: none;
  }

  .why__eyebrow-text--mobile {
    display: inline;
  }

  .why__titles {
    max-width: 22.375rem;
  }

  .why__title {
    font-size: 2rem;
    line-height: 1.21875;
  }

  .why__subtitle {
    font-size: 1rem;
    line-height: 1.125;
  }

  .why__board {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: 22.375rem;
  }

  .why__column {
    width: 100%;
    max-width: none;
  }

  .why-card {
    min-height: 14.4375rem;
    padding: 0 0.75rem 0 0;
    background: linear-gradient(239.35deg, #0e1d75 0%, #0d1546 23%);
  }

  .why-card__media,
  .why-card__media--online,
  .why-card__media--video,
  .why-card__media--quizlet,
  .why-card__media--cabinet,
  .why-card__media--notes,
  .why-card__media--tests {
    width: 9rem;
    height: 10.25rem;
  }

  .why-card__media--online {
    width: 8.625rem;
    height: 5.9375rem;
  }

  .why-card__body {
    max-width: 11rem;
  }

  .why-card__title {
    font-size: 1.5rem;
    line-height: 1.17;
  }
}

@media (max-width: 374px) {
  .why__eyebrow {
    padding: 5px 8px;
    gap: 6px;
  }

  .why-card {
    height: auto;
    min-height: 14.4375rem;
    padding: 0.75rem 0.75rem 0.75rem 0;
  }

  .why-card__media,
  .why-card__media--online,
  .why-card__media--video,
  .why-card__media--quizlet,
  .why-card__media--cabinet,
  .why-card__media--notes,
  .why-card__media--tests {
    width: 6.75rem;
    height: 8.5rem;
  }

  .why-card__media--online {
    height: 5.5rem;
  }

  .why-card__body {
    max-width: none;
  }
}

/* === css/components/promo-eyebrow.css === */
.promo-label .container {
  display: flex;
  justify-content: center;
}

/* відгуки — 106×33 */
.promo-eyebrow {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 10px;
  width: 6.625rem;
  height: 2.0625rem;
  border: 1px solid #1b4400;
  border-radius: 11px;
  background: rgba(89, 255, 0, 0.44);
  flex: none;
}

.promo-eyebrow__icon {
  width: 24px;
  height: 23px;
  flex-shrink: 0;
}

.promo-eyebrow span {
  flex: 0 0 auto;
  width: 3.375rem;
  height: 1.125rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125rem;
  color: #4bd700;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

/* === css/components/reviews-carousel.css === */
.promo-label {
  overflow: visible;
}

.promo-label .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0;
  max-width: 75rem;
}

.reviews-carousel {
  box-sizing: border-box;
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: 75rem;
  height: 24.1875rem;
  background: #0e1621;
  border: 1px solid #0e1621;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(14, 22, 33, 0.5);
  overflow: hidden;
}

.reviews-carousel__viewport {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0e1621;
  padding-inline: 0.75rem;
}

.reviews-carousel__track {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: max-content;
  min-height: 24.1875rem;
  flex: 0 0 auto;
}

.reviews-carousel--marquee .reviews-carousel__track {
  animation: reviews-marquee var(--reviews-marquee-duration, 45s) linear infinite;
}

.reviews-carousel--static .reviews-carousel__viewport {
  justify-content: center;
}

.reviews-carousel--static .reviews-carousel__track {
  animation: none;
}

.reviews-carousel__slide {
  flex: 0 0 18.75rem;
  width: 18.75rem;
  min-width: 0;
  margin-right: 0.75rem;
}

.reviews-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 18.75rem;
  min-height: 12.9375rem;
  padding: 0.625rem;
  border: 0;
  border-radius: 12px;
  background: #0e1621;
}

.reviews-card__inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 17.5rem;
  padding: 0.5rem 0.25rem;
  border-radius: 12px;
  background: #182533;
}

.reviews-card__meta {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 2.6875rem;
  padding: 0 0 0 0.5625rem;
}

.reviews-card__header,
.reviews-card__from {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1rem;
}

.reviews-card__header {
  color: #e75a6c;
}

.reviews-card__from {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.375rem;
  color: #6eb6ff;
}

.reviews-card__from-prefix,
.reviews-card__author {
  min-width: 0;
}

.reviews-card__avatar {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

.reviews-card__text {
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  padding: 0.625rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.125rem;
  color: #fff;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .reviews-carousel__slide,
  .reviews-card {
    flex-basis: 18.75rem;
    width: 18.75rem;
  }
}

@media (max-width: 767px) {
  .promo-label .container {
    margin-bottom: 0;
  }

  .reviews-carousel {
    height: 24.1875rem;
    border-radius: 12px;
  }
}

@media (max-width: 359px) {
  .promo-label .container {
    max-width: 100%;
  }

  .reviews-carousel__slide {
    flex-basis: min(18.75rem, calc(100% - 2.75rem));
    width: min(18.75rem, calc(100% - 2.75rem));
  }

  .reviews-card,
  .reviews-card__inner {
    width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .reviews-carousel--marquee:hover .reviews-carousel__track {
    animation-play-state: paused;
  }
}

@keyframes reviews-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-carousel--marquee .reviews-carousel__track {
    animation: none;
  }
}

.reviews-tg {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
  margin: 0;
  max-width: 48rem;
  padding: 0 0.75rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.reviews-tg__text {
  color: #ffffff;
}

.reviews-tg__brand-accent {
  color: var(--color-accent);
}

.reviews-tg__link {
  display: inline;
  color: #2206c7;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
  .reviews-tg__link:hover {
    color: #2823ec;
  }
}

.reviews-tg__link:focus-visible {
  outline: 2px solid #2206c7;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 767px) {
  .reviews-tg {
    font-size: 1rem;
    line-height: 1.4;
    gap: 0.25em 0.35em;
  }
}

/* === css/components/faq.css === */
.faq .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq .section__title {
  margin-bottom: 0;
}

.faq__eyebrow {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 5px 10px;
  border: 1px solid #7d6433;
  border-radius: 11px;
  background: rgba(170, 125, 36, 0.44);
}

.faq__eyebrow-icon {
  width: 0.75rem;
  height: 1.125rem;
  flex-shrink: 0;
  display: block;
}

.faq__eyebrow-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125rem;
  color: #f5b12a;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.faq__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  max-width: 68.75rem;
  margin: 0;
}

.faq__item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 1px solid #151528;
  border-radius: 12px;
  background: #0b0e2e;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    gap 0.2s ease;
}

.faq__item.is-open {
  gap: 0.5rem;
  background: var(--color-accent);
  border-color: #7b5415;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.faq__question {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}

.faq__trigger {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  text-align: left;
  font-synthesis: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq__trigger-text {
  flex: 1 1 auto;
  min-width: 0;
  order: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: color 0.2s ease;
}

.faq__item.is-open .faq__trigger-text {
  color: #010213;
  font-weight: 700;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.faq__trigger:focus {
  outline: none;
}

.faq__trigger:focus-visible {
  outline: 2px solid #f5b12a;
  outline-offset: 4px;
  border-radius: 4px;
}

.faq__item.is-open .faq__trigger:focus-visible {
  outline-color: #010213;
}

.faq__arrow {
  display: block;
  flex: 0 0 auto;
  order: 1;
  width: 1.25rem;
  height: 1.25rem;
  max-width: none;
  transform: rotate(0deg);
  transform-origin: center center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.faq__item.is-open .faq__arrow {
  transform: rotate(90deg);
  filter: brightness(0);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    grid-template-rows 0.2s ease,
    opacity 0.2s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq__answer-panel {
  min-height: 0;
  overflow: hidden;
}

.faq__answer-body {
  max-width: 65ch;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1a1408;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  overflow-wrap: anywhere;
}

.faq__answer-body > :first-child {
  margin-top: 0;
}

.faq__answer-body > :last-child {
  margin-bottom: 0;
}

.faq__answer-body p {
  margin: 0 0 0.75em;
}

.faq__answer-body ul,
.faq__answer-body ol {
  margin: 0 0 0.75em;
  padding-left: 1.25em;
}

.faq__answer-body li {
  margin: 0.25em 0;
}

.faq__answer-body a {
  color: #6152f2;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.faq__answer-body strong {
  font-weight: 700;
}

.faq__empty {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

@media (min-width: 1024px) {
  .faq__list,
  .faq__item {
    max-width: 68.75rem;
  }

  .faq__trigger {
    font-size: 1.125rem;
    line-height: 1.4;
    min-height: 1.75rem;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .faq__header {
    margin-bottom: 1.25rem;
  }

  .faq__item {
    padding: 0.875rem 1.125rem;
  }

  .faq__trigger {
    min-height: 2.75rem;
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .faq .container {
    gap: 0;
    width: 100%;
    max-width: 22.375rem;
    margin-inline: auto;
  }

  .faq__header {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    width: 100%;
  }

  .faq__list {
    gap: 0.5rem;
    max-width: 22.375rem;
  }

  .faq__item {
    padding: 0.875rem 1rem;
    border-radius: 12px;
  }

  .faq__trigger {
    min-height: 2.75rem;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
  }

  .faq__arrow {
    width: 1.125rem;
    height: 1.125rem;
  }

  .faq__answer-body {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

@media (max-width: 374px) {
  .faq .container,
  .faq__list {
    max-width: 100%;
  }

  .faq__item {
    padding: 0.75rem 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item,
  .faq__answer,
  .faq__arrow,
  .faq__trigger-text {
    transition: none;
  }
}

/* === css/components/cta-banner.css === */
.cta-banner {
  padding-top: 0;
  padding-bottom: var(--section-py);
}

.cta-banner__panel {
  box-sizing: border-box;
  max-width: 68.75rem;
  margin-inline: auto;
  border: 1px solid #7b5415;
  border-radius: 26px;
  background: linear-gradient(90deg, #03080f 0%, #241a13 25.96%, #040619 100%);
  box-shadow: 0 0 8.1px 6px rgba(0, 0, 0, 0.29);
  overflow: visible;
}

.cta-banner__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 8.3125rem;
  padding: 30px 37px;
}

.cta-banner__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 43px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.cta-banner__icon {
  display: block;
  flex: 0 0 auto;
  width: 5.4375rem;
  height: 4.40875rem;
  max-width: none;
  object-fit: contain;
  object-position: center;
  background: none;
  filter: drop-shadow(0 0 40px rgba(239, 180, 40, 0.75));
}

.cta-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.cta-banner__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.154;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.cta-banner__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.125;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Придбати курс основ. */
.cta-banner__btn {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 12.0625rem;
  min-height: 3.1875rem;
  padding: 15px 30px;
  border: 1px solid #4c44f5;
  border-radius: 15px;
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    #100cb8 0%,
    #4f45e5 100%
  );
  box-shadow: inset 0 0 13px #6152f2;
  text-decoration: none;
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base);
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.cta-banner__btn-label {
  display: inline-block;
  flex: none;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  font-synthesis: none;
  line-height: 1.3125rem;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  color: var(--color-btn-label);
  -webkit-text-stroke: 1px #0e0bb3;
  paint-order: stroke fill;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: color var(--transition-base);
}

/* Property 1=Variant2 — hover (лише pointer: fine — без sticky hover на iOS) */
@media (hover: hover) and (pointer: fine) {
  .cta-banner__btn:hover {
    background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
    box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
  }

  .cta-banner__btn:hover .cta-banner__btn-label {
    color: #ffffff;
    -webkit-text-stroke: 0 transparent;
    paint-order: normal;
  }
}

.cta-banner__btn:focus {
  outline: none;
}

.cta-banner__btn:focus-visible {
  outline: 2px solid #f5b12a;
  outline-offset: 4px;
  background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
  box-shadow: 0 0 50px #2c28d2, inset 0 0 50px #6152f2;
}

.cta-banner__btn:focus-visible .cta-banner__btn-label {
  color: #ffffff;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

.cta-banner__btn:active {
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    rgba(90, 86, 255, 0.2) 0%,
    rgba(16, 0, 255, 0.2) 100%
  );
  box-shadow: 0 0 50px #2c28d2;
}

.cta-banner__btn:active .cta-banner__btn-label {
  color: #7d86b9;
  -webkit-text-stroke: 0 transparent;
  paint-order: normal;
}

@media (min-width: 1024px) {
  .cta-banner__panel {
    width: 68.75rem;
    max-width: 68.75rem;
    height: 8.3125rem;
  }

  .cta-banner__inner {
    height: 100%;
    min-height: 8.3125rem;
    padding: 30px 37px;
    gap: 0;
  }

  .cta-banner__content {
    flex: 0 1 auto;
    max-width: 46.5625rem;
    gap: 43px;
  }

  .cta-banner__icon {
    width: 5.4375rem;
    height: 4.40875rem;
  }

  .cta-banner__title {
    font-size: 1.625rem;
    line-height: 1.875rem;
  }

  .cta-banner__text {
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .cta-banner__btn {
    flex: 0 0 auto;
    width: 12.0625rem;
    height: 3.1875rem;
    min-width: 12.0625rem;
    min-height: 3.1875rem;
    padding: 15px 30px;
  }

  .cta-banner__btn-label {
    width: 8.3125rem;
    height: 1.3125rem;
    font-size: 1.125rem;
    line-height: 1.3125rem;
  }
}

@media (max-width: 1023px) {
  .cta-banner__inner {
    gap: 20px;
    padding: 24px 28px;
  }

  .cta-banner__content {
    gap: 28px;
  }

  .cta-banner__title {
    font-size: 1.375rem;
  }
}

@media (max-width: 767px) {
  .cta-banner {
    padding-bottom: var(--section-py-mobile);
  }
}

@media (max-width: 374px) {
  .cta-banner__inner {
    padding: 18px 16px;
  }
}

/* === css/components/footer.css === */
.footer {
  --footer-icon-glow: drop-shadow(0 0 17.8px #3a3cdf);
}

.footer__shell {
  background: rgba(2, 2, 26, 0.8);
  border-top: 1px solid #0b0c20;
}

.footer__container {
  max-width: 75rem;
  padding-left: max(2.8125rem, env(safe-area-inset-left, 0px));
  padding-right: max(2.8125rem, env(safe-area-inset-right, 0px));
}

.footer__body {
  padding-top: 3rem;
  padding-bottom: 2.375rem;
}

.footer__grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.footer__brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  flex: 0 0 19.625rem;
  max-width: 19.625rem;
}

.footer__brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
}

.footer__brand-icon {
  display: block;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.6875rem;
  font-weight: 800;
  line-height: 1.222;
  color: var(--color-text);
  text-align: center;
}

.footer__brand-name-accent {
  color: var(--color-accent);
}

.footer__description {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.726;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.footer__socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  width: 13.375rem;
  height: 2.6875rem;
}

.footer__social-link {
  display: block;
  flex-shrink: 0;
  width: 2.6875rem;
  height: 2.6875rem;
  border-radius: 8px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

.footer__social-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.footer__social-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.footer__divider {
  flex-shrink: 0;
  align-self: stretch;
  width: 1px;
  min-height: 15.0625rem;
  margin: 0 1.1875rem;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 34, 0.6) 0%,
    rgba(10, 10, 34, 1) 50%,
    rgba(10, 10, 34, 0.6) 100%
  );
}

.footer__nav-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
}

.footer__divider--inner {
  margin: 0 1.28125rem;
  min-height: 12rem;
}

.footer__col {
  flex: 0 0 auto;
}

.footer__col-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3125rem;
  min-height: 0;
  margin: 0 0 1.125rem;
  overflow: visible;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.125rem;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.footer__col-title > span {
  display: block;
  padding-top: 0.0625rem;
}

.footer__col--contacts .footer__col-title {
  margin-bottom: 2.0625rem;
}

.footer__col-icon {
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: var(--footer-icon-glow);
  -webkit-filter: var(--footer-icon-glow);
}

.footer__col-icon--page {
  width: 1.40625rem;
  height: 1.171875rem;
}

.footer__col-icon--platform {
  width: 1.125rem;
  height: 1.40625rem;
}

.footer__col-icon--company {
  width: 1.40625rem;
  height: 1.03125rem;
}

.footer__col-icon--contact {
  width: 1.25rem;
  height: 1.188125rem;
}

.footer__col-list,
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.726;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: color var(--transition-base);
}

.footer__link--wrap {
  max-width: 6.5rem;
  line-height: 1.45;
}

.footer__link:hover {
  color: var(--color-text);
}

.footer__col--contacts {
  width: 11.875rem;
  max-width: 11.875rem;
}

.footer__contacts {
  gap: 1.1875rem;
  margin-bottom: 0;
}

.footer__contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  overflow: visible;
}

.footer__contact-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  overflow: visible;
}

.footer__contact-icon {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  filter: var(--footer-icon-glow);
  -webkit-filter: var(--footer-icon-glow);
}

.footer__contact-icon--phone {
  width: 1.2rem;
  height: 1.2rem;
}

.footer__contact-icon--mail {
  width: 1.3125rem;
  height: 1.03125rem;
}

.footer__contact-icon--chat {
  width: 1.375rem;
  height: 1.3125rem;
}

.footer__contact-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}

.footer__contact-main {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.143;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: color var(--transition-base);
}

.footer__contact-main:hover {
  color: var(--color-accent);
}

.footer__contact-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.726;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.footer__write-btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 11.875rem;
  min-height: 3.1875rem;
  margin-top: 1.0625rem;

  padding: 0.9375rem 1.25rem;
  border: 1px solid #4c44f5;
  border-radius: 15px;
  background: radial-gradient(206.19% 206.19% at 50% 50%, #100cb8 0%, #4f45e5 100%);
  box-shadow: inset 0 0 13px #6152f2;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.167;
  text-align: center;
  color: var(--color-text);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition:
    background var(--transition-base),
    box-shadow var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
  -webkit-tap-highlight-color: transparent;
}

.footer__write-btn-label {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Property 1=Variant2 — hover (лише pointer: fine — без sticky hover на iOS) */
@media (hover: hover) and (pointer: fine) {
  .footer__write-btn:hover {
    background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
    box-shadow: 0 0 40px #2c28d2, inset 0 0 40px #6152f2;
    transform: translateY(-1px);
  }
}

.footer__write-btn:focus-visible {
  background: radial-gradient(206.19% 206.19% at 50% 50%, #5a56ff 0%, #1000ff 100%);
  box-shadow: 0 0 40px #2c28d2, inset 0 0 40px #6152f2;
}

.footer__write-btn:active {
  background: radial-gradient(
    206.19% 206.19% at 50% 50%,
    rgba(90, 86, 255, 0.2) 0%,
    rgba(16, 0, 255, 0.2) 100%
  );
  box-shadow: 0 0 40px #2c28d2;
  color: #7d86b9;
  transform: translateY(0);
}

.footer__write-btn img {
  flex-shrink: 0;
  width: 0.9375rem;
  height: 0.9375rem;
  object-fit: contain;
}

.footer__bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7.125rem;
  min-height: 6.1875rem;
  margin-left: -2.8125rem;
  margin-right: -2.8125rem;
  padding: 1.4375rem 2.8125rem;
  border-top: 1px solid #0e0f24;
  border-bottom: 1px solid #0e0f24;
  background: rgba(2, 2, 26, 0.8);
}

.footer__copy {
  flex: 0 0 22.4375rem;
  width: 22.4375rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.726;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.footer__bar-aside {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3.3125rem;
  flex: 0 1 auto;
  min-width: 0;
}

.footer__payments {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3.3125rem;
  flex: 0 0 auto;
}

.footer__payments-label {
  flex-shrink: 0;
  width: 5.1875rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.726;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.footer__pay-badges {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.0625rem;
  flex: 0 0 12.4375rem;
}

.footer__pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4375rem;
  height: 2.3125rem;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.footer__pay-badge img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.footer__credit {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.726;
  color: var(--color-text-muted);
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.footer__credit-team {
  color: #efb428;
}

.footer__credit-brand {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.726;
  color: var(--color-text);
}

.footer__heart {
  flex-shrink: 0;
  margin-left: 2px;
}

@media (max-width: 1199px) {
  .footer__container {
    padding-left: max(var(--space-6), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-6), env(safe-area-inset-right, 0px));
  }

  .footer__grid {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__brand-col {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .footer__divider {
    display: none;
  }

  .footer__nav-group {
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    width: 100%;
  }

  .footer__divider--inner {
    display: none;
  }

  .footer__col--contacts {
    width: 100%;
    max-width: 20rem;
  }

  .footer__bar {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-left: calc(-1 * max(var(--space-6), env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(var(--space-6), env(safe-area-inset-right, 0px)));
    padding-left: max(var(--space-6), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-6), env(safe-area-inset-right, 0px));
  }

  .footer__copy {
    flex: 1 1 100%;
    width: auto;
  }

  .footer__bar-aside {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }
}

@media (max-width: 374px) {
  .footer__socials {
    gap: 0.625rem;
  }

  .footer__write-btn {
    font-size: 1rem;
    padding: 0.875rem 1.125rem;
  }
}

/* Мінімальний підвал: лише «Публічна оферта» */
.footer--offer-only .footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.footer--offer-only .footer__offer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer--offer-only .footer__link--offer {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  color: #b3adae;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer--offer-only .footer__link--offer:hover {
  color: #e8e8f3;
}

@media (max-width: 767px) {
  .footer--offer-only .footer__container {
    padding-top: 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .footer--offer-only .footer__link--offer {
    font-size: 0.8125rem;
  }
}

/* === css/components/mobile-home.css === */
@media (max-width: 1023px) {
  html {
    background-color: #010213;
  }

  #main-content,
  .footer,
  .pricing {
    max-width: 100%;
    overflow-x: clip;
  }
}

@media (max-width: 767px) {
  body {
    background-color: #010213;
  }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .section {
    padding: 2rem 0;
  }

  .section__title {
    font-size: 2rem;
    line-height: 1.21875;
  }

  .features .container {
    display: flex;
    justify-content: center;
  }

  .features__shell {
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 22.375rem;
  }

  .features__eyebrow {
    align-self: center;
    padding: 5px 10px;
    gap: 8px;
    border-radius: 11px;
    background: rgba(2, 0, 172, 0.18);
  }

  .features__eyebrow-icon {
    width: 1.5rem;
    height: 1.4375rem;
  }

  .features__eyebrow-text {
    font-size: 1rem;
    line-height: 1.125rem;
    background: radial-gradient(
      50% 50% at 50% 50%,
      #3203ea 9.13%,
      #5d41ff 86.06%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .features__layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.0625rem;
    width: 100%;
  }

  .features__mockup {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .features__mockup img {
    width: 100%;
    height: 16.8125rem;
    max-height: 16.8125rem;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
  }

  .features__content {
    gap: 1.5rem;
    width: 100%;
  }

  .features__title {
    max-width: 18.625rem;
    font-size: 2rem;
    line-height: 1.21875;
  }

  .features__list {
    gap: 1.125rem;
    width: 100%;
    max-width: 22.625rem;
  }

  .features__item {
    gap: 1.4375rem;
    align-items: center;
    max-width: 22.625rem;
  }

  .features__item:first-child {
    align-items: flex-start;
  }

  .features__item--notes {
    max-width: 22.375rem;
    align-self: stretch;
  }

  .features__item-body {
    gap: 5px;
    max-width: 16.1875rem;
  }

  .features__item--notes .features__item-body {
    max-width: 20.5625rem;
  }

  .features__icon {
    width: 5rem;
    height: 5rem;
    min-width: 5rem;
    min-height: 5rem;
    border-radius: 20px;
    background: #0a1978;
    box-shadow: 0 0 12.5px 2px #081775;
  }

  .features__icon img {
    width: 3.125rem;
    height: 3.125rem;
  }

  .features__item--notes .features__icon img {
    width: 2.4375rem;
    height: 3.25rem;
  }

  .features__item-title {
    font-size: 1.25rem;
    line-height: 1.5rem;
  }

  .features__item-text {
    font-size: 1rem;
    line-height: 1.125rem;
    color: var(--color-text);
  }

  .pricing {
    background: #010213;
  }

  .pricing__header {
    gap: 1.5rem;
    margin-bottom: 0;
    margin-inline: auto;
    width: 100%;
    max-width: 22.3125rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .pricing__eyebrow {
    padding: 5px 10px;
    border-radius: 11px;
    gap: 8px;
    margin-inline: auto;
  }

  .pricing__title {
    width: min(22.3125rem, 100%);
    max-width: 22.3125rem;
    min-height: 4.25rem;
    margin-inline: auto;
    font-size: 1.75rem;
    line-height: 2.125rem;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__title-line {
    display: block;
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }

  @supports (text-wrap: balance) {
    .pricing__subtitle {
      text-wrap: balance;
    }
  }

  .pricing__title-accent {
    color: var(--color-accent);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__subtitle {
    font-size: 1rem;
    line-height: 1.125rem;
    color: #b3adae;
    max-width: 22.25rem;
    width: 100%;
    margin-inline: auto;
    align-self: center;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__board {
    gap: 1.5rem;
    align-items: center;
  }

  .pricing__mode {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 22.25rem;
    min-height: 5.25rem;
    margin-inline: auto;
  }

  .pricing__mode-line {
    display: block;
    flex: none;
    height: 0;
    border: none;
    border-top: 2px solid #151939;
    background: none;
  }

  .pricing__mode--self .pricing__mode-line {
    width: 5.923125rem;
  }

  .pricing__mode--group .pricing__mode-line {
    width: 6.03125rem;
  }

  .pricing__mode-text {
    flex: none;
    padding-inline: 0;
    font-size: 1.125rem;
    line-height: 1.3125rem;
    font-weight: 700;
    text-align: center;
    color: #b3adae;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .pricing__mode--self .pricing__mode-text {
    max-width: 10.104375rem;
  }

  .pricing__mode--group .pricing__mode-text {
    max-width: 9.325625rem;
  }

  .pricing__pair--self {
    gap: 1.5rem;
  }

  .pricing__pair--group {
    gap: 1.5rem;
  }

  .pricing__columns {
    width: 100%;
    max-width: 16.71875rem;
    gap: 1.5rem;
  }

  .pricing__pair {
    gap: 0.75rem;
  }

  .pricing-card {
    max-width: 16.71875rem;
    margin-inline: auto;
    min-height: 30.125rem;
    background: #080c21;
    border-radius: 30px;
  }

  .pricing-card--featured {
    min-height: 32rem;
  }

  .pricing-card__badge {
    top: 0;
    border-radius: 0 0 7px 7px;
    padding: 5px 10px;
    background: #e8b429;
    font-size: 0.75rem;
    line-height: 0.875rem;
    font-weight: 700;
    color: #030d21;
  }

  .pricing-card__price-main {
    font-size: 3rem;
    line-height: 1.229;
  }

  .pricing-card__btn {
    width: 12.6875rem;
    max-width: 100%;
    height: 3.8125rem;
    padding: 20px 35px;
    border-radius: 15px;
  }

  .pricing-card__btn-label {
    font-size: 18px;
    line-height: 21px;
  }

  .pricing__guarantee-wrap {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 22.375rem;
  }

  .pricing__guarantee {
    width: 100%;
    min-height: 2.125rem;
    padding: 10px;
    border-radius: 11px;
    background: #030823;
  }

  .pricing__guarantee-inner {
    width: 100%;
    gap: 8px;
  }

  .pricing__guarantee-text {
    max-width: none;
    font-size: 0.75rem;
    line-height: 0.875rem;
    color: #b3adae;
  }

  .pricing__guarantee-icon {
    width: 0.75rem;
    height: 0.8125rem;
  }

  .cta-banner__panel {
    max-width: 22.375rem;
    margin-inline: auto;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem;
    min-height: 14.864375rem;
  }

  .cta-banner__content {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .cta-banner__icon {
    width: 2.685rem;
    height: 2.176875rem;
  }

  .cta-banner__title {
    font-size: 1.625rem;
    line-height: 1.154;
  }

  .cta-banner__text {
    font-size: 1rem;
    line-height: 1.125;
  }

  .cta-banner__btn {
    width: 12.0625rem;
    min-height: 3.1875rem;
    padding: 1.25rem 2.1875rem;
    border-radius: 15px;
  }

  .footer__shell {
    background: rgba(2, 2, 26, 0.8);
    border-top: 1px solid #0b0c20;
  }

  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.375rem;
    padding-bottom: 0;
  }

  .footer__body {
    width: 100%;
    max-width: 22.375rem;
    padding: 0;
  }

  .footer__grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4375rem;
    width: 100%;
  }

  .footer__grid > .footer__divider {
    display: none;
  }

  .footer__brand-col {
    width: 100%;
    max-width: 19.625rem;
    gap: 1.25rem;
  }

  .footer__brand-name {
    font-size: 1.6875rem;
    line-height: 2.0625rem;
  }

  .footer__description {
    max-width: 19.625rem;
    font-size: 0.875rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__nav-group {
    display: grid;
    grid-template-columns: 8.75rem 9.5rem;
    column-gap: 2.4375rem;
    row-gap: 2.4375rem;
    width: 100%;
    max-width: 20.6875rem;
  }

  .footer__col--page,
  .footer__nav-group > .footer__divider--inner {
    display: none;
  }

  .footer__col--platform {
    grid-column: 1;
    grid-row: 1;
    width: 8.75rem;
  }

  .footer__col--company {
    grid-column: 2;
    grid-row: 1;
    width: 9.5rem;
  }

  .footer__col--platform .footer__col-title {
    gap: 0.3125rem;
    min-height: auto;
    margin-bottom: 1.125rem;
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .footer__col--company .footer__col-title {
    gap: 0.3125rem;
    min-height: auto;
    margin-bottom: 1.375rem;
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .footer__link {
    color: #b3adae;
    font-size: 0.875rem;
    line-height: 1.726;
  }

  .footer__link--wrap {
    max-width: 6.5rem;
    line-height: 1.45;
  }

  .footer__col--contacts {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 11.875rem;
    max-width: 11.875rem;
    margin: 0;
  }

  .footer__col--contacts .footer__col-title {
    justify-content: flex-start;
    gap: 0.3125rem;
    min-height: auto;
    margin-bottom: 2.0625rem;
    font-size: 1rem;
    line-height: 1.125rem;
  }

  .footer__contacts {
    width: 100%;
    gap: 1.1875rem;
    margin-bottom: 0;
  }

  .footer__contact {
    align-items: center;
    gap: 0.875rem;
  }

  .footer__contact-main {
    font-size: 0.875rem;
    line-height: 1.726;
    color: #ffffff;
  }

  .footer__contact-sub {
    font-size: 0.75rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__write-btn {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 11.875rem;
    max-width: 100%;
    padding: 0.9375rem 1.25rem;
  }

  .footer__write-btn img {
    width: 0.9375rem;
    height: 0.9375rem;
  }

  .footer__bar {
    display: contents;
  }

  .footer__bar-aside {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 19.0075rem;
  }

  .footer__payments {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
  }

  .footer__payments-label {
    font-size: 0.75rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__pay-badges {
    gap: 1.0625rem;
  }

  .footer__credit {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    white-space: normal;
    font-size: 0.75rem;
    line-height: 1.726;
    color: #b3adae;
  }

  .footer__credit-team {
    color: #b3adae;
  }

  .footer__copy {
    order: 3;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    align-self: stretch;
    width: auto;
    max-width: none;
    min-height: 6rem;
    margin-inline: calc(-1 * max(1rem, env(safe-area-inset-left, 0px))) calc(-1 * max(1rem, env(safe-area-inset-right, 0px)));
    padding: 1.468125rem max(1rem, env(safe-area-inset-right, 0px)) calc(1.468125rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    border-top: 1px solid #0e0f24;
    border-bottom: 1px solid #0e0f24;
    background: rgba(2, 2, 26, 0.8);
    font-size: 0.75rem;
    line-height: 1.726;
    text-align: center;
    color: #b3adae;
  }

  .footer__copy br {
    display: inline;
  }
}

@media (max-width: 374px) {
  .hero__cta {
    padding: 1.25rem 1rem 1.25rem 2.75rem;
    gap: 1rem;
  }
}

/* === css/components/toast.css === */
.toast-stack {
  position: fixed;
  top: calc(1rem + env(safe-area-inset-top, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: min(23rem, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  background: rgba(13, 18, 64, 0.96);
  border: 1px solid rgba(34, 6, 199, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  font-family: var(--font-body, 'Arimo', sans-serif);
  font-size: 0.875rem;
  line-height: 1.4;
  color: #e8e8f3;
  pointer-events: auto;
  animation: toast-in 0.25s ease-out;
}

.toast--error {
  background: rgba(64, 13, 13, 0.96);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.toast--warning {
  background: rgba(64, 45, 13, 0.96);
  border-color: rgba(232, 180, 41, 0.4);
  color: #f5d9a0;
}

.toast__text {
  flex: 1 1 auto;
  min-width: 0;
}

.toast__close {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  opacity: 0.6;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity var(--transition-base, 0.2s ease);
  -webkit-tap-highlight-color: transparent;
}

.toast__close:hover {
  opacity: 1;
}

.toast.is-leaving {
  animation: toast-out 0.2s ease-in forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .toast.is-leaving { animation: none; opacity: 0; }
}

@media (max-width: 480px) {
  .toast-stack {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

