:root {
  color-scheme: light dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: light-dark(#17293a, #edf6ff);
  background: light-dark(#eef4f9, #151f2c);
  --muted: light-dark(#40576d, #bccde0);
  --rule: light-dark(#cedde9, #35485d);
  --frame: light-dark(#b3c9de, #4d6784);
  --accent: light-dark(#005b9e, #96ceff);
  --shadow: light-dark(#19385524, #0006);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; }
.page { max-width: 78rem; margin: auto; padding: 0 clamp(1.25rem, 5vw, 4rem); }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.brand img { border-radius: .6rem; }
.theme {
  padding: .5rem .75rem;
  border: 1px solid var(--frame);
  border-radius: .5rem;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.theme:hover { border-color: var(--accent); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 9vw, 7rem);
}
h1 {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
p { margin: 1.25rem 0; color: var(--muted); font-size: 1.125rem; line-height: 1.6; }
.button {
  display: inline-block;
  border-radius: .5rem;
  padding: .75rem 1rem;
  background: var(--accent);
  color: light-dark(#fff, #12283d);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { text-decoration: underline; text-underline-offset: .2em; }
.release { font-size: 1rem; }
:is(a, button):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
figure { margin: 0; min-width: 0; }
figure a { display: block; border-radius: .75rem; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--frame);
  border-radius: .75rem;
  box-shadow: 0 1rem 2rem var(--shadow);
}
figure a:hover img { border-color: var(--accent); }
figcaption { margin-top: .9rem; color: var(--muted); line-height: 1.5; }
.screenshots { padding-block: 2rem clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--rule); }
h2 { margin: 0 0 1.5rem; font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
footer { padding-block: 1.25rem 2rem; border-top: 1px solid var(--rule); }
footer a { color: var(--accent); text-underline-offset: .2em; }
@media (max-width: 50rem) {
  .hero { grid-template-columns: 1fr; }
  h1 { max-width: 18ch; }
}
@media (max-width: 40rem) {
  .gallery { grid-template-columns: 1fr; }
}
.details { padding-block: 2rem 3rem; border-top: 1px solid var(--rule); }
.details p { max-width: 68ch; }
