:root {
  color-scheme: light;
  --ink: #182f39;
  --blue: #173e50;
  --blue-bright: #2e778f;
  --blue-pale: #d4e3e4;
  --paper: #eff2e9;
  --paper-deep: #dfe7df;
  --yellow: #efbf4b;
  --line: #617b7b;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 24px;
  background-color: #9bb7c0;
  background-image: linear-gradient(0deg, rgb(255 255 255 / 9%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 9%) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font: 14px/1.55 var(--mono);
}

a { color: #174e77; }
a:hover { color: #9a531c; }
img { display: block; max-width: 100%; }
.site-frame {
  width: min(1040px, 100%);
  margin: 0 auto;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 rgb(24 47 57 / 34%);
}
.masthead {
  min-height: 146px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 28px;
  border-bottom: 4px solid var(--yellow);
  background: var(--blue);
  color: #f5f4e9;
}
.brand { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.logo-crop { position: relative; width: 134px; height: 108px; flex: 0 0 134px; overflow: hidden; }
.logo-crop img { position: absolute; top: -16px; left: 0; width: 134px; max-width: none; height: 134px; }
.brand-text { display: grid; gap: 3px; }
.brand-text small, .brand-text > span { color: #d5e4df; font-size: 10px; letter-spacing: .07em; }
.brand-text strong { font-size: clamp(25px, 4vw, 36px); line-height: .99; letter-spacing: -.07em; }
.masthead-note { padding-right: 8px; color: #d5e4df; font-size: 12px; text-align: right; }
.blink { color: var(--yellow); animation: blink 1s steps(2, jump-none) infinite; }
.site-nav { display: flex; min-height: 44px; align-items: stretch; border-bottom: 1px solid var(--ink); background: #c2d7da; }
.site-nav a { display: inline-flex; align-items: center; padding: 0 20px; border-right: 1px solid #80999b; color: var(--ink); font-size: 12px; font-weight: bold; letter-spacing: .03em; text-decoration: none; }
.site-nav a:hover, .site-nav a.active { background: var(--yellow); color: var(--ink); }
main { padding: 27px 30px 30px; }
.intro-panel { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 25px; padding: 21px; border: 1px solid var(--line); background: #f8f9f1; }
.section-kicker { margin: 0 0 13px; color: #516e75; font-size: 11px; font-weight: bold; letter-spacing: .05em; }
.intro-copy h1 { margin: 0 0 15px; font-size: clamp(25px, 3vw, 35px); line-height: 1.16; letter-spacing: -.065em; }
.intro-copy > p:not(.section-kicker):not(.system-line) { max-width: 470px; margin: 0 0 16px; font-size: 13px; }
.system-line { margin: 15px 0 0; padding: 8px 10px; border-block: 1px dashed #8ca4a1; color: #425b5e; font-size: 10px; }
.system-line b { color: #9a531c; }
.intro-links { display: flex; align-items: center; flex-wrap: wrap; gap: 17px; margin-top: 19px; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 13px; padding: 8px 13px; border: 1px solid #091f2a; background: var(--blue); color: #fff; font-size: 12px; font-weight: bold; text-decoration: none; }
.button:hover { background: var(--blue-bright); color: #fff; }
.button span { color: var(--yellow); font-size: 16px; line-height: .7; }
.text-link { font-size: 11px; font-weight: bold; }
.desktop-preview { margin: 0; padding: 5px; border: 1px solid #415c64; background: #bdccca; }
.desktop-preview img { width: 100%; border: 1px solid #182f39; }
.desktop-preview figcaption { padding: 7px 3px 2px; color: #38555c; font-size: 9px; font-weight: bold; }
.about-section { margin-top: 28px; padding: 14px 16px 16px; border: 1px solid var(--line); background: #e3ebe5; }
.about-section .section-title-row { margin-bottom: 11px; border-bottom-style: dashed; }
.about-lead { max-width: 850px; margin: 0 0 13px; font-size: 12px; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #829894; background: #f8f9f1; }
.about-grid article { padding: 11px 12px; border-right: 1px solid #a2b2aa; }
.about-grid article:last-child { border-right: 0; }
.about-grid h3 { margin: 0 0 6px; color: #8d522b; font-size: 10px; }
.about-grid p { margin: 0; color: #334e53; font-size: 10px; line-height: 1.65; }
.screens-section { margin-top: 32px; }
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; padding-bottom: 7px; border-bottom: 2px solid var(--blue); }
.section-title-row h2 { margin: 0; font-size: 19px; letter-spacing: -.04em; }
.section-title-row span { color: #587177; font-size: 10px; }
.screens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.screen-card { min-width: 0; margin: 0; padding: 5px; border: 1px solid #617b7b; background: #d7e1de; }
.screen-card img { width: 100%; aspect-ratio: 1.62; object-fit: cover; border: 1px solid #203b42; background: #101010; }
.screen-card figcaption { padding: 7px 4px 2px; color: #233c43; font-size: 10px; font-weight: bold; }
.screen-card figcaption span { display: inline-block; margin-right: 7px; color: #a25326; }
.download-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 27px; padding: 16px 19px; border: 1px solid var(--ink); background: #d2e1df; }
.download-strip > div { display: grid; gap: 3px; }
.download-strip small { color: #596f70; font-size: 9px; font-weight: bold; letter-spacing: .06em; }
.download-strip strong { font-size: 14px; }
.button-yellow { flex: 0 0 auto; border-color: #9d6f19; background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: #f7d779; color: var(--ink); }
.button-yellow span { color: var(--ink); }
.site-footer { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 18px; border-top: 1px solid var(--ink); background: #d3dfdc; color: #425e62; font-size: 9px; }
.site-footer a { color: inherit; font-weight: bold; }

/* Downloads page */
.downloads-heading { margin: 5px 0 19px; padding-bottom: 16px; border-bottom: 2px solid var(--blue); }
.downloads-heading .section-kicker { margin-bottom: 5px; }
.downloads-heading h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.07em; }
.downloads-heading p:last-child { max-width: 700px; margin: 0; font-size: 12px; }
.release-status { margin: 14px 0; padding: 8px 11px; border: 1px dashed #779194; background: #e6ece4; color: #405a5d; font-size: 11px; }
.release-card { margin-top: 14px; border: 1px solid var(--ink); background: #f8f9f1; }
.release-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 14px 16px; border-bottom: 1px solid #849a97; background: #d8e4df; }
.release-label { display: block; margin-bottom: 4px; color: #586e6d; font-size: 10px; font-weight: bold; letter-spacing: .07em; text-transform: uppercase; }
.release-top h2 { margin: 0; font-size: 21px; letter-spacing: -.06em; }
.release-meta { margin: 4px 0 0; color: #4c6668; font-size: 10px; }
.release-notes { margin: 7px 0 0; color: #30494e; font-size: 11px; white-space: pre-line; }
.release-badge { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #586e39; background: #d9e8a2; color: #29371c; font-size: 10px; font-weight: bold; text-transform: uppercase; }
.asset-list { margin: 0; padding: 0; list-style: none; }
.asset-row { min-height: 61px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 15px; border-bottom: 1px dotted #9aaba3; }
.asset-row:last-child { border-bottom: 0; }
.asset-info { min-width: 0; display: grid; gap: 3px; }
.asset-name { overflow-wrap: anywhere; color: #183d4d; font-size: 12px; font-weight: bold; }
.asset-kind { color: #647777; font-size: 10px; }
.asset-download { display: inline-flex; flex: 0 0 auto; min-width: 99px; min-height: 32px; align-items: center; justify-content: center; padding: 5px 9px; border: 1px solid #173e50; background: var(--blue); color: white; font-size: 10px; font-weight: bold; text-decoration: none; }
.asset-download:hover { background: var(--blue-bright); color: white; }
.older-toggle { margin-top: 17px; padding: 9px 12px; border: 1px solid #173e50; background: #c7dbdc; color: var(--ink); cursor: pointer; font: bold 11px var(--mono); }
.older-toggle:hover { background: #b4d0d3; }
.older-toggle span { display: inline-block; margin-left: 9px; color: #914c23; }
.older-list[hidden] { display: none; }
.older-list .release-card { margin-top: 12px; }
.downloads-footer-note { margin: 19px 0 3px; color: #51696a; font-size: 10px; }
.downloads-footer-note a { font-weight: bold; }
.loading { text-align: center; }

@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 720px) {
  body { padding: 13px; }
  .masthead { min-height: 127px; padding-inline: 15px; }
  .masthead-note { font-size: 10px; }
  .logo-crop { width: 105px; height: 93px; flex-basis: 105px; }
  .logo-crop img { top: -13px; width: 105px; height: 105px; }
  .brand { gap: 8px; }
  .brand-text small, .brand-text > span { font-size: 8px; }
  main { padding: 18px 17px 21px; }
  .intro-panel { grid-template-columns: 1fr; }
  .desktop-preview { max-width: 570px; }
  .about-grid article { padding-inline: 9px; }
  .screens-grid { gap: 8px; }
  .screen-card { padding: 3px; }
  .screen-card figcaption { font-size: 8px; }
}
@media (max-width: 500px) {
  body { padding: 7px; }
  .site-frame { box-shadow: 4px 4px 0 rgb(24 47 57 / 34%); }
  .masthead { min-height: 108px; gap: 8px; padding: 9px; }
  .logo-crop { width: 84px; height: 77px; flex-basis: 84px; }
  .logo-crop img { top: -10px; width: 84px; height: 84px; }
  .brand-text strong { font-size: 23px; }
  .brand-text small, .brand-text > span { font-size: 7px; }
  .masthead-note { padding: 0; font-size: 9px; }
  .site-nav { min-height: 39px; }
  .site-nav a { flex: 1; justify-content: center; padding-inline: 5px; font-size: 10px; }
  main { padding: 13px 11px 15px; }
  .intro-panel { gap: 17px; padding: 13px; }
  .intro-copy h1 { font-size: 26px; }
  .intro-copy > p:not(.section-kicker):not(.system-line) { font-size: 12px; }
  .system-line { font-size: 8px; }
  .intro-links { gap: 12px; }
  .text-link { font-size: 10px; }
  .screens-section { margin-top: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid article { padding: 10px 11px; border-right: 0; border-bottom: 1px solid #a2b2aa; }
  .about-grid article:last-child { border-bottom: 0; }
  .screens-grid { grid-template-columns: 1fr; gap: 9px; }
  .screen-card { padding: 4px; }
  .screen-card img { aspect-ratio: 1.72; }
  .screen-card figcaption { font-size: 9px; }
  .download-strip { align-items: flex-start; flex-direction: column; margin-top: 19px; padding: 13px; }
  .download-strip strong { font-size: 12px; }
  .site-footer { flex-wrap: wrap; justify-content: flex-start; font-size: 8px; }
  .site-footer span:nth-child(2) { display: none; }
  .release-top { padding: 12px; }
  .release-top h2 { font-size: 18px; }
  .asset-row { align-items: flex-start; padding: 10px; }
  .asset-download { min-width: 79px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
