:root {
  color-scheme: dark;
  --bg: #0b1821;
  --panel: #10232d;
  --panel-2: #0d1d26;
  --line: #28414c;
  --text: #e2eff1;
  --muted: #a9bdc6;
  --accent: #92dfe1;
  --orange: #edb788;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-family: Inter, "Segoe UI", system-ui, Arial, sans-serif;
  font-size: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 82% 10%, #19384266, transparent 42%), var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--accent); }
a:hover { color: #c4f1f2; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
a, button, select { outline-offset: 4px; }
.skip { position: absolute; left: 16px; top: -100px; background: var(--accent); color: var(--bg); padding: 10px; z-index: 3; }
.skip:focus { top: 10px; }

/* Header and footer */
.topbar, main, footer { max-width: 1320px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 13px; color: var(--text); text-decoration: none; font-size: 19px; letter-spacing: .18em; font-weight: 700; }
.brand small { display: block; font: 12px/2.2 var(--mono); letter-spacing: .16em; color: var(--muted); font-weight: 400; }
.brand.small { font-size: 15px; }
.diamond { font-size: 46px; font-weight: 400; color: var(--accent); line-height: 1; }
.mainnav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 16px; }
.mainnav a { color: var(--text); text-decoration: none; white-space: nowrap; padding: 4px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; border-top: 1px solid var(--line); margin-top: 96px; padding-top: 40px; padding-bottom: 56px; color: var(--muted); font-size: 15px; }
footer p { margin: 10px 0 0; max-width: 46ch; }
footer nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 24px; align-content: start; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--accent); }
footer .rechtliches a { color: var(--muted); }
footer .rechtliches a:hover { color: var(--accent); }

/* Shared building blocks */
.eyebrow, .step { font: 14px/1.7 var(--mono); color: var(--accent); letter-spacing: .14em; }
.eyebrow { margin: 0 0 18px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 0; font-weight: 600; }
h3 { font-size: 21px; margin: 10px 0 8px; }
.button { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; text-decoration: none; font-weight: 700; font-size: 17px; border: 1px solid var(--accent); }
.button.primary { background: var(--accent); color: var(--bg); }
.button.primary:hover { background: #b5eeef; color: var(--bg); }
.text-link { font-size: 17px; text-decoration: none; border-bottom: 1px solid currentColor; }
.block { padding: 88px 0 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.section-heading p { color: var(--muted); margin: 0; font-size: 18px; }

/* Start page */
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; padding: 80px 0 64px; }
.hero h1 { font-size: clamp(44px, 5vw, 70px); margin: 0 0 28px; font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.fine { color: var(--muted); font-size: 15px; margin-top: 28px; }
.game-preview { margin: 0; border: 1px solid var(--line); background: var(--panel); box-shadow: 18px 18px 0 #1d3b46; }
.game-preview img { display: block; }
.game-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 14px 18px; font-size: 15px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { display: flex; align-items: center; gap: 16px; padding: 26px 20px 26px 0; }
.facts strong { font: 34px/1 var(--mono); color: var(--accent); }
.facts span { color: var(--muted); font-size: 16px; line-height: 1.4; }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; }
.cards.two { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards > * { background: var(--panel); border: 1px solid var(--line); padding: 28px; }
.cards p { color: var(--muted); margin: 0; font-size: 17px; }
.cards a { color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.cards a:hover { border-color: var(--accent); transform: translateY(-2px); }
.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.start h2 { margin-bottom: 18px; }
.start > div > p { color: var(--muted); }
.steps { list-style: none; counter-reset: steps; padding: 0; margin: 28px 0; }
.steps li { counter-increment: steps; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 2px; color: var(--accent); font: 15px/1.6 var(--mono); }
.steps strong { display: block; font-size: 18px; }
.steps span { color: var(--muted); font-size: 16px; }
.terminal { background: var(--panel-2); border: 1px solid var(--line); }
.terminal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 14px/1.5 var(--mono); color: var(--muted); }
.terminal-top button { background: transparent; border: 1px solid var(--accent); color: var(--accent); padding: 6px 14px; font-size: 15px; cursor: pointer; }
.command-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 20px 0; }
.command-controls label { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.command-controls select { background: var(--panel); color: var(--text); border: 1px solid var(--line); padding: 9px 10px; font-size: 16px; }
.terminal pre { margin: 0; border: 0; background: transparent; }
.terminal > p { padding: 0 20px; color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.note-block { max-width: 820px; }
.note-block h2 { margin-bottom: 18px; }
.note-block p { color: var(--muted); }

/* Code */
pre { overflow: auto; font: 15px/1.75 var(--mono); color: #b9e3d6; background: var(--panel-2); border: 1px solid var(--line); padding: 18px 20px; margin: 0 0 24px; }
code { font-family: var(--mono); font-size: .88em; color: var(--orange); overflow-wrap: anywhere; }
pre code { color: inherit; font-size: inherit; overflow-wrap: normal; }

/* Guide pages */
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 56px; }
.doc-side { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; font-size: 16px; }
.doc-side summary { display: none; }
.doc-side h2 { font: 13px/1.6 var(--mono); letter-spacing: .14em; color: var(--muted); margin: 0 0 10px; font-weight: 400; }
.doc-side nav { display: grid; margin-bottom: 28px; }
.doc-side nav a { color: var(--text); text-decoration: none; padding: 7px 12px; border-left: 2px solid var(--line); }
.doc-side nav a:hover { color: var(--accent); }
.doc-side nav a[aria-current="page"] { color: var(--accent); border-left-color: var(--accent); background: #92dfe10f; }
.doc-side .toc a { font-size: 15px; color: var(--muted); }
.doc { max-width: 860px; min-width: 0; }
.text-seite { padding-top: 56px; }
.doc h1 { font-size: clamp(36px, 4vw, 52px); margin: 0 0 12px; letter-spacing: -.035em; }
.doc .doc-lead { font-size: 20px; color: var(--muted); margin: 0 0 36px; }
.doc h2 { font-size: 30px; margin: 56px 0 16px; padding-top: 8px; border-top: 1px solid var(--line); padding-top: 32px; }
.doc h1 + h2 { border-top: 0; margin-top: 24px; padding-top: 0; }
.doc h3 { font-size: 22px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 18px; }
.doc li { margin: 4px 0; }
.doc img { display: block; border: 1px solid var(--line); margin: 8px 0 28px; }
.table-wrap { overflow-x: auto; margin: 0 0 28px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--panel); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td[align="right"], th[align="right"] { text-align: right; }
.note { background: #edb7880f; border: 1px solid #edb78855; border-left: 4px solid var(--orange); padding: 16px 20px; margin: 0 0 28px; font-size: 17px; }
.note code { overflow-wrap: anywhere; }
.cta { margin: 8px 0 32px; }
.doc-pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 17px; }
.doc-pager a { text-decoration: none; }

@media (max-width: 1000px) {
  .topbar, main, footer { padding-left: 28px; padding-right: 28px; }
  .topbar { flex-wrap: wrap; gap: 12px 24px; padding-top: 20px; padding-bottom: 18px; min-height: 0; }
  .hero, .start, .section-heading { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero { padding-top: 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.three, .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 32px; }
  .doc-side { position: static; max-height: none; border: 1px solid var(--line); background: var(--panel); }
  .doc-side summary { display: block; cursor: pointer; padding: 14px 18px; font-weight: 600; }
  .doc-side > div { padding: 0 18px 8px; }
  footer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { font-size: 17px; }
  .topbar, main, footer { padding-left: 16px; padding-right: 16px; }
  .mainnav { gap: 6px 18px; font-size: 15px; }
  .facts, .cards.three, .cards.two, .command-controls { grid-template-columns: minmax(0, 1fr); }
  .facts div { padding: 18px 0; }
  .game-preview { box-shadow: 8px 8px 0 #1d3b46; }
  .doc p, .doc li { font-size: 17px; }
  .doc h2 { font-size: 26px; }
  pre { font-size: 14px; padding: 14px; }
  table { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cards a { transition: none; }
}
