:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: #0b1020;
  --surface: #111827;
  --surface-soft: #172033;
  --border: #26334d;
  --text: #f8fafc;
  --muted: #a8b3c7;
  --primary: #3b82f6;
  --primary-strong: #2563eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.18), transparent 30rem),
    var(--background);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: #93c5fd;
}

a:hover {
  color: #bfdbfe;
}

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

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

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

.brand img {
  width: 40px;
  height: 40px;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

main {
  padding-block: 56px 88px;
}

.hero {
  padding-block: 36px 56px;
}

.eyebrow {
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  max-width: 760px;
  margin: 12px 0 20px;
  font-size: clamp(2.35rem, 7vw, 4.75rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 40px;
  font-size: 1.4rem;
}

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

.lead {
  max-width: 700px;
  font-size: 1.2rem;
}

.button {
  display: inline-flex;
  margin-top: 16px;
  padding: 11px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
  font-weight: 700;
  text-decoration: none;
}

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

.card,
.notice {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.78);
}

.card {
  padding: 22px;
}

.card h2 {
  margin-top: 0;
}

.notice {
  margin-block: 28px;
  padding: 18px 20px;
}

.document h1 {
  font-size: clamp(2.2rem, 6vw, 3.7rem);
}

.document ul {
  padding-left: 22px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 36px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

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

  nav {
    flex-wrap: wrap;
  }

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

  main {
    padding-block: 32px 64px;
  }
}
