:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5b6475;
  --paper: #ffffff;
  --line: #dce3ea;
  --accent: #087f6f;
  --accent-dark: #075e54;
  --soft: #eaf7f4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 28px 16px;
  color: var(--ink);
  background: linear-gradient(145deg, #edf8f5 0%, #f6f8fb 45%, #edf1f6 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

.card {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  background: var(--paper);
  border: 1px solid rgba(220, 227, 234, .9);
  border-radius: 20px;
  box-shadow: 0 20px 55px rgba(23, 32, 51, .09);
}

.landing { min-height: calc(100vh - 56px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
h1 { margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.12; }
h2 { margin-top: 2.2em; padding-top: .2em; font-size: 1.45rem; line-height: 1.25; }
h3 { margin-top: 1.55em; font-size: 1.08rem; }
p, li { max-width: 78ch; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
.lead { color: var(--muted); font-size: 1.14rem; }
.updated, .footer { color: var(--muted); font-size: .92rem; }
.footer { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }

.top-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 40px; }
.top-nav a { font-weight: 650; }
.notice { margin: 28px 0; padding: 18px 20px; background: var(--soft); border-left: 4px solid var(--accent); border-radius: 8px; }

.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0; }
.action { display: flex; flex-direction: column; min-height: 98px; padding: 20px; color: var(--ink); background: #f8fafb; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.action:hover, .action:focus-visible { transform: translateY(-2px); border-color: var(--accent); outline: none; }
.action span { color: var(--muted); }
.button { display: inline-block; padding: 12px 18px; color: white; background: var(--accent-dark); border-radius: 8px; font-weight: 750; text-decoration: none; }

hr { margin: 48px 0; border: 0; border-top: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--soft); }

@media (max-width: 640px) {
  body { padding: 0; background: var(--paper); }
  .card { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .link-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .action { transition: none; }
}
