:root {
  --paper: #fbfaf5;
  --ink: #171b26;
  --muted: #5f6675;
  --line: #ddd8cc;
  --sky: #49a6ff;
  --coral: #ff6d5e;
  --lime: #a8df52;
  --yellow: #ffd166;
  --mint: #2cc6a3;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 245, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  color: var(--yellow);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav .nav-button {
  background: var(--ink);
  color: var(--white);
  padding-inline: 16px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 64px) clamp(36px, 5vw, 72px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 82px;
  line-height: 0.98;
  margin-bottom: 22px;
}

h2 {
  font-size: 46px;
  line-height: 1.06;
  margin-bottom: 16px;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text {
  color: var(--muted);
  font-size: 21px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  padding: 11px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--lime);
  color: var(--ink);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button:hover,
.button:focus-visible,
.nav-button:hover,
.nav-button:focus-visible {
  transform: translateY(-1px);
}

.hero-art {
  margin: 0;
}

.hero-art img {
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 12px 12px 0 var(--yellow);
  display: block;
  height: auto;
  width: 100%;
}

.section {
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 700px;
}

.game-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.game-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 220px;
  padding: 24px;
}

.game-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-icon {
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 28px;
  width: 54px;
}

.card-icon.sky {
  background: var(--sky);
}

.card-icon.coral {
  background: var(--coral);
}

.card-icon.lime {
  background: var(--lime);
}

.studio-band {
  align-items: start;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 420px);
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 64px);
}

.studio-copy {
  max-width: 720px;
}

.studio-copy p:not(.eyebrow) {
  color: #e5e1d8;
  font-size: 18px;
}

.contact-panel {
  background: var(--white);
  border: 2px solid var(--yellow);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 8px;
  padding: 24px;
}

.contact-panel a {
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-top: 10px;
  text-transform: uppercase;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 64px);
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

.policy-page {
  padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.policy-hero {
  border-bottom: 2px solid var(--ink);
  margin-bottom: 34px;
  max-width: 900px;
  padding-bottom: 24px;
}

.policy-hero h1 {
  font-size: 64px;
  margin-bottom: 10px;
}

.policy-hero p:last-child {
  color: var(--muted);
  font-weight: 700;
}

.policy-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 900px;
  padding: clamp(24px, 5vw, 48px);
}

.policy-content h2 {
  font-size: 24px;
  margin-bottom: 8px;
  margin-top: 28px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--muted);
}

.policy-content a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .studio-band {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 560px;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 38px;
  }

  .policy-hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-nav a {
    font-size: 14px;
    padding-inline: 10px;
  }

  .brand-name {
    font-size: 16px;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 32px;
  }

  .policy-hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-art img {
    box-shadow: 8px 8px 0 var(--yellow);
  }
}
