:root {
  --ink: #111;
  --muted: #555;
  --line: #d8d8d8;
  --page-width: 860px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #555; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner, .page, .footer-inner { width: min(100% - 40px, var(--page-width)); margin: 0 auto; }

.site-header { padding: 18px 0; }
.brand { color: #111; font-size: 17px; font-weight: 700; text-decoration: none; }
.brand-mark { display: none; }

.header-nav, .site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
}
.header-nav a, .site-footer a { font-size: 14px; }
.header-nav a[aria-current="page"] { font-weight: 700; }

.page { padding: 42px 0 60px; }
.document, .hero-card, .card, .callout, .request-form { background: #fff; }
.document { max-width: var(--page-width); }

.eyebrow { margin: 0 0 7px; color: var(--muted); font-size: 13px; }
h1, h2, h3 { margin: 0; color: #111; line-height: 1.35; }
h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 700; }
h2 { margin-top: 42px; margin-bottom: 14px; font-size: 22px; }
h3 { margin-top: 25px; margin-bottom: 8px; font-size: 18px; }
p { margin: 0 0 16px; }
li + li { margin-top: 7px; }

.meta { display: flex; flex-wrap: wrap; gap: 5px 20px; margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.notice, .important {
  margin: 26px 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  background: #fff;
}
.notice p:last-child, .important p:last-child { margin-bottom: 0; }

.toc { margin: 28px 0; padding: 17px 0 17px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc strong { display: block; margin-bottom: 7px; }
.toc ol { margin: 0; padding-left: 22px; columns: 2; }
.toc li { break-inside: avoid; }

table { width: 100%; margin: 18px 0 24px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 12px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
th { font-weight: 700; }

.hero-card { padding: 0; }
.hero-card h1 { max-width: 650px; }
.lead { max-width: 690px; margin-top: 14px; color: var(--muted); font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 38px; }
.card { padding-top: 16px; border-top: 1px solid #111; }
.card h2 { margin: 0 0 10px; font-size: 19px; }
.card p:last-child { margin-bottom: 0; }

.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button, button { display: inline-block; padding: 8px 0; color: #111; border: 0; border-bottom: 1px solid #111; background: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { color: #555; border-color: #555; }
.button.secondary { font-weight: 400; }

.muted { color: var(--muted); }
.small { font-size: 14px; }
.nowrap { white-space: nowrap; }

.site-footer { width: min(100% - 40px, var(--page-width)); margin: 0 auto; padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer nav { margin: 0 0 10px; }

@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .toc ol { columns: 1; }
  table { display: block; overflow-x: auto; }
  th, td { min-width: 120px; }
}

@media print {
  body { font-size: 12px; }
  .site-header, .site-footer { display: none; }
  .page { width: 100%; padding: 0; }
}
