/* Layout: a single long field-journal column on the site's deep teal; screenshots carry the colour, wheat gold marks actions. */
:root {
  --bg: #152227;        /* oddsprig's own theme colour */
  --bg-2: #1b2c32;      /* raised panels */
  --line: #2c4149;
  --fg: #e9e4d6;        /* warm paper white */
  --muted: #a9b5b1;
  --wheat: #e2b35a;     /* actions, the one bold colour */
  --wheat-ink: #1a1408;
  --lake: #8fc2cf;      /* small labels, readouts */
  --display: "Bitter", Georgia, "Times New Roman", serif;
  --body: "Work Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wheat); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--lake); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: 0.88em; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--wheat); color: var(--wheat-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.nav { border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 28px; height: 28px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav nav a:hover { color: var(--fg); }

.hero { padding-block: 48px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.eyebrow { font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake); margin-bottom: 14px; }
h1 { display: flex; align-items: center; gap: 16px; font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); font-weight: 800; letter-spacing: -0.01em; }
.game-icon { width: 64px; height: 64px; border-radius: 12px; image-rendering: pixelated; flex: none; }
.lede { font-size: 1.25rem; line-height: 1.5; margin-top: 16px; max-width: 30ch; }
.get { margin-top: 28px; display: grid; gap: 10px; justify-items: start; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--wheat); color: var(--wheat-ink); text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 8px; transition: transform .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--wheat); border: 1.5px solid var(--wheat); }
.price { color: var(--fg); max-width: 40ch; }
.spec { font: 400 0.82rem/1.5 var(--mono); color: var(--muted); }
.hero-shot img { border-radius: 10px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
figcaption { font: 400 0.8rem/1.5 var(--mono); color: var(--muted); margin-top: 10px; }
figure { margin: 0; }

section { padding-block: 56px; }
.story, .ea { background: var(--bg-2); border-block: 1px solid var(--line); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.prose { display: grid; gap: 16px; max-width: 62ch; min-width: 0; }
.prose h2 { margin-bottom: 4px; }
.story-shot img { border-radius: 10px; }

.air { padding-block: 40px; }
.readout { border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; display: grid; grid-template-columns: auto 1fr; gap: 8px 32px; align-items: center; }
.readout-h { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--lake); grid-column: 1 / -1; }
.readout dl { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; }
.readout dl div { display: grid; }
.readout dt { font-size: 0.8rem; color: var(--muted); }
.readout dd { margin: 0; font: 600 1.35rem/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.readout-note { color: var(--muted); max-width: 52ch; }

.about h2 { margin-bottom: 28px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.feature { display: grid; gap: 14px; align-content: start; min-width: 0; }
.feature img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.feature.wide { grid-column: 1 / 3; }
.feature.wide img { aspect-ratio: 16 / 8; }
.f-body { display: grid; gap: 6px; }
.f-body p { color: var(--muted); }
.feature:not(:has(img)) { border-left: 3px solid var(--wheat); padding-left: 18px; align-self: center; }
.feature:not(:has(img)) h3 { font-size: 1.45rem; }
.feature:not(:has(img)) p { color: var(--fg); }

.feedback { display: grid; gap: 14px; justify-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.feedback h2 { font-size: 1.5rem; }

.howto ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.keys { border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; min-width: 0; }
.keys h3 { margin-bottom: 12px; }
.keys dl { margin: 0; display: grid; gap: 10px; }
.keys dl div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; align-items: center; }
.keys dd { margin: 0; color: var(--muted); }
kbd { display: inline-block; min-width: 1.9em; text-align: center; padding: 2px 6px; margin-right: 4px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 5px; background: var(--bg-2); color: var(--fg); }

.foot { border-top: 1px solid var(--line); padding-block: 28px; color: var(--muted); font-size: 0.92rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 860px) {
  .hero-grid, .two { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .features { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature.wide { grid-column: 1 / -1; }
  .readout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 32px 40px; }
  section { padding-block: 44px; }
  .game-icon { width: 48px; height: 48px; }
  .keys dl div { grid-template-columns: 7.5rem 1fr; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
