:root {
  color-scheme: light;
  --paper: #faf8f1;
  --ink: #173e3a;
  --muted: #526660;
  --mint: #bde2ce;
  --coral: #f7755f;
  --mist: #e7eff4;
  --line: #d7dfd5;
  --width: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.7; }
main { min-height: 50vh; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .23em; }
button, input, textarea { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -.045em; word-break: keep-all; overflow-wrap: break-word; }
h1 { font-size: clamp(48px, 5.1vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 750; }
h3 { font-size: 24px; font-weight: 750; }
p { word-break: keep-all; overflow-wrap: break-word; }
::selection { color: var(--ink); background: var(--mint); }
:focus-visible { outline: 3px solid #226e64; outline-offset: 5px; border-radius: 4px; }
.wrap { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 12px 20px; background: var(--ink); color: white; border-radius: 12px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
  width: min(var(--width), calc(100% - 64px));
  min-height: 112px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; text-decoration: none; }
.wordmark > svg { width: 38px; height: 42px; flex: 0 0 38px; }
.wordmark-text { display: flex; flex-direction: column; font-size: 22px; font-weight: 700; letter-spacing: -.065em; line-height: .98; }
.wordmark-text strong { font-weight: 850; }
.wordmark-text > span { font-size: 21px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a, .language-switch { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; font-size: 15px; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.language-switch { padding-inline: 15px; border: 1px solid var(--line); border-radius: 100px; font-size: 13px; letter-spacing: .035em; }
.language-switch:hover { background: white; border-color: var(--ink); }

.eyebrow { margin-bottom: 20px; font-size: 12px; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.lead { max-width: 640px; font-size: 19px; color: var(--muted); line-height: 1.8; }
.subtle { color: var(--muted); }
.accent { color: var(--ink); background: linear-gradient(transparent 73%, var(--mint) 73%, var(--mint) 94%, transparent 94%); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 12px 25px; border: 1px solid var(--ink); border-radius: 100px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 750; text-decoration: none; text-align: center; line-height: 1.5; transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
.button:hover { background: #285a50; border-color: #285a50; }
.button.secondary { color: var(--ink); background: transparent; }
.button.secondary:hover { background: var(--mint); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 15px; font-weight: 750; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.email-link { overflow-wrap: anywhere; word-break: normal; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; }

.hero { padding-block: 86px 72px; }
.hero h1 { max-width: 920px; }
.hero .lead { margin-top: 28px; max-width: 680px; }
.hero .button { margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: 13px; }
.featured { padding-block: 22px 88px; }
.section-heading { margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 620px; }
.feature-art { display: block; overflow: hidden; border-radius: 30px; background: var(--mint); }
.feature-art img { width: 100%; }
.feature-caption { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 2px 0; }
.game-heading { display: flex; align-items: center; gap: 17px; min-width: 0; }
.app-icon { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 17px; }
.game-heading h3 { font-size: 25px; }
.game-heading p { margin-top: 5px; color: var(--muted); font-size: 15px; }
.feature-caption > .text-link { flex-shrink: 0; }
.about { padding-block: 80px 90px; border-top: 1px solid var(--line); }
.about h2 { max-width: 750px; }
.about > p:not(.eyebrow) { max-width: 710px; margin-top: 24px; color: var(--muted); font-size: 19px; line-height: 1.9; }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 38px 40px; margin-bottom: 80px; border-radius: 24px; background: var(--mint); }
.contact-strip h2 { font-size: 28px; }
.contact-strip p { margin-top: 8px; }
.contact-strip > .button { flex-shrink: 0; }
.contact-strip .button.secondary:hover { background: var(--paper); }

.site-footer { border-top: 1px solid var(--line); padding-block: 38px 28px; }
.site-footer > .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.footer-brand { font-size: 17px; font-weight: 750; }
.footer-brand p { margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 24px; max-width: 550px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-meta p + p { margin-top: 3px; }

.game-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-block: 65px 80px; }
.game-copy h1 { font-size: clamp(48px, 5.1vw, 72px); }
.game-copy .lead { margin-top: 24px; }
.status-chip { display: table; margin-top: 25px; padding: 6px 13px; border-radius: 100px; background: var(--mint); font-size: 13px; font-weight: 650; }
.game-copy .button { margin-top: 25px; }
.game-visual { display: flex; justify-content: center; align-items: center; min-width: 0; }
.mascot { width: 100%; max-width: 480px; }
.game-story { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); align-items: center; gap: 100px; padding-block: 64px 96px; border-top: 1px solid var(--line); }
.phone-shot { width: 100%; max-width: 330px; margin-inline: auto; }
.phone-shot img { width: 100%; border-radius: 28px; border: 1px solid var(--line); }
.phone-shot figcaption { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; }
.story-copy > p { margin-top: 22px; color: var(--muted); }
.story-copy > h3 { margin-top: 32px; }
.steps { margin: 28px 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding-block: 5px 18px; }
.steps li > span { color: var(--muted); font-size: 15px; font-weight: 750; margin-top: 2px; }
.steps li strong { color: var(--ink); }

.page-intro { padding-block: 72px 52px; }
.page-intro h1 { font-size: clamp(40px, 4.2vw, 58px); }
.page-intro .lead { max-width: 760px; margin-top: 24px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 60px; padding-bottom: 88px; }
.toc { position: sticky; top: 28px; padding-block: 6px 20px; }
.toc nav { display: flex; flex-direction: column; align-items: flex-start; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 9px; font-size: 14px; color: var(--muted); text-decoration: none; line-height: 1.6; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.prose { min-width: 0; max-width: 800px; }
.prose section { padding-block: 26px 30px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.prose h2 { margin-bottom: 22px; font-size: 26px; letter-spacing: -.035em; }
.prose h3 { margin-block: 26px 12px; font-size: 20px; }
.prose p, .prose li { color: #3f544f; line-height: 1.9; }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 23px; margin-block: 17px; }
.prose li + li { margin-top: 9px; }
.prose a { color: var(--ink); overflow-wrap: anywhere; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 24px; font-size: 14px; line-height: 1.7; }
.prose th, .prose td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 110px; }
.prose th { background: #e7eee4; font-weight: 750; }
.prose td { color: #3f544f; }
.prose .notice { margin-block: 26px; }
.notice { padding: 22px 25px; border-radius: 18px; background: #e7eee4; }
.notice p { font-size: 15px; line-height: 1.85; }
.notice p + p { margin-top: 12px; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; padding-bottom: 96px; }
.support-main { min-width: 0; }
.support-main h2 { font-size: 28px; margin-bottom: 18px; }
.support-main h3 { font-size: 21px; margin-top: 32px; margin-bottom: 14px; }
.support-main > p { margin-bottom: 18px; color: var(--muted); }
.support-main > section + section { margin-top: 40px; }
.support-main .notice { margin-block: 30px; }
.support-links { display: flex; flex-direction: column; margin-block: 24px; border-top: 1px solid var(--line); }
.support-links a { display: flex; align-items: center; min-height: 56px; padding-block: 14px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; font-weight: 650; }
.support-links a:hover { text-decoration: underline; }
.contact-card { padding: 30px; border-radius: 24px; background: var(--mint); }
.contact-card h2, .contact-card h3 { font-size: 24px; }
.contact-card p { margin-top: 16px; font-size: 15px; }
.contact-card .email-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; margin-top: 16px; font-size: 15px; font-weight: 750; }
.contact-card .button { margin-top: 24px; }

@media (max-width: 900px) {
  .site-header { gap: 24px; }
  .main-nav { gap: 24px; }
  .game-hero { gap: 28px; }
  .game-story { gap: 48px; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .article-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 32px; }
  .support-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; }
  .contact-card { padding: 25px; }
  .site-footer > .wrap { grid-template-columns: 1fr; gap: 16px; }
  .footer-links { justify-content: flex-start; max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .site-header { width: calc(100% - 40px); }
  h1 { font-size: 44px; line-height: 1.2; }
  h2 { font-size: 31px; }
  .site-header { grid-template-columns: 1fr auto; gap: 12px 20px; padding-block: 19px 8px; min-height: 0; }
  .wordmark > svg { width: 32px; height: 38px; flex-basis: 32px; }
  .wordmark-text { font-size: 20px; }
  .wordmark-text > span { font-size: 19px; }
  .language-switch { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 10px; }
  .main-nav a { font-size: 14px; padding-inline: 8px; }
  .main-nav a:first-child { padding-left: 0; }
  .main-nav a:last-child { padding-right: 0; }
  .eyebrow { margin-bottom: 17px; font-size: 11px; letter-spacing: .13em; }
  .lead { font-size: 17px; line-height: 1.85; }
  .hero { padding-block: 49px 49px; }
  .hero .lead { margin-top: 22px; }
  .hero .button { margin-top: 25px; }
  .featured { padding-block: 14px 54px; }
  .section-heading { margin-bottom: 24px; }
  .feature-art { border-radius: 20px; }
  .feature-caption { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 20px; }
  .game-heading { gap: 13px; }
  .app-icon { width: 54px; height: 54px; flex-basis: 54px; border-radius: 14px; }
  .game-heading h3 { font-size: 23px; }
  .game-heading p { font-size: 14px; }
  .feature-caption > .text-link { align-self: flex-end; }
  .about { padding-block: 49px 56px; }
  .about > p:not(.eyebrow) { margin-top: 20px; font-size: 17px; }
  .contact-strip { align-items: flex-start; flex-direction: column; gap: 24px; padding: 28px 24px; margin-bottom: 52px; border-radius: 21px; }
  .contact-strip h2 { font-size: 27px; }
  .contact-strip p { font-size: 15px; }
  .site-footer { padding-block: 28px 25px; }
  .footer-links { gap: 0 19px; }
  .footer-links a { font-size: 12px; }
  .footer-meta { font-size: 11px; }
  .game-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 48px 38px; }
  .game-copy h1 { font-size: 44px; }
  .game-copy .lead { margin-top: 20px; }
  .game-visual { max-width: 360px; margin-inline: auto; }
  .game-story { grid-template-columns: 1fr; gap: 38px; padding-block: 44px 56px; }
  .phone-shot { max-width: 280px; }
  .story-copy h2 { font-size: 30px; }
  .story-copy > p { margin-top: 19px; }
  .page-intro { padding-block: 48px 35px; }
  .page-intro h1 { font-size: 38px; }
  .page-intro .lead { margin-top: 20px; }
  .article-layout { grid-template-columns: 1fr; gap: 16px; padding-bottom: 54px; }
  .toc { position: static; padding-block: 0 18px; }
  .toc nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .toc a { font-size: 13px; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 20px; }
  .prose section { padding-block: 25px; }
  .prose p, .prose li { font-size: 15px; }
  .prose th, .prose td { padding: 11px; }
  .notice { padding: 20px; border-radius: 16px; }
  .support-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 56px; }
  .support-layout > .contact-card { grid-row: 1; }
  .support-main h2 { font-size: 26px; }
  .contact-card { padding: 26px; }
}

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