:root {
  color-scheme: dark light;
  --bg: #0b0a12;
  --surface: #15141d;
  --raised: #1f1d2a;
  --line: #2c2a38;
  --ink: #f4f1ea;
  --ink-2: #a4a2b2;
  --accent: #ffc15e;
  --on-accent: #13121a;
  --warm: #ff7a59;
  --glow: rgba(255, 122, 89, 0.16);
  --radius: 12px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf8f4;
    --surface: #ffffff;
    --raised: #efece6;
    --line: #dcd8cf;
    --ink: #14131c;
    --ink-2: #57546a;
    --accent: #8a5a00;
    --on-accent: #ffffff;
    --warm: #c2410c;
    --glow: rgba(255, 193, 94, 0.28);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 -apple-system, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
header.site, main, footer.site { width: 100%; max-width: 760px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; padding-bottom: 12px; flex-wrap: wrap; }
header.site img { height: 36px; width: auto; display: block; }
header.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; }
header.site nav a { color: var(--ink-2); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--ink); }
main { padding-top: 32px; padding-bottom: 64px; }
h1 { font-size: clamp(30px, 6vw, 44px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 26px; line-height: 1.25; margin: 48px 0 12px; }
h3 { font-size: 20px; margin: 28px 0 8px; }
p, ul, ol { margin: 0 0 16px; }
li { margin-bottom: 8px; }
.lede { font-size: 21px; color: var(--ink-2); margin-bottom: 28px; }
.crumbs { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 20px; }
.card > :last-child { margin-bottom: 0; }
.note { border-left: 4px solid var(--accent); background: var(--surface); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 20px; }
.note > :last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 18px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--raised); color: var(--accent); font-weight: 700; display: grid; place-items: center; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 24px; }
.cards a.card { text-decoration: none; color: var(--ink); display: block; margin: 0; }
.cards a.card:hover { border-color: var(--accent); }
.cards a.card strong { display: block; font-size: 19px; margin-bottom: 4px; }
.cards a.card span { color: var(--ink-2); font-size: 16px; }
.path { font-weight: 600; }
kbd, code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.9em; background: var(--raised); padding: 2px 6px; border-radius: 6px; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow-x: auto; margin: 0 0 20px; }
pre code { background: none; padding: 0; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; }
details[open] summary { margin-bottom: 4px; }
table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-2); font-weight: 600; }
.small { font-size: 15px; color: var(--ink-2); }
footer.site { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 48px; color: var(--ink-2); font-size: 15px; }
footer.site a { color: var(--ink-2); }
@media (max-width: 520px) { body { font-size: 17px; } .path { white-space: normal; } }
code { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -999px; }
  tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  td { border: 0; padding: 2px 0; }
}

/* Home, support and privacy additions */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 650; }
body.wide header.site, body.wide main, body.wide footer.site { max-width: 1040px; }
.hero { position: relative; padding: 40px 0 56px; }
.hero::before { content: ""; position: absolute; inset: -80px -40px auto -40px; height: 420px; background: radial-gradient(60% 70% at 18% 30%, var(--glow), transparent 70%); z-index: -1; pointer-events: none; }
.hero .mark { width: 96px; height: auto; display: block; margin-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 8vw, 68px); line-height: 1.04; letter-spacing: -0.025em; max-width: 14em; margin-bottom: 20px; }
.hero .lede { max-width: 34em; font-size: clamp(18px, 2.4vw, 22px); }
.soon { display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; }
.features { display: grid; gap: 40px 48px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 8px 0 24px; padding-top: 40px; border-top: 1px solid var(--line); }
.features h2 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.features p { color: var(--ink-2); margin-bottom: 12px; }
.features ul { list-style: none; padding: 0; margin: 0; }
.features li { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.features li:last-child { border-bottom: 0; }
.shots:not(:has(img)) { display: none; }
.shots { margin: 40px 0; }
.shot-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.shot-grid img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); }
.band { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px clamp(20px, 4vw, 40px); margin: 16px 0 24px; }
.band h2 { margin-top: 0; }
.band > :last-child { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 16px; }
.toc li { margin: 0; }
.updated { color: var(--ink-2); font-size: 15px; }
.who th { width: 28%; }
@media (max-width: 520px) { .hero { padding-top: 16px; } .hero .mark { width: 72px; } .who th { width: auto; } }
@media (prefers-reduced-motion: no-preference) { a, .cards a.card { transition: color .15s, border-color .15s; } }

/* Get the beta (platform downloads) and the updates page */
.get { margin: 0 0 40px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.get h2 { margin-top: 0; }
.platforms { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); margin: 20px 0 16px; }
.platform { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.platform h3 { margin: 0 0 8px; font-size: 21px; }
.platform p { font-size: 16px; color: var(--ink-2); margin-bottom: 12px; }
.platform p code { font-size: 13px; }
.platform .meta { font-size: 14px; letter-spacing: 0.02em; margin-top: auto; }
.btn { display: block; text-align: center; background: var(--accent); color: var(--on-accent); font-weight: 650; text-decoration: none; border-radius: 999px; padding: 10px 16px; font-size: 16px; }
.btn:hover { color: var(--on-accent); filter: brightness(1.08); }
a.soon { text-decoration: none; }
a.soon:hover { border-color: var(--accent); color: var(--accent); }
.entry { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.entry:first-of-type { border-top: 0; padding-top: 8px; }
.entry h2 { margin: 4px 0 12px; }
.entry time { color: var(--ink-2); font-size: 15px; }
.entry h3 { font-size: 18px; margin: 20px 0 6px; }
.sums td:last-child code { font-size: 13px; }
.btns { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.btns .btn { padding-left: 8px; padding-right: 8px; }
.sum-label { display: none; color: var(--ink-2); font-size: 13px; }
@media (max-width: 520px) { .sums .sum-label { display: inline; } }
.get .note { margin-top: 12px; }
@media (max-width: 520px) { .hero { overflow-x: clip; } }
