:root { color-scheme: light; --ink: #19352b; --muted: #52665d; --green: #23593e; --line: #d4e1d9; --red: #d52735; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: "Segoe UI", system-ui, sans-serif; color: var(--ink); background: #fff; letter-spacing: 0; }
a { color: var(--green); text-underline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #dd8830; outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 750; }
.brand img { object-fit: contain; flex: none; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { font-size: 14px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero-art { height: 330px; overflow: hidden; background: #91d3ed; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-copy { background: #163c2d; color: #fff; }
.hero-content { padding-block: 30px 34px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 36px; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 750; letter-spacing: 0; text-transform: uppercase; color: #b32232; }
.hero-copy .eyebrow { color: #c6e6a2; }
h1 { font-size: 42px; line-height: 1.12; margin: 0; font-weight: 800; }
h2 { font-size: 30px; line-height: 1.2; margin: 0; font-weight: 750; }
p { font-size: 16px; line-height: 1.7; }
.hero-description { max-width: 660px; margin: 14px 0 0; color: #e5efe8; font-size: 18px; line-height: 1.55; }
.download-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; background: var(--red); color: #fff; padding: 16px 24px; border-radius: 6px; font-size: 16px; font-weight: 750; text-decoration: none; min-height: 54px; }
.download-button:hover { background: #b51b29; }
.hero-download { text-align: center; }
.hero-download p { color: #d8e5dc; font-size: 12px; margin: 12px 0 0; }
.intro { padding-block: 52px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 30px 70px; }
.intro-description p { color: var(--muted); margin: 0 0 14px; }
.game-facts { grid-column: 1/-1; margin: 8px 0 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 26px; }
dt { font-weight: 750; }
.game-facts dt { font-size: 18px; }
dd { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.screenshots-section { background: #f0f6f3; padding-block: 48px; scroll-margin-top: 16px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.small-note { color: var(--muted); font-size: 13px; flex: none; }
.screenshot-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
figure { margin: 0; min-width: 0; }
.screenshot-link { display: block; border-radius: 6px; overflow: hidden; background: #d9e6d3; box-shadow: 0 5px 16px #19352b18; }
.screenshot-link img { display: block; width: 100%; height: auto; aspect-ratio: 9/16; object-fit: contain; transition: filter 160ms; }
.screenshot-link:hover img { filter: brightness(1.05); }
figcaption { margin-top: 16px; }
figcaption strong { display: block; font-size: 16px; }
figcaption span { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.download-section { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 80px; padding-block: 64px; }
.download-section p { color: var(--muted); }
.build-details { margin: 26px 0 0; }
.build-details div { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 16px; margin-bottom: 12px; font-size: 14px; }
.build-details dd { margin: 0; }
details { border-bottom: 1px solid var(--line); padding-block: 18px; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 16px; font-weight: 700; padding-right: 8px; }
details p { font-size: 14px; margin-bottom: 0; }
.checksum { overflow-wrap: anywhere; font-family: Consolas, monospace; }
.site-footer { border-top: 1px solid var(--line); padding-block: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.image-viewer { color: #fff; background: #15211d; border: 0; border-radius: 6px; padding: 12px; width: min(850px,calc(100% - 24px)); max-height: calc(100dvh - 24px); }
.image-viewer::backdrop { background: #08140fe8; }
.viewer-toolbar { display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.viewer-toolbar p { margin: 0; font-size: 14px; }
.image-viewer button { display: grid; place-items: center; background: transparent; border: 1px solid #566c60; color: #fff; border-radius: 4px; width: 44px; height: 44px; flex: none; cursor: pointer; }
.image-viewer button:hover { background: #30493b; }
.viewer-content { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.viewer-content img { min-width: 0; max-width: calc(100% - 112px); height: min(78dvh,1280px); object-fit: contain; }
@media (min-width: 1700px) { .hero-art { height: 400px; } }
@media (min-width: 2100px) { .hero-art img { object-fit: contain; } }
@media (max-width: 900px) { .hero-content { grid-template-columns: 1fr; gap: 24px; } .hero-download { text-align: left; } .intro { gap: 26px; } .download-section { gap: 36px; } .small-note { display: none; } .screenshot-grid { gap: 16px; } }
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { flex-wrap: wrap; gap: 10px; padding-block: 10px 14px; }
  .brand { font-size: 15px; }
  .brand img { width: 38px; height: 38px; }
  nav { gap: 22px; }
  .site-header nav { width: 100%; padding-left: 50px; }
  .site-header nav a { font-size: 13px; }
  .hero-art { height: auto; aspect-ratio: 1024/500; }
  .hero-art img { object-fit: contain; }
  .hero-content { padding-block: 24px; gap: 22px; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .hero-description { font-size: 16px; }
  .hero-download .download-button { width: 100%; }
  .hero-download { text-align: center; }
  .intro { grid-template-columns: 1fr; padding-block: 34px; }
  .game-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 18px; }
  .game-facts dt { font-size: 16px; }
  .screenshots-section { padding-block: 34px; }
  .screenshot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; }
  figcaption strong { font-size: 14px; }
  figcaption span { font-size: 13px; }
  .download-section { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .download-section .download-button { width: 100%; }
  .site-footer nav { gap: 16px; }
  .image-viewer { padding: 10px; }
  .viewer-content { gap: 6px; }
  .image-viewer button { width: 36px; height: 40px; }
  .viewer-content img { max-width: calc(100% - 84px); height: 68dvh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .screenshot-link img { transition: none; } }
