:root {
  color-scheme: light dark;
  --background: #fff;
  --surface: #f5f5f5;
  --foreground: #202020;
  --secondary: #626262;
  --line: #dedede;
  --button: #262626;
  --button-text: #fff;
  --feature: #faf7ff;
  --feature-highlight: #f3eeff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #171717;
    --surface: #202020;
    --foreground: #ededed;
    --secondary: #b3b3b3;
    --line: #414141;
    --button: #ededed;
    --button-text: #171717;
    --feature: #1a192e;
    --feature-highlight: #1e1942;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--background); color: var(--foreground); font-size: 1rem; line-height: 1.65; min-height: 100svh; display: flex; flex-direction: column; overflow-x: clip; }
main { flex: 1; padding-bottom: 4.5rem; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--foreground); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 1rem; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; }
h1 { font-size: 2.125rem; letter-spacing: -.025em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1875rem; }
.container { width: min(60rem, calc(100% - 4rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.125rem; font-weight: 600; text-decoration: none; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .875rem; }
nav a { color: var(--secondary); padding-block: .5rem; text-decoration: none; }
nav a:hover, nav a[aria-current=page] { color: var(--foreground); text-decoration: underline; }
.skip-link { position: absolute; top: .75rem; left: .75rem; z-index: 10; padding: .5rem 1rem; background: var(--button); color: var(--button-text); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.page-heading { padding: 3.5rem 0 2.5rem; max-width: 44rem; }
.page-heading > p:last-child:not(.breadcrumb), .page-heading > div > p { color: var(--secondary); margin-top: .75rem; }
.breadcrumb { font-size: .875rem; margin-bottom: .75rem; color: var(--secondary); }
.home-heading { padding-bottom: 3rem; }
.section-label { font-size: 1rem; margin-bottom: 1rem; }
.project-row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: 1.5rem; border-top: 1px solid var(--line); padding: 1.75rem 0; align-items: start; }
.app-icon { width: 3.5rem; height: 3.5rem; object-fit: contain; border-radius: .75rem; }
.project-copy h3 a { text-decoration: none; }
.project-copy h3 a:hover { text-decoration: underline; }
.project-copy p { margin-top: .5rem; color: var(--secondary); }
.project-kind { color: var(--secondary); font-size: .875rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .75rem; font-size: .875rem; }
.section { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 2rem; }
.about { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; }
.prose { max-width: 43rem; }
.prose p, .about > div > p { overflow-wrap: break-word; }
.secondary { color: var(--secondary); }
dt { font-weight: 600; }
dd { margin: 0; color: var(--secondary); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.5rem; font-size: .875rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; padding: .6rem 1.125rem; border: 1px solid var(--button); border-radius: .375rem; background: var(--button); color: var(--button-text); font: inherit; font-size: .875rem; font-weight: 500; text-decoration: none; text-align: center; }
a.button:hover { opacity: .85; }
.button:disabled { background: var(--surface); color: var(--secondary); border-color: var(--line); cursor: not-allowed; }
.screenshots-section { container-type: inline-size; }
.screenshots { --shot-height: 18rem; --gutter: calc((100vw - 100cqw) / 2); display: flex; gap: 1.25rem; margin: 1.5rem calc(var(--gutter) * -1) 0; padding: .5rem var(--gutter) .75rem; scroll-padding-inline: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.screenshot-slot { flex: none; scroll-snap-align: start; }
.screenshot-placeholder { display: block; color: var(--secondary); font-size: .875rem; }
.screenshot-image { width: auto; height: var(--shot-height); border-radius: .5rem; box-shadow: 0 0 0 1px var(--line); }
figcaption { font-size: .875rem; color: var(--secondary); margin-top: .5rem; }
.download-row { display: grid; grid-template-columns: minmax(0, 1fr) 13rem; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); align-items: center; }
.download-row h2 + p { margin-top: .5rem; }
.download-row .secondary { font-size: .875rem; margin-top: .25rem; }
.checksum { overflow-wrap: anywhere; }
.checksum code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8125rem; }
.download-action .button { width: 100%; }
.availability { color: var(--secondary); font-size: .875rem; text-align: center; margin-top: .5rem; }
ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.feature { display: flex; flex-direction: column; padding: 1.25rem 1.5rem 1.5rem; border-radius: .75rem; background: var(--feature); }
.feature h3 { font-size: 1rem; }
.feature p { margin-top: .5rem; color: var(--secondary); font-size: .9375rem; }
.feature .feature-platforms { margin-top: auto; padding-top: 1.25rem; font-size: .75rem; font-weight: 500; letter-spacing: .02em; line-height: 1.4; }
.feature-highlight { grid-column: span 2; background: var(--feature-highlight); }
.feature-info { position: relative; margin-top: auto; padding-top: 1.25rem; }
.feature-info button { display: inline-flex; align-items: center; gap: .375rem; padding: 0; border: 0; background: none; color: var(--secondary); font: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .02em; line-height: 1.4; cursor: help; }
.feature-info-popover { position: absolute; left: 0; bottom: calc(100% - .75rem); z-index: 1; width: min(18rem, 100%); padding: .625rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--background); color: var(--foreground); box-shadow: 0 .375rem 1.5rem rgba(0, 0, 0, .14); font-size: .8125rem; line-height: 1.45; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.feature-info:hover .feature-info-popover, .feature-info:focus-within .feature-info-popover { visibility: visible; opacity: 1; }
li + li { margin-top: .5rem; }
.support-content { max-width: 36rem; }
.contact-address { font-size: 1.25rem; margin: .5rem 0 1.5rem; overflow-wrap: anywhere; }
.support-content > .secondary { margin-top: 2.5rem; font-size: .875rem; }
.policy { max-width: 44rem; }
.policy h2 { font-size: 1.125rem; margin: 1.75rem 0 .5rem; }
.policy .updated { color: var(--secondary); font-size: .875rem; }
.site-footer { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; gap: .75rem 2rem; color: var(--secondary); font-size: .875rem; }
@media (max-width: 700px) {
  .about { grid-template-columns: 1fr; gap: 1rem; }
  .project-kind { display: none; }
  .project-row { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .screenshots { --shot-height: 16rem; gap: .75rem; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 2.5rem); }
  .site-header { flex-wrap: wrap; gap: .25rem 1rem; padding-block: 1rem; }
  nav { gap: .25rem 1rem; }
  .page-heading { padding-top: 2.5rem; padding-bottom: 2rem; }
  h1 { font-size: 1.875rem; }
  .project-row { gap: 1rem; }
  .download-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .download-action { max-width: 14rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-highlight { grid-column: auto; }
  .feature { padding: 1.125rem 1.25rem 1.25rem; }
  main { padding-bottom: 3rem; }
}
@media print {
  :root { --background: #fff; --foreground: #000; --secondary: #444; --line: #ccc; }
  .site-header, .site-footer, .skip-link { display: none; }
  body { display: block; }
  .container { width: 100%; }
  .page-heading { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-info-popover { transition: none; }
}
