:root {
  --color-bg: #FFF6E8;
  --color-ink: #1D1B22;
  --color-muted: #3B3842;
  --color-blue: #2F6FD6;
  --color-blue-dark: #163F8C;
  --color-link: #2459B8;
  --color-pink: #F7A8C0;
  --color-tan: #FCE3C4;
  --color-sky: #CFE0FA;
  --color-yellow: #FFE3A3;
  --color-card-bg: #FFFFFF;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito', 'Trebuchet MS', sans-serif;
  background: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 800;
}

a {
  color: var(--color-link);
}

a:hover {
  color: var(--color-blue-dark);
}

img {
  max-width: 100%;
}

/* Header */

.site-header {
  padding: 0 56px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-ink);
}

.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
}

.nav-logo-text {
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.5px;
  line-height: 1;
}

.nav-logo-text .accent {
  color: var(--color-blue);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--color-tan);
  color: var(--color-ink);
}

.nav-links a[aria-current="page"] {
  background: var(--color-tan);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--color-blue);
  border: 3px solid var(--color-ink);
  box-shadow: 4px 4px 0 var(--color-ink);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-ink);
  color: #FFFFFF;
  text-decoration: none;
}

.btn-pink {
  background: var(--color-pink);
  color: var(--color-ink);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--color-ink);
}

.btn-dark {
  background: var(--color-ink);
  box-shadow: 3px 3px 0 var(--color-blue);
  height: 46px;
  padding: 0 18px;
  font-size: 15px;
  border-width: 2.5px;
}

.btn-dark.btn-secondary {
  box-shadow: 3px 3px 0 var(--color-ink);
}

/* Main */

.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px 4rem;
  min-height: 60vh;
}

/* Hero */

.hero {
  padding: 40px 32px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 2.5px solid var(--color-ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 20px 0 0;
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: -2px;
}

.hero-subhead {
  margin: 16px 0 0;
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--color-link);
}

.hero-copy {
  margin: 16px 0 0;
  max-width: 470px;
  font-size: 19px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-art {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--color-pink);
  border: 4px solid var(--color-ink);
  box-shadow: 10px 10px 0 var(--color-ink);
}

.hero-art img {
  position: relative;
  width: 260px;
  height: auto;
  transform: rotate(-6deg);
}

.hero-bubble {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 3px solid var(--color-ink);
  border-radius: 22px 22px 22px 4px;
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 800;
  font-size: 18px;
  transform: rotate(4deg);
}

/* Sticker strip */

.sticker-section {
  padding: 40px 0 0;
}

.sticker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sticker-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.sticker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px 16px;
  background: #FFFFFF;
  border: 3px solid var(--color-ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--color-ink);
  transition: transform 0.2s ease;
}

.sticker:nth-child(odd) {
  transform: rotate(-2deg);
}

.sticker:nth-child(even) {
  transform: rotate(2deg);
}

.sticker:hover {
  transform: rotate(0deg) scale(1.04);
}

.sticker img {
  height: 120px;
  width: 100%;
  object-fit: contain;
}

.sticker-time {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-link);
}

.sticker-caption {
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}

/* Section headers */

.section-eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-link);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin: 56px 0 32px;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1px;
}

.section-heading p {
  margin: 0;
  max-width: 380px;
  font-size: 17px;
  font-weight: 500;
  text-align: right;
}

/* App/game cards */

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.app-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 3px solid var(--color-ink);
  border-radius: 28px;
  box-shadow: 6px 6px 0 var(--color-ink);
  overflow: hidden;
}

.app-card-art {
  height: 220px;
  background: var(--color-sky);
  border-bottom: 3px solid var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-art img {
  height: 190px;
  width: auto;
}

.app-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-card-body h2, .app-card-body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.05;
}

.app-card-body p {
  margin: 0;
  color: var(--color-muted);
}

.app-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Other sites panel */

.sites-panel {
  margin: 56px 0 0;
  padding: 48px 40px;
  background: var(--color-ink);
  color: var(--color-bg);
  border-radius: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.sites-panel h2 {
  margin: 8px 0 0;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1px;
}

.sites-panel p {
  margin: 12px 0 0;
  max-width: 400px;
  font-size: 17px;
  font-weight: 500;
  color: #E9E2D6;
}

.sites-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: 2.5px solid var(--color-bg);
  border-radius: 20px;
  color: var(--color-bg);
  text-decoration: none;
}

.site-row:hover {
  background: #2A2831;
  color: var(--color-bg);
}

.site-row-name {
  display: block;
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 800;
  font-size: 22px;
}

.site-row-meta {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #CFC7B9;
}

/* About */

.about-section {
  margin: 56px 0 0;
  padding: 40px 0;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}

.about-section img {
  width: 170px;
  height: auto;
  flex-shrink: 0;
}

.about-section h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.about-section p {
  margin: 12px 0 0;
  font-size: 18px;
  max-width: 600px;
}

.about-section a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  font-size: 18px;
}

/* Generic page header */

.page-header {
  padding: 48px 40px;
  margin: 32px 0 40px;
  background: var(--color-sky);
  border: 3px solid var(--color-ink);
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-header-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-header h1 {
  margin: 8px 0 0;
  font-size: 56px;
  line-height: 0.98;
  letter-spacing: -1px;
}

.page-header .last-updated {
  margin: 10px 0 0;
  font-weight: 700;
  color: var(--color-ink);
}

.page-header-mascot {
  width: 140px;
  height: auto;
  flex-shrink: 0;
}

.page-header-bubble {
  padding: 12px 18px;
  background: #FFFFFF;
  border: 3px solid var(--color-ink);
  border-radius: 22px 22px 4px 22px;
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 800;
  font-size: 18px;
  transform: rotate(-3deg);
  margin-bottom: 8px;
  display: inline-block;
}

/* Privacy / prose layout */

.policy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.policy-toc {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 10px;
  background: #FFFFFF;
  border: 3px solid var(--color-ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--color-ink);
  position: sticky;
  top: 24px;
}

.policy-toc-label {
  padding: 4px 14px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-link);
}

.policy-toc a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 12px;
}

.policy-toc a:hover {
  background: var(--color-tan);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.prose h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.1;
}

.prose p {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
}

.prose ul {
  margin: 0 0 12px;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 500;
}

.prose li {
  margin-bottom: 6px;
}

.prose-contact {
  padding: 26px 28px;
  background: #FFFFFF;
  border: 3px solid var(--color-ink);
  border-radius: 24px;
  box-shadow: 5px 5px 0 var(--color-pink);
}

/* Footer */

.site-footer {
  margin-top: 40px;
  padding: 36px 56px;
  background: var(--color-tan);
  border-top: 3px solid var(--color-ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-family: 'Baloo 2', 'Trebuchet MS', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  color: var(--color-ink);
}

.footer-logo .accent {
  color: var(--color-blue);
}

.footer-copyright {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--color-ink);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-ink);
  text-decoration: none;
}

/* 404 */

.error-page {
  text-align: center;
  padding: 40px 0;
}

.error-page img {
  width: 160px;
  height: auto;
  margin: 0 auto 16px;
}

.error-page h1 {
  font-size: 44px;
  margin: 0 0 12px;
}

@media (max-width: 800px) {
  .hero, .sites-panel, .policy-layout {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 52px;
  }
  .page-header {
    flex-direction: column;
    text-align: center;
  }
  .policy-toc {
    position: static;
  }
}
