:root {
  color-scheme: light;
  --navy: #0b3473;
  --navy-dark: #071a3d;
  --blue-soft: #eef3fb;
  --gold-soft: #fff6df;
  --text: #1d2939;
  --muted: #697386;
  --line: #dfe4eb;
  --surface: #ffffff;
  --background: #f5f7fa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  color: var(--navy-dark);
  font-size: 1.5rem;
  font-weight: 850;
  text-decoration: none;
}

nav { display: flex; gap: 1rem; }
nav a { color: var(--muted); font-weight: 700; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--navy); }

main { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }

.hero {
  padding: clamp(3rem, 9vw, 7rem) 0;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 .75rem;
  color: #ef3b4d;
  font-size: .85rem;
  font-weight: 850;
  letter-spacing: .09em;
}

h1, h2 { color: var(--navy-dark); line-height: 1.15; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.4rem, 7vw, 5.25rem); letter-spacing: -.045em; }
h2 { margin-top: 2.4rem; }
.lead { color: var(--muted); font-size: 1.2rem; max-width: 700px; }
.updated { color: var(--muted); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-block;
  padding: .85rem 1.2rem;
  border-radius: .75rem;
  color: white;
  background: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.button.secondary { color: var(--navy); background: var(--blue-soft); }

.notice, .document section, .contact-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}

.notice { max-width: 820px; }
.notice h2, .document section h2 { margin-top: 0; }

.document { max-width: 850px; }
.document h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.document section { margin-top: 1rem; }
.support .contact-card { background: var(--gold-soft); }

details { padding: 1rem 0; border-top: 1px solid var(--line); }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; color: var(--navy-dark); font-weight: 800; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 640px) {
  .site-header, footer { align-items: flex-start; flex-direction: column; }
  nav { flex-wrap: wrap; }
  main { padding-top: 2rem; }
}
