*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --line: #d2d2d7;
  --fill: #f2f2f7;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.top {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.35rem 1.5rem 0;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 14ch;
}

.letter {
  margin-top: 1.15rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.games {
  max-width: 980px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.games-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.games-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.games-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.game-card {
  background: var(--card);
  border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.game-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.game-card h3 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.game-copy {
  margin: 0.7rem 0 1.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 980px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.play-btn:hover {
  background: #0077ed;
}

.foot {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

html.is-embed,
html.is-embed body {
  min-height: 0;
  background: #ffffff;
}

html.is-embed .top {
  padding-top: 0.75rem;
}

html.is-embed .hero {
  padding: 1.5rem 1.25rem 1.5rem;
}

html.is-embed .games {
  margin-bottom: 1.5rem;
}

html.is-embed .foot {
  padding-bottom: 1rem;
}

@media (max-width: 860px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

  .games-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }
}
