:root {
  color-scheme: light;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #1d4ed8;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

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

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

main.wrap {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

h3 {
  margin: 1.5rem 0 0.375rem;
  font-size: 1.0625rem;
  line-height: 1.4;
}

p {
  margin: 0 0 0.875rem;
  color: var(--body);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--body);
}

li {
  margin-bottom: 0.375rem;
}

li::marker {
  color: var(--muted);
}

.lead {
  font-size: 1.0625rem;
}

.card {
  margin: 0 0 1rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.note {
  margin: 0 0 1rem;
  padding: 0.875rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0.5rem;
  background: #eff6ff;
}

.note p:last-child {
  margin-bottom: 0;
}

.table-wrap {
  margin: 0 0 1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
}

table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

caption {
  padding: 0.75rem 1rem;
  caption-side: top;
  text-align: left;
  color: var(--muted);
  font-size: 0.8125rem;
}

th,
td {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: #f8fafc;
  font-weight: 600;
  color: var(--text);
}

tbody th {
  font-weight: 500;
  color: var(--text);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

td {
  color: var(--body);
}

.cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.cta:hover {
  background: #1e40af;
}

.dates {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: inherit;
}
