:root {
  color-scheme: light;
  --background: #f7f8fa;
  --surface: #ffffff;
  --text: #17202a;
  --muted: #5d6977;
  --border: #d9dee7;
  --accent: #2f6fed;
  --accent-dark: #1d4fb8;
  --notice: #eef4ff;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

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

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--text);
}

.container {
  width: min(100% - 32px, 880px);
  margin: 0 auto;
  padding: 52px 0;
}

.page {
  max-width: 820px;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 7vw, 58px);
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

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

.updated {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: #ffffff;
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  color: var(--accent-dark);
  background: var(--surface);
  border-color: var(--border);
}

.button.secondary:hover {
  color: var(--text);
  border-color: var(--accent);
}

.section,
.notice {
  margin-top: 24px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.notice {
  background: var(--notice);
}

.notice p:last-child,
.section p:last-child,
.section ul:last-child {
  margin-bottom: 0;
}

.site-footer {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nav {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 0;
  }

  .nav-links {
    gap: 14px;
  }

  .container {
    padding: 34px 0;
  }

  .hero {
    padding-top: 10px;
  }

  .lead {
    font-size: 18px;
  }

  .section,
  .notice {
    padding: 18px;
  }
}
