:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #171a1f;
  --muted: #5e6673;
  --line: #dfe3ea;
  --accent: #0f766e;
  --accent-ink: #0b4f49;
  --soft: #e8f4f2;
  --danger: #8a3a2c;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

body {
  margin: 0;
}

a {
  color: var(--accent-ink);
  text-underline-offset: 0.18em;
}

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

.header-inner,
.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.brand strong {
  color: var(--ink);
  font-size: 18px;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--accent-ink);
  font-weight: 700;
}

.page {
  padding: 40px 0 64px;
}

.document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 48px);
}

.eyebrow {
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 8px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 20px 0 8px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
}

p,
li {
  color: var(--muted);
}

ul {
  padding-left: 22px;
}

.meta {
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-ink);
}

.meta p {
  margin: 0;
  color: var(--accent-ink);
}

.notice {
  margin: 24px 0;
  padding: 16px;
  border-left: 4px solid var(--danger);
  background: #fff4f1;
  border-radius: 6px;
}

.notice p,
.notice li {
  color: #5f2a21;
}

.document-footer {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.card {
  display: block;
  min-height: 148px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-decoration: none;
}

.card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
}

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

@media (max-width: 680px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

