:root {
  --leaf: #3d6e57;
  --leaf-ink: #2a4d3c;
  --peach: #e07a5f;
  --canvas: #f6f1e8;
  --card: #fffcf8;
  --ink: #242429;
  --muted: #5c5752;
  --line: rgba(36, 36, 41, 0.1);
  --radius: 18px;
  --shadow: 0 18px 40px rgba(61, 110, 87, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --leaf: #85c7a3;
    --leaf-ink: #b6e0c8;
    --peach: #f0a48f;
    --canvas: #1e1e21;
    --card: #2e2e31;
    --ink: #f4f4f6;
    --muted: #b8b5b0;
    --line: rgba(244, 244, 246, 0.12);
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "SF Pro Text", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--leaf); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  font-size: 18px;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--leaf); }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 20px 0 56px;
  align-items: center;
  min-height: unset;
}
.kicker {
  color: var(--peach);
  font-size: 14px;
  font-weight: 700;
}
h1 {
  margin: 10px 0 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.lead {
  margin: 14px 0 0;
  max-width: 28em;
  font-size: 18px;
  color: var(--muted);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-fill { background: var(--leaf); color: #fff; }
.btn-fill:hover { background: var(--leaf-ink); text-decoration: none; color: #fff; }
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { text-decoration: none; }

.hero-art { margin: 0; display: flex; justify-content: center; }
.hero-art img {
  display: block;
  width: min(280px, 72%);
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-art img.ipad {
  width: min(520px, 100%);
  border-radius: 20px;
}

.tablet {
  padding: 0 0 72px;
}
.tablet h2 { margin: 0; font-size: 32px; letter-spacing: -0.03em; }
.tablet p {
  margin: 10px 0 20px;
  color: var(--muted);
  max-width: 34em;
}
.tablet figure { margin: 0; }
.tablet img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.shots {
  padding: 0 0 64px;
}
.shot-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.shot-row img {
  scroll-snap-align: start;
  width: 180px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.shot-row img.tablet-shot { width: 220px; }
.shot-row img.wide { width: 320px; }

.games { padding: 8px 0 72px; }
.games h2 { margin: 0 0 20px; font-size: 32px; letter-spacing: -0.03em; }
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.cell {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
}
.cell.leaf { background: var(--leaf); color: var(--canvas); }
.cell.leaf p { color: rgba(246, 241, 232, 0.88); }
.cell.shot {
  padding: 18px;
  display: flex;
  justify-content: center;
  background: #2a4d3c;
}
.cell.shot img {
  display: block;
  width: min(340px, 88%);
  height: auto;
  border-radius: 16px;
}
.cell h3 { margin: 0; font-size: 22px; }
.cell p { margin: 8px 0 0; color: var(--muted); }

.trust {
  background: var(--leaf);
  color: var(--canvas);
  padding: 56px 0;
}
.trust h2 { margin: 0; font-size: 32px; letter-spacing: -0.03em; }
.trust p { margin: 14px 0 0; max-width: 36em; color: rgba(246, 241, 232, 0.9); font-size: 18px; }
.trust a { color: #f4c7b8; }

.soon { padding: 64px 0; }
.soon h2 { margin: 0; font-size: 32px; }
.soon p { margin: 12px 0 0; color: var(--muted); max-width: 34em; }

.page { padding: 28px 0 80px; max-width: 680px; }
.page h1 { font-size: 36px; }
.page h2 { margin-top: 32px; font-size: 22px; }
.page p, .page li { color: var(--muted); font-size: 17px; }
.page ul { padding-left: 1.2em; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.footer a { color: var(--muted); }

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.85fr;
    gap: 48px;
    padding: 16px 0 72px;
  }
  h1 { font-size: 56px; }
  .hero-art img { width: 320px; }
  .hero-art img.ipad { width: 100%; }
  .grid { grid-template-columns: 1.05fr 0.95fr; }
  .cell.shot { grid-row: span 2; min-height: 420px; }
  .shot-row img { width: 210px; }
  .shot-row img.wide { width: 380px; }
  .shot-row img.tablet-shot { width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-art img, .shot-row img, .tablet img { box-shadow: none; }
}
