:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-muted: #eef3f7;
  --text: #1b2430;
  --muted: #5c6877;
  --line: #d9e0e8;
  --accent: #146c94;
  --accent-dark: #0c4d6b;
  --shadow: 0 18px 45px rgba(27, 36, 48, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a:hover,
a:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand:hover,
.brand:focus {
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 36px;
}

.hero-content {
  max-width: 760px;
}

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

h1,
h2 {
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2.15rem, 6vw, 4.6rem);
}

h2 {
  margin: 42px 0 12px;
  color: var(--text);
  font-size: 1.35rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 680px;
}

.link-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 76px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.document-card {
  display: block;
  min-height: 210px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.document-card:hover,
.document-card:focus {
  border-color: rgba(20, 108, 148, 0.38);
  box-shadow: 0 22px 55px rgba(27, 36, 48, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.document-card span {
  display: block;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.25;
}

.document-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 56px);
}

.legal-content h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

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

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 8px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

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

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

  .hero {
    padding-top: 58px;
  }

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

  .document-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
