:root {
  color-scheme: dark;
  --bg: #050b18;
  --surface: #0c1629;
  --surface-strong: #101f38;
  --border: rgba(148, 163, 184, 0.2);
  --text: #f8fafc;
  --muted: #a8b4c7;
  --blue: #38bdf8;
  --blue-strong: #2563eb;
  --green: #34d399;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.22), transparent 35rem),
    radial-gradient(circle at 90% 24rem, rgba(14, 165, 233, 0.13), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #7dd3fc;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #bae6fd;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.brand.compact .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}

nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  padding: clamp(72px, 10vw, 140px) 0 96px;
  text-align: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.legal-content a {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 18px auto 24px;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.9rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.3;
}

.lead {
  max-width: 720px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #0ea5e9, var(--blue-strong));
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.25);
}

.button.secondary {
  background: rgba(15, 23, 42, 0.72);
}

.trust-row {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.56);
  font-size: 0.82rem;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card,
.data-panel,
.support-card,
.legal-content {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(16, 31, 56, 0.9), rgba(8, 18, 35, 0.92));
  box-shadow: var(--shadow);
}

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

.card p,
.section p,
.legal-hero p,
.legal-content li {
  color: var(--muted);
}

.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  font-size: 1.3rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.steps li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(56, 189, 248, 0.1);
  font-weight: 800;
}

.steps p {
  margin: 3px 0 0;
  font-size: 0.94rem;
}

.data-panel,
.support-card {
  margin-block: 88px;
  padding: clamp(28px, 5vw, 58px);
}

.data-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  margin-top: 34px;
}

.data-columns article {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.notice {
  margin: 28px 0 0;
  padding: 18px;
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: rgba(52, 211, 153, 0.06);
}

.support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.support-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.legal-layout {
  max-width: 900px;
}

.legal-hero {
  padding: 78px 0 46px;
}

.legal-hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(2.1rem, 7vw, 4.8rem);
}

.legal-content {
  padding: clamp(24px, 6vw, 62px);
}

.legal-content section + section {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.legal-content h2 {
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  letter-spacing: -0.025em;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
}

.legal-content li + li {
  margin-top: 8px;
}

footer {
  margin-top: 80px;
  padding: 42px 0 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

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

footer p {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .site-header {
    padding-block: 16px;
    align-items: flex-start;
  }

  nav {
    max-width: 190px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  nav a {
    font-size: 0.8rem;
  }

  .hero {
    padding: 72px 0;
  }

  .card-grid,
  .split,
  .data-columns {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .data-panel,
  .support-card {
    margin-block: 64px;
  }

  .support-card {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer .brand {
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 68px;
  }

  .brand > span:last-child {
    display: none;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
