/* SpaceCorps 2027 download site: the game's look (docs/UI_KIT.md in the game repo).
   Warm charcoal glass, off-white text, one coral accent, the system font. */

:root {
  color-scheme: dark;
  --bg: #141312;
  --surface: #1f1e1c;
  --elevated: #2a2825;
  --sheet: #22211f;
  --separator: #34322f;
  --hairline: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f4ef;
  --text-2: #b5b2aa;
  --text-3: #8e8b84; /* the game's #807d76, lifted to 4.5:1 on the page */
  --accent: #d97757;
  --accent-hover: #e48b6c;
  --accent-pressed: #c46548;
  --accent-soft: rgba(217, 119, 87, 0.16);
  --good: #78be78;
  --warn: #e5b567;
  --bad: #eb5757;
  --glass: rgba(31, 30, 28, 0.72);
  --radius-window: 14px;
  --radius-card: 12px;
  --radius-control: 8px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 50px rgba(0, 0, 0, 0.45);
  --latin: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial;
  --latin-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial;
  /* Han, kana and Hangul come after the Latin faces, so Latin words and digits keep the system
     face. The language rules below put the page language's own faces first (Han unification:
     a Chinese face draws Japanese kanji in their Chinese shapes). */
  --cjk: "PingFang SC", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Apple SD Gothic Neo", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", "Malgun Gothic", "Yu Gothic", Meiryo;
  --font: var(--latin), var(--cjk), sans-serif;
  --font-display: var(--latin-display), var(--cjk), sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --page: 1120px;
  --gutter: 24px;
}

/* The page language's own CJK faces first (html lang, set by i18n.js before the first paint). */
:root:lang(ja) { --cjk: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP", "Noto Sans JP", "PingFang SC", "Microsoft YaHei"; }
:root:lang(ko) { --cjk: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", "PingFang SC", "Hiragino Sans"; }
:root:lang(zh) { --cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans"; }

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: 0.88em; color: var(--text); background: var(--elevated); padding: 0.1em 0.4em; border-radius: 5px; overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--font-display); color: var(--text); margin: 0; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; }
p, li, figcaption, td { text-wrap: pretty; }

/* ---------- languages ---------- */
/* Until the texts of a language other than English are in (i18n.js, 1.5 s at most). */
.i18n-pending body { visibility: hidden; }
/* CJK: a little more leading, no tracking on titles, the usual line-breaking rules (no small
   kana or closing marks at a line start; Korean breaks between words, not syllables). */
:root:is(:lang(ja), :lang(ko), :lang(zh)) body { line-height: 1.7; }
:root:is(:lang(ja), :lang(ko), :lang(zh)) :is(.section-head h2, .subhead, .eyebrow) { letter-spacing: 0; }
:root:is(:lang(ja), :lang(zh)) body { line-break: strict; }
:root:lang(ja) :is(h2, h3, .lede, .fineprint, .section-head p, figcaption, .btn, .notice) { word-break: auto-phrase; }
:root:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; }
/* The language names in the Ten languages card: never split one (한국/어, 简体/中文). */
.lang-list { word-break: keep-all; }

.sprite { position: absolute; }
.icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 20; background: var(--accent); color: #1a1310; padding: 8px 14px; border-radius: var(--radius-control); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- top bar: a glass toolbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 19, 18, 0.72);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.topbar-inner { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: 56px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; flex: none; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { border-radius: 7px; }
.brand-year { color: var(--text-3); font-weight: 500; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text-2); font-size: 14px; padding: 6px 10px; border-radius: var(--radius-control); white-space: nowrap; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }

/* server status pill */
.status, .status-inline { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.status { color: var(--text-2); font-size: 13px; padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--hairline); }
.status:hover { color: var(--text); text-decoration: none; }
.status-inline { font-size: 0.92em; color: var(--text-2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex: none; }
[data-status="online"] .status-dot { background: var(--good); box-shadow: 0 0 0 3px rgba(120, 190, 120, 0.18); }
[data-status="offline"] .status-dot { background: var(--bad); box-shadow: 0 0 0 3px rgba(235, 87, 87, 0.18); }
[data-status="checking"] .status-dot { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* language menu: a disclosure of plain links (?lang=xx), each language by its own name */
.lang { position: relative; flex: none; margin-left: -8px; }
.lang > summary {
  list-style: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 7px 0 9px;
  border-radius: var(--radius-control); color: var(--text-2); font-size: 14px; white-space: nowrap;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover, .lang[open] > summary { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.lang > summary .icon { width: 16px; height: 16px; }
.lang .lang-chevron { width: 13px; height: 13px; stroke-width: 2; opacity: 0.7; transition: transform 150ms ease; }
.lang[open] .lang-chevron { transform: rotate(180deg); }
.lang-code { display: none; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 30;
  margin: 0; padding: 6px; list-style: none; min-width: 216px;
  background: rgba(36, 34, 32, 0.98); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 50px rgba(0, 0, 0, 0.55);
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 10px 7px 12px; border-radius: 7px; color: var(--text); font-size: 14.5px; line-height: 1.35; white-space: nowrap;
}
.lang-menu a:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); text-decoration: none; }
.lang-menu a:focus-visible { outline-offset: -2px; background: rgba(255, 255, 255, 0.07); }
.lang-menu a .icon { width: 15px; height: 15px; stroke-width: 2.2; color: var(--accent); visibility: hidden; }
.lang-menu a[aria-current="true"] { font-weight: 600; }
.lang-menu a[aria-current="true"] .icon { visibility: visible; }
/* Each name in its own script's faces, whatever the page's language. */
.lang-menu a:lang(ja) { font-family: var(--latin), "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans CJK JP", sans-serif; }
.lang-menu a:lang(ko) { font-family: var(--latin), "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }
.lang-menu a:lang(zh) { font-family: var(--latin), "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 88px var(--gutter) 96px;
  min-height: 560px;
  display: flex; align-items: center;
}
.hero-art {
  position: absolute; z-index: 0;
  top: 0; bottom: 0; right: calc(50% - 50vw); width: min(62vw, 1190px);
  overflow: hidden; pointer-events: none;
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 45%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 34%), linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-composite: intersect;
}
.hero-copy { position: relative; z-index: 1; max-width: 520px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(44px, 7vw, 72px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.lede { margin-top: 18px; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; color: var(--text-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.fineprint { margin-top: 16px; font-size: 13px; color: var(--text-3); }

/* ---------- buttons (kit::primary / secondary) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; padding: 8px 16px; border-radius: var(--radius-control);
  font: 600 15px/1.2 var(--font); cursor: pointer; border: 1px solid transparent;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #1a1310; box-shadow: 0 8px 28px rgba(217, 119, 87, 0.28); }
.btn-primary:hover { background: var(--accent-hover); color: #1a1310; }
.btn-primary:active { background: var(--accent-pressed); }
.btn-secondary { background: rgba(255, 255, 255, 0.07); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.11); color: var(--text); }
.btn-big { min-height: 60px; padding: 10px 24px 10px 20px; border-radius: 12px; justify-content: flex-start; }
.btn-big .icon { width: 22px; height: 22px; stroke-width: 2; }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.btn-label { font-size: 17px; }
.btn-sub { font-size: 12.5px; font-weight: 500; opacity: 0.78; }
.btn-wide { width: 100%; font-size: 14px; padding: 8px 12px; gap: 8px; }
.btn-wide span { min-width: 0; text-align: center; } /* wraps rather than cutting a longer label */

/* ---------- sections ---------- */
.section { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 0; }
.section-head { margin-bottom: 28px; max-width: 680px; }
.section-head h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -0.02em; }
.section-head p { margin-top: 8px; color: var(--text-2); font-size: 17px; }
.subhead { font-size: 20px; font-weight: 600; margin: 48px 0 14px; }

.card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* ---------- screenshots: macOS windows ---------- */
.window { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-window); overflow: hidden; box-shadow: var(--shadow); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; background: var(--sheet); border-bottom: 1px solid var(--separator); position: relative; }
.window-bar span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.window-bar span:nth-child(2) { background: #febc2e; }
.window-bar span:nth-child(3) { background: #28c840; }
.window-bar em { position: absolute; left: 0; right: 0; text-align: center; font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-2); pointer-events: none; }
.shot-link { display: block; background: #0b0a0a; }
.shot-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.window figcaption { padding: 10px 14px 12px; font-size: 13.5px; color: var(--text-2); border-top: 1px solid var(--separator); }
.shot-main { margin-bottom: 20px; }
.shot-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* ---------- features ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.features .card { padding: 20px 20px 22px; }
.feature-icon { width: 26px; height: 26px; color: var(--text-2); stroke-width: 1.5; margin-bottom: 14px; }
.features h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.features p { font-size: 14.5px; color: var(--text-2); line-height: 1.5; }

/* ---------- downloads ---------- */
.notice { margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius-card); background: var(--accent-soft); border: 1px solid rgba(217, 119, 87, 0.35); color: var(--text); font-size: 14.5px; }
.platforms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* Each card spans three rows of the list (head, button, facts), so the buttons and facts line
   up across a row even when a translation wraps a description or a button label. */
.platform { padding: 18px; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 14px; min-width: 0; }
.platform-head { display: flex; gap: 12px; align-items: flex-start; }
.platform-head .icon { width: 24px; height: 24px; color: var(--text-2); margin-top: 2px; stroke-width: 1.5; }
.platform h3 { font-size: 17px; font-weight: 600; }
.platform-head p { font-size: 13.5px; color: var(--text-2); }
.platform.is-you { border-color: rgba(217, 119, 87, 0.55); box-shadow: 0 0 0 1px rgba(217, 119, 87, 0.25), var(--shadow); }
.platform.is-you .dl { background: var(--accent); color: #1a1310; border-color: transparent; }
.platform.is-you .dl:hover { background: var(--accent-hover); }
.platform.is-missing .dl { opacity: 0.55; cursor: default; }
.platform.is-missing .dl:active { transform: none; }
.facts { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: 13px; align-items: center; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; color: var(--text-2); font-variant-numeric: tabular-nums; min-width: 0; display: flex; align-items: center; gap: 6px; }
.facts .file code, .facts .sha code { background: none; padding: 0; font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.copy { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 6px; border: 1px solid transparent; background: transparent; color: var(--text-3); cursor: pointer; }
.copy:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.copy .icon { width: 15px; height: 15px; }
.copy.done { color: var(--good); }
.subtle-links { margin-top: 16px; font-size: 14px; color: var(--text-3); display: flex; gap: 10px; flex-wrap: wrap; }

.table-wrap { overflow-x: auto; }
.reqs { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.reqs th, .reqs td { text-align: left; vertical-align: top; padding: 11px 16px; border-bottom: 1px solid var(--separator); }
.reqs tbody tr:last-child th, .reqs tbody tr:last-child td { border-bottom: 0; }
.reqs thead th { font-size: 13px; font-weight: 600; color: var(--text-2); }
.reqs tbody th { font-weight: 500; color: var(--text-3); white-space: nowrap; width: 1%; }
.reqs td { color: var(--text); }

/* ---------- help ---------- */
.help { display: grid; gap: 12px; }
.help details { padding: 0; }
.help summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-radius: var(--radius-card); }
.help summary::-webkit-details-marker { display: none; }
.help summary::before { content: ""; width: 8px; height: 8px; flex: none; border-right: 1.8px solid var(--text-2); border-bottom: 1.8px solid var(--text-2); transform: rotate(-45deg); transition: transform 150ms ease; margin-right: 2px; }
.help details[open] summary::before { transform: rotate(45deg) translate(-2px, -2px); }
.help summary h3 { font-size: 16px; font-weight: 600; }
.help summary:hover h3 { color: var(--text); }
.help details > :not(summary) { margin: 0 20px 16px 42px; color: var(--text-2); font-size: 15px; }
.help ol, .help ul { padding-left: 1.2em; }
.help li { margin: 6px 0; }
.help li::marker { color: var(--text-3); }
.help strong { color: var(--text); font-weight: 600; }
.help em { font-style: normal; color: var(--text); }
.help .plain { list-style: none; padding: 0; }
.code { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 6px 6px 12px; background: var(--bg); border: 1px solid var(--separator); border-radius: var(--radius-control); max-width: 100%; }
.code code { background: none; padding: 0; flex: 1; min-width: 0; font-size: 13px; }

/* ---------- footer ---------- */
.footer { margin-top: 96px; border-top: 1px solid var(--hairline); background: rgba(0, 0, 0, 0.18); }
.footer-inner { max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 40px; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; align-items: center; font-size: 14px; color: var(--text-3); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.footer-brand img { border-radius: 6px; }
.footer-links { display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
.footer-note { grid-column: 1 / -1; font-size: 13px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .hero-copy { max-width: 450px; }
  .hero-art { width: 56vw; }
}
@media (max-width: 1040px) {
  .features, .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar-inner { gap: 14px; }
  .nav { gap: 0; }
  .lang-name { display: none; }
  .lang-code { display: inline; }
}
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; padding: 0 var(--gutter) 56px; min-height: 0; }
  .hero-art { position: relative; right: auto; width: auto; height: 340px; margin: 0 calc(-1 * var(--gutter)); }
  .hero-art img { object-position: 38% 50%;
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
  .hero-copy { margin-top: -28px; max-width: 640px; }
}
/* The section links need about 810 px in the longest languages (ja, es). */
@media (max-width: 840px) {
  .nav { display: none; }
  .status { margin-left: auto; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .topbar-inner { gap: 8px; }
  .lang { margin-left: 0; }
  .hero-art { height: 260px; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn-big { justify-content: flex-start; }
  .section { padding-top: 56px; }
  .shot-grid, .features, .platforms { grid-template-columns: minmax(0, 1fr); }
  .help details > :not(summary) { margin-left: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

/* Phones: the requirements stack, one block per row with each system named, instead of a table
   whose third column hides behind a sideways scroll (German's Arbeitsspeicher, Japanese's
   (64ビット) and the like need the width). */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .reqs, .reqs tbody, .reqs tr, .reqs th, .reqs td { display: block; }
  .reqs { min-width: 0; }
  .reqs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .reqs tbody tr { padding: 12px 16px 13px; border-bottom: 1px solid var(--separator); }
  .reqs tbody tr:last-child { border-bottom: 0; }
  .reqs tbody th, .reqs tbody td { padding: 0; border-bottom: 0; }
  .reqs tbody th { width: auto; white-space: normal; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 3px; }
  /* A row with a cell per system: each cell gets the system's name (the column headers above). */
  .reqs td:first-of-type:nth-last-of-type(3),
  .reqs td:nth-of-type(2):nth-last-of-type(2),
  .reqs td:nth-of-type(3):last-of-type { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 10px; align-items: baseline; margin-top: 2px; }
  .reqs td:first-of-type:nth-last-of-type(3)::before { content: "macOS"; }
  .reqs td:nth-of-type(2):nth-last-of-type(2)::before { content: "Windows"; }
  .reqs td:nth-of-type(3):last-of-type::before { content: "Linux"; }
  .reqs td::before { color: var(--text-3); font-size: 13px; }
}

/* Phones: the name without the year, then the icon alone, so the server status and the
   language menu keep their room in every language. */
@media (max-width: 440px) {
  .brand-year { display: none; }
}
@media (max-width: 374px) {
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
