/* Wisplight's night colours (unity/Assets/_Project/UI/Theme/tokens.uss), laid out like /klar/.
   The game's own fonts (IM Fell English, Figtree; SIL Open Font License, in fonts/) are served from here: nothing
   loads from other hosts, as the privacy page promises no tracking. */
@font-face { font-family: "IM Fell English"; src: url("fonts/IMFellEnglish-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap }
:root {
  --bg: #070E1B; --surface: #10192A; --surface-2: #1C283C; --fg: #F4ECDB; --muted: #BDB3A2;
  --accent: #77E8DB; --accent-2: #F9BE73; --on-accent: #070E1B; --line: #303D55;
  color-scheme: dark;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-inline: 20px; padding-block: 32px 56px;
}
main, header, footer { max-width: 44rem; margin-inline: auto }
a { color: var(--accent) }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap }
.brand { display: flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; font: 400 24px/1 "IM Fell English", Georgia, serif }
.brand img { width: 40px; height: 40px; border-radius: 10px }
.top nav { display: flex; gap: 16px; font-size: 15px }
.top .langs { gap: 10px; font-size: 13px; letter-spacing: .06em }
.top .langs a { color: var(--muted); text-decoration: none }
.top .langs a[aria-current] { color: var(--fg); text-decoration: underline; text-underline-offset: 3px }
/* Phones: the language picker on the logo's row, the pages' links on their own row, whatever the language's words. */
@media (max-width: 760px) {
  .top .brand { order: 1 }
  .top .langs { order: 2; margin-left: auto }
  .top nav:not(.langs) { order: 3; flex-basis: 100% }
}
.top nav a { color: var(--muted); text-decoration: none }
.top nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-underline-offset: 4px }
.hero { display: grid; gap: 14px; padding-block: 44px 20px }
.hero img { width: 112px; height: 112px; border-radius: 26px }
h1 { margin: 0; font: 400 clamp(34px, 6.5vw, 48px)/1.1 "IM Fell English", Georgia, serif; text-wrap: balance }
.lede { margin: 0; font-size: 19px; color: var(--fg); max-width: 38rem }
h2 { font-size: 19px; margin: 40px 0 8px; font-weight: 600; color: var(--accent-2) }
h3 { font-size: 17px; margin: 24px 0 4px; font-weight: 600 }
p { margin: 0 0 12px }
ul, ol { margin: 0 0 12px; padding-left: 1.2em; display: grid; gap: 6px }
.note { color: var(--muted); font-size: 15px; margin: 0 }
.panel { background: var(--surface); border-radius: 16px; padding: 4px 20px 20px; margin-top: 36px }
.table-wrap { overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--line); border-radius: 12px }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5 }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line) }
th { background: var(--surface-2); font-weight: 600 }
tr:last-child td { border-bottom: 0 }
.faq dt { font-weight: 600; margin-top: 18px }
.faq dd { margin: 4px 0 0 }
footer { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
  display: flex; flex-wrap: wrap; gap: 6px 18px }
footer a { color: var(--muted) }
footer .company { flex-basis: 100%; order: 1; margin: 0; font-size: 13px }
.email { user-select: all; overflow-wrap: anywhere }
