:root {
  color-scheme: light;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  color: #3f352d;
  background: #fff7e5;
  font-synthesis: none;
  --ink: #3f352d;
  --cream: #fff7e5;
  --paper: #f7e6c4;
  --paper-light: #fffaf0;
  --wood: #d7a76d;
  --wood-dark: #956238;
  --red: #e65b40;
  --red-dark: #aa3e30;
  --blue: #4d95bc;
  --blue-dark: #286f82;
  --green: #8dab80;
  --green-dark: #4e7553;
  --yellow: #efb83e;
  --purple: #8068a1;
  --white: #fffdf7;
  --shadow: 0 8px 0 rgba(113, 73, 39, 0.17), 0 20px 45px rgba(87, 55, 30, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote {
  max-width: 100%;
  overflow-wrap: break-word;
  letter-spacing: 0;
}

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

h2 {
  margin-bottom: 22px;
  font-size: 66px;
  line-height: 1.02;
}

h3 {
  margin-bottom: 6px;
  font-size: 30px;
}

p {
  line-height: 1.58;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 12px;
  padding: 12px 16px;
  color: #fff;
  background: var(--blue-dark);
}

.skip-link:focus {
  top: 12px;
}

.hero {
  position: relative;
  display: grid;
  justify-items: center;
  min-height: 100svh;
  padding: 42px 24px 92px;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 12px solid var(--yellow);
}

.hero-intro {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(820px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-logo {
  width: min(530px, 80vw);
  margin: -8px auto 2px;
  filter: drop-shadow(0 12px 12px rgba(88, 54, 28, 0.2));
}

.hero h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 58px;
  line-height: 1.02;
}

.hero-lede {
  width: min(690px, 100%);
  margin: 20px auto 26px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 21px;
  font-weight: 650;
}

.store-button {
  display: inline-flex;
  min-height: 66px;
  min-width: 320px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 11px 24px 12px;
  color: #fff;
  background: var(--blue-dark);
  border: 3px solid #fff2cf;
  border-radius: 8px;
  box-shadow: 0 7px 0 #174f61, 0 14px 24px rgba(75, 50, 30, 0.18);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 #174f61, 0 18px 28px rgba(75, 50, 30, 0.2);
}

.store-button:focus-visible,
footer a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.store-button span {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-button strong {
  font-size: 20px;
}

.trust-line {
  margin: 19px 0 0;
  color: #6c5947;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 750;
}

.trust-line span {
  padding: 0 6px;
  color: var(--red);
}

.hero-prop {
  position: absolute;
  z-index: 1;
  width: 175px;
  pointer-events: none;
  filter: drop-shadow(0 12px 10px rgba(77, 49, 29, 0.18));
}

.hero-prop-left {
  top: 210px;
  left: -42px;
  transform: rotate(-18deg);
}

.hero-prop-right {
  top: 330px;
  right: -44px;
  transform: rotate(16deg);
}

.gameplay-window {
  position: relative;
  z-index: 2;
  width: min(940px, 94vw);
  margin: 64px 0 0;
  padding: 14px 14px 0;
  background: var(--wood);
  border: 7px solid #fff0ce;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gameplay-window img {
  width: 100%;
  aspect-ratio: 720 / 332;
  object-fit: contain;
  background: #ead4aa;
  border: 3px solid var(--wood-dark);
  border-radius: 4px;
}

.gameplay-window figcaption {
  padding: 13px 12px 14px;
  color: #65482f;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.gameplay-plaque {
  position: absolute;
  top: -32px;
  left: 50%;
  min-width: 210px;
  padding: 8px 18px;
  color: #fff;
  background: var(--red);
  border: 4px solid #fff0ce;
  border-radius: 8px;
  box-shadow: 0 5px 0 var(--red-dark);
  transform: translateX(-50%) rotate(-1deg);
  font-size: 17px;
  font-weight: 900;
  text-align: center;
}

.gameplay-still {
  display: none;
}

.logic {
  padding: 104px 34px 112px;
  color: #fff;
  background: var(--blue-dark);
}

.section-heading {
  width: min(900px, 100%);
  margin: 0 auto 54px;
  text-align: center;
}

.logic .eyebrow {
  color: #ffe091;
}

.logic h2 {
  margin-bottom: 0;
}

.logic-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.logic-beat {
  position: relative;
  min-width: 0;
  text-align: center;
}

.logic-beat img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 12px 8px rgba(23, 52, 59, 0.32));
}

.logic-beat h3 {
  margin-top: 18px;
  color: #fff7df;
}

.logic-beat p {
  margin: 0;
  color: #cce6e9;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.logic-step {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 3px solid #fff0ce;
  border-radius: 50%;
  transform: translateX(-105px);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.logic-chaos .logic-step {
  background: var(--purple);
}

.journey {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: center;
  padding: 110px 6vw 118px;
  background: #dfead8;
  border-bottom: 12px solid var(--green);
}

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

.journey-copy h2 {
  color: var(--green-dark);
}

.journey-copy > p:not(.eyebrow) {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
}

.journey-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 34px 0 0;
}

.journey-facts div {
  min-width: 92px;
}

.journey-facts dt {
  color: var(--red);
  font-size: 38px;
  font-weight: 950;
}

.journey-facts dd {
  margin: -2px 0 0;
  color: var(--green-dark);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.map-frame {
  margin: 0;
  padding: 12px 12px 0;
  background: var(--wood);
  border: 7px solid #fff0ce;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(0.6deg);
}

.map-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #d7e5cf;
  border: 3px solid var(--wood-dark);
  border-radius: 4px;
}

.map-frame figcaption {
  padding: 12px 10px 14px;
  color: #65482f;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.story {
  padding: 110px 6vw 70px;
  background: #ffe8d8;
}

.story-main {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 74px;
  align-items: center;
  width: min(1250px, 100%);
  margin: 0 auto;
}

.story-characters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: end;
}

.story-characters img {
  width: 100%;
  filter: drop-shadow(0 14px 12px rgba(100, 56, 35, 0.18));
}

.story-characters span {
  align-self: center;
  padding: 8px 5px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  transform: rotate(-4deg);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.story-copy {
  max-width: 700px;
}

.story-copy h2 {
  color: var(--red-dark);
}

.story-copy > p:not(.eyebrow),
.story-copy blockquote {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 19px;
}

.story-copy blockquote {
  margin: 28px 0 0;
  padding: 22px 24px;
  color: #fff;
  background: var(--purple);
  border-left: 8px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  font-weight: 750;
  line-height: 1.5;
}

.grownup-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 88px auto 0;
  border-top: 3px solid #dbb58e;
  border-bottom: 3px solid #dbb58e;
}

.grownup-facts div {
  display: grid;
  gap: 8px;
  padding: 28px 30px;
}

.grownup-facts div + div {
  border-left: 3px solid #dbb58e;
}

.grownup-facts strong {
  color: var(--red-dark);
  font-size: 22px;
}

.grownup-facts span {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.final-call {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 76px auto 0;
}

.final-call > img {
  width: 128px;
  border: 4px solid #fff0ce;
  border-radius: 20px;
  box-shadow: 0 7px 0 rgba(126, 78, 43, 0.2);
  transform: rotate(-4deg);
}

.final-call h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 48px;
}

.final-call .eyebrow {
  margin-bottom: 8px;
}

.store-button-final {
  background: var(--red);
  box-shadow: 0 7px 0 var(--red-dark), 0 14px 24px rgba(75, 50, 30, 0.18);
}

.store-button-final:hover,
.store-button-final:focus-visible {
  box-shadow: 0 10px 0 var(--red-dark), 0 18px 28px rgba(75, 50, 30, 0.2);
}

.safety-note {
  width: min(880px, 100%);
  margin: 48px auto 0;
  color: #746250;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  text-align: center;
}

footer {
  display: grid;
  grid-template-columns: 170px minmax(240px, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 38px 6vw;
  color: #fff;
  background: #294a53;
}

.footer-logo {
  width: 170px;
}

footer p {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: flex-end;
}

footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 850;
  text-decoration: none;
}

footer nav a:hover {
  color: #ffe18c;
  text-decoration: underline;
  text-underline-offset: 5px;
}

footer small {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.legal-page {
  min-height: 100vh;
  background: #f9f2e5;
}

.legal-page .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px 4vw;
  color: #fff;
  background: var(--blue-dark);
  border-bottom: 8px solid var(--yellow);
}

.legal-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
}

.legal-page .brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.legal-page .site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.legal-page .site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 850;
}

.legal-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 110px;
}

.legal-main h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 72px;
  line-height: 1;
}

.legal-main h2 {
  margin-top: 48px;
  font-size: 30px;
}

.legal-main p,
.legal-main li {
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.legal-main li + li {
  margin-top: 8px;
}

.legal-meta {
  margin: 18px 0 44px;
  color: #6c5d4b;
  font-weight: 700;
}

.contact-band {
  margin-top: 50px;
  padding: 28px;
  color: #fff;
  background: var(--blue-dark);
  border: 5px solid #ecd19f;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.contact-band h2 {
  margin-top: 0;
}

.contact-band a {
  font-weight: 850;
}

@media (max-width: 980px) {
  h2 {
    font-size: 54px;
  }

  .logic-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 30px;
  }

  .logic-step {
    transform: translateX(-118px);
  }

  .journey,
  .story-main {
    grid-template-columns: 1fr;
  }

  .journey-copy,
  .story-copy {
    max-width: 820px;
  }

  .story-characters {
    width: min(620px, 100%);
    justify-self: center;
    order: 2;
  }

  .final-call {
    grid-template-columns: 112px 1fr;
  }

  .final-call > img {
    width: 112px;
  }

  .final-call .store-button {
    grid-column: 2;
    justify-self: start;
  }

  footer {
    grid-template-columns: 170px 1fr;
  }

  footer nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  h2 {
    font-size: 41px;
  }

  .hero {
    padding: 34px 16px 70px;
  }

  .hero-logo {
    width: min(330px, 88vw);
    margin-top: 0;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-lede {
    margin-top: 16px;
    font-size: 17px;
  }

  .store-button {
    width: min(100%, 360px);
    min-width: 0;
  }

  .trust-line {
    width: min(340px, 100%);
    font-size: 12px;
  }

  .trust-line span {
    padding: 0 2px;
  }

  .hero-prop {
    display: none;
  }

  .gameplay-window {
    width: 100%;
    margin-top: 58px;
    padding: 7px 7px 0;
    border-width: 5px;
  }

  .gameplay-window img {
    border-width: 2px;
  }

  .gameplay-window figcaption {
    padding: 10px 5px 11px;
    font-size: 11px;
  }

  .gameplay-plaque {
    top: -29px;
    min-width: 176px;
    padding: 7px 12px;
    font-size: 14px;
  }

  .logic {
    padding: 76px 18px 82px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .logic-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 12px;
  }

  .logic-beat img {
    height: 125px;
  }

  .logic-beat h3 {
    margin-top: 10px;
    font-size: 25px;
  }

  .logic-beat p {
    font-size: 13px;
  }

  .logic-step {
    top: -4px;
    width: 36px;
    height: 36px;
    transform: translateX(-72px);
    font-size: 11px;
  }

  .journey {
    gap: 44px;
    padding: 76px 18px 82px;
  }

  .journey-copy > p:not(.eyebrow) {
    font-size: 17px;
  }

  .journey-facts {
    gap: 12px;
    justify-content: space-between;
  }

  .journey-facts div {
    min-width: 78px;
  }

  .journey-facts dt {
    font-size: 32px;
  }

  .map-frame {
    padding: 7px 7px 0;
    border-width: 5px;
    transform: none;
  }

  .map-frame img {
    border-width: 2px;
  }

  .map-frame figcaption {
    font-size: 11px;
  }

  .story {
    padding: 76px 18px 56px;
  }

  .story-main {
    gap: 48px;
  }

  .story-copy > p:not(.eyebrow),
  .story-copy blockquote {
    font-size: 17px;
  }

  .story-copy blockquote {
    padding: 19px 18px;
  }

  .story-characters {
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
  }

  .grownup-facts {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .grownup-facts div {
    padding: 22px 5px;
  }

  .grownup-facts div + div {
    border-top: 2px solid #dbb58e;
    border-left: 0;
  }

  .final-call {
    grid-template-columns: 78px 1fr;
    gap: 18px;
    margin-top: 58px;
  }

  .final-call > img {
    width: 78px;
    border-radius: 14px;
  }

  .final-call h2 {
    font-size: 34px;
  }

  .final-call .store-button {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 8px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 36px 22px;
    text-align: center;
  }

  .footer-logo {
    width: 150px;
    margin: 0 auto;
  }

  footer nav {
    grid-column: auto;
    justify-content: center;
  }

  .legal-page .site-header {
    padding: 12px 18px;
  }

  .legal-page .site-header nav {
    display: none;
  }

  .legal-main {
    width: auto;
    margin: 0;
    padding: 60px 20px 90px;
  }

  .legal-main h1 {
    font-size: 46px;
  }

  .legal-main h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .gameplay-motion {
    display: none;
  }

  .gameplay-still {
    display: block;
  }
}
