:root {
  color-scheme: dark light;
  --bg: #0b0f14;
  --bg-2: #101722;
  --text: #f7f8fb;
  --muted: rgba(247,248,251,.68);
  --soft: rgba(247,248,251,.48);
  --line: rgba(255,255,255,.14);
  --glass: rgba(255,255,255,.08);
  --glass-strong: rgba(255,255,255,.14);
  --accent: #4ba7b3;
  --shadow: 0 36px 120px rgba(0,0,0,.34);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f8fb;
    --bg-2: #eef3f6;
    --text: #0b0f14;
    --muted: rgba(11,15,20,.68);
    --soft: rgba(11,15,20,.48);
    --line: rgba(11,15,20,.12);
    --glass: rgba(255,255,255,.68);
    --glass-strong: rgba(255,255,255,.88);
    --shadow: 0 34px 90px rgba(22,44,62,.14);
  }
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 8%, rgba(75,167,179,.22), transparent 30rem),
    radial-gradient(circle at 12% 92%, rgba(255,255,255,.08), transparent 34rem),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

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

.page {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 42px;
}

.topbar,
.card {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--glass-strong), var(--glass));
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px) saturate(1.25);
  -webkit-backdrop-filter: blur(30px) saturate(1.25);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px 16px 12px 20px;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 840;
  letter-spacing: -.055em;
}

.brand img {
  width: 48px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

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

.card {
  margin-top: 28px;
  border-radius: 36px;
  padding: clamp(28px, 6vw, 64px);
}

h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: .94;
  letter-spacing: -.075em;
}

h2 {
  margin: 38px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

ul {
  margin: 10px 0 0 20px;
  padding: 0;
}

.meta {
  color: var(--soft);
  font-size: 14px;
}

.hero-copy {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #0b0f14;
  background: #f7f8fb;
  font-weight: 830;
  letter-spacing: -.02em;
}

.button.secondary {
  color: var(--text);
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px var(--line);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 2px 0;
  color: var(--soft);
  font-size: 14px;
  font-weight: 680;
}

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

@media (max-width: 680px) {
  .page {
    width: min(100% - 22px, 560px);
    padding-top: 10px;
  }

  .topbar {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .card {
    border-radius: 28px;
  }

  .footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
