:root {
  --bg: #eef5fb;
  --text: #112136;
  --muted: #53657b;
  --anchor-offset: 76px;
  --line: rgba(28, 59, 91, 0.12);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(247, 251, 255, 0.96);
  --brand: #229ed9;
  --brand-deep: #0f7db3;
  --accent: #7c4dff;
  --accent-deep: #6238dd;
  --graphite: #17304d;
  --shadow: 0 28px 80px rgba(46, 57, 122, 0.16);
}

html {
  scroll-behavior: smooth;
}

#problem,
#how,
#benefits,
#support,
#support-heading,
#audience,
#faq,
#contact {
  scroll-margin-top: var(--anchor-offset);
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 158, 217, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(124, 77, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #edf2ff 52%, #f5f1ff 100%);
}

a {
  color: inherit;
}

.hero-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04)),
    radial-gradient(rgba(17, 33, 54, 0.03) 0.7px, transparent 0.7px);
  background-size: auto, 14px 14px;
  opacity: 0.72;
}

.navbar-shell,
.hero-card,
.side-card,
.content-card,
.contact-card,
.mobile-nav-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.navbar-shell {
  border-radius: 999px;
  background: rgba(249, 252, 255, 0.84);
  padding: 10px 12px;
}

.site-header {
  position: relative;
}

#mobile-nav[hidden] {
  display: none !important;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding-left: 6px;
  padding-right: 6px;
}

.navbar-shell .uk-navbar-left,
.navbar-shell .uk-navbar-right {
  padding: 0 6px;
}

.navbar-shell .uk-navbar-item,
.navbar-shell .uk-navbar-nav > li > a {
  min-height: 52px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(240px, 28vw);
  object-fit: contain;
}

.nav-links a,
.contact-links a,
.uk-navbar-toggle {
  color: var(--muted);
}

.navbar-mobile-toggle {
  display: none;
}

.nav-links {
  gap: 2px;
}

.nav-links > li > a {
  padding: 0 12px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-links a:hover,
.contact-links a:hover,
.uk-navbar-toggle:hover {
  color: var(--brand-deep);
}

.platform-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-pill,
.platform-bridge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.platform-pill {
  border: 1px solid var(--line);
}

.telegram-pill {
  background: rgba(34, 158, 217, 0.14);
  color: var(--brand-deep);
}

.max-pill {
  background: rgba(124, 77, 255, 0.14);
  color: var(--accent-deep);
}

.platform-bridge {
  padding: 0 6px;
  color: var(--muted);
}

.mobile-nav-card {
  margin-top: 12px;
  border-radius: 24px;
}

.hero-section {
  padding-top: 28px;
}

.hero-card,
.contact-card {
  border-radius: 32px;
}

.side-card,
.content-card {
  border-radius: 24px;
}

.hero-card,
.side-card,
.content-card,
.contact-card {
  background: var(--surface);
}

.card-grid > div {
  display: flex;
}

.side-card,
.content-card,
.metric-box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.accent-sunset {
  background:
    radial-gradient(circle at top right, rgba(34, 158, 217, 0.12), transparent 36%),
    var(--surface-strong);
}

.accent-mint {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 32%),
    var(--surface-strong);
}

.accent-telegram {
  background:
    radial-gradient(circle at top right, rgba(34, 158, 217, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(243, 250, 255, 0.98), rgba(251, 254, 255, 0.94));
}

.accent-max {
  background:
    radial-gradient(circle at top right, rgba(124, 77, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(248, 245, 255, 0.98), rgba(252, 251, 255, 0.94));
}

.accent-max-soft {
  background:
    radial-gradient(circle at right top, rgba(124, 77, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(248, 245, 255, 0.94), rgba(247, 251, 255, 0.96));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title,
.section-title {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.05em;
  line-height: 0.97;
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-title {
  font-size: clamp(2.7rem, 5vw, 5.6rem);
}

.section-title {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.hero-lead,
.content-card p,
.uk-accordion-content p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-list,
.uk-list {
  color: var(--muted);
}

.hero-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-node,
.flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 18px;
  font-family: "IBM Plex Mono", monospace;
}

.flow-node {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--graphite);
  font-size: 0.84rem;
}

.telegram-node {
  background: rgba(34, 158, 217, 0.1);
  color: var(--brand-deep);
}

.bridge-node {
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.08), rgba(124, 77, 255, 0.12));
}

.max-node {
  background: rgba(124, 77, 255, 0.1);
  color: var(--accent-deep);
}

.flow-arrow {
  min-width: 30px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-tags {
  margin-top: 16px;
}

.hero-signal {
  margin-right: -4px;
  margin-left: -4px;
}

.signal-chip {
  height: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.signal-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-chip strong {
  color: var(--graphite);
  font-size: 0.98rem;
}

.button-brand {
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #4dc1ec);
  font-weight: 800;
}

.button-brand:hover {
  background: linear-gradient(135deg, var(--brand-deep), #25a8dc);
}

.button-soft {
  border-radius: 999px;
  border-color: var(--line);
  background: rgba(251, 254, 255, 0.95);
  font-weight: 700;
  padding-left: 28px;
  padding-right: 28px;
}

.cta-group {
  gap: 14px;
  align-items: stretch;
}

.cta-group .uk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.section-tight {
  padding-top: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.metric-box {
  height: 100%;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(28, 59, 91, 0.08);
  box-shadow: none;
}

.metric-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1.05rem;
}

.metric-box span {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bridge-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.bridge-inline span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 48, 77, 0.06);
  color: var(--graphite);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.support-list li,
.roadmap-list li {
  position: relative;
  padding-left: 28px;
}

.support-list li::before,
.roadmap-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.support-list li::before {
  content: "✓";
  color: var(--brand-deep);
}

.roadmap-list li::before {
  content: "—";
  color: var(--accent-deep);
}

.support-note {
  margin-top: 16px;
  margin-bottom: 0;
}

.faq-accordion .uk-accordion-title {
  color: var(--text);
  font-weight: 700;
  padding-right: 24px;
}

.faq-accordion .uk-accordion-title:hover {
  color: var(--brand-deep);
}

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

.faq-accordion li:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-accordion .uk-accordion-content {
  padding-bottom: 18px;
}

.contact-links {
  font-weight: 700;
}

.contact-card {
  overflow: hidden;
}

.contact-card .section-title,
.contact-card .hero-lead {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 20px 0 48px;
}

.footer-shell {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.footer-meta {
  color: var(--muted);
}

.footer-meta {
  max-width: 760px;
}

.footer-meta p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.footer-meta a {
  color: var(--brand-deep);
}

@media (max-width: 959px) {
  .navbar-shell {
    border-radius: 28px;
  }
}

@media (max-width: 1460px) {
  .nav-links > li > a {
    padding: 0 8px;
    font-size: 0.84rem;
  }

  .brand-logo {
    height: 46px;
    max-width: min(220px, 24vw);
  }
}

@media (max-width: 1280px) {
  .navbar-desktop-center {
    display: none !important;
  }

  .navbar-mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  #mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 40;
  }

  .mobile-nav-card {
    margin-top: 0;
  }
}

@media (max-width: 639px) {
  :root {
    --anchor-offset: 68px;
  }

  .navbar-shell {
    padding: 6px 8px;
  }

  .navbar-shell .uk-navbar-left,
  .navbar-shell .uk-navbar-right {
    padding: 0 2px;
  }

  .navbar-shell .uk-navbar-item,
  .navbar-shell .uk-navbar-toggle {
    min-height: 42px;
  }

  .brand {
    padding-left: 2px;
    padding-right: 2px;
  }

  .hero-card,
  .side-card,
  .content-card,
  .contact-card,
  .mobile-nav-card {
    border-radius: 22px;
  }

  .hero-title {
    font-size: clamp(1.95rem, 11vw, 3rem);
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .section-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .platform-pills {
    gap: 8px;
  }

  .platform-pill,
  .platform-bridge {
    min-height: 32px;
    font-size: 0.72rem;
  }

  .brand-logo {
    height: 34px;
    max-width: 148px;
  }

  .hero-flow {
    gap: 8px;
  }

  .flow-node {
    width: 100%;
    justify-content: flex-start;
  }

  .flow-arrow {
    min-width: 100%;
    min-height: 18px;
    justify-content: flex-start;
    padding-left: 8px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-card .uk-grid {
    margin-left: 0;
  }

  .contact-card .uk-grid > * {
    padding-left: 0;
  }

  .contact-card .uk-flex-column {
    width: 100%;
  }

  .cta-group {
    gap: 12px;
  }

  .contact-card .button-brand,
  .contact-card .button-soft {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
    white-space: normal;
  }
}
