:root {
  --cream: #f7f4ee;
  --paper: #fffdf8;
  --ink: #34424a;
  --muted: #657078;
  --sky: #8ec9e8;
  --leaf: #8bcf8a;
  --red: #e86f61;
  --yellow: #f5c95a;
  --blue: #5b8def;
  --plum: #8c6bb1;
  --line: rgba(52, 66, 74, 0.14);
  --shadow: 0 20px 55px rgba(52, 66, 74, 0.11);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: ui-rounded, "Nunito", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 20;
  padding: 10px 16px; background: var(--ink); color: white;
  border-radius: 10px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 84px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.wordmark, .footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 850; text-decoration: none; }
.wordmark { font-size: 1.2rem; }
.wordmark-mark {
  display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; aspect-ratio: 1;
  border-radius: 14px 14px 18px 18px; color: white; background: var(--leaf);
  box-shadow: inset 0 -3px 0 rgba(52, 66, 74, .12); font-weight: 900;
}
nav { display: flex; gap: 30px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
nav a:hover, nav a:focus-visible, .footer-links a:hover { color: var(--ink); }

.hero {
  width: min(1180px, calc(100% - 40px)); min-height: 690px; margin: 0 auto 60px;
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 36px;
}
.eyebrow { margin: 0 0 12px; color: #527c54; font-size: .8rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(3.4rem, 6.5vw, 6.2rem); }
h1 span { color: #527c54; }
h2 { margin: 0 0 18px; font-size: clamp(2.25rem, 4.5vw, 4.2rem); }
h3 { font-size: 1.7rem; }
.hero-intro { max-width: 620px; margin: 28px 0; color: var(--muted); font-size: 1.25rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button {
  display: inline-flex; min-height: 54px; padding: 13px 24px; align-items: center; justify-content: center;
  border-radius: 18px; text-decoration: none; font-weight: 850;
}
.button-primary { color: white; background: var(--ink); box-shadow: 0 7px 0 #223037; }
.button-primary:hover { transform: translateY(2px); box-shadow: 0 5px 0 #223037; }
.text-link { font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.trust-row { display: flex; gap: 22px; padding: 0; margin: 34px 0 0; color: var(--muted); list-style: none; font-size: .88rem; font-weight: 750; }
.trust-row li::before { content: "✓"; margin-right: 7px; color: #527c54; }

.hero-art { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-art::before {
  content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 46% 54% 53% 47%;
  background: var(--yellow); transform: rotate(-5deg); box-shadow: var(--shadow);
}
.hero-art img { position: relative; z-index: 2; width: min(550px, 94%); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 13px rgba(52,66,74,.18)); }
.hello-note {
  position: absolute; z-index: 3; right: -5px; bottom: 35px; margin: 0; padding: 11px 17px;
  border: 2px solid var(--ink); border-radius: 18px 18px 4px 18px; background: var(--paper); font-weight: 850;
  transform: rotate(3deg);
}
.sparkle { position: absolute; z-index: 3; font-size: 2rem; color: var(--red); }
.sparkle-one { top: 60px; right: 20px; }.sparkle-two { bottom: 140px; left: 4px; color: var(--blue); }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 95px 0; }
.section-heading { max-width: 760px; margin-bottom: 45px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.1rem; }
.section-heading.compact { margin-bottom: 30px; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 38px rgba(52,66,74,.07); }
.game-art { position: relative; height: 280px; display: grid; place-items: center; overflow: hidden; background: #f9e6ae; }
.game-art img { position: relative; z-index: 2; width: 210px; max-height: 225px; object-fit: contain; }
.pufflet-card .game-art { background: linear-gradient(160deg, var(--sky), var(--blue)); }
.penguin-card .game-art { background: #d9efc8; }
.photo-art img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.game-copy { padding: 28px; }
.game-copy h3 { margin: 8px 0 12px; }
.game-copy p { color: var(--muted); }
.status { color: #527c54; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.feature-list { display: flex; gap: 7px; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 5px 10px; border-radius: 20px; background: var(--cream); font-size: .76rem; font-weight: 750; }
.parcel { position: absolute; width: 90px; height: 70px; border: 5px solid var(--ink); border-radius: 18px; transform: rotate(8deg); }
.parcel::after { content: ""; position: absolute; left: 50%; width: 6px; height: 100%; background: rgba(255,255,255,.45); }
.parcel-red { left: 25px; bottom: 25px; background: var(--red); }.parcel-blue { top: 25px; right: 25px; background: var(--blue); transform: rotate(-10deg) scale(.75); }
.bubble { position: absolute; border: 3px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.14); }
.bubble-one { width: 78px; height: 78px; left: 34px; top: 42px; }.bubble-two { width: 45px; height: 45px; right: 38px; bottom: 45px; }
.peek { position: absolute; z-index: 3; bottom: -13px; right: 30px; display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50% 50% 42% 42%; color: var(--ink); background: white; border: 4px solid var(--ink); font-size: 1.1rem; }

.promise-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; padding: clamp(32px, 6vw, 72px); border-radius: 38px; color: white; background: var(--ink); }
.promise-card .eyebrow { color: #b7e4b6; }
.promise-card p { color: #d7dddf; }
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.promise-grid div { display: grid; grid-template-columns: 38px 1fr; padding: 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.06); }
.promise-grid span { grid-row: span 2; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--ink); background: var(--leaf); font-weight: 900; }
.promise-grid strong { line-height: 1.2; }.promise-grid small { color: #b8c2c6; }

.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { padding: 28px 22px; border-right: 1px solid var(--line); }
.principle-grid article:last-child { border-right: 0; }
.principle-grid span { color: var(--plum); font-weight: 900; }
.principle-grid h3 { margin: 42px 0 12px; font-size: 1.3rem; }
.principle-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.about-art { position: relative; min-height: 470px; display: grid; place-items: center; border-radius: 38px; background: var(--sky); overflow: hidden; }
.about-art img { position: absolute; bottom: -165px; width: 470px; height: auto; aspect-ratio: 1; object-fit: contain; }
.mini-card { position: absolute; z-index: 2; padding: 12px 17px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); font-size: .85rem; font-weight: 850; box-shadow: 5px 5px 0 var(--ink); }
.mini-card-one { top: 28px; left: 25px; transform: rotate(-5deg); }.mini-card-two { top: 80px; right: 25px; transform: rotate(5deg); }
.about-copy p { color: var(--muted); font-size: 1.05rem; }

footer {
  width: min(1180px, calc(100% - 40px)); margin: 40px auto 0; padding: 34px 0 42px;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; border-top: 1px solid var(--line);
}
.footer-brand div { display: flex; flex-direction: column; line-height: 1.25; }.footer-brand small { color: var(--muted); font-weight: 500; }
.footer-links { display: flex; gap: 22px; }.copyright { color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-art { min-height: 520px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .promise-card, .about { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid article:nth-child(2) { border-right: 0; }
  footer { grid-template-columns: 1fr auto; }.copyright { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { min-height: 72px; }.wordmark { font-size: 1.05rem; } nav { display: none; }
  .hero { width: min(100% - 28px, 1180px); min-height: auto; margin-bottom: 20px; }
  h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .trust-row { display: grid; gap: 7px; }
  .hero-art { min-height: 390px; }.hello-note { right: 0; bottom: 8px; font-size: .85rem; }
  .section { width: min(100% - 28px, 1180px); padding: 70px 0; }
  .game-card { display: block; }.game-art { height: 250px; }
  .promise-card { padding: 28px 20px; }.promise-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }.principle-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-grid h3 { margin-top: 22px; }
  .about { gap: 42px; }.about-art { min-height: 380px; }
  footer { grid-template-columns: 1fr; }.footer-links { flex-wrap: wrap; }.copyright { grid-column: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art img { animation: gentle-float 5s ease-in-out infinite; }
  @keyframes gentle-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
