@font-face {
  font-family: Inter;
  src: url("assets/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #11181b;
  --surface: #1a252a;
  --raised: #23343a;
  --text: #edf4f2;
  --muted: #b1c2c5;
  --accent: #72ded3;
  --border: #71888d;
  --rule: #304146;
  --focus: #fff;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--text); }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}
.wrap { width: min(100% - var(--gutter) * 2, 69rem); margin-inline: auto; }
.skip {
  position: absolute;
  top: .75rem;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--surface);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 1rem;
}
.header-inner { min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); text-decoration: none; }
.brand img { display: block; width: 7rem; height: auto; margin-left: -.25rem; }
.brand span { border-left: 1px solid var(--rule); padding-left: .8rem; font-weight: 600; }
nav { display: flex; gap: clamp(.85rem, 3vw, 1.75rem); }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}
nav a:hover, nav a[aria-current] { color: var(--text); text-decoration: underline; }

.hero { padding-block: clamp(2.6rem, 5vw, 4rem) clamp(2.25rem, 4vw, 3rem); }
.status { color: var(--accent); font-size: .875rem; font-weight: 650; margin-bottom: .95rem; }
h1 { max-width: 22ch; font-size: clamp(2.125rem, 5vw, 4rem); letter-spacing: -.048em; text-wrap: balance; }
.summary { max-width: 57ch; margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .625rem 1rem;
  min-height: 2.75rem;
  border: 1px solid transparent;
  border-radius: .375rem;
  text-decoration: none;
  font-size: .925rem;
  font-weight: 650;
}
.primary { background: var(--accent); color: var(--background); }
.primary:hover { color: var(--background); background: #9cece4; }
.secondary { color: var(--text); border-color: var(--border); }
.secondary:hover { background: var(--raised); }
.hero-shot { margin-bottom: clamp(2rem, 5vw, 3.75rem); }
.hero-shot a:has(img), .gallery a:has(img) { display: block; border-radius: .5rem; }
.hero-shot img, .gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: .5rem;
}
figcaption { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.gallery figure:last-child { grid-column: 1 / -1; }
.section { border-top: 1px solid var(--rule); padding-block: clamp(2rem, 5vw, 3.75rem); }
.workflow h2 { margin-bottom: 1.5rem; }
.step { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr); gap: .5rem 1.5rem; padding-block: 1rem; }
.step + .step { border-top: 1px solid var(--rule); }
.step h3 { font-size: 1.05rem; line-height: inherit; }
.step p, .alpha p, .download-notes { color: var(--muted); max-width: 65ch; }
.alpha p { margin-block: .75rem 1.25rem; }
.site-footer { border-top: 1px solid var(--rule); margin-top: 1rem; }
.footer-inner { min-height: 4.5rem; color: var(--muted); font-size: .9rem; }

@media (min-width: 64rem) {
  .intro {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.25rem);
    padding-block: 4.25rem 3.75rem;
  }
  .intro .hero { padding: 0; }
  .intro h1 { font-size: clamp(2.5rem, 3.7vw, 3.65rem); }
  .intro .summary { font-size: 1.05rem; }
  .intro .hero-shot { margin: 0; }
}

.download { max-width: 53rem; }
.download h1 { max-width: none; }
.platform { background: var(--surface); padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--rule); border-radius: .5rem; }
.platform-detail, #release-status, .install { color: var(--muted); }
.platform-detail { margin-top: .25rem; }
#release-status, .install, details { margin-top: 1rem; }
dl { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-block: 1rem 0; }
dt { color: var(--muted); font-size: .8rem; }
dd { margin: 0; }
details summary { width: fit-content; color: var(--accent); cursor: pointer; min-height: 2rem; }
details code { overflow-wrap: anywhere; }
.download-notes { margin-block: 1.25rem 3rem; }
.download-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .6rem; }

@media (max-width: 38rem) {
  .step { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 24rem) {
  .header-inner { padding-block: .4rem; }
  .header-inner nav { flex-basis: 100%; }
}
