:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f5ed;
  background: #121719;
  line-height: 1.6;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid #e6ec99; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #343b3c; }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { object-fit: contain; }
nav { display: flex; gap: 28px; }
nav a { font-weight: 600; text-decoration: none; }
nav a:hover, .site-footer a:hover { color: #e6ec99; }
.intro { padding-block: 80px 64px; max-width: 820px; }
.eyebrow { margin: 0 0 12px; color: #e6ec99; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 650; letter-spacing: -.045em; margin: 0 0 24px; }
.intro > p:last-child { color: #bfc7c7; font-size: 1.125rem; max-width: 560px; margin: 0; }
.product-section { margin-bottom: 56px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin: 0; }
.section-heading > span { color: #bfc7c7; font-size: .875rem; }
.product { background: #1b2325; border: 1px solid #343b3c; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.product-image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #080c0d; }
.product-body { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
h3 { font-size: 1.65rem; letter-spacing: -.025em; margin: 0 0 12px; }
.product-body > p:not(.eyebrow) { color: #bfc7c7; margin: 0 0 28px; }
.product-link { display: inline-flex; align-items: center; gap: 18px; margin-top: auto; padding: 10px 16px; background: #e6ec99; color: #19201b; border-radius: 5px; font-weight: 650; text-decoration: none; }
.product-link:hover { background: #f4f8c4; }
.featured { display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch; }
.featured .product-image { height: 100%; }
.featured .product-body { justify-content: center; padding: 36px; }
.featured .product-link { margin-top: 0; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #343b3c; padding-block: 28px; color: #bfc7c7; font-size: .875rem; }
.site-footer p { margin: 0; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 12px; background: #e6ec99; color: #19201b; }

@media (max-width: 720px) {
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .header-inner { min-height: 80px; gap: 16px; }
  .brand img { width: 160px; height: auto; }
  nav { gap: 18px; }
  .intro { padding-block: 52px 44px; }
  .featured, .game-grid { display: grid; grid-template-columns: 1fr; }
  .featured .product-body, .product-body { padding: 24px; }
  .featured .product-image { height: auto; }
  .product-section { margin-bottom: 40px; }
}

@media (max-width: 360px) {
  .header-inner { flex-wrap: wrap; padding-block: 16px; }
  .site-footer { flex-direction: column; gap: 8px; }
}

/* Inkspire uses its product icon on the app's warm paper background. */
.inkspire { margin-bottom: 24px; }
.inkspire-art { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; background: #f4f1e8; min-height: 260px; padding: 40px; }
.inkspire-art img { position: relative; z-index: 2; width: 160px; height: 160px; filter: drop-shadow(0 8px 14px rgb(54 93 81 / 18%)); }

/* Original sample prose gives the icon a quiet manuscript backdrop. */
.manuscript { position: absolute; inset: -20px 24px; z-index: 0; overflow: hidden; color: #365d51; opacity: .27; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.85; transform: rotate(-5deg) scale(1.06); pointer-events: none; user-select: none; }
.manuscript-heading { display: block; margin: 12px 0 18px; text-align: center; font-size: 23px; font-style: italic; }
.manuscript p { margin: 0 0 12px; text-indent: 1.5em; }
.inkspire-art::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, #f4f1e8 8%, rgb(244 241 232 / 85%) 28%, rgb(244 241 232 / 15%) 72%); pointer-events: none; }