/* Shared styles. No build tools, external fonts, or JavaScript required. */
:root {
  color-scheme: light;
  --paper: #fcfbf8;
  --ink: #242722;
  --muted: #64665f;
  --line: #deded5;
  --surface: #f0eee7;
  --accent: #c04429;
  --page-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
.container { width: min(var(--page-width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 10; background: var(--ink); color: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 750; letter-spacing: -.6px; text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.nav-list, .footer-links { display: flex; gap: 34px; list-style: none; padding: 0; margin: 0; }
.nav-list a { font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-list a[aria-current="page"] { color: var(--accent); }
.hero { min-height: 620px; padding-block: 100px 104px; display: grid; grid-template-columns: 1fr 240px; align-items: center; gap: 48px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.hero .eyebrow { margin-bottom: 28px; color: var(--accent); }
.hero h1 { font-size: clamp(54px, 6.6vw, 88px); letter-spacing: -.065em; font-weight: 750; line-height: 1.02; }
.hero-description { max-width: 540px; margin-top: 28px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 32px; padding: 14px 22px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 4px; }
.button:hover { background: var(--accent); color: white; }
.hero-art { position: relative; height: 270px; }
.spark { position: absolute; display: block; background: var(--accent); clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%); }
.spark-large { width: 190px; height: 190px; top: 74px; left: 0; transform: rotate(-9deg); }
.spark-small { width: 105px; height: 105px; top: 10px; right: 0; transform: rotate(10deg); background: var(--ink); }
.section { padding-block: 70px 80px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section h2 { font-size: 36px; letter-spacing: -1.3px; }
.section-number { color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.game-card { min-height: 240px; padding: 42px 48px; background: var(--surface); border: 1px solid #e7e4dc; border-radius: 8px; display: flex; align-items: center; gap: 40px; }
.game-placeholder { flex: 0 0 112px; height: 112px; border: 1px solid #d5d1c6; border-radius: 24px; display: grid; place-items: center; }
.game-placeholder img { width: 68px; height: 68px; }
.status { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.game-card h3 { margin-top: 12px; font-size: 32px; letter-spacing: -1px; }
.game-card p:last-child { margin-top: 14px; color: var(--muted); }
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; padding-block: 78px 96px; }
.about .eyebrow { color: var(--muted); margin-bottom: 22px; }
.about p:last-child { max-width: 610px; font-size: 25px; line-height: 1.55; letter-spacing: -.5px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 110px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links a { text-decoration: none; }
.document { max-width: 760px; padding-block: 80px 100px; }
.document h1 { margin-top: 20px; font-size: clamp(42px, 6vw, 64px); letter-spacing: -.05em; }
.document .updated { margin-top: 22px; color: var(--muted); font-size: 14px; }
.document .intro { margin-top: 30px; font-size: 19px; }
.document section { margin-top: 36px; }
.document h2 { margin-bottom: 12px; font-size: 22px; letter-spacing: -.4px; }
.document section p + p { margin-top: 16px; }
.document section p { color: var(--muted); }
.document section a { color: var(--ink); overflow-wrap: anywhere; }
.contact-page { min-height: calc(100vh - 211px); max-width: 900px; }
.contact-list { margin-top: 46px; }
.contact-row { border-top: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding-block: 24px; }
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row dt { font-weight: 600; }
.contact-row dd { margin: 0; }
.contact-row a { overflow-wrap: anywhere; }
.contact-note { margin-top: 28px; max-width: 570px; color: var(--muted); }
.not-found { min-height: calc(100vh - 211px); padding-block: 90px; }
.error-code { font-size: clamp(100px, 18vw, 180px); line-height: 1; font-weight: 750; letter-spacing: -.08em; color: var(--accent); }
.not-found h1 { font-size: 36px; margin-top: 24px; letter-spacing: -1px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 160px; gap: 24px; }
  .hero-art { height: 220px; }
  .spark-large { width: 140px; height: 140px; }
  .spark-small { width: 75px; height: 75px; top: 25px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 40px); }
  .header-inner { padding-block: 20px; flex-wrap: wrap; gap: 20px; }
  .brand { font-size: 18px; }
  .nav-list { gap: 28px; }
  .hero { min-height: auto; display: block; position: relative; padding-block: 64px 68px; }
  .hero h1 { font-size: clamp(48px, 10.5vw, 66px); }
  .hero-description { font-size: 17px; }
  .hero-art { display: none; }
  .section { padding-block: 44px 48px; }
  .section h2 { font-size: 30px; }
  .game-card { padding: 28px; gap: 26px; align-items: flex-start; flex-direction: column; }
  .game-placeholder { flex-basis: auto; width: 80px; height: 80px; border-radius: 18px; }
  .game-placeholder img { width: 52px; height: 52px; }
  .game-card h3 { font-size: 28px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about p:last-child { font-size: 22px; }
  .footer-inner { padding-block: 28px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-links { gap: 28px; }
  .document { padding-block: 54px 64px; }
  .contact-row { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
