:root {
  --bg: #080b13;
  --bg-soft: #10182a;
  --surface: #141e34;
  --surface-2: #1a2743;
  --line: rgba(162, 182, 223, 0.22);
  --text: #edf3ff;
  --muted: #a8b5d4;
  --accent: #5be6b3;
  --accent-2: #53a5ff;
  --shadow: 0 18px 46px rgba(6, 11, 24, 0.34);
  --radius: 20px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background-color: #070a12;
  background:
    radial-gradient(1200px 760px at 7% -22%, rgba(83, 165, 255, 0.2), transparent 62%),
    radial-gradient(1000px 640px at 92% -18%, rgba(91, 230, 179, 0.16), transparent 62%),
    linear-gradient(180deg, #070a12 0%, #0a1020 100%);
}

main {
  padding: 1.8rem 0 4.4rem;
}

.container {
  width: min(1140px, 100% - 2rem);
  margin-inline: auto;
}

a {
  color: inherit;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 60;
  margin-top: 1rem;
  padding: 0.78rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(9, 14, 25, 0.95);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Unbounded", "Trebuchet MS", sans-serif;
  font-size: 0.78rem;
  color: #061119;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.brand-text {
  font-family: "Unbounded", "Trebuchet MS", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.topnav {
  display: none;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

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

.btn {
  min-height: 46px;
  padding: 0.82rem 1.22rem;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: #06151f;
  background: linear-gradient(135deg, var(--accent), #84f0cb);
  box-shadow: 0 8px 24px rgba(91, 230, 179, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(91, 230, 179, 0.32);
}

.btn-small {
  min-height: 40px;
  font-size: 0.92rem;
  padding: 0.6rem 0.96rem;
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(83, 165, 255, 0.15);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(83, 165, 255, 0.24);
  box-shadow: none;
}

.hero {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.5rem;
}

.hero-copy,
.hero-panel,
.card,
.step-card,
.price-card,
.limits-table-wrap,
.flow-stage,
.site-footer,
.faq-list details {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 30, 52, 0.95), rgba(14, 22, 38, 0.95));
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
  padding: 1.5rem;
}

.chip {
  margin: 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(91, 230, 179, 0.46);
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  color: var(--accent);
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  font-family: "Unbounded", "Trebuchet MS", sans-serif;
  text-wrap: balance;
}

h1 {
  margin-top: 0.9rem;
  font-size: clamp(1.76rem, 5.4vw, 3rem);
  max-width: 17ch;
}

.hero-lead,
.section-lead,
.card p,
.step-card p,
.faq-list p,
.footer-grid p {
  text-wrap: pretty;
}

.hero-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.72;
  max-width: 62ch;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.82rem;
}

.hero-messengers {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.messenger-card {
  border-radius: 14px;
  border: 1px solid transparent;
  min-height: 56px;
  padding: 0.72rem 0.84rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.72rem;
  align-items: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.messenger-card:hover {
  transform: translateY(-1px);
}

.messenger-card img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  flex-shrink: 0;
}

.messenger-card span {
  display: grid;
  gap: 0.18rem;
}

.messenger-card strong {
  font-size: 0.96rem;
  line-height: 1.2;
  color: #fff;
}

.messenger-card small {
  color: rgba(235, 244, 255, 0.84);
  font-size: 0.84rem;
  line-height: 1.2;
}

.messenger-card-telegram {
  border-color: rgba(64, 173, 255, 0.55);
  background: linear-gradient(135deg, rgba(34, 135, 255, 0.52), rgba(58, 179, 252, 0.42));
  box-shadow: 0 10px 24px rgba(31, 123, 233, 0.22);
}

.messenger-card-support {
  border-color: rgba(78, 149, 244, 0.48);
  background: linear-gradient(135deg, rgba(45, 95, 205, 0.44), rgba(71, 152, 242, 0.38));
  box-shadow: 0 10px 24px rgba(32, 86, 190, 0.18);
}

.messenger-card-max {
  border-color: rgba(91, 230, 179, 0.5);
  background: linear-gradient(135deg, rgba(34, 186, 141, 0.5), rgba(24, 130, 145, 0.44));
  box-shadow: 0 10px 24px rgba(31, 150, 128, 0.2);
}

.messenger-card-telegram img,
.messenger-card-support img {
  filter: brightness(0) invert(1);
}

.messenger-card-max img {
  border-radius: 5px;
}

.hero-panel h2 {
  font-size: clamp(1.12rem, 3.2vw, 1.38rem);
}

.value-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.value-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.62rem;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.62;
}

.icon-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(83, 165, 255, 0.45);
  background: linear-gradient(135deg, rgba(83, 165, 255, 0.28), rgba(91, 230, 179, 0.28));
  color: #eff5ff;
  flex-shrink: 0;
}

.icon-badge svg {
  width: 1.12rem;
  height: 1.12rem;
}

.value-list li:nth-child(4n + 1) .icon-badge,
.icon-cards .card:nth-child(5n + 1) .icon-badge {
  border-color: rgba(91, 230, 179, 0.52);
  background: linear-gradient(135deg, rgba(38, 180, 132, 0.42), rgba(83, 165, 255, 0.24));
}

.value-list li:nth-child(4n + 2) .icon-badge,
.icon-cards .card:nth-child(5n + 2) .icon-badge {
  border-color: rgba(83, 165, 255, 0.56);
  background: linear-gradient(135deg, rgba(56, 124, 226, 0.42), rgba(41, 192, 232, 0.28));
}

.value-list li:nth-child(4n + 3) .icon-badge,
.icon-cards .card:nth-child(5n + 3) .icon-badge {
  border-color: rgba(140, 124, 252, 0.5);
  background: linear-gradient(135deg, rgba(90, 103, 236, 0.36), rgba(166, 109, 255, 0.26));
}

.value-list li:nth-child(4n + 4) .icon-badge,
.icon-cards .card:nth-child(5n + 4) .icon-badge {
  border-color: rgba(255, 178, 95, 0.52);
  background: linear-gradient(135deg, rgba(219, 146, 50, 0.33), rgba(87, 192, 219, 0.3));
}

.icon-cards .card:nth-child(5n + 5) .icon-badge {
  border-color: rgba(236, 118, 197, 0.5);
  background: linear-gradient(135deg, rgba(205, 90, 166, 0.34), rgba(78, 167, 251, 0.28));
}

.hero-tags {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.hero-tags span {
  border-radius: 999px;
  border: 1px solid rgba(83, 165, 255, 0.33);
  background: rgba(83, 165, 255, 0.12);
  color: #d7e5ff;
  padding: 0.45rem 0.7rem;
  font-size: 0.84rem;
}

.section {
  margin-top: clamp(3rem, 7.6vw, 5.4rem);
}

.section-head {
  margin-bottom: 1.4rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-2);
  font-weight: 700;
}

.section h2 {
  margin-top: 0.58rem;
  font-size: clamp(1.32rem, 4.6vw, 2rem);
  max-width: 28ch;
}

.section-lead {
  margin: 0;
  max-width: 80ch;
  color: var(--muted);
  line-height: 1.75;
}

.cards {
  margin-top: 1.1rem;
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.24rem;
}

.card-title {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.66rem;
  align-items: center;
}

.card-title h3 {
  font-size: 1.02rem;
}

.card p {
  margin: 0.74rem 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.flow-stage {
  overflow: hidden;
}

#flow-network {
  width: 100%;
  display: block;
  height: auto;
  background:
    radial-gradient(900px 360px at 50% 22%, rgba(83, 165, 255, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(15, 24, 43, 0.9), rgba(12, 19, 34, 0.9));
}

.flow-caption {
  padding: 1rem 1.2rem 1.22rem;
  border-top: 1px solid rgba(162, 182, 223, 0.2);
}

.flow-caption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.step-card {
  padding: 1.24rem;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 0.66rem;
  min-width: 0;
}

.step-num {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(83, 165, 255, 0.4);
  background: rgba(83, 165, 255, 0.16);
  color: #d4e5ff;
  font-size: 1.02rem;
  font-weight: 800;
  font-family: "Unbounded", "Trebuchet MS", sans-serif;
}

.step-head h3 {
  margin: 0;
  font-size: clamp(0.88rem, 2.2vw, 1.04rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-card p {
  margin: 0.72rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.step-tip {
  margin-top: 0.72rem;
  padding: 0.62rem 0.74rem;
  border-radius: 10px;
  border: 1px solid rgba(83, 165, 255, 0.28);
  background: rgba(83, 165, 255, 0.12);
  font-size: 0.91rem;
}

.pricing-grid {
  display: grid;
  gap: 0.95rem;
}

.price-card {
  padding: 1.24rem;
}

.price-value {
  margin: 0.65rem 0;
  font-size: clamp(1.4rem, 4.8vw, 2rem);
  font-weight: 800;
  color: var(--accent);
}

.price-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.price-card-accent {
  border-color: rgba(91, 230, 179, 0.52);
  background: linear-gradient(180deg, rgba(19, 36, 34, 0.95), rgba(13, 27, 27, 0.95));
}

.limits-table-wrap {
  margin-top: 1.1rem;
  padding: 0.84rem;
  overflow-x: auto;
}

.limits-table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
}

.limits-table caption {
  text-align: left;
  margin-bottom: 0.66rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.limits-table th,
.limits-table td {
  text-align: left;
  padding: 0.76rem;
  border: 1px solid rgba(159, 179, 221, 0.24);
  font-size: 0.93rem;
}

.limits-table th {
  color: var(--text);
  background: rgba(83, 165, 255, 0.12);
}

.limits-table td {
  color: var(--muted);
  line-height: 1.5;
}

.faq-intro {
  margin: 0 0 1.1rem;
  color: var(--muted);
  line-height: 1.76;
}

.faq-list {
  display: grid;
  gap: 0.86rem;
}

.faq-list details {
  padding: 1rem 1.06rem;
  border-radius: var(--radius-sm);
}

.faq-list summary {
  cursor: pointer;
  position: relative;
  padding-right: 1.6rem;
  list-style: none;
  font-weight: 700;
  line-height: 1.45;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.04rem;
  color: var(--accent);
  font-size: 1.24rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0.72rem 0 0;
  color: var(--muted);
  line-height: 1.74;
}

.site-footer {
  margin: clamp(3rem, 8vw, 5rem) auto 1.8rem;
  padding: 1.2rem 0;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-grid section {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem;
  background: rgba(15, 22, 39, 0.62);
}

.footer-grid h3 {
  font-size: 0.97rem;
}

.footer-grid p {
  margin: 0.72rem 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.footer-grid .btn {
  margin-top: 1rem;
}

.footer-grid ul {
  margin: 0.72rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.54rem;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 1rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.36s ease, transform 0.36s ease;
  transition-delay: var(--reveal-delay, 0s);
}

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

@media (min-width: 760px) {
  .topbar {
    margin-top: 1.2rem;
    padding-inline: 0.95rem;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .step-card,
  .price-card {
    padding: 1.32rem;
  }

  .cards.two,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards.three,
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .faq-list details {
    padding: 1.06rem 1.1rem;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1.22fr 0.96fr;
    gap: 1.5rem;
  }

  .topnav {
    display: flex;
    align-items: center;
    gap: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 0.82fr 1fr;
  }
}

@media (max-width: 979px) {
  .topbar .btn-small {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-actions .btn {
    width: 100%;
  }

  .messenger-card {
    min-height: 52px;
    padding: 0.65rem 0.72rem;
  }

  .messenger-card strong {
    font-size: 0.92rem;
  }

  .section h2 {
    max-width: none;
  }

  .limits-table {
    min-width: 520px;
  }

  #flow-network {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
