:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #5f6f86;
  --line: #dce3ec;
  --blue: #2467e8;
  --green: #159957;
  --paper: #ffffff;
  --wash: #f3f6fa;
  --navy: #0b1423;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

.topbar {
  background: var(--navy);
  color: white;
}

.topbar-inner,
.content,
.footer-inner {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: white;
  font-size: 21px;
  font-weight: 750;
  text-decoration: none;
}

.language {
  display: flex;
  gap: 8px;
}

.language a {
  border: 1px solid #536279;
  border-radius: 6px;
  color: white;
  padding: 5px 10px;
  text-decoration: none;
}

.language a[aria-current="page"] {
  background: white;
  border-color: white;
  color: var(--navy);
}

.content {
  background: var(--paper);
  min-height: calc(100vh - 190px);
  padding: 56px 64px 72px;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  border-top: 1px solid var(--line);
  margin: 38px 0 8px;
  padding-top: 30px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

h3 {
  margin: 24px 0 6px;
  font-size: 18px;
  letter-spacing: 0;
}

p, ul { margin: 10px 0; }

li + li { margin-top: 7px; }

.lead {
  color: var(--muted);
  font-size: 19px;
}

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

.notice {
  border-left: 4px solid var(--green);
  background: #edf8f2;
  margin: 28px 0;
  padding: 16px 18px;
}

.link-list {
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.link-list a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  text-decoration: none;
}

.link-list span { color: var(--muted); }

.button {
  background: var(--blue);
  border-radius: 6px;
  color: white;
  display: inline-block;
  font-weight: 700;
  margin-top: 12px;
  padding: 11px 18px;
  text-decoration: none;
}

footer {
  background: #e8edf4;
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 640px) {
  .topbar-inner, .content, .footer-inner { width: 100%; }
  .topbar-inner { padding: 0 20px; }
  .content { padding: 38px 24px 54px; }
  .footer-inner { flex-direction: column; padding: 0 20px; }
}
