/* Palette taken from the dashboard (internal/web/static/style.css) so the site
   and the application look like the same product. */
:root {
  color-scheme: light dark;
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1b1f24;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #1b5fa8;
  --note-bg: #fff6d8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --card: #1c2026;
    --text: #e8eaed;
    --muted: #9aa2ad;
    --line: #2a2f36;
    --accent: #7db3ea;
    --note-bg: #2b2618;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

main { max-width: 860px; margin: 0 auto; padding: 32px 20px 72px; }

a { color: var(--accent); }

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 20px 0;
}
header.site img { width: 32px; height: 32px; }
header.site .name { font-weight: 600; }
header.site nav { margin-left: auto; font-size: 14px; }
header.site nav a { margin-left: 14px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 96px; height: 96px; }
.hero h1 { font-size: 34px; margin: 16px 0 8px; }
.hero p.claim { font-size: 19px; color: var(--muted); margin: 0 auto; max-width: 34em; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px 0 0; padding: 0; list-style: none; }
.badges li { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 14px; color: var(--muted); }

.downloads { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 28px 0 8px; }
.download {
  display: block;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
}
.download:hover { border-color: var(--accent); }
.download strong { display: block; font-size: 17px; }
.download span { display: block; color: var(--muted); font-size: 14px; }

.meta { text-align: center; color: var(--muted); font-size: 14px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }

.note { background: var(--note-bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }

h2 { font-size: 22px; margin: 36px 0 12px; }
h3 { font-size: 17px; margin: 24px 0 8px; }

figure { margin: 24px 0; }
figure img { width: 100%; border: 1px solid var(--line); border-radius: 12px; display: block; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }

/* Screenshots taken at 1x — the Windows installer, for one. Stretching those to
   the column width the way `figure img` does softens them visibly, so they keep
   their own size and only shrink on a narrow screen. */
figure.native img { width: auto; max-width: 100%; margin: 0 auto; }

.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 0; list-style: none; }
.features h3 { margin: 0 0 4px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
pre { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; overflow-x: auto; }

footer.site {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
footer.site a { margin: 0 8px; }
/* Their own button, served from here. Its size is written into the markup as
   well, so the footer does not jump while the image loads. */
.support { margin: 0 0 14px; }
.support img { height: 42px; width: auto; vertical-align: middle; border: 0; }

dl.facts dt { font-weight: 600; margin-top: 12px; }
dl.facts dd { margin: 0; color: var(--muted); }
