@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0e0f;
  --panel: #101714;
  --panel-soft: rgba(16, 23, 20, 0.82);
  --line: #1f2a26;
  --line-strong: #383838;
  --text: #f5f7f4;
  --muted: #9ba8a0;
  --dim: #5a6b62;
  --accent: #46e7f2;
  --accent-2: #83dcf8;
  --container: 1372px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(70, 231, 242, 0.08), transparent 26rem),
    radial-gradient(circle at 78% 18%, rgba(124, 255, 107, 0.06), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: hidden;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.has-reveal .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
  transition-delay: var(--reveal-delay, 0s);
}

body.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 28px;
  left: 50%;
  width: min(var(--container), calc(100% - 48px));
  min-height: 78px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(16, 23, 20, 0.72);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 165px;
}

.logo img {
  width: 165px;
  height: 40px;
  object-fit: contain;
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 36px;
  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.header-actions {
  gap: 40px;
}

.lang {
  width: 63px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  cursor: pointer;
}

.lang b {
  color: var(--accent);
  font-weight: 400;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 19px 24px;
  border: 1.4px solid rgba(65, 191, 232, 0.66);
  border-radius: 12px;
  background: var(--accent);
  color: #0a0f0d;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  box-shadow: 0 0 15px rgba(124, 255, 107, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(70, 231, 242, 0.18);
}

.btn span {
  width: 22px;
  height: 22px;
  background: url("assets/arrow-dark.svg") center / contain no-repeat;
}

.btn-small {
  min-height: 46px;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 16px;
}

.btn-small span {
  width: 16px;
  height: 16px;
}

.btn-ghost {
  border-color: #7e7e7e;
  background: transparent;
  color: var(--text);
}

.btn-ghost span {
  transform: rotate(90deg);
  background-image: url("assets/arrow-light.svg");
}

.hero {
  position: relative;
  min-height: 941px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 1206px;
  background:
    linear-gradient(180deg, rgba(10, 14, 15, 0) 45%, var(--bg) 100%),
    url("assets/hero-bg.webp") center top / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-top: 222px;
}

.hero-text {
  min-width: 0;
}

.hero-fx {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 0 0 auto;
}

/* ─────────────────────────────────────────────────────────────
   Mesh-gradient: едва различимое цветное "пятно" под частицами.
   5 еле-прозрачных blob-ов строго в cyan/blue-палитре с разными
   траекториями — даёт ощущение живого mesh-градиента, не выбиваясь
   из брендовой палитры (никаких фиолетовых/оранжевых смешений).
   ───────────────────────────────────────────────────────────── */
.hero-fx-mesh {
  position: absolute;
  inset: -8%;
  z-index: 0;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.45;
  -webkit-filter: blur(64px) saturate(105%);
  filter: blur(64px) saturate(105%);
}

.mesh-blob {
  position: absolute;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}

/* Все цвета — в одной палитре (cyan / blue / teal). */
.mesh-blob-1 {
  background: radial-gradient(circle at 50% 50%, rgba(70, 231, 242, 0.32), rgba(70, 231, 242, 0) 70%);
  top: -5%;
  left: 5%;
  animation: blob-drift-1 16s ease-in-out infinite;
}

.mesh-blob-2 {
  background: radial-gradient(circle at 50% 50%, rgba(131, 220, 248, 0.30), rgba(131, 220, 248, 0) 70%);
  top: 20%;
  right: -10%;
  animation: blob-drift-2 21s ease-in-out infinite;
}

.mesh-blob-3 {
  background: radial-gradient(circle at 50% 50%, rgba(59, 226, 192, 0.26), rgba(59, 226, 192, 0) 70%);
  bottom: -8%;
  left: 12%;
  animation: blob-drift-3 24s ease-in-out infinite;
}

.mesh-blob-4 {
  background: radial-gradient(circle at 50% 50%, rgba(95, 168, 224, 0.26), rgba(95, 168, 224, 0) 70%);
  bottom: 10%;
  right: 15%;
  animation: blob-drift-4 19s ease-in-out infinite;
}

.mesh-blob-5 {
  background: radial-gradient(circle at 50% 50%, rgba(65, 128, 232, 0.22), rgba(65, 128, 232, 0) 70%);
  top: 35%;
  left: 32%;
  width: 50%;
  height: 50%;
  animation: blob-drift-5 27s ease-in-out infinite;
}

@keyframes blob-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25%      { transform: translate(28%, 22%) scale(1.30) rotate(35deg); }
  50%      { transform: translate(18%, 42%) scale(0.85) rotate(-20deg); }
  75%      { transform: translate(-18%, 26%) scale(1.15) rotate(15deg); }
}

@keyframes blob-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%      { transform: translate(-28%, 18%) scale(1.22) rotate(-30deg); }
  66%      { transform: translate(-40%, -18%) scale(0.88) rotate(25deg); }
}

@keyframes blob-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  40%      { transform: translate(22%, -30%) scale(1.30) rotate(20deg); }
  70%      { transform: translate(42%, 8%) scale(0.90) rotate(-15deg); }
}

@keyframes blob-drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  30%      { transform: translate(-26%, -28%) scale(0.85) rotate(-25deg); }
  60%      { transform: translate(20%, 22%) scale(1.30) rotate(40deg); }
}

@keyframes blob-drift-5 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  20%      { transform: translate(15%, -25%) scale(1.20) rotate(45deg); }
  55%      { transform: translate(-30%, -10%) scale(0.80) rotate(-30deg); }
  80%      { transform: translate(-10%, 30%) scale(1.10) rotate(20deg); }
}

.hero-fx canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
  touch-action: none;
}

.hero-fx-hint {
  position: absolute;
  z-index: 2;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.55;
  animation: hero-fx-pulse 3.4s ease-in-out infinite;
}

@keyframes hero-fx-pulse {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.85;
  }
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1372px;
  margin: 36px 0 22px;
  color: var(--text);
  font-size: clamp(40px, 4.75vw, 68px);
  font-weight: 800;
  line-height: 0.95;
}

h1 span,
h2 span {
  color: var(--accent-2);
}

h1 span {
  display: block;
}

.lead {
  max-width: 905px;
  margin-bottom: 35px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
}

.countdown-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(96px, 130px));
  gap: 12px;
  width: min(100%, 556px);
  margin-bottom: 34px;
}

.countdown div {
  height: 132px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.countdown b {
  display: block;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 66px;
  font-weight: 500;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 8px;
  color: #b0b0b0;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.hero-actions {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
}

.ticker {
  position: relative;
  height: 76px;
  display: flex;
  align-items: center;
  margin-top: 0; /* убираем перекрытие с кнопками hero */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(10, 14, 15, 0.26), rgba(70, 231, 242, 0.08), rgba(10, 14, 15, 0.26)),
    rgba(16, 23, 20, 0.86);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.03),
    inset 0 -1px rgba(70, 231, 242, 0.08);
  overflow: hidden;
}

.ticker::before {
  content: "";
  position: absolute;
  inset: 12px 0;
  background: linear-gradient(90deg, rgba(9, 19, 18, 0.2), rgba(23, 45, 43, 0.78), rgba(9, 19, 18, 0.2));
  border-top: 1px solid rgba(70, 231, 242, 0.16);
  border-bottom: 1px solid rgba(70, 231, 242, 0.16);
}

.ticker-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 21px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker span {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  line-height: 1.65;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("assets/marquee-icon.svg") center / contain no-repeat;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 118px 0 0;
}

.section-heading {
  max-width: 1372px;
  margin-bottom: 60px;
}

.section-heading.centered {
  text-align: center;
}

h2 {
  margin: 20px 0 0;
  color: var(--text);
  font-size: clamp(42px, 3.8vw, 72px);
  font-weight: 700;
  line-height: 1.28;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 48px;
  align-items: end;
  margin-bottom: 36px;
}

.split-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.info-card {
  position: relative;
  min-height: 320px;
  padding: 81px 25px 25px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--panel);
  background-clip: padding-box;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  isolation: isolate;
}

.info-card::before,
.bonus-grid article::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle, 0deg), transparent 0 18%, #46e7f2 35%, #3be2c0 52%, transparent 70% 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.info-card::after,
.bonus-grid article::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
}

.info-card:hover,
.bonus-grid article:hover {
  transform: translateY(-4px);
  background: #12201c;
  box-shadow: 0 18px 48px rgba(70, 231, 242, 0.08);
}

.info-card:hover::before,
.bonus-grid article:hover::before {
  opacity: 1;
  animation: border-spin 1.8s linear infinite;
}

.info-card img {
  position: absolute;
  top: -55px;
  left: 22px;
  width: 126px;
  transform: rotate(-7deg);
}

.info-card h3,
.format-grid h3,
.bonus-grid h3 {
  color: var(--text);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
}

.info-card p,
.format-grid p,
.bonus-grid p,
.criteria-list p,
.roadmap-panel p,
.footer p,
.faq-item p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.float-b {
  margin-top: 69px;
}

.float-c {
  margin-top: -10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tags span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #0a0f0d;
  color: var(--text);
  font-size: 14px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 64px 53px;
}

.format-grid article {
  position: relative;
  min-height: 202px;
}

.format-grid article::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 40px;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 35% 35%, var(--accent), var(--accent-2) 55%, rgba(124, 255, 107, 0.65) 100%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  border-radius: 42% 58% 63% 37% / 49% 38% 62% 51%;
  animation:
    format-blob-morph 16s ease-in-out infinite,
    format-blob-hue 22s linear infinite;
  will-change: border-radius, filter, transform;
}

.format-grid article:nth-child(2)::before { animation-delay: -3s, -5s; }
.format-grid article:nth-child(3)::before { animation-delay: -6s, -9s; }
.format-grid article:nth-child(4)::before { animation-delay: -9s, -13s; }
.format-grid article:nth-child(5)::before { animation-delay: -12s, -2s; }
.format-grid article:nth-child(6)::before { animation-delay: -2s, -17s; }
.format-grid article:nth-child(7)::before { animation-delay: -7s, -11s; }
.format-grid article:nth-child(8)::before { animation-delay: -11s, -15s; }

.format-grid img {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 24px;
}

@keyframes format-blob-morph {
  0% {
    border-radius: 42% 58% 63% 37% / 49% 38% 62% 51%;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  25% {
    border-radius: 67% 33% 41% 59% / 38% 55% 45% 62%;
    transform: translate(-48%, -53%) scale(1.08) rotate(40deg);
  }
  50% {
    border-radius: 35% 65% 56% 44% / 62% 41% 59% 38%;
    transform: translate(-53%, -47%) scale(0.95) rotate(95deg);
  }
  75% {
    border-radius: 58% 42% 33% 67% / 45% 60% 40% 55%;
    transform: translate(-50%, -52%) scale(1.05) rotate(150deg);
  }
  100% {
    border-radius: 42% 58% 63% 37% / 49% 38% 62% 51%;
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
  }
}

@keyframes format-blob-hue {
  0%   { filter: blur(28px) hue-rotate(0deg);   opacity: 0.55; }
  33%  { filter: blur(32px) hue-rotate(-22deg); opacity: 0.62; }
  66%  { filter: blur(26px) hue-rotate(18deg);  opacity: 0.5; }
  100% { filter: blur(28px) hue-rotate(0deg);   opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .format-grid article::before {
    animation: none;
  }
}

.format-grid h3 {
  min-height: 64px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.32;
}

.format-grid p {
  margin: 0;
  font-size: 16px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 36px 0 64px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: #264039;
}

.timeline article {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 14px;
}

.timeline b {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(70, 231, 242, 0.45);
  border-radius: 50%;
  background: #0f1f1e;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
}

.timeline span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}

.timeline h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.roadmap-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 0;
  max-width: 930px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.roadmap-panel img {
  height: 272px;
  width: 100%;
  object-fit: cover;
}

.roadmap-panel div {
  padding: 40px;
}

.roadmap-panel h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.criteria-layout {
  display: grid;
  grid-template-columns: minmax(0, 792px) minmax(320px, 554px);
  gap: 25px;
  align-items: start;
}

.criteria-list article {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 28px 40px;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 23, 20, 0);
  transform-origin: left center;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.criteria-list article:hover {
  z-index: 2;
  transform: scale(1.1);
  background: #12201c;
  box-shadow: 0 24px 64px rgba(70, 231, 242, 0.08);
}

.criteria-list b {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 88px;
  font-weight: 400;
  line-height: 1;
}

.criteria-list h3 {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.criteria-list p {
  margin-bottom: 0;
}

.trophy {
  position: sticky;
  top: 128px;
  height: 720px;
  overflow: hidden;
}

.trophy::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: block;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 15, 0), var(--bg));
}

.trophy img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bonus-grid article {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--panel);
  background-clip: padding-box;
  isolation: isolate;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.bonus-grid b {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0f0d;
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 500;
}

.bonus-grid h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.bonus-grid p {
  margin: 0;
  font-size: 15px;
}

.apply .section-heading p:last-child {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.apply-form {
  max-width: 942px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 23, 20, 0.82);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  margin: 0 0 42px;
  padding: 0;
  border: 0;
}

fieldset + fieldset {
  padding-top: 8px;
}

legend {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.field-label.required::after {
  content: "*";
  color: #ff4d5f;
  font-weight: 700;
}

.required-marker {
  color: #ff4d5f;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 53px;
  border: 1px solid #26332e;
  border-radius: 4px;
  background: #08110e;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(70, 231, 242, 0.72);
}

.field-caption {
  min-height: 17px;
  margin: 0;
  color: #ff6b7a;
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

label.is-invalid input,
label.is-invalid select,
label.is-invalid textarea {
  border-color: #ff4d5f;
  background: #120b0d;
  box-shadow: 0 0 0 1px rgba(255, 77, 95, 0.38), 0 0 18px rgba(255, 77, 95, 0.12);
}

label.is-valid input,
label.is-valid select,
label.is-valid textarea {
  border-color: rgba(70, 231, 242, 0.5);
}

label.is-invalid .field-caption,
.consent.is-invalid .field-caption {
  opacity: 1;
  transform: translateY(0);
}

.wide {
  grid-column: 1 / -1;
  position: relative;
}

.char-counter {
  justify-self: end;
  margin-top: -34px;
  margin-right: 14px;
  color: var(--dim);
  font-family: "JetBrains Mono", monospace;
}

.wide .field-caption {
  justify-self: start;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
}

.choice {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.choice label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 49px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #08110e;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.choice input,
.consent input {
  width: auto;
  min-height: auto;
  accent-color: var(--accent);
}

.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin: 0;
  cursor: pointer;
}

.choice input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  min-height: 14px;
  padding: 0;
  border: 1px solid #6b7d75;
  border-radius: 50%;
  background: #dce9ff;
  box-shadow: inset 0 0 0 3px #dce9ff;
}

.choice input:checked {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #0b1715;
}

.choice label:has(input:checked) {
  border-color: rgba(70, 231, 242, 0.72);
  background: rgba(70, 231, 242, 0.06);
}

.team-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  overflow: hidden;
}

.team-fields[hidden] {
  display: none;
}

.upload {
  min-height: 96px;
  display: grid;
  place-items: center;
  border: 1px dashed #26332e;
  border-radius: 4px;
  background: #08110e;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}

.upload input {
  display: none;
}

.upload small {
  margin: 0;
  justify-self: center;
}

.upload-button {
  display: none;
}

.upload-title {
  display: block;
}

.upload-filename {
  display: none;
  max-width: 100%;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(70, 231, 242, 0.35);
  border-radius: 4px;
  background: rgba(70, 231, 242, 0.08);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-all;
  text-align: center;
}

.upload-filename.is-visible {
  display: inline-block;
}

.upload-filename::before {
  content: "✓ ";
  color: var(--accent);
  margin-right: 2px;
}

.direction-other textarea {
  min-height: 84px;
  resize: vertical;
}

.direction-other[hidden] {
  display: none;
}

.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--muted);
}

.consent > span {
  min-width: 0;
}

.consent .field-caption {
  grid-column: 2;
  margin-left: 0;
}

.consent.is-invalid input {
  outline: 1px solid #ff4d5f;
  outline-offset: 2px;
}

.consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  width: 100%;
  border-radius: 4px;
}

.form-message {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--accent);
  text-align: center;
}

.form-message.is-error {
  color: #ff6b7a;
}

.faq-container {
  max-width: 1140px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.28s ease;
}

.faq-item button span {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: transparent;
  transform: rotate(0deg);
  transition: transform 0.35s ease;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-50%);
}

.faq-item button span::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item.is-open button {
  color: var(--accent);
}

.faq-item.is-open button span {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 980px;
  display: block;
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.45s ease,
    margin 0.35s ease,
    opacity 0.35s ease;
}

.faq-item.is-open p {
  max-height: calc(var(--faq-height, 0px) + 20px);
  margin: -4px 0 20px;
  opacity: 1;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1141px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #0a0f0d;
}

.partner-row div {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 36px;
  border-right: 1px solid var(--line);
  background: #0a0f0d;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-row div:hover {
  z-index: 2;
  transform: scale(1.04);
  border-color: rgba(70, 231, 242, 0.36);
  background: #101d1a;
  box-shadow: 0 24px 70px rgba(70, 231, 242, 0.13);
}

.partner-row div:last-child {
  border-right: 0;
}

.partner-row img {
  max-height: 94px;
  width: min(260px, 100%);
  object-fit: contain;
}

.partner-row .logo-minpriroda {
  width: min(281px, 100%);
  max-height: 90px;
}

.partner-row .logo-reo {
  width: min(295px, 100%);
  max-height: 96px;
}

.partner-row .logo-mincifry {
  width: min(281px, 100%);
  max-height: 90px;
}

.final-cta {
  padding: 140px 0;
  text-align: center;
}

.final-cta h2 {
  max-width: 1100px;
  margin: 0 auto 56px;
  font-size: clamp(46px, 4.75vw, 90px);
  line-height: 1.07;
}

.final-cta h2 span {
  display: block;
}

.footer {
  border-top: 1px solid var(--line);
  background: #080d0b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr;
  gap: 54px;
  padding: 56px 0;
}

.footer h2 {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
  text-transform: uppercase;
}

.footer h3 {
  margin: 0 0 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer a {
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

.socials {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.socials img {
  width: 24px;
  height: 24px;
}

.socials a:first-child img {
  width: 40px;
  height: 40px;
}

.socials .vk-icon {
  width: 25px;
  height: 25px;
}

@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes border-spin {
  to {
    --border-angle: 360deg;
  }
}

.copyright {
  border-top: 1px solid var(--line);
  padding: 24px max(24px, calc((100% - var(--container)) / 2));
  color: var(--dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (max-width: 1180px) {
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background: #080d0b;
  }

  .site-header {
    z-index: 60;
    top: 16px;
    justify-content: flex-start;
    gap: 12px;
  }

  .burger {
    display: block;
    order: 3;
  }

  .logo {
    margin-right: auto;
  }

  .header-actions {
    display: contents;
  }

  .header-actions .lang {
    order: 2;
  }

  .header-actions .btn-small {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .site-header[data-open="true"] {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    transform: none;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-content: start;
    align-items: center;
    gap: 0 12px;
    padding: 28px max(16px, calc((100vw - min(var(--container), calc(100vw - 32px))) / 2));
    border: 0;
    border-radius: 0;
    background: #080d0b;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    overflow-y: auto;
  }

  .site-header[data-open="true"] .burger span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header[data-open="true"] .burger span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-header[data-open="true"] .logo {
    grid-column: 1;
    grid-row: 1;
    margin-right: 0;
  }

  .site-header[data-open="true"] .header-actions .lang {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-header[data-open="true"] .burger {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    order: 0;
  }

  .site-header[data-open="true"] .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    display: grid;
    gap: 22px;
    align-items: start;
    margin-top: 56px;
    color: var(--text);
    font-size: 26px;
    font-weight: 700;
  }

  .site-header[data-open="true"] .header-actions .btn-small {
    grid-column: 1 / -1;
    grid-row: 3;
    display: inline-flex;
    margin-top: 36px;
    width: 100%;
  }

  .btn span {
    display: none;
  }

  .hero {
    min-height: 840px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-fx {
    display: none;
  }

  .about-grid,
  .criteria-layout {
    grid-template-columns: 1fr;
  }

  .float-b,
  .float-c {
    margin-top: 0;
  }

  .format-grid,
  .bonus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trophy {
    position: relative;
    top: auto;
    height: 520px;
  }
}

@media (max-width: 860px) {
  .container,
  .site-header {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-content {
    padding-top: 160px;
  }

  h1 {
    margin-top: 28px;
    font-size: 46px;
    line-height: 1.02;
  }

  .lead {
    font-size: 19px;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(70px, 1fr));
    gap: 8px;
  }

  .countdown div {
    height: 96px;
    padding: 14px 10px;
  }

  .countdown b {
    font-size: clamp(30px, 9vw, 39px);
  }

  .countdown span {
    font-size: 9px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .ticker {
    margin-top: 0;
  }

  .section {
    padding-top: 82px;
  }

  h2 {
    font-size: 40px;
    line-height: 1.16;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .format-grid,
  .bonus-grid,
  .timeline,
  .roadmap-panel,
  fieldset,
  .partner-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    gap: 20px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .timeline article {
    grid-template-columns: 47px 1fr;
    gap: 8px 18px;
  }

  .timeline article span,
  .timeline article h3 {
    grid-column: 2;
  }

  .timeline b {
    grid-row: 1 / span 2;
  }

  .roadmap-panel div {
    padding: 24px;
  }

  .criteria-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .criteria-list b {
    font-size: 44px;
  }

  .apply-form {
    padding: 22px;
  }

  .choice {
    display: grid;
  }

  .team-fields {
    grid-template-columns: 1fr;
  }

  .faq-item button {
    min-height: 72px;
    font-size: 20px;
  }

  .partner-row div {
    min-height: 160px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .partner-row div:last-child {
    border-bottom: 0;
  }

  .final-cta {
    padding: 92px 0;
  }
}

@media (max-width: 520px) {
  .logo {
    min-width: 0;
    font-size: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-bg {
    height: 790px;
    background-position: center top;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  h1 {
    font-size: 38px;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .countdown div {
    height: 82px;
    padding: 12px 8px;
  }

  .countdown span {
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    min-height: 56px;
    padding: 16px 18px;
    font-size: 17px;
  }

  .info-card {
    padding-top: 76px;
  }

  .format-grid {
    gap: 34px;
  }

  .format-grid h3 {
    min-height: auto;
  }

  .trophy {
    height: 390px;
  }

  .char-counter {
    margin-top: 0;
    margin-right: 0;
  }
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 7, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  animation: modal-fade 0.25s ease;
}

.modal-window {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 44px 32px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: modal-pop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.modal-close span {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--accent);
}

.modal-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.modal-window h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.modal-window p {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.modal-window .btn {
  width: 100%;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.has-reveal .reveal,
  .modal-backdrop,
  .modal-window,
  .hero-fx-mesh,
  .mesh-blob,
  .hero-fx-hint {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 960px) {
  .criteria-list article,
  .criteria-list article:hover {
    transform: none;
    background: rgba(16, 23, 20, 0);
    box-shadow: none;
  }

  .trophy {
    height: auto;
    overflow: visible;
  }

  .trophy::after {
    content: "";
    display: block !important;
    height: 24%;
  }

  .trophy img {
    height: auto;
    object-fit: contain;
  }

  .upload {
    display: grid;
    place-items: start;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: default;
  }

  .upload-title {
    display: none;
  }

  .upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid rgba(70, 231, 242, 0.72);
    border-radius: 4px;
    background: transparent;
    color: var(--text);
    font-weight: 700;
  }

  .upload-icon {
    position: relative;
    width: 18px;
    height: 22px;
    flex: 0 0 18px;
    border: 2px solid currentColor;
    border-radius: 3px;
  }

  .upload-icon::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 7px;
    height: 7px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: var(--bg);
  }

  .upload small {
    justify-self: start;
    color: var(--muted);
  }

  .hero,
  .info-card,
  .format-grid article,
  .format-grid h3,
  .bonus-grid article,
  .btn,
  .btn-small,
  .choice label,
  .upload,
  .faq-item button,
  .partner-row div,
  .form-message {
    min-height: 0;
  }
}

