:root {
  --bg: #09131f;
  --bg-soft: #0f1e30;
  --surface: rgba(12, 25, 40, 0.82);
  --surface-strong: rgba(14, 31, 50, 0.94);
  --surface-light: rgba(255, 255, 255, 0.08);
  --text: #eff6ff;
  --muted: #9eb4c9;
  --primary: #22c983;
  --primary-strong: #14a96d;
  --accent: #8fe7c1;
  --border: rgba(143, 231, 193, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34, 201, 131, 0.2), transparent 26%),
    radial-gradient(circle at top right, rgba(74, 132, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #08111c 0%, #0a1522 55%, #09131f 100%);
  color: var(--text);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #d9fff0;
}

:focus-visible {
  outline: 3px solid #d9fff0;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: #d9fff0;
  color: #08111c;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  padding: 22px 0 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: rgba(8, 18, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #2f76ff 100%);
  color: #08111c;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.nav a {
  color: var(--text);
  font-weight: 600;
}

.hero {
  padding: 72px 0 34px;
}

.hero-panel,
.highlight-panel,
.method-panel {
  display: grid;
  gap: 26px;
}

.hero-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: stretch;
}

.hero-copy,
.hero-card,
.section-card,
.highlight-copy,
.highlight-list,
.legal-card,
.stat-card,
.step-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.highlight-copy,
.highlight-list,
.legal-card {
  overflow: hidden;
}

.hero-copy::after,
.hero-card::after,
.highlight-copy::after,
.highlight-list::after,
.legal-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -50px auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(34, 201, 131, 0.18), transparent 70%);
}

.hero-copy {
  padding: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 201, 131, 0.1);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  margin: 20px 0 20px;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  max-width: 10ch;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lead {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #35e096 100%);
  color: #061018;
  box-shadow: 0 14px 28px rgba(34, 201, 131, 0.24);
}

.button-primary:hover {
  color: #061018;
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover {
  border-color: rgba(143, 231, 193, 0.48);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-meta li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
}

.hero-card {
  padding: 34px;
  background: linear-gradient(180deg, rgba(34, 201, 131, 0.1), rgba(47, 118, 255, 0.06));
}

.card-label {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card ul,
.highlight-list ul,
.legal-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.hero-card li,
.highlight-list li,
.legal-card li {
  margin-bottom: 10px;
}

.stats-section {
  padding: 0 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.04);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.stat-card span {
  color: var(--muted);
}

.content-section,
.method-section,
.highlight-section {
  padding: 34px 0 48px;
}

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

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  padding: 28px;
  min-height: 220px;
}

.method-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.method-copy {
  padding: 12px 0;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.step-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.highlight-panel {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.highlight-copy,
.highlight-list {
  padding: 34px;
}

.legal-hero {
  padding: 64px 0 26px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 38px;
}

.legal-intro h1 {
  max-width: none;
}

.legal-update {
  margin-top: 28px;
  color: var(--accent);
}

.site-footer {
  padding: 22px 0 40px;
}

.footer-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.footer-panel p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 980px) {
  .topbar,
  .hero-panel,
  .content-grid,
  .method-panel,
  .method-steps,
  .stats-grid,
  .highlight-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-card,
  .highlight-copy,
  .highlight-list,
  .legal-card {
    padding: 30px;
  }
}

@media (max-width: 720px) {
  .topbar {
    border-radius: 26px;
    justify-content: center;
    text-align: center;
  }

  .brand {
    flex-direction: column;
  }

  .brand-text {
    justify-items: center;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    flex-direction: column;
  }

  h1 {
    max-width: none;
  }
}
