:root {
  --bg: #0f1114;
  --bg-2: #14171c;
  --panel: #1b1e24;
  --raised: #23272e;
  --line: #2a2e36;
  --line-strong: #3a3f49;
  --text-strong: #f4f6f9;
  --text: #e4e7ec;
  --text-2: #b8bfca;
  --text-3: #9aa3b1;
  --accent: #9cc3ff;
  --accent-solid: #386cd0;
  --accent-solid-hover: #2f5fbd;
  /* The browser version's button: a second blue, so it does not read as another download button. */
  --browser-solid: #1677b3;
  --browser-solid-hover: #12679c;
  --brand: #3d9ae8;
  --warn-bg: #2d2617;
  --warn-line: #5c4a1f;
  --warn-text: #f0d79a;
  --radius: 8px;
  --radius-lg: 14px;
  --wrap: 1120px;
  --font: system-ui, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--text-strong); line-height: 1.25; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .88em; }
kbd { display: inline-block; min-width: 1.6em; padding: 1px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--raised); color: var(--text-strong); text-align: center; line-height: 1.5; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; padding: 8px 12px; background: var(--accent-solid); color: #fff; border-radius: var(--radius); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 17, 20, .94); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-strong); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: var(--radius); color: var(--text-2); font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-strong); background: var(--panel); text-decoration: none; }
.nav .button { margin-left: 6px; }
/* The other language: short, so it fits beside the menu on a phone too. */
.nav .lang { font-size: .85rem; font-weight: 600; letter-spacing: .03em; }
@media (max-width: 640px) {
  .site-header .wrap { gap: 12px; }
  .nav a:not(.button) { padding: 8px; font-size: .9rem; }
  .nav .hide-small { display: none; }
}

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius); background: var(--accent-solid); color: #fff; font-weight: 600; font-size: .98rem; cursor: pointer; }
.button:hover { background: var(--accent-solid-hover); text-decoration: none; }
.nav .button { min-height: 38px; padding: 0 14px; color: #fff; }
.nav .button:hover { background: var(--accent-solid-hover); color: #fff; }
.button.browser { background: var(--browser-solid); }
.button.browser:hover { background: var(--browser-solid-hover); }
.button.secondary { background: transparent; border-color: var(--line-strong); color: var(--text-strong); }
.button.secondary:hover { background: var(--panel); }
.button svg { width: 18px; height: 18px; flex: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--text-3); font-size: .9rem; }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero .lead { max-width: 640px; color: var(--text-2); font-size: 1.15rem; margin-bottom: 28px; }
.hero .eyebrow { display: inline-block; margin-bottom: 18px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); font-size: .85rem; }
.hero .note { margin-top: 14px; }
.shot { margin-top: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.shot img { width: 100%; }
figure { margin: 0; }
figcaption { margin-top: 10px; color: var(--text-3); font-size: .9rem; }

/* Sections */
section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--text-2); font-size: 1.05rem; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card h3 svg { width: 22px; height: 22px; color: var(--brand); flex: none; }
.card p { color: var(--text-2); margin: 0; font-size: .97rem; }
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split + .split { margin-top: 72px; }
.split.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.reverse > :first-child { order: 2; }
.split .shot { margin-top: 0; }
.shot.narrow { justify-self: center; width: min(100%, 380px); }
.split ul { padding-left: 1.2em; color: var(--text-2); }
.split li { margin-bottom: .35em; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse > :first-child { order: 0; }
}

.notice { padding: 14px 16px; border: 1px solid var(--warn-line); border-radius: var(--radius); background: var(--warn-bg); color: var(--warn-text); font-size: .95rem; }
.notice strong { color: #ffe7b3; }

/* Footer */
.site-footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a { color: var(--text-2); }
.site-footer p { margin: 0; max-width: 820px; }

/* Manual */
.doc { display: grid; gap: 48px; grid-template-columns: 240px minmax(0, 1fr); padding: 40px 0 72px; }
.toc { position: sticky; top: 88px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: .93rem; }
.toc p { margin: 0 0 8px; color: var(--text-3); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); }
.toc a:hover { color: var(--text-strong); text-decoration: none; border-left-color: var(--line-strong); }
.doc article { max-width: 760px; }
.doc article > section { padding: 0; margin-bottom: 56px; scroll-margin-top: 88px; }
.doc article h2 { padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.doc article h3 { margin-top: 1.6em; }
.doc article ul, .doc article ol { padding-left: 1.3em; }
.doc article li { margin-bottom: .4em; }
.doc article .shot { margin: 20px 0 8px; }
.doc .intro { color: var(--text-2); font-size: 1.08rem; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--text-3); font-weight: 600; font-size: .85rem; }
td:last-child { white-space: nowrap; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; }
  td:last-child { white-space: normal; }
}

/* Download */
.downloads { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin: 28px 0 20px; }
.download { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--panel); }
.download.is-recommended { border-color: var(--accent-solid); }
.download h2 { font-size: 1.3rem; margin: 0; }
.download .meta { color: var(--text-3); font-size: .9rem; margin: 0; }
.download .button { align-self: flex-start; margin-top: 6px; }
.download .tag { display: none; align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: #26406a; color: var(--accent); font-size: .78rem; font-weight: 600; }
.hidden { display: none !important; }
.prose { max-width: 760px; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose h2 { margin-top: 1.8em; }
.lede { color: var(--text-2); font-size: 1.04rem; }
.page { padding: 48px 0 72px; }
.page.tall { padding: 96px 0 120px; }
.download.is-recommended .tag { display: inline-block; }
.shot video { display: block; width: 100%; height: auto; background: #000; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.card h3 { margin-bottom: .45em; }
/* The same page in the other language, below the first (the 404 page). */
.other-language { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
