:root {
  color-scheme: light;
  --bg: #fff8fa;
  --surface: #ffffff;
  --text: #202027;
  --muted: #696873;
  --line: #eadde2;
  --accent: #d93f73;
  --accent-dark: #a62752;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page,
.document {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 56px 0 80px;
}

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

.eyebrow,
.updated {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.link-list a {
  display: block;
  min-height: 76px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.document {
  max-width: 940px;
}

.document header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 700;
  text-decoration: none;
}

.document h1 {
  font-size: clamp(32px, 6vw, 52px);
}

section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

p,
ul {
  margin: 12px 0 0;
}

ul {
  padding-left: 22px;
}

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

.table-wrap {
  width: 100%;
  margin: 16px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

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

th {
  background: #fff0f4;
  font-size: 14px;
}

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

@media (max-width: 640px) {
  .page,
  .document {
    width: min(100% - 24px, 980px);
    padding-top: 36px;
  }

  .link-list {
    grid-template-columns: 1fr;
  }
}
