:root {
  --green:        #006633;  /* PANTONE 185 C — основной */
  --green-deep:   #00401f;
  --green-bright: #17a14e;
  --accent:       #5fd08a;  /* яркий акцент */
  --dark:         #25272c;  /* PANTONE 433 C */
  --sand:         #cfcbc8;  /* PANTONE P 169-3 C */
  --white:        #ffffff;
}

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

html, body { min-height: 100%; }

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(130% 120% at 50% -10%, #0a844a 0%, var(--green) 42%, #00542a 74%, var(--green-deep) 100%);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Декоративный орнамент ---------- */
.ornament {
  position: fixed;
  left: 0;
  right: 0;
  height: 44vh;
  background-image: url("../img/pattern.png");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  filter: brightness(0) invert(1);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.ornament--top {
  top: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.ornament--bottom {
  bottom: 0;
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

/* Мягкое свечение по центру */
.glow {
  position: fixed;
  top: 8%;
  left: 50%;
  width: min(80vw, 720px);
  height: min(80vw, 720px);
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(95, 208, 138, 0.30) 0%, transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

/* ---------- Переключатель языков ---------- */
.lang {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 5;
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang__btn {
  border: 0;
  cursor: pointer;
  font: 600 13px/1 "Montserrat", sans-serif;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.lang__btn:hover { color: #fff; }
.lang__btn.is-active {
  background: #fff;
  color: var(--green);
}

/* ---------- Контент ---------- */
.stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px 40px;
}
.content {
  width: 100%;
  max-width: 860px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content > * { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.content > *:nth-child(1) { animation-delay: 0.05s; }
.content > *:nth-child(2) { animation-delay: 0.15s; }
.content > *:nth-child(3) { animation-delay: 0.25s; }
.content > *:nth-child(4) { animation-delay: 0.35s; }
.content > *:nth-child(5) { animation-delay: 0.45s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo {
  width: clamp(150px, 26vw, 230px);
  height: auto;
  /* делаем логотип белым (как в брендбуке на зелёном фоне) */
  filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
  margin-bottom: 34px;
}

.eyebrow {
  font-size: clamp(11px, 2.4vw, 13px);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.title {
  font-size: clamp(2.1rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.subtitle {
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 46px;
}

/* ---------- Таймер ---------- */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 20px);
  width: 100%;
  max-width: 660px;
}
.count {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(18px, 3vw, 30px) 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px rgba(0, 40, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.count:hover {
  transform: translateY(-6px);
  border-color: rgba(95, 208, 138, 0.55);
}
.count__num {
  font-size: clamp(2.3rem, 8vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
}
.count__num.tick {
  animation: tick 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes tick {
  0%   { transform: translateY(6px);  opacity: 0.35; }
  100% { transform: translateY(0);    opacity: 1; }
}
.count__label {
  font-size: clamp(10px, 2vw, 12px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Запуск ---------- */
.launched {
  padding: 40px 10px;
}
.launched__title {
  font-size: clamp(1.6rem, 6vw, 3rem);
  font-weight: 700;
}

.date-note {
  margin-top: 34px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Ошибка 404 ---------- */
.code {
  font-size: clamp(5.5rem, 26vw, 12rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 32px rgba(0, 40, 20, 0.35));
  margin-bottom: 8px;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 15px 34px;
  border-radius: 999px;
  font: 600 15px/1 "Montserrat", sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--green);
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 40, 20, 0.3);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}
.home-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 40, 20, 0.4);
}

/* ---------- Футер ---------- */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 22px 24px 30px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}
.socials {
  display: flex;
  gap: 12px;
}
.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s, border-color 0.25s;
}
.social:hover {
  transform: translateY(-4px);
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.footer__meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s;
}
.footer__link:hover { color: #fff; }

@media (max-width: 560px) {
  .countdown { grid-template-columns: repeat(2, 1fr); max-width: 340px; }
  .lang { top: 16px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .content > *, .glow, .count__num.tick { animation: none !important; }
}
