:root {
  --bg: #141129;
  --bg-raised: #1c1838;
  --ink: #e8e4f5;
  --ink-dim: #aaa4c6;
  --gold: #d4af5f;
  --gold-bright: #f0d495;
  --gold-dim: #8c7440;
  --rule: rgba(212, 175, 95, 0.2);
  --measure: 68ch;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(86, 62, 138, 0.2), transparent 36rem),
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  padding: 0 20px calc(64px + env(safe-area-inset-bottom));
}

.wrap {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
}

header.doc {
  padding: 52px 0 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 38px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.15;
  margin: 0 0 12px;
  color: #fff;
}

.updated {
  margin: 0;
  font-size: 14px;
  color: var(--ink-dim);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.3;
  color: #fff;
  margin: 44px 0 12px;
}

h2 .num {
  color: var(--gold-dim);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  margin-right: 10px;
  vertical-align: 2px;
}

h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  margin: 26px 0 8px;
}

p, li { color: var(--ink); }
p { margin: 0 0 18px; }

strong { color: #fff; }

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

a:hover { color: var(--gold-bright); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol { padding-left: 22px; }
li { margin-bottom: 8px; }

.callout {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  margin: 28px 0;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 12px; }

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

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}

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

tr:last-child td { border-bottom: 0; }
th {
  color: var(--gold);
  background: rgba(212, 175, 95, 0.05);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.contact-card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 20px;
}

.contact-card h2 {
  margin: 0 0 8px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
}

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

.button-link {
  display: inline-block;
  margin-top: 6px;
  padding: 11px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button-link:hover {
  color: var(--bg);
  background: var(--gold-bright);
}

footer.doc {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--ink-dim);
}

footer.doc p { color: var(--ink-dim); }
footer.doc nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 14px;
}
footer.doc nav a { white-space: nowrap; }

.back {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
}

.small { font-size: 14px; color: var(--ink-dim); }

@media (max-width: 560px) {
  body { font-size: 16px; padding-inline: 18px; }
  header.doc { padding-top: 38px; margin-bottom: 32px; }
  h2 { margin-top: 38px; }
  .callout, .contact-card { padding: 16px; }
}

@media print {
  body { background: #fff; color: #111; }
  p, li, strong, h1, h2, h3 { color: #111; }
  a { color: #111; }
  .callout, .contact-card { background: #fff; border-color: #999; }
}
