/* Text pages (Help, Privacy, Terms, not found). Tokens match the homepage. */
[hidden] { display: none !important; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #090B0F;
  --ink: #F7F2E6;
  --gold: #EDB06B;
  --ash: #ADB0AD;
  --line: rgba(247, 242, 230, 0.16);
  --glass: rgba(247, 242, 230, 0.06);
  --serif: "Newsreader", "New York", ui-serif, "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: var(--gutter); top: -60px; padding: 8px 14px; border-radius: 8px; background: var(--gold); color: var(--night); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.masthead { padding-block: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.wordmark { font-family: var(--serif); font-size: 25px; letter-spacing: -0.01em; line-height: 1; }

main { padding-top: 48px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.5rem, 10vw, 3.5rem); line-height: 1.04; letter-spacing: -0.022em; }
h2 { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 28px; line-height: 1.15; letter-spacing: -0.012em; }
h3 { margin: 28px 0 0; font-size: 21px; line-height: 1.25; }
p, ul, ol, dl, table { margin: 14px 0 0; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 6px; }
strong, b { font-weight: 600; }

.lede { margin-top: 18px; font-size: 19px; color: var(--ash); }
.meta { margin-top: 14px; font-size: 14.5px; color: var(--ash); }

.draft {
  margin-top: 26px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid var(--gold); background: rgba(237, 176, 107, 0.08);
  font-size: 15.5px; line-height: 1.5;
}

.table-scroll { margin-top: 18px; overflow-x: auto; }
table { margin: 0; width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
caption { text-align: left; padding-bottom: 10px; color: var(--ash); font-size: 14.5px; }
th, td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
th { font-weight: 600; }
thead th { border-top: 0; color: var(--ash); font-weight: 500; font-size: 14px; }
@media (max-width: 699px) {
  /* Stack table rows so nothing scrolls sideways on a phone. */
  .table-scroll table, .table-scroll tbody, .table-scroll tr, .table-scroll th, .table-scroll td { display: block; }
  .table-scroll thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-scroll tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .table-scroll th, .table-scroll td { padding: 0; border: 0; }
  .table-scroll td { margin-top: 6px; }
  .table-scroll td::before { content: attr(data-label) ": "; color: var(--ash); }
}

details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 16px 0; cursor: pointer; list-style: none; font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; color: var(--gold); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details > :not(summary) { margin-top: 0; padding-bottom: 16px; color: var(--ash); }
details > p + p { margin-top: -6px; }

.contact {
  margin-top: 22px; padding: 20px 22px; border-radius: 18px;
  background: var(--glass); box-shadow: inset 0 0 0 1px var(--line);
}
.contact p { margin: 0; }
.contact p + p { margin-top: 6px; color: var(--ash); font-size: 15px; }
.contact a { font-size: 19px; }

.foot { margin-top: 96px; padding-block: 28px 44px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ash); }
.foot__row { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__row a { color: var(--ink); }
.foot__row a[aria-current="page"] { color: var(--gold); text-decoration: none; }
@media (hover: hover) { .foot__row a:hover { color: var(--gold); } }

@media (min-width: 700px) {
  :root { --gutter: 40px; }
  main { padding-top: 72px; }
}
@media (min-width: 1040px) {
  .masthead { padding-block: 22px 0; }
  .brand img { width: 34px; height: 34px; }
  .wordmark { font-size: 29px; }
}
