:root {
  --bg: #09101f;
  --panel: rgba(16, 24, 50, 0.82);
  --panel-strong: #101832;
  --line: rgba(123, 146, 210, 0.18);
  --text: #f5f8ff;
  --muted: #a5b5de;
  --primary: #5c84ff;
  --accent: #8fffe0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(92, 132, 255, 0.2), transparent 28%),
    radial-gradient(circle at right center, rgba(143, 255, 224, 0.08), transparent 24%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 16, 31, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-logo {
  width: 38px;
  height: 38px;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}

.hero-copy,
.hero-card,
.info-card,
.about-card,
.feature-section {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.hero-copy {
  padding: 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #8cabff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  font-weight: 800;
}

h1,
h2 {
  margin: 0 0 16px;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lead,
.info-card p,
.feature-section p,
.about-card p,
.metric span,
.feature-item {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), #7c61ff);
  color: #fff;
}

.button.secondary {
  background: rgba(20, 32, 68, 0.8);
  color: var(--text);
  border-color: rgba(124, 149, 222, 0.25);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(18, 28, 58, 0.9);
  border: 1px solid rgba(124, 149, 222, 0.15);
  color: #d7e3ff;
  font-weight: 600;
}

.hero-card {
  padding: 26px;
}

.hero-card-head {
  margin-bottom: 18px;
}

.hero-card-body {
  display: grid;
  gap: 16px;
}

.metric {
  padding: 18px;
  border-radius: 22px;
  background: rgba(13, 20, 42, 0.88);
  border: 1px solid rgba(123, 146, 210, 0.16);
}

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

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.info-card,
.about-card {
  padding: 30px;
}

.feature-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 30px;
  margin-bottom: 24px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(13, 20, 42, 0.88);
  border: 1px solid rgba(123, 146, 210, 0.16);
}

.about-section {
  margin-top: 24px;
}

.about-card {
  max-width: 860px;
}

.legal-page .legal-card {
  max-width: 900px;
}

.site-footer {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 0 6px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero,
  .section-grid,
  .feature-section {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .hero-card,
  .info-card,
  .about-card,
  .feature-section {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding-top: 16px;
  }

  nav {
    gap: 12px;
  }

  h1 {
    font-size: 2.5rem;
  }
}
