:root {
  color-scheme: light;
  --paper: #fbfaf4;
  --ink: #23332c;
  --muted: #43534b;
  --forest: #30493e;
  --green: #476950;
  --sage: #d8e6d4;
  font: 112.5%/1.55 "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
body { overflow-wrap: break-word; }
.wrap { width: min(72rem, 90%); margin-inline: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #a94800; outline-offset: 4px; }
.downloads :focus-visible { outline-color: white; }
.skip, .sr, .switch input { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { z-index: 1; inset: .5rem auto auto .5rem; width: auto; height: auto; padding: .5rem 1rem; clip-path: none; color: white; background: var(--forest); }
.mast, nav, .brand, footer { display: flex; align-items: center; }
.mast, footer { justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1.25rem; }
.mast { border-bottom: 1px solid #cad6c9; }
.mast a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.mast a:hover { text-decoration: underline; }
.brand { gap: .8rem; font-weight: 750; letter-spacing: -.045em; font-size: 1.25rem; }
nav { gap: clamp(.8rem, 3vw, 2.25rem); font-weight: 650; }
.hero { display: grid; grid-template-columns: 1fr 1.03fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.8rem, 6vw, 5.3rem); }
h1, h2, h3 { line-height: 1.08; }
h1 { font-size: clamp(2.75rem, 5.7vw, 4.85rem); letter-spacing: -.067em; }
h1 span { color: var(--green); }
.intro p { max-width: 34ch; margin: 1.3rem 0 1.65rem; font-size: clamp(1.08rem, 1.6vw, 1.35rem); color: var(--muted); line-height: 1.47; }
.action, .get { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 48px; padding: .65rem 1.05rem; background: var(--forest); color: white; font-weight: 700; border-radius: .5rem; text-decoration: none; }
.action:hover, .get:hover { text-decoration: underline; }
.action span { font-size: 1.25em; }
.preview { min-width: 0; margin: 0; padding: clamp(.65rem, 2vw, 1.4rem); border: 1px solid #c5d1c4; border-radius: 1.05rem; background-color: #e8eee5; background-image: radial-gradient(#becbbc 1px, transparent 1px); background-size: 12px 12px; }
.images { display: grid; place-items: center; aspect-ratio: 1.54; }
.images img { grid-area: 1/1; display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; min-height: 0; }
.images .win-shot { display: none; width: 84%; }
.preview:has(input[value="windows"]:checked) .mac-shot { display: none; }
.preview:has(input[value="windows"]:checked) .win-shot { display: block; }
.switch { display: flex; width: fit-content; max-width: 100%; margin: .65rem auto 0; padding: 3px; border: 1px solid #779482; background: var(--paper); border-radius: .65rem; }
.switch label { position: relative; flex: 1 1 auto; }
.switch span { display: grid; place-items: center; min-height: 44px; padding: .35rem .85rem; border-radius: .42rem; cursor: pointer; text-align: center; font-size: .9rem; font-weight: 700; }
.switch input:checked + span { background: var(--forest); color: white; }
.switch input:focus-visible + span { outline: 3px solid #a94800; outline-offset: 2px; }
.features { padding-block: 1rem clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -.05em; }
h3 { font-size: 1.2rem; letter-spacing: -.035em; line-height: 1.22; }
.columns, .platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 1.6rem; }
.columns article { border-top: 1px solid #b7c9b8; padding-top: 1.25rem; }
.columns p, .platforms p { margin-top: .6rem; }
.columns p { color: var(--muted); }
.glyph { display: flex; height: 1.75rem; align-items: center; color: var(--green); margin-bottom: .85rem; }
.type { font-size: 1.4rem; font-weight: 750; letter-spacing: -.09em; }
.sound { gap: 3px; }
.sound i { height: 9px; width: 3px; background: currentColor; border-radius: 2px; }
.sound i:nth-child(even) { height: 19px; }
.sound i:nth-child(3) { height: 26px; }
.downloads { background: var(--forest); color: var(--paper); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.downloads h2 + p { margin-top: .6rem; }
.platforms { gap: .85rem; align-items: stretch; }
.platforms article { padding: clamp(1rem, 2vw, 1.6rem); border: 1px solid #879b8e; border-radius: .75rem; display: grid; align-content: start; grid-template-rows: auto 1fr auto; }
.platforms article:has(.portable) { grid-template-rows: auto 1fr auto auto; }
.platforms h3 { font-size: 1.6rem; }
.get { color: var(--ink); background: var(--sage); margin-top: 1.25rem; text-align: center; }
.platforms .portable { font-size: .92rem; margin-top: .9rem; }
footer { font-size: .94rem; padding-block: 1.5rem; }
footer a { padding-block: .5rem; }
@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .intro p { max-width: 45ch; }
  .preview { width: min(100%, 36rem); }
  .platforms, .columns { grid-template-columns: 1fr; }
  .columns { gap: 1.25rem; }
  .platforms article { display: block; }
}
@media (forced-colors: active) {
  .switch input:checked + span { outline: 2px solid Highlight; outline-offset: -4px; }
  .action, .get { border: 1px solid LinkText; }
}

.features, .downloads { scroll-margin-block-start: 1rem; }
.downloads:focus-visible { outline-color: white; outline-offset: -3px; }

@keyframes card-enter {
  from { transform: translateY(.75rem); opacity: .82; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes preview-fade {
  from { opacity: .35; }
  to { opacity: 1; }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .images img { animation: preview-fade 240ms ease-out; }
  :root { scroll-behavior: smooth; }
  .scroll-enter { animation: card-enter 460ms cubic-bezier(.22, 1, .36, 1) backwards; }
}

@media screen and (min-width: 52.01rem) and (prefers-reduced-motion: no-preference) {
  .scroll-enter:nth-child(2) { animation-delay: 55ms; }
  .scroll-enter:nth-child(3) { animation-delay: 110ms; }
}
