:root {
  color-scheme: light;
  --background: #ffffff;
  --ink: #202522;
  --muted: #68716b;
  --accent: #2b5946;
  --line: #e5e9e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font-size: 1rem; line-height: 1.8; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #dceae2; color: var(--ink); }
.page-width { width: min(1000px, calc(100% - 96px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  padding: .6rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 600; letter-spacing: .035em; }
.brand-mark { display: block; width: 32px; height: 32px; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { padding-block: 10px; font-size: .875rem; color: var(--muted); }
nav a:hover { color: var(--accent); }
.menu-toggle { display: none; }

.hero { padding-block: 116px 124px; text-align: center; }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .2em; color: var(--accent); }
h1 { margin-top: 24px; font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.4; }
.hero-description { margin-top: 19px; color: var(--muted); font-size: 1.0625rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  margin-top: 34px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: white;
  font-size: .875rem;
  transition: background .15s;
}
.button:hover { background: var(--accent); border-color: var(--accent); }

.content-section {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 44px;
  padding-block: 52px;
  border-top: 1px solid var(--line);
}
h2 { font-size: 1rem; line-height: 1.8; font-weight: 600; }
.section-content { min-width: 0; color: var(--muted); }
.game-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
h3 { color: var(--ink); font-size: 1.125rem; line-height: 1.65; font-weight: 500; }
.game-status { color: var(--accent); font-size: .875rem; white-space: nowrap; }
.about-copy p + p { margin-top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 17px; padding-bottom: 2px; border-bottom: 1px solid #b1c1b7; color: var(--accent); font-size: .9375rem; }
.text-link:hover { border-bottom-color: var(--accent); }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 28px 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.site-footer a { padding-block: 6px; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .page-width { width: calc(100% - 48px); }
  .site-header { min-height: 82px; padding-block: 16px; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 30px; height: 30px; }
  nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
  body.js-enabled .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; height: 44px; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--ink); }
  .menu-toggle span { width: 18px; height: 1px; background: currentColor; }
  body.js-enabled nav:not(.is-open) { display: none; }
  .hero { padding-block: 84px 86px; }
  h1 { font-size: clamp(1.8rem, 6.3vw, 2.75rem); margin-top: 22px; letter-spacing: -.04em; }
  .hero-description { margin-top: 18px; font-size: 1rem; }
  .button { margin-top: 28px; }
  .content-section { grid-template-columns: 1fr; gap: 22px; padding-block: 34px; }
  .game-heading { gap: 10px; margin-bottom: 10px; }
  h3 { font-size: 1rem; }
  .site-footer { padding-block: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
