:root {
  color-scheme: dark;
  --background: #000;
  --ink: #fff;
  --teal: #529991;
  --red: #ff1a51;
  --line: #cbdccb;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 1rem/1.6 "JetBrains Mono", monospace;
}
.site-container { width: 90%; margin: auto; padding: 20px 0 40px; }
header { margin-bottom: 32px; }
h1 { margin: 0 0 14px; }
h1 img { display: block; width: min(280px, 62vw); height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 12px; border-top: 1px solid var(--red); }
a { color: var(--teal); text-decoration-thickness: .12em; text-underline-offset: .18em; }
nav a { font-weight: 700; }
h2, h3 { line-height: 1.2; margin: 2rem 0 .75rem; }
h2 { font-size: clamp(1.2rem, 3vw, 1.65rem); }
form { max-width: 640px; display: grid; gap: 12px; }
label { display: grid; gap: 5px; }
input, textarea, button { font: inherit; padding: .55rem .75rem; border: 1px solid #74847c; border-radius: 4px; }
input, textarea { background: #151515; color: var(--ink); }
textarea { resize: vertical; }
button { justify-self: start; background: #183344; color: white; cursor: pointer; }
button:disabled { opacity: .65; cursor: default; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--red); font-size: .9rem; }
@media (max-width: 350px) {
  .g-recaptcha { transform: scale(.85); transform-origin: left center; }
}

.sitemap-contents { display: block; border: 0; padding: 0; }
.sitemap-contents > ul { padding-left: 1.4em; columns: 2 25em; column-gap: 3em; }
.sitemap-contents li { break-inside: avoid; padding-block: .12em; }
.sitemap-contents li ul { padding-left: 1.4em; }
.sitemap-contents a { font-weight: 400; }

h1, h2, h3, h4, h5, h6, .sitemap-contents > strong { text-transform: uppercase; }
main p > a[href="#sitemap-contents"] {
  display: inline-block;
  padding: .55rem .9rem;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
main p > a[href="#sitemap-contents"]:hover { text-decoration: underline; }
