:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  background: #f4f7fc;
  color: #14233b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top right, rgba(48, 126, 255, 0.14), transparent 34rem),
    #f4f7fc;
}

a {
  color: #0757b7;
}

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #0b3e91, #1481ee);
  color: #fff;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.site-nav a {
  color: inherit;
  text-underline-offset: 4px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #0757b7;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.1rem, 9vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 42rem;
  margin: 24px 0 40px;
  color: #52647c;
  font-size: 1.12rem;
  line-height: 1.75;
}

.content {
  display: grid;
  gap: 16px;
}

.card {
  padding: 24px;
  border: 1px solid rgba(20, 35, 59, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 40px rgba(33, 65, 115, 0.06);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.card p,
.card li {
  line-height: 1.75;
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

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

.primary-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 12px;
  background: #0757b7;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.site-footer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(20, 35, 59, 0.12);
  color: #65758b;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #0d1522;
    color: #edf4ff;
  }

  body {
    background:
      radial-gradient(circle at top right, rgba(32, 115, 235, 0.24), transparent 34rem),
      #0d1522;
  }

  a,
  .eyebrow {
    color: #85bdff;
  }

  .lede,
  .site-footer {
    color: #aebcd0;
  }

  .card {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(23, 36, 56, 0.9);
    box-shadow: none;
  }

  .primary-link {
    background: #2d85ed;
    color: #fff;
  }
}
