:root {
  color-scheme: light;
  --bg: #f6fbfe;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbeaf2;
  --brand: #0a7ea4;
  --brand-dark: #075f7d;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand-dark);
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.hero {
  padding: 28px 0 20px;
}

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

.mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
}

h1 {
  margin: 36px 0 10px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.card,
.section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.card {
  text-decoration: none;
}

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

.section {
  margin-top: 18px;
}

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

.footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #071317;
    --surface: #0f2027;
    --text: #f8fafc;
    --muted: #cbd5e1;
    --line: #25414d;
    --brand: #38a8c6;
    --brand-dark: #7dd3fc;
  }
}
