:root {
  color-scheme: light;
  --ink: #202827;
  --muted: #57625e;
  --accent: #9e4167;
  --line: #dbe1dd;
  --paper: #fff;
  --outer: #71696c;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--outer); color: var(--ink); line-height: 1.7; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #78304f; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { max-width: 100%; display: block; }

.site { max-width: 880px; min-height: 100vh; margin: 0 auto; background: var(--paper); box-shadow: 0 16px 45px #1d252329; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 25px 48px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 1.18rem; font-weight: 700; letter-spacing: -0.05em; text-decoration: none; line-height: 1; }
.brand img { width: 30px; height: 30px; flex: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.site-nav a { color: var(--muted); font-size: 0.89rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

.page { padding: 58px 48px 82px; }
.eyebrow { color: var(--accent); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.16em; font-weight: 700; margin: 0 0 18px; }
h1, h2, h3 { letter-spacing: -0.055em; line-height: 1.27; }
h1 { font-size: clamp(2.2rem, 5vw, 3.55rem); margin: 0 0 27px; }
h2 { font-size: clamp(1.42rem, 3vw, 1.9rem); margin: 0 0 18px; }
h3 { font-size: 1.08rem; margin: 0 0 10px; }
p { margin: 0 0 1.1rem; }
.lead { font-size: 1.2rem; line-height: 1.75; max-width: 610px; }
.muted { color: var(--muted); }
.small { font-size: 0.91rem; }
.intro { max-width: 655px; padding: 24px 0 30px; }
.text-link { display: inline-block; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; line-height: 1.4; }
.text-link::after { content: " ↗"; font-size: 0.85em; }
.section { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 46px; }
.game-list { margin: 0; padding: 0; list-style: none; }
.game-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.game-list li:first-child { border-top: 0; }
.game-summary { display: flex; align-items: center; gap: 17px; }
.game-icon { width: 76px; height: 76px; object-fit: cover; border-radius: 16px; flex: none; }
.game-list h2, .game-list h3 { margin: 0 0 4px; }
.game-list p { margin: 0; }
.store-links { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-end; gap: 5px 13px; font-size: 0.9rem; }
.store-links a { white-space: nowrap; }
.info-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.info-row dt { color: var(--muted); font-size: 0.9rem; }
.info-row dd { margin: 0; }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.privacy-content { max-width: 710px; }
.privacy-content h2 { margin-top: 3rem; }
.privacy-content h3 { margin-top: 2.2rem; }
.privacy-content ul { padding-left: 1.4rem; }
.privacy-content li { margin: 0.35rem 0; }
.language-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0 34px; }
.language-nav a { font-weight: 600; }
.language-section { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 38px; scroll-margin-top: 30px; }
.notice { background: #f8edf2; border-left: 3px solid var(--accent); padding: 15px 18px; margin: 26px 0; }
.skip-link { position: absolute; left: -10000px; top: 6px; z-index: 10; background: white; padding: 8px 12px; }
.skip-link:focus { left: 8px; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 25px; padding: 27px 48px 34px; font-size: 0.82rem; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 23px 24px; gap: 22px; }
  .site-nav { gap: 7px 18px; }
  .page { padding: 38px 24px 64px; }
  .intro { padding-top: 11px; }
  .game-list li, .info-row { grid-template-columns: 1fr; }
  .game-icon { width: 66px; height: 66px; border-radius: 14px; }
  .store-links { justify-content: flex-start; }
  .site-footer { padding: 23px 24px 30px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
