:root {
  --blue: #0055aa;
  --orange: #ff8800;
  --gray: #aaaaaa;
  --paper: #f4f3ef;
  --ink: #1d1d1f;
  --muted: #5d5d63;
  --line: #dddad2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: clamp(16px, 1.1vw + 12px, 18px)/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px); }
.narrow { max-width: 640px; }
img { max-width: 100%; }

/* top bar */
.top { background: var(--blue); color: #fff; border-bottom: 3px solid var(--orange); position: sticky; top: 0; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 50px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.dl-small { color: #fff; text-decoration: none; font-size: 15px; }
.dl-small:hover { text-decoration: underline; }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  justify-items: center;
  text-align: center;
  padding-top: clamp(36px, 7vw, 76px);
  padding-bottom: clamp(32px, 6vw, 64px);
}
.hero-text { max-width: 640px; }
.hero .screen { width: 100%; max-width: 1080px; }
h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; margin: 0 0 12px; letter-spacing: -.025em; }
.lead { font-size: clamp(19px, 1.6vw + 10px, 23px); color: var(--muted); margin: 0 0 18px; }
h2 { font-size: 28px; margin: 0 0 18px; }

.button {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 0 #c76a00;
}
.button:hover { background: #ff9a26; }
.button.disabled { background: var(--gray); box-shadow: 0 2px 0 #888; cursor: default; pointer-events: none; }

/* screenshots: pixels stay pixels */
figure { margin: 0; }
figure img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 40, 90, .22), 0 0 0 1px rgba(0, 0, 0, .06);
}

/* features */
.features ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.features li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 20px; font-size: 16px; color: var(--muted);
}
.features li b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

.shots {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 40px);
  padding-top: clamp(32px, 6vw, 64px); padding-bottom: clamp(32px, 6vw, 64px); align-items: center;
}

figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.hero .screen img { image-rendering: auto; }
.shots img { image-rendering: auto; }
.shots .ocs img { image-rendering: pixelated; }

/* download */
.download { background: var(--blue); color: #fff; padding: clamp(40px, 7vw, 64px) 0; text-align: center; border-top: 3px solid var(--orange); }
.download h2 { color: #fff; }
.download .button { font-family: "SF Mono", Menlo, Consolas, monospace; }
.meta { font-size: 13px; color: #cfe0f2; margin: 10px 0 0; word-break: break-all; }
.steps { margin: 22px 0 0; color: #e6effa; }

footer { padding: 24px 0; font-size: 14px; color: var(--muted); text-align: center; }

@media (max-width: 860px) {
  .shots { grid-template-columns: 1fr 1fr; }
  .features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .shots { grid-template-columns: 1fr; }
  .features ul { grid-template-columns: 1fr; gap: 10px; }
  .features li { padding: 14px 16px; }
}

/* games + chips */
.games { padding-top: clamp(32px, 6vw, 56px); }
.games .narrow { margin: 0 auto; text-align: center; }
.games p { color: var(--muted); }
.chips { padding-bottom: clamp(32px, 6vw, 64px); text-align: center; }
.chip-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 4vw, 40px); text-align: left; }
.chip-shots img { image-rendering: pixelated; }
.shots { padding-bottom: clamp(24px, 4vw, 40px); }
