:root {
  --bg: #07121c;
  --bg-soft: #0d1d2a;
  --panel: #102638;
  --panel-2: #122e45;
  --ink: #edf5ff;
  --muted: #a7c0d5;
  --line: #2b4861;
  --teal: #20bba8;
  --amber: #f2a949;
  --danger: #ff6b6b;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at 8% 15%, #123452 0, transparent 45%), var(--bg);
  color: var(--ink);
  font-family: "Changa", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.45;
}

.glow-one {
  width: 420px;
  height: 420px;
  top: -130px;
  left: -120px;
  background: #00c8a2;
}

.glow-two {
  width: 360px;
  height: 360px;
  bottom: -120px;
  right: -110px;
  background: #f2a949;
  opacity: 0.32;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(128, 166, 195, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 166, 195, 0.13) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 15%, black 25%, transparent 80%);
  opacity: 0.2;
}

.topbar {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 18, 28, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  justify-content: space-between;
  position: sticky;
  top: 0.75rem;
  z-index: 20;
}

.topbar.compact {
  position: static;
}

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

.logo-chip {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: #001d17;
  background: linear-gradient(145deg, #89ffe9, #1fd2b8);
}

.logo-text {
  display: grid;
}

.logo-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.logo-text small {
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.46rem 0.68rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.24s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: #d6fff7;
  border-color: #2f715f;
  background: rgba(32, 187, 168, 0.14);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(32, 187, 168, 0.12);
  color: #cbfff5;
  font-family: "Changa", sans-serif;
  border-radius: 10px;
  padding: 0.5rem 0.84rem;
  cursor: pointer;
}

.site-shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.2rem auto 4rem;
}

.section {
  margin-top: 3rem;
}

.hero {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.08fr 0.92fr;
}

.hero-copy,
.hero-stats,
.module-card,
.flow-step,
.cta,
.inner-hero,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(16, 38, 56, 0.95), rgba(9, 25, 38, 0.95));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 187, 168, 0.35), transparent 68%);
  left: -140px;
  bottom: -150px;
}

.tag {
  margin: 0;
  display: inline-flex;
  padding: 0.2rem 0.72rem;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border: 1px solid #2b685c;
  background: rgba(32, 187, 168, 0.12);
  color: #a9ffec;
}

.hero-copy h1 {
  margin: 0.72rem 0 0;
  line-height: 1.2;
  font-size: clamp(1.9rem, 4.8vw, 3.35rem);
}

.hero-copy .lead {
  margin: 0.85rem 0 0;
  line-height: 1.9;
  color: var(--muted);
  max-width: 45ch;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.62rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.66rem 1rem;
  border-radius: 11px;
  text-decoration: none;
  font-family: "Changa", sans-serif;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-solid {
  background: linear-gradient(130deg, var(--teal), #5af0d6);
  color: #00221c;
  border-color: #63ffe5;
}

.btn-ghost {
  background: rgba(242, 169, 73, 0.12);
  color: #ffdcb0;
  border-color: rgba(242, 169, 73, 0.4);
}

.hero-stats {
  padding: 0.95rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.stat-box {
  border: 1px solid #31506b;
  border-radius: 14px;
  background: rgba(17, 42, 62, 0.78);
  padding: 0.88rem;
}

.stat-box h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  color: #8df7e6;
}

.stat-box p {
  margin: 0.22rem 0 0;
  line-height: 1.65;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-title h2 {
  margin: 0.56rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.module-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
  padding: 1.12rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.module-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
}

.module-card p {
  margin: 0.46rem 0 0;
  color: var(--muted);
  line-height: 1.86;
}

.providers {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 28, 42, 0.88);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.provider-track {
  overflow: hidden;
  border-top: 1px solid #2f4c63;
  border-bottom: 1px solid #2f4c63;
  padding: 0.85rem 0;
}

.track {
  display: inline-flex;
  gap: 0.65rem;
  white-space: nowrap;
  min-width: 100%;
  animation: slideTrack 16s linear infinite;
}

.track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #4f728d;
  border-radius: 999px;
  padding: 0.44rem 0.78rem;
  font-family: "Manrope", sans-serif;
  color: #cff4ec;
  background: rgba(32, 187, 168, 0.1);
  font-size: 0.86rem;
}

@keyframes slideTrack {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(36%);
  }
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.flow-step {
  padding: 1rem;
  position: relative;
}

.flow-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px;
  background: linear-gradient(to bottom, var(--teal), var(--amber));
}

.flow-step span {
  display: inline-flex;
  font-family: "Manrope", sans-serif;
  color: #9fffe9;
  font-size: 1.16rem;
}

.flow-step h3 {
  margin: 0.35rem 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.flow-step p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.74;
  font-size: 0.9rem;
}

.cta {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
}

.cta-copy h2 {
  margin: 0.58rem 0 0;
  font-size: clamp(1.34rem, 2.8vw, 2rem);
}

.cta-copy p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.86;
}

.cta-form {
  display: grid;
  gap: 0.7rem;
}

.cta-form label {
  display: grid;
  gap: 0.34rem;
  font-weight: 700;
}

.cta-form input,
.cta-form textarea {
  width: 100%;
  border: 1px solid #365d7a;
  background: rgba(8, 24, 36, 0.85);
  color: #f0f8ff;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font-family: "Changa", sans-serif;
}

.cta-form input:focus,
.cta-form textarea:focus {
  outline: 2px solid rgba(32, 187, 168, 0.45);
  border-color: #56ceb8;
}

.page-shell {
  width: min(980px, calc(100% - 2rem));
}

.inner-hero {
  padding: 1.55rem 1.3rem;
}

.inner-hero h1 {
  margin: 0.62rem 0 0;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
}

.inner-hero p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.legal-card {
  padding: 1.2rem;
}

.legal-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.legal-line {
  font-family: "Manrope", sans-serif;
  color: #d9e8f5;
}

.footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 21, 33, 0.96);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1.15rem;
}

.footer h4 {
  margin: 0 0 0.48rem;
  font-family: "Manrope", sans-serif;
}

.footer p {
  margin: 0 0 0.36rem;
  color: var(--muted);
  line-height: 1.78;
}

.footer a {
  display: block;
  text-decoration: none;
  margin-bottom: 0.35rem;
  color: #d7ecff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .cta {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .main-nav a {
    text-align: center;
    border-color: #2a4459;
  }

  .main-nav.open {
    display: grid;
  }
}

@media (max-width: 680px) {
  .site-shell,
  .topbar,
  .footer,
  .page-shell {
    width: min(var(--max), calc(100% - 1rem));
  }

  .hero-copy,
  .hero-stats,
  .cta,
  .inner-hero,
  .legal-card {
    padding: 1rem;
  }

  .module-grid,
  .flow-grid,
  .about-grid,
  .policy-grid,
  .hero-stats,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 1.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
