:root {
  --bg: #0a1214;
  --ink: #f2f7f6;
  --muted: #9aadaa;
  --mint: #5ecfba;
  --mint-deep: #2f9f8c;
  --lime: #8fd94a;
  --lime-deep: #6bb52e;
  --coral: #ff5c5c;
  --coral-deep: #e03d3d;
  --sky: #3db8e8;
  --sky-deep: #1f92c4;
  --line: rgba(94, 207, 186, 0.2);
  --panel: rgba(8, 16, 18, 0.82);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 3.6rem;
  --shell: 42rem;
  --cta: 22rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--mint);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tld {
  color: var(--mint);
}

/* —— Background —— */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__img {
  position: absolute;
  inset: -30px;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.1);
  filter: blur(16px) saturate(0.75) brightness(0.42);
  animation: drift 28s ease-in-out infinite alternate;
}

.bg__img--desktop {
  background-image: url("assets/bg-desktop.png");
}

.bg__img--mobile {
  display: none;
  background-image: url("assets/bg-mobile.jpg");
}

.bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 3px
    );
}

.bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 18% 12%, rgba(94, 207, 186, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 45% at 88% 8%, rgba(61, 184, 232, 0.1), transparent 50%),
    linear-gradient(180deg, rgba(10, 18, 20, 0.55) 0%, rgba(10, 18, 20, 0.78) 42%, rgba(10, 18, 20, 0.96) 100%);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 18, 20, 0.78);
  border-bottom: 1px solid rgba(94, 207, 186, 0.14);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--header-h);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Syne", "Figtree", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-header__brand img {
  display: block;
  border-radius: 0.35rem;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem 1rem;
}

.site-header__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
  color: var(--ink);
  outline: none;
}

.site-header__cta {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--lime-deep));
  color: #08120a !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  filter: brightness(1.06);
  color: #08120a !important;
}

.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(94, 207, 186, 0.28);
  border-radius: 0.45rem;
  background: rgba(8, 16, 18, 0.7);
  cursor: pointer;
  place-items: center;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before { top: -5px; }
.nav-toggle__bar::after { top: 5px; }

/* —— Hero —— */
.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.75rem) 1.25rem 3rem;
}

.hero__copy {
  width: 100%;
  max-width: 26rem;
  text-align: center;
  animation: rise 0.9s var(--ease) both;
}

.hero__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.brand__title {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
}

.brand__logo {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
}

.brand__name {
  font-family: "Syne", "Figtree", sans-serif;
  font-size: clamp(2.1rem, 6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  text-shadow: 0 4px 40px rgba(94, 207, 186, 0.22);
}

.brand__lede {
  margin: 0.85rem auto 0;
  max-width: 22rem;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.brand__lede strong {
  color: var(--mint);
  font-weight: 700;
}

/* —— CTA strip —— */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(100%, var(--cta));
}

.btn {
  --accent: var(--lime-deep);
  --accent-hi: var(--lime);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.65rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(180deg, var(--accent-hi), var(--accent));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    filter 0.3s var(--ease);
  animation: rise 0.85s var(--ease) both;
}

.btn:nth-child(1) { animation-delay: 0.1s; }
.btn:nth-child(2) { animation-delay: 0.2s; }
.btn:nth-child(3) { animation-delay: 0.3s; }

.btn--private {
  --accent: var(--coral-deep);
  --accent-hi: var(--coral);
}

.btn--telegram {
  --accent: var(--sky-deep);
  --accent-hi: var(--sky);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 40px rgba(0, 0, 0, 0.42);
  filter: brightness(1.05);
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(-1px);
}

.btn__meta {
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.btn__body {
  display: grid;
  gap: 0.15rem;
}

.btn__label {
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.btn__hint {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
}

.btn__arrow {
  font-size: 1.25rem;
  opacity: 0.85;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(4px);
}

/* —— Content —— */
.content {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0.25rem 1.25rem 3.5rem;
}

.block {
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
  animation: rise 1s var(--ease) both;
}

.block:first-child {
  border-top: none;
}

.block__head {
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

.block h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.block__intro {
  margin: 0.55rem 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
}

.block__body {
  max-width: none;
}

.block--split {
  display: block;
}

.block--split .block__head {
  margin-bottom: 0.85rem;
}

.block p,
.block li {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
}

.block p + p {
  margin-top: 0.9rem;
}

.block strong {
  color: var(--ink);
  font-weight: 700;
}

.block a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.block a:hover,
.block a:focus-visible {
  color: #8fe5d4;
  border-bottom-color: currentColor;
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.route {
  padding: 0.95rem 0 0.95rem 0.95rem;
  border-left: 3px solid var(--mint);
  background: linear-gradient(90deg, rgba(94, 207, 186, 0.08), transparent 70%);
}

.route h3 {
  margin: 0 0 0.3rem;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.route h3 a {
  color: var(--ink);
  border-bottom: none;
}

.route h3 a:hover,
.route h3 a:focus-visible {
  color: var(--mint);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.35rem 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  counter-increment: step;
}

.timeline li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mint);
  line-height: 1.2;
}

.timeline strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Syne", sans-serif;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.timeline span {
  display: block;
  grid-column: 2;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 0.15rem;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(94, 207, 186, 0.18);
}

.block--note {
  max-width: none;
}

.block--note h2 {
  color: var(--muted);
  font-size: 1.2rem;
}

.block--note p {
  margin-top: 0.55rem;
  font-size: 0.9rem;
}

/* —— FAQ —— */
.faq {
  display: grid;
  gap: 0.35rem;
}

.faq__item {
  border-bottom: 1px solid rgba(94, 207, 186, 0.16);
  background: transparent;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.2rem 1rem 0;
  font-family: "Syne", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--mint);
  font-size: 1.25rem;
  font-weight: 500;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item summary:hover,
.faq__item summary:focus-visible {
  color: #fff;
  outline: none;
}

.faq__item p {
  padding: 0 0 1.05rem;
  margin: 0;
}

/* —— Footer —— */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(94, 207, 186, 0.16);
  background:
    radial-gradient(ellipse 50% 80% at 10% 0%, rgba(94, 207, 186, 0.08), transparent 55%),
    rgba(6, 10, 12, 0.94);
}

.site-footer__inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 2rem 1.25rem 1.6rem;
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.site-footer__brand strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.site-footer__brand p {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.site-footer__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), var(--mint-deep));
  color: #04110e;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: filter 0.2s ease, transform 0.2s var(--ease);
}

.site-footer__cta:hover,
.site-footer__cta:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-2px);
  outline: none;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 1.4rem;
}

.site-footer__nav h3 {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

.site-footer__nav a {
  display: block;
  width: fit-content;
  margin-top: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--ink);
  outline: none;
}

.site-footer__copy {
  margin: 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(154, 173, 170, 0.65);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from { transform: scale(1.1) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, 1%, 0); }
}

@media (max-width: 720px) {
  .bg__img--desktop { display: none; }

  .bg__img--mobile {
    display: block;
    filter: blur(12px) saturate(0.85) brightness(0.45);
  }

  .nav-toggle {
    display: grid;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.35rem 1rem;
    background: rgba(8, 14, 16, 0.96);
    border-bottom: 1px solid rgba(94, 207, 186, 0.14);
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .site-header__nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header__cta {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__copy,
  .btn,
  .block,
  .bg__img {
    animation: none;
  }

  .btn:hover,
  .btn:focus-visible,
  .site-footer__cta:hover,
  .site-footer__cta:focus-visible {
    transform: none;
  }
}
