/* Same palette, handwriting, and backdrop as the game's main menu. */
:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  color: #e8e7dc;
  background: #1d2220;
  font-synthesis: none;
  line-height: 1.7;
}
* { box-sizing: border-box; }
body { margin: 0; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5,14,13,.35), rgba(5,14,13,.7)), url('/images/background/mainmenu-wallpaper.webp') center right / cover;
}
a { color: #e6a08e; text-underline-offset: 5px; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid #e6a08e; outline-offset: 6px; }
header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 34%;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ffffff26;
}
.brand {
  font-family: 'Just Me Again Down Here', cursive;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.15;
  color: #fff;
  text-decoration: none;
}
.brand span { color: #d46a54; white-space: nowrap; }
header nav { display: flex; flex-direction: column; gap: 20px; margin-top: 80px; }
header nav a {
  font-family: 'Just Another Hand', cursive;
  font-size: 36px;
  line-height: 1.25;
  text-transform: uppercase;
  text-decoration: none;
  color: #bdc2be;
  padding: 8px 0;
}
header nav a:first-child { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: .08em; margin-bottom: 20px; }
header nav a[aria-current] { color: #e7957e; }
header nav a:hover { color: #fff; }
main, footer { margin-left: 34%; padding: 48px clamp(28px, 5vw, 88px); background: rgba(15,24,21,.84); }
main { min-height: 100vh; }
main > * { max-width: 800px; }
h1, h2, h3 { font-family: 'Just Another Hand', cursive; font-weight: 400; line-height: 1.15; }
h1 { font-size: 54px; text-transform: uppercase; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid #ffffff26; }
h2 { font-size: 38px; margin: 0 0 22px; }
h3 { font-size: 30px; margin: 32px 0 12px; color: #e1e2d8; }
main > section { margin: 0 0 28px; padding: 28px; background: #ffffff06; border: 1px solid #ffffff18; border-radius: 8px; }
dl { margin: 0; }
dt { font-weight: 600; margin-top: 24px; }
dt:first-child { margin-top: 0; }
dt span { margin-right: 8px; }
dd { margin: 6px 0 0 36px; color: #bdc5be; font-size: 15px; }
article { padding: 38px 0; border-bottom: 1px solid #ffffff26; scroll-margin-top: 24px; }
article h2 { font-size: 44px; margin-top: 8px; }
.eyebrow { color: #e6a08e; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
blockquote { border-left: 2px solid #d46a54; margin: 24px 0; padding: 8px 20px; color: #bdc5be; font-style: italic; }
ul { padding-left: 22px; }
li { margin: 10px 0; font-size: 15px; }
li::marker { color: #d46a54; }
.subitem { margin-left: 20px; color: #bdc5be; }
.closing { color: #bdc5be; margin: 28px 0; }
article > a { font-size: 13px; }
.releases { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 8px 24px; padding: 0 0 26px; border-bottom: 1px solid #ffffff26; }
.releases a { font-size: 13px; padding: 7px 0; color: #bdc5be; text-decoration-color: #ffffff38; }
.releases a:hover { color: #e6a08e; }
.skip { position: fixed; left: 20px; top: -100px; background: #1d2220; padding: 12px; z-index: 5; }
.skip:focus { top: 10px; }
footer { padding-top: 12px; padding-bottom: 48px; }
footer a { font-family: 'Just Another Hand', cursive; font-size: 30px; text-decoration: none; }
@media (max-width: 800px) {
  header { position: relative; width: auto; padding: 28px 24px 20px; border-right: 0; border-bottom: 1px solid #ffffff26; background: #07110f80; }
  .brand { font-size: 46px; }
  header nav { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
  header nav a { font-size: 28px; padding: 6px 0; }
  header nav a:first-child { font-size: 11px; margin: 0; flex-basis: 100%; }
  main, footer { margin-left: 0; padding: 28px 24px; }
  main { min-height: auto; }
  h1 { font-size: 44px; margin-bottom: 24px; }
  main > section { padding: 22px; }
  dd { margin-left: 0; }
  .releases { grid-template-columns: 1fr; gap: 2px; }
  footer { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: no-preference) {
  a { transition: color .15s ease; }
}
.form-intro { color: #bdc5be; margin-bottom: 28px; }
#feedback-form { max-width: 680px; }
#feedback-form label { display: block; margin: 24px 0 8px; font-weight: 600; }
#feedback-form label span, .field-help { color: #bdc5be; font-size: 13px; font-weight: 400; }
#feedback-form input:not([type=hidden]), #feedback-form textarea, #feedback-form select { width: 100%; padding: 14px; border: 1px solid #ffffff40; border-radius: 6px; background: #1d2220; color: #e8e7dc; font: inherit; font-size: 16px; }
#feedback-form textarea { resize: vertical; min-height: 160px; }
#feedback-form :is(input,textarea,select,button):focus-visible { outline: 2px solid #e6a08e; outline-offset: 3px; }
.field-help { margin: 8px 0 20px; }
#feedback-form button { margin-top: 12px; border: 1px solid #e7957e; border-radius: 6px; background: #d46a54; color: #101815; padding: 14px 24px; font: 600 16px 'Inter',sans-serif; cursor: pointer; }
#feedback-form button:disabled { opacity: .6; cursor: wait; }
#feedback-status { color: #e8e7dc; }
