/* vroemmm site: tokens from the app's Clean skin (assets/skins/clean/skin.json).
   System font stack on purpose: no font files, no external requests. */
:root {
  --background: #f2f3f5;
  --surface: #ffffff;
  --on-surface: #111418;
  --muted: #5b6270;
  --border: #e3e6eb;
  --accent: #1f4fd8;
  --accent-on: #ffffff;
  --ok: #15803d;
  --near: #c77700;
  --radius: 18px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0d1016;
    --surface: #151922;
    --on-surface: #f5f7fa;
    --muted: #9aa3b2;
    --border: #2a303c;
    --accent: #3b82f6;
    --accent-on: #0d1016;
    --ok: #34d399;
    --near: #f0b429;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--background);
  color: var(--on-surface);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--surface);
  padding: 0.5rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; z-index: 10; }

header.site { padding: 1.25rem 0; }
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--on-surface);
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
}
.brand img { width: 2rem; height: 2rem; border-radius: 8px; }
nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--on-surface); text-decoration: none; padding: 0.25rem 0; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; }
h1 { font-size: clamp(2rem, 6vw, 3rem); margin: 1.5rem 0 1rem; }
h2 { font-size: 1.5rem; margin: 2.25rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: 0.35rem; }

.lead { font-size: 1.25rem; color: var(--muted); }

.badge {
  display: inline-block;
  border: 1px solid var(--near);
  color: var(--near);
  border-radius: 999px;
  padding: 0.15rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.card h2, .card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.button {
  display: inline-block;
  min-width: 12rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.button[aria-disabled="true"] {
  background: var(--surface);
  color: var(--muted);
  border: 1px dashed var(--muted);
  cursor: default;
}
.button small { display: block; font-weight: 500; font-size: 0.8rem; }

.updated { color: var(--muted); font-size: 0.95rem; margin-top: 2rem; }

.changelog { list-style: none; padding: 0; }
.changelog > li { margin-bottom: 1.5rem; }
.changelog time { color: var(--muted); font-size: 0.95rem; }

footer.site { border-top: 1px solid var(--border); margin-top: 3rem; padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.95rem; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; padding: 0; margin: 0 0 0.75rem; }
footer.site p { margin: 0; }

@media (max-width: 30rem) {
  .button { width: 100%; }
}
