:root {
  --bg: #09111f;
  --bg-elevated: #101a2d;
  --bg-soft: #0d1627;
  --surface: rgba(16, 26, 45, 0.8);
  --surface-strong: rgba(24, 37, 62, 0.96);
  --surface-muted: rgba(255, 255, 255, 0.04);
  --text: #f5f7fb;
  --muted: #a7b5cf;
  --muted-strong: #d8deea;
  --accent: #7f5cff;
  --accent-strong: #5d76ff;
  --accent-soft: rgba(127, 92, 255, 0.16);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --success: #6ee7b7;
  --shadow: 0 26px 80px rgba(1, 7, 18, 0.36);
  --shadow-soft: 0 14px 38px rgba(4, 10, 24, 0.2);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(127, 92, 255, 0.2), transparent 24%),
    radial-gradient(circle at top right, rgba(76, 131, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #08101d 0%, #0a1322 38%, #0b1527 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 34%);
  opacity: 0.5;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--text);
}

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

p,
li {
  color: var(--muted);
  line-height: 1.75;
}

p {
  margin: 0;
}

ul {
  margin: 0;
}

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

.narrow {
  width: min(840px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 13, 23, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
}

.brand span,
.footer-brand span {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero,
.page-hero {
  padding: 88px 0 48px;
}

.hero-grid,
.split,
.support-grid,
.footer-grid,
.mini-grid,
.cards-4,
.cards-3 {
  display: grid;
  gap: 24px;
}

.hero-grid,
.split {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

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

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

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

.hero-copy,
.page-hero-copy {
  display: grid;
  gap: 22px;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(127, 92, 255, 0.32);
  background: var(--accent-soft);
  color: #d3c5ff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.05em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

h4 {
  font-size: 1rem;
}

.lead {
  max-width: 64ch;
  font-size: 1.08rem;
  color: var(--muted-strong);
}

.hero-actions,
.cta-actions,
.panel-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  color: var(--text);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 34px rgba(93, 118, 255, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
}

.btn-nav {
  min-height: 42px;
  padding-inline: 16px;
}

.highlight-box a,
.footer-links a,
.contact-list a {
  color: var(--muted-strong);
  text-underline-offset: 3px;
}

.highlight-box a:hover,
.footer-links a:hover,
.contact-list a:hover {
  color: var(--text);
}

.hero-points,
.check-list,
.bullet-list,
.contact-list,
.metric-list {
  list-style: none;
  padding: 0;
}

.hero-points,
.check-list,
.bullet-list,
.contact-list {
  display: grid;
  gap: 12px;
}

.hero-points li,
.check-list li,
.bullet-list li,
.contact-list li {
  position: relative;
  padding-left: 30px;
}

.hero-points li::before,
.check-list li::before,
.bullet-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.hero-points li::before,
.check-list li::before {
  background: linear-gradient(135deg, var(--success), #7dd3fc);
  box-shadow: 0 0 0 6px rgba(110, 231, 183, 0.1);
}

.bullet-list li::before,
.contact-list li::before {
  background: linear-gradient(135deg, #c4b5fd, #60a5fa);
  box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.08);
}

.hero-panel,
.card,
.highlight-box,
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(23, 35, 58, 0.95), rgba(14, 22, 39, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel::before,
.card::before,
.highlight-box::before,
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(127, 92, 255, 0.42), rgba(96, 165, 250, 0));
}

.hero-panel,
.card,
.highlight-box {
  padding: 30px;
}

.panel-kicker,
.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-panel > *,
.highlight-box > *,
.card > * {
  position: relative;
  z-index: 1;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

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

.mini-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-soft);
}

.mini-card strong,
.stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.mini-card span,
.stat-card span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 44px 0 84px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
  text-align: center;
}

.section-title.left {
  text-align: left;
}

.section-title span {
  color: #d3c5ff;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section-title p {
  max-width: 64ch;
  margin: 0 auto;
  color: var(--muted);
}

.section-title.left p {
  margin: 0;
}

.card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.card p {
  margin: 0;
}

.highlight-box {
  display: grid;
  gap: 16px;
  align-content: start;
}

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

.legal-section {
  display: grid;
  gap: 16px;
}

.legal-section h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

.legal-note {
  color: var(--muted-strong);
  font-size: 0.98rem;
}

.highlight-box p + p {
  margin-top: -4px;
}

.metric-list {
  display: grid;
  gap: 16px;
}

.metric-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
}

.cta-band p {
  max-width: 54ch;
}

.site-footer {
  padding: 34px 0 52px;
  background: rgba(3, 8, 18, 0.92);
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 12px;
}

.footer-column p,
.footer-column li {
  color: var(--muted);
}

.footer-note {
  max-width: 32ch;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
}

@media (max-width: 1080px) {
  .cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .btn-nav {
    width: 100%;
  }

  .hero,
  .page-hero {
    padding-top: 56px;
  }

  .hero-grid,
  .split,
  .support-grid,
  .footer-grid,
  .cards-3,
  .cards-4,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(var(--container), calc(100% - 24px));
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .hero-panel,
  .card,
  .highlight-box,
  .cta-band {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .panel-actions .btn {
    width: 100%;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }
}
