@font-face {
  font-family: 'Walter Turncoat';
  src: url('/assets/WalterTurncoat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  color: #222;
  background: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
.site-header, main, footer {
  width: min(100% - 40px, 720px);
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 24px;
}
.wordmark {
  font-family: 'Walter Turncoat', system-ui, sans-serif;
  font-size: 1.75rem;
  text-decoration: none;
  color: inherit;
}
nav { display: flex; gap: 24px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav a[aria-current='page'] { font-weight: 650; }
main { padding-block: 28px 40px; }
h1, h2 { line-height: 1.25; text-wrap: balance; }
h1 { margin: 0 0 16px; font-size: clamp(2rem, 6vw, 2.75rem); letter-spacing: -0.035em; }
h2 { margin: 36px 0 12px; font-size: 1.25rem; }
p, ul { margin: 0 0 18px; }
article > h1 + p { color: #666; margin-bottom: 28px; font-size: 0.9375rem; }
ul { padding-inline-start: 24px; }
li + li { margin-top: 8px; }
a { color: #85416d; text-underline-offset: 4px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; border-radius: 2px; }
footer { padding-block: 0 36px; }
footer a { display: inline-flex; align-items: center; min-height: 44px; }
.skip-link { position: absolute; top: 8px; left: 20px; padding: 8px 12px; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (prefers-color-scheme: dark) {
  :root { color: #ededed; background: #202020; }
  a { color: #e7a4cf; }
  article > h1 + p { color: #b5b5b5; }
  .skip-link { background: #202020; }
}
@media print {
  :root { color: #000; background: #fff; }
  .site-header, footer, .skip-link { display: none; }
  main { width: 100%; padding: 0; }
  a { color: inherit; }
  h2 { break-after: avoid; }
}

article.support-page > h1 + p { color: inherit; font-size: 1rem; margin-bottom: 18px; }
