@font-face {
  font-family: Studio;
  src: local("Arial Black");
  font-weight: 900;
  font-display: swap;
}

:root {
  --accent: #0047ff;
  --paper: #fdfdfb;
  --ink: #101010;
  --muted: #62616d;
  --line: #d9d9df;
  --radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, select, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; width: 100%; }
::selection { background: var(--accent); color: white; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.shell { width: min(100% - 40px, 1200px); margin: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .wordmark, .footer-brand {
  font-family: Studio, "Arial Black", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.03;
}
h1 { font-size: clamp(40px, 10.7vw, 76px); overflow-wrap: break-word; }
h2 { font-size: clamp(29px, 7.7vw, 44px); }
h3 { font-size: 27px; }
p { color: var(--muted); font-size: 17px; line-height: 1.55; }
.header { padding-top: 21px; }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: clamp(28px, 9vw, 52px); letter-spacing: -.065em; text-transform: uppercase; }
.menu-toggle { background: var(--accent); color: white; border: 0; border-radius: 50%; width: 44px; height: 44px; flex: 0 0 44px; }
.menu-lines { font-size: 25px; line-height: 1; }
.header nav { display: flex; flex-direction: column; padding: 10px 0; border-bottom: 1px solid var(--line); }
.js .header nav { display: none; }
.js .header nav.is-open { display: flex; }
.header nav a { padding: 15px 0; font-size: 13px; font-weight: bold; letter-spacing: .12em; text-transform: uppercase; }
[aria-current="page"] { color: var(--accent); }
.brand-dot { display: none; width: 19px; height: 19px; background: var(--accent); border-radius: 50%; }
.intro { position: relative; padding: 36px 0 30px; }
.intro p { margin-top: 12px; font-size: 20px; line-height: 1.35; max-width: 760px; }
.intro .button { margin-top: 23px; }
.intro .eyebrow { margin-bottom: 16px; }
.margin-note { display: none; }
.eyebrow { display: block; font-family: Consolas, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; line-height: 1.6; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 50px; padding: 15px 21px; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: white; font-size: 15px; font-weight: bold; }
.button span, .text-link span { font-size: 25px; font-weight: normal; line-height: 1; }
.button:hover { filter: brightness(.88); }
.store { background: var(--ink); border-color: var(--ink); font-size: 13px; min-height: 46px; }
.text-link { display: inline-flex; gap: 20px; align-items: center; min-height: 46px; color: var(--accent); font-weight: bold; font-size: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.game-list { display: grid; gap: 35px; }
.game-feature > .eyebrow { margin: 0 0 12px; color: var(--accent); }
.game-art { width: 100%; aspect-ratio: 1920 / 1050; object-fit: contain; border-radius: var(--radius); background: #302b36; }
.art-link { display: block; }
.art-link:hover { opacity: .94; }
.game-caption { margin-top: 16px; }
.game-caption h2 { font-size: clamp(30px, 8.5vw, 57px); }
.game-caption p { margin-top: 8px; }
.actions { margin-top: 13px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; }
.octagon-art { position: relative; overflow: hidden; background: var(--accent); color: white; border-radius: var(--radius); aspect-ratio: 1920 / 1050; }
.octagon-art svg { height: 100%; opacity: .9; }
.art-caption { position: absolute; left: 18px; bottom: 16px; font-size: clamp(25px, 7vw, 50px); font-weight: 900; letter-spacing: -.06em; }
.about-preview { padding: 31px 0; margin-top: 35px; border-top: 1px solid var(--line); }
.about-preview h2 { margin: 9px 0 13px; }
.about-preview p { max-width: 670px; }
.about-preview .text-link { margin-top: 10px; }
.support-strip { margin: 15px 0 32px; padding: 25px 22px; background: #edf3ff; border-radius: var(--radius); display: flex; flex-direction: column; gap: 20px; }
.support-strip h2 { margin: 4px 0 10px; }
.support-strip .button { align-self: flex-start; }
footer { padding: 24px 0 26px; border-top: 1px solid var(--line); }
.footer-brand { text-transform: uppercase; font-size: 23px; }
footer nav { display: flex; gap: 0 21px; flex-wrap: wrap; margin-top: 13px; }
footer nav a { font-family: Consolas, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; min-height: 44px; display: inline-flex; align-items: center; }
footer small { color: var(--muted); font-size: 11px; display: block; margin-top: 12px; }
.breadcrumb { color: var(--muted); font-size: 13px; display: flex; gap: 12px; margin-top: 25px; }
.breadcrumb a { color: var(--accent); }
.game-intro { padding-top: 22px; }
.section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.section p { margin-top: 14px; }
.section .button { margin-top: 20px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.section-heading h2 { font-size: 28px; }
.gallery { display: flex; gap: 14px; overflow-x: auto; padding: 5px 4px 16px; scroll-snap-type: x mandatory; }
.screenshot { padding: 0; background: transparent; border: 0; border-radius: var(--radius); flex: 0 0 90%; scroll-snap-align: start; }
.screenshot img { border-radius: var(--radius); }
.gallery-portrait .screenshot { flex-basis: clamp(160px, 52%, 230px); }
.game-description p + p { margin-top: 1em; }
.game-help { padding: 32px 0 0; }
.game-help p { margin: 12px 0 20px; }
.game-help .button { width: 100%; }
.legal-links { margin-top: 25px; border-top: 1px solid var(--line); }
.row-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; min-height: 55px; border-bottom: 1px solid var(--line); }
.related { display: grid; gap: 26px; margin-top: 22px; }
.related h3 { margin-top: 14px; }
.related h3 span { color: var(--accent); }
.related p { margin-top: 7px; }
.support-content { max-width: 850px; margin: 0 auto 35px; }
select { display: block; width: 100%; min-height: 56px; background: white; color: var(--ink); border: 1px solid #a9abb7; border-radius: var(--radius); padding: 15px; margin: 10px 0 23px; }
.email-card { display: block; background: var(--accent); color: white; padding: 26px 22px; border-radius: var(--radius); margin-bottom: 30px; }
.email-card .eyebrow, .email-card p { color: white; }
.email-card h2 { margin: 10px 0 15px; }
.email-address { overflow-wrap: anywhere; }
.email-card .email-address { font-size: 15px; font-weight: bold; line-height: 1.5; }
.email-card p { margin-top: 16px; font-size: 16px; opacity: .9; }
.faq { margin-top: 22px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; min-height: 63px; padding: 20px 25px 20px 0; font-size: 17px; font-weight: bold; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; color: var(--accent); font-size: 23px; top: 15px; }
details[open] summary::after { content: '−'; }
details p, details #download-answer { margin-bottom: 22px; }
details a:not(.text-link) { color: var(--accent); text-decoration: underline; }
.intro .draft-notice { display: inline-block; font: 11px/1.7 Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: #222f69; background: #e8eeff; padding: 7px 10px; }
.intro .updated { font-size: 14px; }
.contents { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; flex-direction: column; }
.contents a { padding: 12px 0; font-size: 15px; color: var(--accent); }
.document-body section { padding: 27px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.document-body h2 { font-size: 28px; margin: 6px 0 14px; }
.document-body p { white-space: normal; }
.document-body .text-link { margin-top: 15px; }
.document-body #contact .text-link { display: flex; width: fit-content; }
.policy-references { padding-left: 20px; margin: 18px 0 0; }
.policy-references li { margin: 10px 0; }
.policy-link { color: var(--accent); line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy-games { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 23px; margin-top: 23px; }
.policy-games .eyebrow { width: 100%; margin: 0; }
.contents nav { display: flex; flex-direction: column; }
.contents summary { padding-top: 0; font-size: 15px; }
.request-page { max-width: 760px; margin: 0 auto 35px; }
.request-page p + p, .request-page .button { margin-top: 18px; }
.request-page .button + p { margin-top: 18px; }
.document-layout { margin-bottom: 30px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; padding: 15px; background: var(--accent); color: white; }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
dialog { padding: 15px; border: 0; border-radius: var(--radius); width: min(96vw, 1200px); background: var(--paper); }
dialog::backdrop { background: #0a0911df; }
dialog img { width: 100%; max-height: 78vh; object-fit: contain; }
dialog p { margin-top: 10px; font-size: 14px; }
.close-dialog { display: block; margin: 0 0 15px auto; padding: 12px 20px; border: 0; background: var(--accent); color: white; border-radius: var(--radius); }

@media (min-width: 760px) {
  .shell { width: min(100% - 80px, 1200px); }
  .header { padding-top: 28px; }
  .brand-row { padding-bottom: 20px; }
  .wordmark { font-size: clamp(90px, 15.6vw, 190px); line-height: .88; letter-spacing: -.072em; width: 100%; }
  .menu-toggle { display: none; }
  .header nav, .js .header nav, .js .header nav.is-open { display: flex; flex-direction: row; gap: 40px; align-items: center; padding: 0; border-bottom: none; }
  .header nav a { padding: 21px 0; font-size: 11px; }
  .brand-dot { display: block; margin-left: auto; }
  .intro { padding: 43px 0 38px; }
  .intro h1 { max-width: 880px; }
  .intro p { font-size: 27px; }
  .intro .button { margin-top: 25px; }
  .margin-note { display: block; position: absolute; right: 0; top: 61px; width: 100px; color: var(--muted); font: 11px/1.8 Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; border-top: 1px solid var(--line); padding-top: 14px; }
  .intro:has(.margin-note) h1 { max-width: 80%; }
  .game-list { gap: 46px; }
  .game-caption { display: flex; gap: 25px; justify-content: space-between; align-items: center; }
  .game-caption .actions { flex-shrink: 0; flex-direction: column; align-items: flex-end; margin: 0; }
  .game-caption p { font-size: 22px; }
  .art-caption { left: 32px; bottom: 25px; }
  .about-preview { padding: 40px 0; margin-top: 45px; }
  .support-strip { padding: 33px; flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 40px; }
  .support-strip .button { align-self: center; flex-shrink: 0; }
  footer { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
  footer nav { margin: 0 0 0 auto; }
  footer small { width: 100%; margin-top: 0; }
  .section { padding: 40px 0; }
  .game-description p { max-width: 730px; }
  .screenshot { flex-basis: 48%; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-help .button { width: auto; }
  .email-card { padding: 33px; }
  .email-card .email-address { font-size: 23px; }
  .document-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 45px; }
  .contents { align-self: start; position: sticky; top: 20px; border-bottom: none; }
  .document-body section:first-child { padding-top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .button, .art-link { transition: filter .15s, opacity .15s; }
}
