:root {
  color-scheme: dark;
  --background: #060918;
  --surface: #10172b;
  --surface-soft: #0c1224;
  --text: #f5f7ff;
  --muted: #aeb7cf;
  --line: #26304d;
  --accent: #52e6d3;
  --accent-deep: #13b9d5;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgb(19 185 213 / 18%), transparent 32rem),
    radial-gradient(circle at 10% 26%, rgb(82 230 211 / 10%), transparent 28rem),
    var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(82 230 211 / 55%);
  border-radius: 11px;
  color: var(--accent);
  background: linear-gradient(145deg, rgb(82 230 211 / 15%), rgb(19 185 213 / 5%));
  box-shadow: 0 0 32px rgb(82 230 211 / 14%);
}

nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

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

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

.hero {
  max-width: 920px;
  padding: 112px 0 124px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy,
.statement > p:last-child,
.legal-page > p,
.legal-page li {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 20px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #031315;
  background: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #82f3e4;
}

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

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

.card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(155deg, rgb(16 23 43 / 94%), rgb(12 18 36 / 80%));
}

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

.statement {
  max-width: 850px;
}

.legal-page {
  max-width: 820px;
  padding: 90px 0 110px;
}

.legal-page h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.legal-page h2 {
  margin-top: 48px;
  margin-bottom: 14px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.legal-page ul {
  padding-left: 22px;
}

.meta {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

footer p {
  margin-bottom: 0;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.85rem;
}

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

  .hero {
    padding: 78px 0 92px;
  }

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

  .card {
    min-height: auto;
  }

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

  .copyright {
    grid-column: auto;
  }
}
