:root {
  color-scheme: light;
  --bg: #f8fbff;
  --surface: #ffffff;
  --text: #111a2e;
  --muted: #526179;
  --line: #dfe9f7;
  --primary: #2563eb;
  --primary-dark: #123a8c;
}

* {
  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.6;
}

a {
  color: var(--primary);
}

.site-header,
.site-footer {
  margin: 0 auto;
  max-width: 880px;
  padding: 28px 20px;
}

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

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.hero,
.content {
  margin: 0 auto 24px;
  max-width: 880px;
  padding: 0 20px;
}

.hero-inner,
.page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1 {
  font-size: 42px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 30px 0 8px;
}

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

.lead {
  font-size: 18px;
  max-width: 640px;
}

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

.button {
  align-items: center;
  background: var(--primary);
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 750;
  min-height: 44px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.secondary {
  background: #e6eefb;
  color: var(--primary-dark);
}

.link-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 24px;
}

.link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  display: block;
  font-weight: 750;
  padding: 16px;
  text-decoration: none;
}

.link-card span {
  color: var(--muted);
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
}

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

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

  .hero-inner,
  .page {
    padding: 24px;
  }

  h1 {
    font-size: 34px;
  }
}
