/* ZHunter — support site. Shared styling.
   Palette is the game's own (Theme.swift): blood red, bone, sick green, on a
   green-biased near-black. Single-theme on purpose — this is the game's world,
   not a document viewer. */

:root {
  --ground: #0B0D0C;
  --surface: #141816;
  --line: #252E29;
  --ink: #E0DBCC;          /* bone */
  --mute: #8A938E;
  --faint: #5A625E;
  --blood: #C71A1A;
  --sick: #6BD166;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16.5px/1.62 -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 860px; margin: 0 auto; padding: 56px 24px 88px; }

/* ---- masthead ---- */
header.site { display: flex; flex-direction: column; gap: 14px; padding-bottom: 30px;
              border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: inherit; }
.brand .z { color: var(--blood); font-weight: 800; }
.brand h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
           color: var(--faint); font-weight: 600; }

nav.site { display: flex; gap: 22px; flex-wrap: wrap; }
nav.site a { color: var(--mute); text-decoration: none; font-size: 14.5px; padding-bottom: 2px;
             border-bottom: 1px solid transparent; }
nav.site a:hover, nav.site a:focus-visible { color: var(--ink); border-bottom-color: var(--blood); }
nav.site a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--blood); }

/* ---- content ---- */
main { padding-top: 38px; }
h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 12px;
     text-wrap: balance; }
h2:first-of-type { margin-top: 0; }
h3 { font-size: 16.5px; font-weight: 650; margin: 26px 0 8px; color: var(--ink); }
p, li { max-width: var(--measure); color: var(--mute); }
p { margin: 0 0 14px; }
ul { margin: 0 0 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
li::marker { color: var(--faint); }
strong { color: var(--ink); font-weight: 650; }
a { color: var(--sick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.lede { font-size: 18.5px; color: var(--ink); max-width: 60ch; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
        padding: 22px 26px; margin: 22px 0; }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.stamp { font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }

.callout { border-left: 3px solid var(--blood); padding-left: 18px; margin: 22px 0; }
.callout p { color: var(--ink); }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line);
         vertical-align: top; }
th { color: var(--faint); font-size: 11.5px; letter-spacing: .11em; text-transform: uppercase;
     font-weight: 650; }
td { color: var(--mute); }
.scroller { overflow-x: auto; }

footer.site { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
              font-size: 13.5px; color: var(--faint); display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--faint); }
footer.site a:hover { color: var(--mute); }

:focus-visible { outline: 2px solid var(--sick); outline-offset: 3px; border-radius: 3px; }

@media (max-width: 560px) { .wrap { padding: 40px 18px 64px; } .brand h1 { font-size: 25px; } }
