:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --ink: #252722;
  --muted: #53564f;
  --line: #d7d8d1;
  --accent: #355646;
  --accent-hover: #253f33;
  --surface: #eeeee8;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.65; }
.shell { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead .shell { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; min-height: 4.5rem; gap: .5rem 1.5rem; padding-block: .75rem; }
.wordmark { color: var(--ink); font-weight: 750; font-size: 1.15rem; letter-spacing: -.045em; text-decoration: none; }
.masthead nav { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; font-size: .88rem; }
.masthead nav a { color: var(--muted); text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: .35em; }
.title-block { padding-block: clamp(3rem, 8vw, 6.4rem) clamp(2.5rem, 6vw, 4.4rem); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 7.5vw, 5.8rem); font-weight: 650; margin: 0; }
h2 { font-size: clamp(1.35rem, 3vw, 1.95rem); font-weight: 650; margin: 0; }
p { margin: .7rem 0 0; }
a { color: var(--accent); text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.lead, .intro { max-width: 43ch; font-size: clamp(1.12rem, 2.2vw, 1.38rem); color: var(--muted); line-height: 1.55; margin-top: 1rem; }
.section { border-top: 1px solid var(--line); padding-block: 1.65rem 2.5rem; }
.projects { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.projects a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto; gap: .5rem 1.25rem; align-items: baseline; padding: 1.3rem .15rem; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.projects a:hover { background: var(--surface); }
.projects h3 { font-size: 1.25rem; margin: 0; }
.projects p, figcaption, .platform, .checksum, .release-label, .meta, .notes-intro, .release-date { color: var(--muted); }
.projects p { margin: 0; }
.arrow { color: var(--accent); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
figure { margin: 0; }
figure img { width: 100%; height: auto; display: block; }
figcaption { font-size: .84rem; margin-top: .55rem; }
.art { background: var(--surface); border: 1px solid var(--line); }
.books-art img { max-height: 20rem; object-fit: contain; }
.pixel-art img { image-rendering: pixelated; }
.button, .download { display: inline-block; padding: .7rem 1rem; background: var(--accent); color: white; border-radius: .25rem; font-weight: 650; text-decoration: none; }
.button:hover, .download:hover { background: var(--accent-hover); }
.download[aria-disabled="true"] { opacity: .6; pointer-events: none; }
.title-block .button, .title-block .download { margin-top: 1.25rem; }
.details, .platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.details p, .platforms span { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.25rem 2.5rem; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.legal-links, .downloads { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
.brand { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 1.5rem); }
.brand-mark { width: clamp(3rem, 12vw, 5.5rem); height: auto; }
.version { margin: 0 0 .75rem; font-weight: 650; }
.trust { color: var(--muted); margin-bottom: 1.1rem; }
.install { margin-top: .8rem; }
summary { cursor: pointer; color: var(--accent); }
.feature-note .platforms { margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.platforms strong, .platforms span { display: block; }
.release-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.skip {
  position: absolute;
  inset: .5rem auto auto .5rem;
  z-index: 1;
  padding: .5rem .75rem;
  background: var(--paper);
}
.skip:not(:focus) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .split, .details { grid-template-columns: 1fr; }
  .projects a { grid-template-columns: 1fr auto; }
  .projects p { grid-row: 2; grid-column: 1; }
}

.orchard-landing {
  --accent: #515b37;
  --accent-hover: #394125;
}

.versusdash-landing {
  --accent: #415b76;
  --accent-hover: #2f4359;
}

.books-landing {
  --accent: #32605d;
  --accent-hover: #224743;
}
