@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-var400-800-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-var400-700-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #ebede4;
  --ink: #20292e;
  --muted: #505c59;
  --grape: #5a3fc0;
  --fern: #2f604b;
  --yellow: #f4c95d;
  --line: #b8c0b5;
  font-family: "Hanken Grotesk", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--grape);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--grape);
  outline-offset: 5px;
  border-radius: 3px;
}
h1,
h2,
h3,
.wordmark {
  font-family: "Bricolage Grotesque", sans-serif;
}
h1 {
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 18px 0 24px;
  font-weight: 800;
  max-width: 900px;
}
h2 {
  font-size: 1.7rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
p,
li {
  line-height: 1.65;
}
p {
  margin: 14px 0;
}
img,
svg {
  max-width: 100%;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 12px;
}
.site-header {
  max-width: 1200px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  gap: 0;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark img {
  margin-right: 10px;
}
.wordmark span {
  color: var(--grape);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-signin {
  border: 1px solid var(--ink);
  padding: 8px 18px;
  border-radius: 8px;
}
main {
  max-width: 1136px;
  margin: auto;
  padding: 0 32px 72px;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 14px;
  padding-top: 26px;
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fern);
  margin: 0;
}
.intro {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 700px;
  color: var(--muted);
}
.index-heading {
  padding: 56px 0 46px;
}
.index-heading h1 span {
  color: var(--grape);
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--grape);
  color: white;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 3px 0 #382477;
}
.button:hover {
  background: #47309d;
  text-decoration: none;
}
.text-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}
.small,
.byline {
  font-size: 14px;
  color: var(--muted);
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.game-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  background: #fafbf7;
  box-shadow: 0 4px 0 #d8decf;
}
.game-card h2 {
  margin: 16px 0 10px;
}
.game-card h2 a {
  text-decoration: none;
  color: var(--ink);
}
.game-card p {
  color: var(--muted);
  margin-bottom: 18px;
}
.game-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 58px;
  padding: 8px;
  font-size: 27px;
  font-weight: 700;
  border-radius: 9px;
  color: var(--grape);
  background: #eae4fa;
}
.game-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 64px;
}
.game-hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.6rem);
}
figure {
  margin: 28px 0;
  background: #fafbf7;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 14px;
}
figure svg {
  display: block;
  width: 100%;
  max-height: 330px;
  margin: auto;
}
figcaption {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 20px;
}
.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(0, 270px);
  gap: 64px;
  align-items: start;
}
.prose {
  font-size: 18px;
}
.prose h2 {
  margin: 40px 0 18px;
}
.prose > h2:first-child,
.prose > section:first-child h2 {
  margin-top: 0;
}
.prose li {
  margin: 10px 0;
}
.prose ul {
  padding-left: 24px;
}
.prose section {
  scroll-margin-top: 28px;
}
.practice-note {
  background: #dee8d7;
  border-radius: 12px;
  padding: 26px;
}
.practice-note h2 {
  font-size: 1.65rem;
}
.practice-note p {
  font-size: 16px;
}
.more {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 40px;
}
.more > .game-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.more > h2 {
  margin-top: 12px;
}
.article-heading {
  padding: 48px 0;
}
.article-heading h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  max-width: 850px;
}
.article-heading .intro {
  max-width: 790px;
}
.contents nav {
  display: block;
}
.contents ol {
  padding-left: 20px;
}
.contents li {
  padding-left: 4px;
  margin-bottom: 10px;
}
.contents a {
  font-size: 15px;
  min-height: 32px;
  line-height: 1.5;
}
.contents .practice-note {
  margin-top: 28px;
}
.guide-list > article {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 8px 32px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.guide-list h2 {
  grid-column: 1;
  margin: 0;
}
.guide-list h2 a {
  text-decoration: none;
  color: var(--ink);
}
.guide-list p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--muted);
  align-self: center;
}
.guide-list .text-link {
  grid-column: 2;
}
.closing {
  margin-top: 48px;
  padding: 32px;
  border-radius: 14px;
  background: #f7e5a7;
}
.closing h2 {
  margin-top: 0;
}
.closing .text-link {
  margin-left: 22px;
}
.releases {
  max-width: 970px;
}
.release {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.release time {
  font-size: 14px;
  font-weight: 700;
  padding-top: 5px;
  color: var(--muted);
}
.release h2 {
  margin: 0 0 24px;
}
.release ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.release li {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 14px;
  margin: 16px 0;
}
.change-kind {
  font-weight: 700;
  color: var(--fern);
  white-space: nowrap;
}
footer {
  border-top: 1px solid var(--line);
  padding: 40px max(32px, calc((100vw - 1072px) / 2));
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: start;
}
footer p {
  font-size: 14px;
  color: var(--muted);
}
footer nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 450px;
}
@media (max-width: 800px) {
  .site-header {
    flex-wrap: wrap;
    padding: 18px 24px;
    gap: 12px;
  }
  .site-header nav {
    gap: 20px;
    width: 100%;
    justify-content: space-between;
    font-size: 14px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .game-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .game-hero figure {
    max-width: 500px;
    width: 100%;
    margin: 0;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contents {
    grid-row: 1;
  }
  .contents nav {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
  }
  .contents .practice-note {
    display: none;
  }
  .guide-list > article {
    grid-template-columns: 1fr;
  }
  .guide-list p:not(.eyebrow),
  .guide-list .text-link {
    grid-column: 1;
    grid-row: auto;
  }
  .release {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  footer {
    flex-direction: column;
  }
  footer nav {
    justify-content: flex-start;
  }
  .index-heading {
    padding-top: 40px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 0 20px 48px;
  }
  .site-header {
    padding: 16px 20px;
  }
  .wordmark {
    font-size: 22px;
  }
  .site-header nav {
    gap: 8px;
    font-size: 12px;
  }
  .nav-signin {
    padding: 6px 12px;
  }
  .game-grid,
  .more > .game-grid {
    grid-template-columns: 1fr;
  }
  .game-card {
    padding: 24px;
  }
  .game-hero {
    padding-top: 32px;
  }
  .release li {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .closing {
    padding: 24px;
  }
  .closing .text-link {
    margin: 12px 0 0;
    display: flex;
  }
  figure {
    padding: 16px;
  }
  .prose {
    font-size: 17px;
  }
  .guide-list > article {
    padding: 26px 0;
  }
  .article-heading {
    padding: 32px 0;
  }
  .game-hero h1 {
    font-size: 2.3rem;
  }
  footer {
    padding: 32px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .button,
  .game-card,
  .practice-note,
  .closing {
    border: 1px solid CanvasText;
  }
  .button {
    color: LinkText;
  }
  .game-mark {
    border: 1px solid CanvasText;
  }
}

.game-mark { width: 76px; height: 76px; padding: 6px; background: #EBEDE4; }
.game-logo { display: block; border-radius: 20%; background: #EBEDE4; flex-shrink: 0; }
.game-heading { display: flex; align-items: center; gap: 18px; }
.game-logo-hero { padding: 44px; text-align: center; }
.game-logo-hero img { margin: auto; }
.game-logo-hero p { font-size: 20px; }
.previous-name { color: var(--muted); font-size: 14px; font-style: italic; margin-top: 0; }
