:root {
  --sky: #36b9f7;
  --sky-pale: #e5f8ff;
  --grass: #62c95f;
  --navy: #102a43;
  --blue: #2475df;
  --blue-dark: #1555aa;
  --pink: #ef476f;
  --orange: #ff8a5b;
  --yellow: #ffd166;
  --paper: #fffdf5;
  --white: #ffffff;
  --line: rgba(16, 42, 67, 0.12);
  --shadow-soft: 0 18px 42px rgba(16, 42, 67, 0.16);
  --shadow-card: 0 12px 24px rgba(16, 42, 67, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  font-family: "Trebuchet MS", "Nunito", Arial, sans-serif;
  background: var(--sky-pale);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.nav,
.hero-inner,
.section-inner,
.page-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border: 3px solid var(--white);
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(16, 42, 67, 0.16);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  border-radius: 999px;
  color: var(--navy);
  font-weight: 900;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--yellow);
  outline: 3px solid rgba(255, 255, 255, 0.9);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(90deg, rgba(229, 248, 255, 0.88), rgba(229, 248, 255, 0.58) 48%, rgba(229, 248, 255, 0.08)),
    url("/assets/menu_background.png") center bottom / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(98, 201, 95, 0.88));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 380px);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 7vw, 5rem) 0 clamp(3.5rem, 9vw, 6rem);
}

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

.hero-lockup {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  margin-bottom: 1.1rem;
}

.hero-icon {
  width: clamp(76px, 12vw, 118px);
  border: 5px solid var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.eyebrow {
  color: var(--blue-dark);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  margin: 0;
}

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

h1 {
  color: var(--navy);
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.88;
  margin: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 0.98;
  margin-bottom: 1rem;
}

h3 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.04rem;
  line-height: 1.58;
}

.lead {
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 800;
  line-height: 1.35;
  max-width: 58ch;
}

.promise {
  display: inline-flex;
  margin: 0.35rem 0 1.25rem;
  border: 4px solid var(--white);
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: var(--shadow-card);
  color: var(--navy);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 900;
  line-height: 1.2;
  padding: 0.8rem 1rem;
}

.app-store-button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 4px solid var(--white);
  border-radius: 16px;
  background: var(--orange);
  box-shadow: var(--shadow-card);
  color: var(--white);
  font-weight: 900;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.app-store-button[aria-disabled="true"] {
  background: #52789f;
  cursor: default;
}

.play-link {
  background: var(--blue);
}

.hero-showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  width: min(92%, 330px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-soft);
}

.showcase-dog {
  position: relative;
  width: min(300px, 72vw);
  filter: drop-shadow(0 22px 22px rgba(16, 42, 67, 0.18));
}

.mini-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 5px solid var(--white);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.mini-card img {
  max-height: 82px;
}

.mini-card.one {
  left: 0;
  top: 36px;
  transform: rotate(-7deg);
}

.mini-card.two {
  right: 4px;
  bottom: 46px;
  transform: rotate(6deg);
}

.content-section {
  position: relative;
  padding: clamp(3rem, 7vw, 5.25rem) 0;
  background: var(--paper);
}

.content-section.sky {
  background: linear-gradient(#dff7ff, #fff);
}

.content-section.playmat {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 209, 102, 0.35), transparent 24%),
    linear-gradient(#f8fff1, #d2f5bc);
}

.content-section.sun {
  background: linear-gradient(#fff8d2, #ffef99);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}

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

.art-scatter {
  position: relative;
  min-height: 340px;
}

.art-scatter img {
  position: absolute;
  width: min(42%, 170px);
  border: 5px solid var(--white);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  padding: 0.25rem;
}

.art-scatter img:nth-child(1) {
  left: 4%;
  top: 3%;
  transform: rotate(-6deg);
}

.art-scatter img:nth-child(2) {
  right: 3%;
  top: 22%;
  transform: rotate(5deg);
}

.art-scatter img:nth-child(3) {
  left: 24%;
  bottom: 0;
  transform: rotate(-1deg);
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(190px, 0.75fr));
  gap: 1rem;
}

.game-card,
.free-card,
.skill-pill,
.support-card,
.page-card,
.policy-card {
  border: 4px solid var(--white);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.game-card.featured {
  grid-row: span 2;
  background: #fff;
}

.game-logo {
  width: min(280px, 100%);
  margin-bottom: 0.7rem;
}

.badge {
  align-self: flex-start;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  padding: 0.42rem 0.72rem;
}

.badge.soon {
  background: var(--pink);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1rem;
}

.theme-chip {
  display: grid;
  gap: 0.35rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.theme-chip img {
  aspect-ratio: 1;
  border: 3px solid var(--white);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(16, 42, 67, 0.11);
  object-fit: contain;
  padding: 0.1rem;
}

.skill-grid,
.free-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.skill-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.free-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skill-pill,
.free-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: var(--navy);
  font-weight: 900;
  padding: 0.9rem;
  text-align: center;
}

.skill-pill {
  border-radius: 999px;
}

.free-card {
  background: rgba(255, 255, 255, 0.86);
}

.principle {
  border: 5px solid var(--white);
  border-radius: 28px;
  background: var(--yellow);
  box-shadow: var(--shadow-card);
  color: var(--navy);
  font-size: clamp(1.55rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 1.8rem auto 0;
  max-width: 760px;
  padding: 1rem;
  text-align: center;
}

.principle.compact {
  border-width: 4px;
  border-radius: 22px;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  margin-top: 1.2rem;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(229, 248, 255, 0.84), rgba(229, 248, 255, 0.58) 55%, rgba(229, 248, 255, 0.2)),
    url("/assets/menu_background.png") center 58% / cover no-repeat;
  padding: clamp(2.2rem, 6vw, 3.7rem) 0;
}

.page-body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.page-body .brand,
.page-body .nav-links a,
.page-body .eyebrow,
.page-body .quick-strip span,
.page-body .badge,
.page-body .principle,
.page-body .footer strong {
  font-family: "Trebuchet MS", "Nunito", Arial, sans-serif;
}

.page-body h1 {
  font-family: "Trebuchet MS", "Nunito", Arial, sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 0.95;
  max-width: 820px;
}

.page-body h2 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.14;
  margin-bottom: 0.75rem;
}

.page-body h3 {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.25;
}

.page-body p,
.page-body li {
  font-size: 1rem;
  line-height: 1.65;
}

.page-body .lead {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 700;
}

.page-body .eyebrow {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.page-hero-art {
  justify-self: end;
  display: grid;
  place-items: center;
  width: min(220px, 36vw);
  aspect-ratio: 1;
  border: 6px solid var(--white);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  transform: rotate(3deg);
}

.privacy-hero .page-hero-art {
  transform: rotate(-4deg);
}

.page-hero-art img {
  max-height: 88%;
  object-fit: contain;
}

.page-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 209, 102, 0.28), transparent 18rem),
    linear-gradient(#f8fff1, #fffdf5);
}

.page-card,
.policy-card {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}

.quick-strip span {
  border: 4px solid var(--white);
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: var(--shadow-card);
  color: var(--navy);
  font-weight: 900;
  padding: 0.85rem 1rem;
  text-align: center;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: start;
  gap: clamp(1.25rem, 4vw, 2.25rem);
}

.help-list {
  display: grid;
  gap: 1rem;
}

.support-card {
  padding: clamp(1.2rem, 3vw, 1.65rem);
}

.support-card ul {
  display: grid;
  gap: 0.55rem;
}

.support-card h2,
.policy-card h2 {
  font-size: 1.9rem;
}

.side-panel,
.privacy-summary {
  position: sticky;
  top: 92px;
  border: 4px solid var(--white);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.side-panel h2,
.privacy-summary h2 {
  font-size: 1.9rem;
}

.answer-card {
  border-radius: 20px;
  background: var(--white);
  margin-top: 1rem;
  padding: 1rem;
}

.answer-card h3 {
  font-size: 1.25rem;
}

.support-card ul,
.policy-card ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.52fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 4vw, 2rem);
}

.policy-card {
  background: rgba(255, 255, 255, 0.94);
}

.policy-card > h2:not(:first-child) {
  border-top: 2px solid var(--line);
  margin-top: 1.7rem;
  padding-top: 1.4rem;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  padding-left: 0 !important;
}

.check-list li {
  position: relative;
  border-radius: 14px;
  background: rgba(229, 248, 255, 0.72);
  font-weight: 800;
  padding: 0.75rem 0.85rem 0.75rem 2.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.95rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--grass);
  box-shadow: inset 0 0 0 3px var(--white);
}

.contact-box {
  border: 4px dashed var(--yellow);
  border-radius: 22px;
  background: var(--white);
  margin-top: 1.25rem;
  padding: 1.25rem;
}

.contact-link {
  color: var(--blue-dark);
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.footer {
  background: #102a43;
  color: var(--white);
  padding: 2rem 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.footer p {
  margin-bottom: 0.3rem;
}

.footer a {
  color: var(--white);
  display: inline-block;
  font-weight: 900;
  margin-left: 1rem;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--yellow);
}

.bob {
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .two-column,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 300px;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card.featured {
    grid-row: auto;
    grid-column: span 2;
  }

  .skill-grid,
  .free-grid,
  .support-grid,
  .help-layout,
  .policy-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel,
  .privacy-summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 0;
  }

  .nav-links {
    justify-content: space-between;
    width: 100%;
  }

  .nav-links a {
    padding: 0.55rem 0.45rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 2rem;
  }

  .hero-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-showcase {
    min-height: 250px;
  }

  .showcase-dog {
    width: min(230px, 70vw);
  }

  .mini-card {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .art-scatter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    min-height: 0;
  }

  .art-scatter img {
    position: static;
    width: 100%;
    transform: none !important;
  }

  .game-grid,
  .skill-grid,
  .free-grid,
  .support-grid,
  .help-layout,
  .policy-layout,
  .page-hero-inner,
  .quick-strip {
    grid-template-columns: 1fr;
  }

  .page-hero-art {
    justify-self: start;
    width: min(170px, 52vw);
  }

  .game-card.featured {
    grid-column: auto;
  }

  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer a {
    margin: 0.4rem 0.8rem 0 0;
  }
}
