:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #17202a;
  --muted: #5f6b7a;
  --border: #e6e9ee;
  --surface: #f8fafc;
  --link: #2457d6;
  --link-hover: #153b98;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:hover,
a:focus-visible {
  color: var(--link-hover);
}

a:focus-visible {
  outline: 3px solid #9bb7ff;
  outline-offset: 3px;
  border-radius: 4px;
}

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

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

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

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

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

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 7vw, 3.4rem);
}

h2 {
  margin: 38px 0 10px;
  font-size: 1.25rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: #2f3a46;
  font-size: clamp(1.12rem, 3vw, 1.35rem);
  line-height: 1.5;
  margin-bottom: 22px;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 24px;
}

.card h2 {
  margin-top: 0;
}

.link-list {
  margin: 0;
  padding-left: 1.2rem;
}

.document {
  padding-top: 48px;
}

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

.site-footer {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
}

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

  .container {
    padding: 40px 0;
  }

  .card {
    padding: 20px;
  }
}
