:root {
  color-scheme: dark;
  --space: #0d1018;
  --panel: #171b26;
  --line: #2a2e3b;
  --muted: #a4a9ba;
  --white: #f5f5ee;
  --acid: #bdff45;
  --purple: #c3b0fb;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--white);
  background: var(--space);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--acid); color: var(--space); }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 15px; background: var(--acid); color: var(--space); z-index: 10; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 24px; letter-spacing: -1px; font-weight: 800; white-space: nowrap; }
.brand img { width: 43px; height: 43px; }
.brand em { color: var(--acid); font-style: normal; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 600; }
.nav-link { color: #b7bbca; padding-block: 12px; }
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }
.nav-link.active::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--acid); border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.play-link { display: flex; align-items: center; gap: 10px; padding: 11px 17px; border: 1px solid #454b3b; border-radius: 8px; color: var(--acid); }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; min-height: 610px; position: relative; padding-block: 45px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 600 10px/1.5 'Courier New', monospace; letter-spacing: 1.7px; text-transform: uppercase; color: var(--acid); }
.status-dot { height: 6px; width: 6px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 12px #bdff4550; }
.hero h1 { font-size: clamp(52px, 5.8vw, 82px); font-weight: 850; letter-spacing: -.065em; line-height: 1.03; margin: 24px 0; }
.hero h1 span { color: var(--acid); }
.hero-copy > p { max-width: 410px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; flex-wrap: wrap; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 50px; padding: 14px 23px; background: var(--acid); color: var(--space); border: 0; border-radius: 8px; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s; }
.cta:hover { background: #ceff7e; transform: translateY(-2px); }
.quiet-link { font-size: 12px; color: #d4d6df; display: inline-flex; align-items: center; gap: 8px; }
.quiet-link:hover { color: var(--acid); }
.hero-footnote { display: flex; align-items: center; gap: 8px; color: #9aa1b3; font: 11px 'Courier New', monospace; margin-top: 26px; }
.hero-footnote .icon { width: 14px; height: 14px; }
.hero-art { position: relative; min-width: 0; }
.hero-art > img { display: block; width: 110%; max-width: none; height: auto; margin-left: -5%; }
.orbit-label { position: absolute; padding: 10px 14px; border: 1px solid #3a3f4c; background: #171c27ed; box-shadow: 0 10px 30px #0003; border-radius: 9px; display: flex; align-items: center; gap: 10px; font-size: 11px; }
.orbit-label .icon { color: var(--acid); width: 19px; }
.orbit-label small { display: block; color: var(--muted); font: 9px 'Courier New', monospace; margin-top: 5px; }
.label-top { top: 13%; right: 3%; transform: rotate(5deg); }
.label-bottom { bottom: 14%; left: 4%; transform: rotate(-5deg); }
.benefit-strip { border-block: 1px solid var(--line); background: #121620; }
.benefit-inner { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.benefit-inner span { display: flex; align-items: center; gap: 12px; color: #c2c6d3; font-size: 12px; }
.benefit-inner .icon { width: 19px; color: var(--purple); }
.benefit-inner .strip-note { font: 10px 'Courier New', monospace; color: #9aa1b3; }
.catalog { padding-block: 78px; }
.section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-top h2, .faq-heading h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.055em; margin: 10px 0 0; line-height: 1.15; }
.section-top > p { font-size: 12px; color: var(--muted); margin: 0 0 5px; }
.catalog-tools { margin: 30px 0 24px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); padding: 10px 15px; min-height: 42px; color: #aeb4c6; background: transparent; border-radius: 7px; font-size: 12px; }
.filter .icon { width: 16px; height: 16px; }
.filter[aria-pressed="true"] { color: var(--space); background: var(--white); border-color: var(--white); font-weight: 700; }
.filter:hover:not([aria-pressed="true"]) { border-color: #81889c; color: var(--white); }
.search { position: relative; width: 270px; flex-shrink: 0; }
.search .icon { position: absolute; top: 13px; left: 13px; color: var(--muted); width: 17px; height: 17px; }
.search input { width: 100%; min-height: 43px; padding: 10px 14px 10px 40px; border: 1px solid var(--line); border-radius: 7px; background: #141822; color: var(--white); font-size: 12px; }
.search input::placeholder { color: #959cae; }
.catalog-status { color: var(--muted); font: 10px 'Courier New', monospace; margin-block: 0 0 16px; }
.featured-game { display: grid; grid-template-columns: 1fr 1fr; min-height: 330px; border: 1px solid #343746; border-radius: 14px; overflow: hidden; background: var(--panel); }
.game-scene { position: relative; overflow: hidden; display: grid; place-items: center; background: #c7b6f3; isolation: isolate; min-height: 310px; }
.scene-grid { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#25144b10 1px, transparent 1px), linear-gradient(90deg,#25144b10 1px,transparent 1px); background-size: 40px 40px; }
.game-scene::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: #dfff7d; z-index: -1; }
.game-scene::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: 26px; height: 12px; border-top: 2px solid #372644; border-bottom: 2px dashed #37264460; transform: rotate(-6deg); z-index: -1; }
.game-scene img { width: 255px; height: auto; filter: drop-shadow(12px 13px 0 #442b5c25); transform: rotate(-8deg); transition: transform .3s; }
.featured-game:hover .game-scene img { transform: rotate(-4deg) translateY(-6px); }
.scene-badge { position: absolute; top: 20px; left: 20px; display: flex; align-items: center; gap: 6px; background: var(--space); color: var(--white); border-radius: 5px; padding: 8px 10px; font: 700 9px 'Courier New', monospace; letter-spacing: 1px; }
.scene-badge .icon { width: 12px; height: 12px; color: var(--acid); }
.scene-type { position: absolute; bottom: 21px; right: 22px; color: #2f2145; font: 700 10px 'Courier New', monospace; letter-spacing: 2px; }
.game-details { padding: 35px 38px; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.game-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--purple); font: 10px 'Courier New', monospace; }
.game-meta span + span::before { content: '/'; margin-right: 8px; color: #9299ab; }
.game-details h3 { font-size: 39px; margin: 14px 0 2px; letter-spacing: -.05em; }
.game-subtitle { color: var(--purple); font-size: 12px; margin: 0; }
.game-description { color: #aeb4c3; font-size: 13px; line-height: 1.8; max-width: 390px; margin-block: 15px 22px; }
.game-bottom { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.game-bottom .cta { min-height: 44px; padding: 12px 18px; gap: 24px; }
.game-device { color: #a1a9bc; font: 10px 'Courier New', monospace; }
.empty-state { text-align: center; padding: 42px 20px; background: var(--panel); border: 1px dashed #555d72; border-radius: 12px; }
.empty-state p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.empty-state button { margin-top: 12px; }
.next-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 35px 16px; }
.next-heading h3 { font-size: 14px; font-weight: 600; margin: 0; }
.next-heading > span { font: 9px 'Courier New', monospace; letter-spacing: 1.5px; color: #a1a9bc; }
.world-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.world { background: #131722; padding: 22px; border: 1px solid var(--line); border-radius: 11px; min-width: 0; }
.world-top { display: flex; justify-content: space-between; align-items: center; }
.world-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #c3b0fb40; background: #c3b0fb10; border-radius: 11px; color: var(--purple); }
.world-icon .icon { width: 25px; height: 25px; }
.world:nth-child(2) .world-icon { color: #ffaa92; border-color: #ffaa9240; background: #ffaa9210; }
.world:nth-child(3) .world-icon { color: #84d4e3; border-color: #84d4e340; background: #84d4e310; }
.soon { font: 9px 'Courier New', monospace; color: #a9b0c1; padding: 5px 7px; border: 1px solid #353c4d; border-radius: 4px; }
.world h4 { font-size: 18px; margin: 22px 0 9px; letter-spacing: -.5px; }
.world p { color: #a4acbf; font-size: 12px; line-height: 1.7; margin: 0; }
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; border-block: 1px solid var(--line); padding-block: 46px; }
.manifesto h2 { font-size: clamp(27px,3vw,39px); letter-spacing: -.05em; line-height: 1.15; margin: 12px 0 0; }
.manifesto h2 span { color: var(--purple); }
.manifesto p { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 0 0 17px; max-width: 470px; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding-block: 76px; }
.faq-heading p { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 280px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 21px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--acid); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: -3px 32px 22px 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.faq-list details a { color: var(--acid); text-decoration: underline; }
.site-footer { border-top: 1px solid var(--line); background: #0a0d14; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 30px; }
.site-footer .brand { font-size: 19px; }
.site-footer .brand img { width: 32px; height: 32px; }
.footer-message { font-size: 11px; color: #a1a9bc; line-height: 1.8; }
.footer-top { font: 10px 'Courier New', monospace; display: flex; align-items: center; gap: 10px; color: #aab1c2; }
.footer-top .icon { width: 15px; height: 15px; transform: rotate(-90deg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .site-header nav { gap: 20px; }
  .hero { min-height: 540px; }
  .hero h1 { font-size: 62px; }
  .hero-copy > p { font-size: 14px; }
  .orbit-label { padding: 8px 10px; font-size: 10px; }
  .label-top { right: 0; top: 5%; }
  .label-bottom { bottom: 4%; }
  .benefit-inner .strip-note { display: none; }
  .game-details { padding: 28px; }
  .catalog-tools { align-items: stretch; }
  .search { width: 230px; }
  .faq { gap: 40px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 15px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .site-header nav { gap: 12px; }
  .nav-link { display: none; }
  .site-header nav > .blog-nav-link { display: inline-flex; }
  .play-link { padding: 10px; font-size: 11px; gap: 6px; }
  .play-link .icon { width: 16px; height: 16px; }
  .hero { grid-template-columns: 1fr; padding-block: 44px 12px; min-height: 0; }
  .hero h1 { font-size: clamp(46px,10vw,68px); margin-block: 22px; }
  .hero h1 br:last-of-type { display: none; }
  .hero-copy > p { max-width: 390px; font-size: 14px; }
  .hero-actions { gap: 18px; margin-top: 25px; }
  .hero-footnote { font-size: 10px; margin-top: 20px; }
  .hero-art { width: min(100%,430px); margin: 0 auto; }
  .hero-art > img { width: 100%; margin: 0; }
  .label-top { right: 0; top: 16%; }
  .label-bottom { left: 0; bottom: 17%; }
  .benefit-inner { min-height: 64px; gap: 10px; }
  .benefit-inner span { font-size: 10px; gap: 7px; }
  .benefit-inner .icon { width: 15px; height: 15px; }
  .catalog { padding-block: 48px; }
  .section-top { display: block; }
  .section-top > p { margin-top: 15px; }
  .catalog-tools { flex-direction: column-reverse; gap: 16px; margin-top: 24px; }
  .search { width: 100%; }
  .filters { gap: 7px; }
  .filter { padding-inline: 12px; font-size: 11px; }
  .featured-game { grid-template-columns: 1fr; }
  .game-scene { min-height: 270px; }
  .game-scene::before { width: 210px; height: 210px; }
  .game-scene img { width: 215px; }
  .game-details { padding: 26px; }
  .game-details h3 { font-size: 34px; }
  .next-heading { gap: 12px; }
  .next-heading > span { font-size: 8px; text-align: right; }
  .world-grid { grid-template-columns: 1fr; gap: 12px; }
  .world { padding: 20px; }
  .world h4 { margin-top: 16px; }
  .manifesto { grid-template-columns: 1fr; gap: 24px; padding-block: 36px; }
  .faq { grid-template-columns: 1fr; gap: 20px; padding-block: 48px; }
  .faq-heading p { max-width: none; }
  .footer-inner { flex-wrap: wrap; gap: 18px; }
  .footer-message { width: 100%; order: 3; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .brand { font-size: 19px; }
  .play-link { padding: 9px 8px; }
  .benefit-inner span { font-size: 9px; gap: 4px; }
  .benefit-inner .icon { width: 13px; }
  .orbit-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Shared concise gameplay instructions. */
.game-instructions { grid-column: 1 / -1; min-width: 0; margin-block: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.game-instructions > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.memory-shell > .game-instructions { margin-block: 0; }
[role="status"]:empty { display: none; }
@media (max-width: 650px) { .game-instructions { padding: 16px; } }

/* Homepage institutional information and contact. */
.home-footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 36px; padding-block: 36px; align-items: start; }
.home-footer-grid > * { min-width: 0; }
.home-footer-brand .footer-message { margin: 16px 0; }
.home-footer-copyright { color: var(--muted); font-size: 12px; }
.home-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.home-footer-links > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; overflow-wrap: anywhere; }
.home-footer-links .footer-top { margin-top: 8px; font-size: 10px; }
.home-footer-contact h2 { margin: 0 0 12px; font-size: 15px; }
.home-footer-contact p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.home-footer-contact a { display: inline-block; padding-block: 8px; color: var(--acid); text-decoration: underline; }
.home-footer a:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; border-radius: 3px; }
@media (max-width: 900px) {
  .home-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .home-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .home-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
