/* ===== AXION — космічно-нанотехнологічний лендинг ===== */

:root {
  --bg: #03040c;
  --bg-soft: #070a18;
  --cyan: #35e6ff;
  --violet: #8b5cff;
  --magenta: #ff4fd8;
  --gold: #ffd479;
  --text: #eaf0ff;
  --muted: #8b93b5;
  --line: rgba(120, 150, 255, 0.14);
  --glass: rgba(13, 19, 40, 0.66);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* м'яке космічне світіння у фоні позаду 3D */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(53, 230, 255, 0.10), transparent 55%),
    radial-gradient(90% 70% at 100% 20%, rgba(139, 92, 255, 0.10), transparent 60%),
    radial-gradient(80% 80% at 0% 100%, rgba(255, 79, 216, 0.08), transparent 55%);
  z-index: 0;
  pointer-events: none;
}

h1, h2, h3, .eyebrow, .btn, .nav__logo, .footer__logo {
  font-family: "Space Grotesk", sans-serif;
}

/* ===== 3D полотно ===== */
#webgl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* легка зернистість зверху для «фільмового» вигляду */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .footer { position: relative; z-index: 3; }

/* ===== Прелоадер ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vh, 46px);
}
.preloader__inner {
  display: flex;
  align-items: baseline;
  line-height: 1; /* без зайвого «повітря» під літерами — відступ до кнопки задає лише gap */
}
.preloader__brand {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(46px, 12vw, 96px);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-right: -0.12em; /* розрядка додає порожнечу після «N» — компенсуємо, щоб назва стояла рівно по центру */
  background: linear-gradient(120deg, var(--cyan), var(--violet), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.preloader__count {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(20px, 4vw, 34px);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  /* лічильник «висить» праворуч і не займає місця — назва завжди точно по центру */
  flex: 0 0 0;
  min-width: 0;
  position: relative;
  left: 18px;
  white-space: nowrap;
}
.preloader__stage {
  display: grid;
  justify-items: center;
  align-items: start;
}
.preloader__stage > * { grid-area: 1 / 1; }
.preloader__bar {
  width: min(280px, 60vw);
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}
/* екран входу: лічильник і смуга гаснуть, з'являються кнопки */
.preloader__count,
.preloader__bar {
  transition: opacity 0.5s var(--ease);
}
.preloader.is-ready .preloader__count,
.preloader.is-ready .preloader__bar {
  opacity: 0;
}
.preloader__enter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.7s var(--ease) 0.15s, transform 0.7s var(--ease) 0.15s, visibility 0.7s;
}
.preloader.is-ready .preloader__enter {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.preloader__enter .btn--primary {
  box-shadow: 0 0 40px rgba(53, 230, 255, 0.25);
  animation: enter-pulse 2.4s ease-in-out infinite;
}
@keyframes enter-pulse {
  50% { box-shadow: 0 0 60px rgba(139, 92, 255, 0.45); }
}
.preloader__mute {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line);
  transition: color 0.25s;
}
.preloader__mute:hover { color: var(--text); }

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

/* ===== Навігація ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 60px);
  transition: padding 0.4s var(--ease), background 0.4s;
}
.nav.is-scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(3, 4, 12, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  text-decoration: none;
}
.nav__logo span, .footer__logo span { color: var(--cyan); }
.nav__links {
  display: flex;
  gap: 34px;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--text); }
.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* кнопка звуку: «еквалайзер», танцює коли музика грає */
.sound {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 38px;
  height: 38px;
  padding: 12px 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.25s;
}
.sound:hover { border-color: rgba(53, 230, 255, 0.5); }
.sound i {
  display: block;
  width: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--muted);
  transition: height 0.3s, background 0.3s;
}
.sound.is-on i {
  background: var(--cyan);
  animation: eq 0.9s ease-in-out infinite alternate;
}
.sound.is-on i:nth-child(2) { animation-delay: -0.3s; animation-duration: 0.7s; }
.sound.is-on i:nth-child(3) { animation-delay: -0.6s; animation-duration: 1.1s; }
.sound.is-on i:nth-child(4) { animation-delay: -0.15s; animation-duration: 0.8s; }
@keyframes eq { from { height: 3px; } to { height: 14px; } }

/* перемикач мови EN / UA */
.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
}
.lang__btn {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 100px;
  padding: 8px 13px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s, background 0.25s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active {
  color: #04060f;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
}

/* ===== Кнопки ===== */
.btn {
  --pad-y: 15px;
  --pad-x: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn--sm { --pad-y: 10px; --pad-x: 22px; font-size: 13px; }
.btn--lg { --pad-y: 19px; --pad-x: 46px; font-size: 17px; }
.btn--full { width: 100%; }
.btn--primary {
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  color: #04060f;
  box-shadow: 0 0 0 rgba(53, 230, 255, 0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(53, 230, 255, 0.35);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 230, 255, 0.5);
  box-shadow: 0 8px 30px rgba(53, 230, 255, 0.12);
}

/* ===== Загальна сітка секцій ===== */
.section {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 60px);
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.eyebrow.center { text-align: center; }
.section__title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section__title.center { text-align: center; margin-bottom: 60px; }

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero__title {
  font-size: clamp(80px, 22vw, 260px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
  background: linear-gradient(180deg, #ffffff 0%, #9fb2ff 60%, rgba(159, 178, 255, 0.3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(53, 230, 255, 0.25));
}
.hero__sub {
  max-width: 560px;
  margin: 26px auto 0;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
}
.hero__sub b { color: var(--text); font-weight: 500; }
.hero__cta {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.scroll-hint i {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--cyan), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint i::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--cyan);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { top: -50%; } 100% { top: 100%; }
}

/* ===== MANIFESTO ===== */
.manifesto { text-align: center; padding-block: clamp(120px, 20vh, 240px); }
.manifesto__line {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(34px, 7vw, 90px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.manifesto__line--accent {
  --grad: linear-gradient(120deg, var(--cyan), var(--magenta));
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.manifesto__sub {
  max-width: 620px;
  margin: 34px auto 0;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
}
.step__num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}
.step h3 { font-size: 24px; font-weight: 600; margin: 18px 0 12px; }
.step p { color: var(--muted); font-size: 15px; }

/* ===== STATS ===== */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-block: 1px solid var(--line);
  padding-block: 50px;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ===== FEATURES ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  padding: 36px 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--glass);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 230, 255, 0.4);
  box-shadow: 0 20px 60px rgba(53, 230, 255, 0.10);
}
.card__icon {
  font-size: 26px;
  color: var(--cyan);
  margin-bottom: 18px;
}
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== INTERACTIVE CORE ===== */
.core { min-height: 100svh; display: flex; align-items: center; }
.core__text { max-width: 460px; }
.core__text p { color: var(--muted); font-size: 17px; }
.core__text p b { color: var(--text); }
.core__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(53, 230, 255, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(53, 230, 255, 0); }
}

/* ===== PRICING ===== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass);
}
.plan--featured {
  border-color: rgba(53, 230, 255, 0.5);
  background: linear-gradient(180deg, rgba(53, 230, 255, 0.08), rgba(139, 92, 255, 0.05));
  box-shadow: 0 30px 80px rgba(53, 230, 255, 0.12);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 32px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  color: #04060f;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
}
.plan__name { font-size: 22px; font-weight: 600; }
.plan__price {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin: 14px 0 24px;
  color: var(--muted);
  font-size: 15px;
}
.plan__price span {
  font-size: 46px;
  font-weight: 700;
  color: var(--text);
}
.plan__price .plan__per { font-size: inherit; font-weight: inherit; color: inherit; }
.plan__list {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.plan__list li {
  padding: 11px 0 11px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}
.plan__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ===== CTA ===== */
.cta { text-align: center; padding-block: clamp(120px, 22vh, 260px); }
.cta__title {
  font-size: clamp(40px, 9vw, 110px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 44px;
  --grad: linear-gradient(180deg, #fff, #9fb2ff);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== FOOTER ===== */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px clamp(20px, 5vw, 60px);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.footer__logo { font-size: 22px; font-weight: 700; letter-spacing: 0.14em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__disclaimer { color: var(--muted); font-size: 12px; max-width: 720px; opacity: 0.7; }
.footer__copy { color: var(--muted); font-size: 13px; margin-top: 16px; opacity: 0.6; }

/* ===== Заглушки для ще не заповнених даних (content/project.js) ===== */
.todo {
  display: inline-block;
  padding: 0 0.35em;
  border: 1px dashed rgba(255, 181, 71, 0.7);
  border-radius: 6px;
  color: #ffb547;
  font-style: normal;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
a.is-todo {
  opacity: 0.55;
  cursor: not-allowed;
  outline: 1px dashed rgba(255, 181, 71, 0.7);
  outline-offset: 3px;
}
a.is-todo:hover { transform: none; box-shadow: none; }

/* ===== Загальне: підзаголовок секції ===== */
.section__title--tight.center { margin-bottom: 20px; }
.section__lead {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
}
.step p b, .card p b { color: var(--text); font-weight: 500; }

/* ===== Параметри стратегії ===== */
.params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.param {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
}
.param dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.param dd {
  margin-top: 12px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.param__note { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ===== Результати (цифри — лише на Binance) ===== */
.results__box {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 64px);
  text-align: center;
  border: 1px solid rgba(53, 230, 255, 0.35);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(53, 230, 255, 0.07), rgba(139, 92, 255, 0.04));
  box-shadow: 0 30px 80px rgba(53, 230, 255, 0.08);
}
.results__text { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); margin-bottom: 32px; }
.results__note { margin-top: 20px; font-size: 13px; color: var(--muted); opacity: 0.85; }

/* ===== Як почати ===== */
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.start__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.start__note {
  max-width: 620px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ===== Ризики ===== */
.card--risk { border-color: rgba(255, 70, 110, 0.25); }
.card--risk h3::before { content: "!"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 12px; border-radius: 50%; font-size: 14px; color: #ff466e; border: 1px solid rgba(255, 70, 110, 0.5); vertical-align: 3px; }
.card--risk:hover { border-color: rgba(255, 70, 110, 0.5); box-shadow: 0 20px 60px rgba(255, 70, 110, 0.08); }
.risks__more { margin-top: 36px; text-align: center; }
.risks__more a, .legal a { color: var(--cyan); text-underline-offset: 4px; }

/* ===== Словник ===== */
.terms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.term { padding: 24px 0; border-bottom: 1px solid var(--line); }
.term dt {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.term dd { color: var(--muted); font-size: 15px; }

/* ===== FAQ ===== */
.faq__list { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: none;
  font-size: 24px;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary h3 { font-size: clamp(17px, 2vw, 20px); font-weight: 500; }
.faq__item p { padding: 0 0 26px; color: var(--muted); font-size: 15px; max-width: 700px; }

/* ===== Фінальний заклик ===== */
.cta__note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ===== Юридичні сторінки ===== */
.legal {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
  padding: 140px clamp(20px, 5vw, 40px) 80px;
}
.legal__back { display: inline-block; margin-bottom: 36px; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal__back:hover { color: var(--text); }
.legal h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.legal__updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; margin: 40px 0 12px; }
.legal p, .legal li { color: #c5cbe3; font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 22px; }
.legal li + li { margin-top: 8px; }
.legal--page .nav { background: rgba(3, 4, 12, 0.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }

@media (max-width: 1100px) {
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .steps, .cards, .plans, .terms { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}
@media (max-width: 520px) {
  .stats__grid { grid-template-columns: 1fr; }
  .nav__right { gap: 8px; }
  .nav__right .btn--sm { --pad-x: 16px; }
  /* кнопка входу не ширша за назву AXION */
  .preloader__enter .btn--lg { --pad-y: 15px; --pad-x: 34px; font-size: 15px; }
}
@media (max-width: 420px) {
  /* на вузьких телефонах у шапці лишаємо звук + мову, CTA є в hero */
  .nav__right .btn--sm { display: none; }
}

/* Space Grotesk не має кирилиці — для української беремо схожий геометричний Manrope */
html[lang="uk"] h1, html[lang="uk"] h2, html[lang="uk"] h3,
html[lang="uk"] .eyebrow, html[lang="uk"] .btn, html[lang="uk"] .plan__price,
html[lang="uk"] .param dd, html[lang="uk"] .term dt {
  font-family: "Manrope", "Space Grotesk", sans-serif;
}

/* ===== 3D cube-assemble text ===== */
.cube-host {
  perspective: 900px;
}
.cube {
  display: inline-block;
}

/* DOM-назва прихована — її малюють частинки (атоми) у WebGL, місце під неї лишається */
.hero__title {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

/* градієнтні заголовки: переносимо градієнт на кожен кубик, щоб текст був видимим */
.hero__title .cube,
.manifesto__line--accent .cube,
.cta__title .cube {
  background: var(--grad, inherit);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* коли заголовок розбитий на кубики, градієнт малює кожна літера сама.
   Маска background-clip:text на самому заголовку з 3D-повернутими літерами в Chrome
   малює «привидів» — літери стопкою одна на одній біля лівого краю */
.manifesto__line--accent.cube-host,
.cta__title.cube-host {
  background: none;
}

/* неонове підсвічування заголовків (успадковується кубиками) — як у графіка */
.glow-text {
  text-shadow: 0 0 7px rgba(53, 230, 255, 0.45), 0 0 16px rgba(53, 230, 255, 0.24);
}

/* running shimmer on gradient text */
.manifesto__line--accent,
.stat__num,
.preloader__brand {
  background-size: 220% auto;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

@media (prefers-reduced-motion: reduce) {
  .scroll-hint i::after, .core__hint, .glow-text, .sound.is-on i,
  .manifesto__line--accent, .stat__num, .preloader__brand, .preloader__enter .btn--primary {
    animation: none;
  }
}
