@font-face {
  font-family: "Adwaita Sans";
  src: url("assets/adwaita-sans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Adwaita Sans", system-ui, sans-serif;
  color: #24272c;
  background: white;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { max-width: 820px; padding: 0 28px; margin: 58px auto 35px; font-size: 16px; line-height: 1.65; }
a { color: #175bb4; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #103d79; }
a, button, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid #175bb4; }
::selection { background: #d9e9ff; }
p { margin: 14px 0; }
header { margin-bottom: 30px; }
.project-title { display: flex; align-items: center; gap: 13px; }
.project-title img { flex-shrink: 0; }
h1 { margin: 0; font-size: 38px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.version { font-size: 13px; margin-left: 5px; color: #626976; }
nav { display: flex; flex-wrap: wrap; gap: 8px 23px; margin-top: 18px; font-size: 14px; }
figure { margin: 28px 0 36px; }
figure img { display: block; width: 100%; height: auto; border: 1px solid #d0d4db; }
.screenshot-choices { margin: 0 0 12px; gap: 8px 20px; }
.screenshot-choices [aria-current="true"] { color: #24272c; font-weight: 600; text-decoration: none; }
section { margin-top: 34px; }
h2 { font-size: 25px; font-weight: 630; line-height: 1.3; margin: 0 0 15px; letter-spacing: -.02em; }
h3 { font-size: 18px; font-weight: 620; margin: 28px 0 10px; }
strong { font-weight: 600; }
ul, ol { padding-left: 24px; margin-block: 13px; }
li { padding-left: 3px; margin-bottom: 10px; }
.small { font-size: 14px; color: #525b66; }
code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: .88em; }
pre { background: #f5f6f7; border: 1px solid #e3e5e8; padding: 13px 16px; margin: 7px 0 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
pre code { font-size: inherit; }
.distribution-select { max-width: 420px; margin: 20px 0 14px; }
label { font-size: 13px; font-weight: 600; min-width: 0; }
select { display: block; width: 100%; margin-top: 6px; padding: 8px; background: white; color: inherit; border: 1px solid #afb6bf; border-radius: 3px; font: 14px "Adwaita Sans", system-ui, sans-serif; cursor: pointer; }
.download-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 15px 0 20px; }
.code-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 12px; color: #626976; }
.code-heading button { flex-shrink: 0; background: none; border: 0; padding: 3px 0; font: inherit; color: #175bb4; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#copy-status { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 8px 15px; background: #24272c; color: white; font-size: 13px; max-width: calc(100% - 30px); text-align: center; }
#copy-status:empty { display: none; }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 10px 16px; background: white; z-index: 10; }
.skip-link:focus { top: 10px; }

@media (max-width: 540px) {
  body { padding-inline: 20px; margin-top: 30px; font-size: 15px; }
  h1 { font-size: 33px; }
  .project-title { gap: 10px; }
  .project-title img { width: 36px; height: 36px; }
  .version { margin-left: 0; }
  pre { font-size: 12px; padding: 12px; }
}
