@font-face {
  font-family: IntiPixel;
  src: url("/assets/PixelifySans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ash: #100e12;
  --panel: #201c20;
  --bone: #eee7d7;
  --muted: #b3aaa2;
  --stone: #72645d;
  --crimson: #782e34;
  --ember: #dba582;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--ash);
  color: var(--bone);
  font:
    19px/1.55 IntiPixel,
    monospace;
}
a {
  color: var(--ember);
  text-underline-offset: 5px;
}
a:hover {
  color: var(--bone);
}
a:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 6px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.1;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.shell {
  width: min(1080px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 10;
  padding: 12px;
  background: var(--ash);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bone);
  text-decoration: none;
  font-size: 27px;
  font-weight: 600;
}
.brand img {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}
.header-nav {
  display: flex;
  gap: 30px;
  font-size: 17px;
}
.header-nav a {
  color: var(--muted);
  text-decoration: none;
  padding-block: 8px;
}
.header-nav a:hover {
  color: var(--bone);
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 40px;
  padding-block: 28px 64px;
}
.hero-copy {
  padding-block: 24px;
}
.platforms {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(90px, 10vw, 132px);
  line-height: 0.84;
  text-shadow: 4px 4px 0 #483937;
  font-weight: 700;
}
.hero h1 span {
  display: block;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.3;
  margin-top: 18px;
  text-shadow: none;
  font-weight: 500;
}
.story {
  font-size: 30px;
  line-height: 1.22;
  margin-top: 36px;
}
.intro {
  max-width: 420px;
  color: var(--muted);
  margin-top: 18px;
  font-size: 19px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 30px;
  background: var(--crimson);
  color: var(--bone);
  border: 3px solid;
  border-color: #b98b75 #41272c #41272c #b98b75;
  box-shadow: 0 0 0 1px #21151a;
  text-decoration: none;
  font-size: 21px;
  font-weight: 600;
}
.button:hover {
  background: #913b40;
  color: #fff5e0;
}
.button:active {
  border-color: #41272c #b98b75 #b98b75 #41272c;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 30px;
}
.hero-actions .button {
  margin-top: 0;
}
.text-link {
  color: var(--bone);
  font-size: 18px;
  font-weight: 600;
}
.access-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 13px;
}
.hero-art {
  width: min(100%, 360px);
  justify-self: end;
  position: relative;
}
.hero-art img {
  width: 100%;
  image-rendering: pixelated;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -44px 24px -18px var(--ash);
}
.screenshots {
  padding-top: 44px;
  border-top: 1px solid #3a3033;
}
.section-intro {
  margin-bottom: 38px;
}
h2 {
  font-size: 34px;
}
.section-intro p,
.invite p {
  color: var(--muted);
  margin-top: 12px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.gallery figure {
  min-width: 0;
}
.capture {
  display: block;
  border: 2px solid var(--stone);
  box-shadow: 4px 4px 0 #262027;
  background: #0e0c10;
}
.capture:hover {
  border-color: var(--ember);
}
.capture img {
  width: 100%;
  height: auto;
  image-rendering: pixelated;
}
figcaption {
  padding: 23px 0 0;
}
figcaption h3 {
  font-size: 24px;
}
figcaption p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 9px;
  max-width: 240px;
}
.preview-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
}
.invite {
  margin-top: 70px;
  padding-block: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-block: 1px solid #3a3033;
}
.invite h2 {
  font-size: 29px;
}
.invite .button {
  flex-shrink: 0;
}
.site-footer {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  padding-block: 35px 42px;
}
.footer-brand {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  margin-right: auto;
}
.footer-brand span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin-top: 6px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 15px;
}
.site-footer nav a {
  color: var(--muted);
}
.site-footer > p {
  width: 100%;
  color: var(--muted);
  font-size: 12px;
}
/* Support and policy pages share the game's typography without changing their copy. */
body:not(.landing) main {
  max-width: 760px;
  margin: auto;
  padding: 54px 28px 64px;
}
body:not(.landing) header {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 32px;
}
body:not(.landing) header img {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
}
body:not(.landing) h1 {
  font-size: clamp(30px, 6vw, 44px);
}
body:not(.landing) h2 {
  font-size: 27px;
  margin: 32px 0 12px;
}
body:not(.landing) p {
  margin: 14px 0;
}
body:not(.landing) nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--stone);
  padding-top: 25px;
  margin-top: 42px;
}
body:not(.landing) .eyebrow {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}
body:not(.landing) .muted {
  color: var(--muted);
  font-size: 15px;
}
li {
  margin-block: 10px;
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .hero {
    gap: 22px;
    grid-template-columns: 1fr 0.8fr;
  }
  .hero h1 {
    font-size: 88px;
  }
  .hero h1 span {
    font-size: 27px;
  }
  .story {
    font-size: 26px;
  }
  .intro {
    font-size: 17px;
  }
  .gallery {
    gap: 20px;
  }
  figcaption h3 {
    font-size: 20px;
  }
  figcaption p {
    font-size: 15px;
  }
  .invite h2 {
    font-size: 24px;
  }
}
@media (max-width: 560px) {
  .site-header {
    padding-block: 18px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .header-nav {
    gap: 18px;
    font-size: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 25px 40px;
    gap: 28px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 98px;
  }
  .hero h1 span {
    font-size: 31px;
  }
  .platforms {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .story {
    font-size: 27px;
    margin-top: 30px;
  }
  .intro {
    font-size: 18px;
    max-width: 360px;
  }
  .hero-actions {
    display: grid;
    justify-items: center;
    margin-top: 26px;
  }
  .hero-actions .button {
    width: 100%;
  }
  .access-note {
    text-align: center;
    font-size: 13px;
  }
  .hero-art {
    width: 100%;
    max-width: 360px;
    justify-self: center;
  }
  .screenshots {
    padding-top: 34px;
  }
  .section-intro h2 {
    font-size: 29px;
  }
  .section-intro p {
    font-size: 17px;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 320px;
    margin: auto;
  }
  .gallery figcaption {
    padding-top: 19px;
  }
  .gallery h3 {
    font-size: 25px;
  }
  .gallery p {
    font-size: 18px;
    max-width: none;
  }
  .preview-note {
    text-align: center;
    font-size: 13px;
  }
  .invite {
    margin-top: 42px;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .invite h2 {
    font-size: 27px;
  }
  .invite p {
    font-size: 18px;
  }
  .site-footer {
    gap: 24px;
    padding-top: 28px;
  }
  .footer-brand {
    width: 100%;
  }
  .site-footer nav {
    gap: 19px;
  }
  .site-footer > p {
    font-size: 11px;
  }
  body:not(.landing) header {
    align-items: flex-start;
    gap: 16px;
  }
  body:not(.landing) header img {
    width: 52px;
    height: 52px;
  }
  body:not(.landing) main {
    padding: 32px 20px 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Original Inti palette, restrained light and depth; no generated art. */
.landing { background: radial-gradient(ellipse at 85% 12%, #42202755, transparent 35%), var(--ash); }
.landing .hero-art { position: relative; }
.landing .hero-art::after { content: ""; position: absolute; inset: 10% -5% 2%; background: radial-gradient(ellipse, #d16b4520, transparent 65%); pointer-events: none; }
.landing .button, .landing .capture { transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.landing .button:hover { transform: translateY(-2px); box-shadow: 0 8px 32px #9c414130; }
.landing .capture:hover { transform: translateY(-5px); box-shadow: 0 16px 40px #0008; border-color: var(--ember); }
.landing .eyebrow { color: var(--ember); font-size: 14px; letter-spacing: .12em; margin-bottom: 16px; }
.download { display: grid; grid-template-columns: 1fr 230px; gap: 48px; align-items: center; padding-block: 60px; border-top: 1px solid #72645d55; }
.download h2, .faq h2 { font-size: clamp(30px, 4vw, 44px); }
.download-copy > p:not(.eyebrow) { color: var(--muted); margin: 20px 0 26px; max-width: 480px; }
.coming-soon { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; }
.coming-soon span { color: var(--bone); }
.coming-soon small { color: var(--muted); font-size: 15px; }
.qr-card { padding: 24px; background: #201c20; border: 1px solid var(--stone); box-shadow: 6px 6px 0 #080709; text-align: center; }
.qr-card img { width: 164px; height: 164px; margin: auto; }
.qr-card figcaption { margin-top: 16px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.faq { padding-block: 48px 64px; border-top: 1px solid #72645d55; }
.faq-list { margin-top: 30px; }
.faq details { border-bottom: 1px solid #72645d55; }
.faq summary { cursor: pointer; padding: 22px 4px; font-size: 21px; color: var(--bone); }
.faq summary:hover { color: var(--ember); }
.faq summary:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
.faq details p { color: var(--muted); max-width: 800px; padding: 0 4px 24px; font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
 .hero-copy { animation: arrival 650ms ease-out both; }
 .hero-art { animation: arrival 900ms ease-out both; }
 @keyframes arrival { from { opacity: .25; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 560px) {
 .download { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
 .qr-card { width: 230px; justify-self: start; }
 .faq { padding-block: 36px 48px; }
 .faq summary { font-size: 19px; }
 .hero-actions .button { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .landing .button, .landing .capture { transition: none; }
 .landing .button:hover, .landing .capture:hover { transform: none; }
}
