:root {
  color-scheme: light;
  --sky: #8bd0f2;
  --grass: #73bd62;
  --pink: #e9799a;
  --ink: #3e2d34;
  --muted: #6c6065;
  --paper: #ffffff;
  --line: #dfd8da;
  --soft: #f7f5f6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: #267e49; }
a:hover { color: #175b32; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--paper);
  z-index: 10;
}

.skip-link:focus { left: 8px; }

.site-header {
  border-bottom: 1px solid rgba(62, 45, 52, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.nav,
.content,
.footer-inner {
  width: min(100% - 32px, 1040px);
  margin-inline: auto;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img { width: 38px; height: 38px; border-radius: 8px; }

.nav-links { display: flex; flex-wrap: wrap; gap: 18px; }
.nav-links a { color: var(--ink); font-size: 0.94rem; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  min-height: min(720px, calc(100svh - 64px));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: var(--sky);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 42%;
  border-radius: 50% 50% 0 0;
  background: var(--grass);
}

.hero-inner {
  width: min(100% - 32px, 1040px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
  padding: 64px 0 150px;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p { max-width: 560px; font-size: clamp(1.1rem, 2.4vw, 1.45rem); }

.hero-visual {
  width: min(100%, 390px);
  justify-self: center;
  border-radius: 22%;
  box-shadow: 0 24px 60px rgba(62, 45, 52, 0.24);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.button:hover { color: var(--ink); background: var(--soft); }

.section { padding: 72px 0; }
.section.alt { background: var(--soft); }
.section h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: 0; }
.section-lead { max-width: 720px; color: var(--muted); font-size: 1.1rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature { padding: 24px; background: var(--paper); }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.showcase .feature-grid { grid-template-columns: 1fr; }

.gameplay-shot {
  display: block;
  width: min(100%, 340px);
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(62, 45, 52, 0.16);
}

.page-main { padding: 56px 0 88px; }
.page-main h1 { margin: 0 0 8px; font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: 0; line-height: 1.05; }
.page-main h2 { margin-top: 40px; font-size: 1.45rem; letter-spacing: 0; }
.page-main h3 { margin-top: 28px; font-size: 1.08rem; }
.page-main p, .page-main li { max-width: 780px; }
.eyebrow { color: #267e49; font-weight: 700; }
.meta { color: var(--muted); }

.faq { border-top: 1px solid var(--line); margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin-bottom: 0; color: var(--muted); }

.notice {
  margin: 28px 0;
  padding: 18px;
  border-left: 4px solid var(--pink);
  background: var(--soft);
}

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .nav { align-items: flex-start; padding: 12px 0; }
  .nav-links { justify-content: flex-end; gap: 10px 14px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 44px; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-visual { width: min(68vw, 300px); order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
}

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