:root {
  --background: #f7f9fc;
  --surface: #ffffff;
  --text: #172033;
  --muted: #526071;
  --accent: #2457d6;
  --border: #dfe6f2;
  --shadow: 0 16px 40px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

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

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

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

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

.footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.lead {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

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

.card,
.notice,
.document {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.card,
.notice {
  padding: 1.5rem;
}

.notice {
  margin-top: 1rem;
}

.document {
  margin-top: 3rem;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.document h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.document h2 {
  margin-top: 2rem;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }

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