/* LatestSMP: a night-blue base with mint "new version" accents. Pixel type only for small labels
   (version tags, eyebrows); everything you read is in a plain sans. */
:root {
  --bg: #0d1321; --panel: #131b2e; --panel-2: #1a2440; --line: #24304d;
  --text: #e9f1ff; --muted: #9aa8c2; --faint: #62708c;
  --mint: #5ef2b5; --teal: #2fd6cc; --on-mint: #07261c; --warn: #ffcf5a; --ok: #5ef2b5; --bad: #ff7a85;
  --pixel: "Silkscreen", "Courier New", monospace;
  --sans: "Onest", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 10px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #f2f7f6; --panel: #ffffff; --panel-2: #e6f2ee; --line: #d2e3dd;
  --text: #0f1f2a; --muted: #4d6170; --faint: #8497a3;
  --mint: #0b9d6c; --teal: #0a8f89; --on-mint: #ffffff; --warn: #9a6a00; --ok: #0b9d6c; --bad: #c9303e; color-scheme: light } }
:root[data-theme="light"] {
  --bg: #f2f7f6; --panel: #ffffff; --panel-2: #e6f2ee; --line: #d2e3dd;
  --text: #0f1f2a; --muted: #4d6170; --faint: #8497a3;
  --mint: #0b9d6c; --teal: #0a8f89; --on-mint: #ffffff; --warn: #9a6a00; --ok: #0b9d6c; --bad: #c9303e; color-scheme: light }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); }
a { color: var(--mint); }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 54px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 650; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { font: 400 12px var(--pixel); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--mono); padding: 3px 10px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); white-space: nowrap; }
.tag.new { border-color: var(--mint); color: var(--mint); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.dot.off { background: var(--bad); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font: 600 15px var(--sans); text-decoration: none; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); cursor: pointer; }
.btn:hover { border-color: var(--mint); }
.btn.primary { background: var(--mint); color: var(--on-mint); border-color: var(--mint); }
.btn.primary:hover { filter: brightness(1.06); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #7cffb2, #2fd6cc); }
.brand b { color: var(--mint); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 6px; font-size: 15px; }
.nav a:hover, .nav a[aria-current] { color: var(--text); background: var(--panel-2); }
.theme { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; width: 34px; height: 34px; cursor: pointer; font-size: 15px; }

main { padding-block: 40px 72px; display: flex; flex-direction: column; gap: 64px; }
section { display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; flex-direction: column; gap: 8px; max-width: 62ch; }

/* footer: the same layout as every whiscey.net server's site */
.foot { border-top: 1px solid var(--line); background: var(--panel); padding-block: 48px; margin-top: 48px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.foot-who { display: flex; flex-direction: column; gap: 8px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.foot-brand b { color: var(--mint); }
.foot-me { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--muted); text-decoration: none; transition: color .2s; }
.foot-me img { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; transition: transform .2s; }
.foot-me:hover { color: #0284c7; }
.foot-me:hover img { transform: translateY(-2px); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--mint); }
.foot-legal { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--faint); text-align: right; }
@media (max-width: 900px) { .foot .wrap { flex-direction: column; text-align: center; } .foot-who { align-items: center; } .foot-legal { text-align: center; } }

@media (max-width: 640px) { .nav { order: 3; width: 100%; margin-left: -10px; } .theme { margin-left: auto; } .top .wrap { padding-block: 8px; gap: 6px 18px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
