:root {
  color-scheme: light;
  --paper: #fffbf2;
  --ink: #24283c;
  --muted: #525c58;
  --green: #176449;
  --coral: #c65336;
  --rule: #e5e0d0;
  font-family: Tskapuna, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid #215e9c; outline-offset: 4px; }
.wrap { width: min(89%, 1240px); margin-inline: auto; }
.symbols, .sr { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
.skip { position: absolute; z-index: 5; left: 1rem; top: .5rem; padding: .7rem 1rem; border-radius: 12px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.mast, .foot, .brand, .mast nav, .header-play, .actions, .button, .ages, .filters, .section-head { display: flex; align-items: center; }
.mast { min-height: 84px; justify-content: space-between; border-bottom: 1px solid var(--rule); gap: 20px; }
.brand { gap: 11px; font-size: 27px; font-weight: 900; letter-spacing: -.04em; }
.brand img { border-radius: 15px; }
.mast nav { gap: clamp(18px, 3vw, 46px); }
.mast nav a, .header-play { font-size: 15px; font-weight: 750; }
.mast nav a { padding: 14px 0; }
.mast nav a:hover, .foot a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.header-play, .button { justify-content: center; gap: 10px; border-radius: 100px; white-space: nowrap; }
.header-play { padding: 11px 22px; border: 1px solid #f3c348; background: #ffda62; box-shadow: 0 3px 0 #e9b54b; }
.hero { display: grid; grid-template-columns: 43fr 57fr; gap: clamp(24px, 4vw, 68px); align-items: center; padding-block: clamp(34px, 4.2vw, 68px); }
.ages { width: fit-content; gap: 8px; background: #f9edc7; border-radius: 50px; color: #5f4728; padding: 6px 13px; font-size: 13px; font-weight: 750; }
.sunmark { color: #b26312; font: 22px/1 Georgia, serif; }
h1 { margin-block: 17px 19px; font-size: clamp(51px, 5.2vw, 78px); font-weight: 900; line-height: 1.16; letter-spacing: -.048em; }
h1 span { color: var(--coral); }
.intro, .section-head p, .village-copy p, .platforms p, .card p { color: var(--muted); }
.intro { max-width: 36em; font-size: clamp(16px, 1.36vw, 19px); line-height: 1.75; }
.actions { margin-top: 25px; flex-wrap: wrap; gap: 12px; }
.button { width: fit-content; min-height: 49px; padding: 12px 21px; border: 1.5px solid transparent; font-size: 15px; font-weight: 800; }
.primary { background: var(--green); color: white; box-shadow: 0 3px 0 #104b37; }
.audio { background: #fffdf7; border-color: #c9cabc; color: var(--ink); }
.audio[aria-pressed="true"] { background: #e9f3e5; border-color: var(--green); }
.button:hover, .header-play:hover { filter: brightness(.96); }
.button:active, .header-play:active { transform: translateY(2px); }
.audio-status { font-size: 14px; margin-top: 8px; }
.audio-status:empty { display: none; }
.hero-art { position: relative; isolation: isolate; margin: 5px 8px 5px 0; }
.hero-art img, .hero-art::before { width: 100%; border-radius: 50px 82px 48px 72px; }
.hero-art img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: #f4ce82; transform: rotate(2.2deg); z-index: -1; }
.spark { position: absolute; display: block; width: 31px; aspect-ratio: 1; background: #ffcf51; clip-path: polygon(50% 0,62% 36%,98% 50%,62% 63%,50% 100%,37% 63%,0 50%,37% 37%); }
.spark-one { left: -13px; top: 11%; transform: rotate(-12deg); }
.spark-two { width: 20px; right: 3%; bottom: -12px; background: #f39a75; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: #faf0d9; padding-block: 19px; border-radius: 23px; }
.facts > div { display: flex; justify-content: center; align-items: center; gap: 14px; padding-inline: 10px; }
.facts > div + div { border-left: 1px solid #dfd5b9; }
.fact-icon, .platform-icon { display: grid; place-items: center; flex: none; width: 49px; height: 49px; border-radius: 16px; }
.fact-icon svg, .platform-icon svg { width: 26px; height: 26px; }
.mint { background: #d9ead0; color: #296348; }
.lilac { background: #e6dff4; color: #735a94; }
.peach { background: #ffddbf; color: #965333; }
.sky { background: #d9ecf8; color: #316b88; }
.facts p { display: flex; flex-direction: column; }
.facts strong { font-size: 27px; line-height: 1.12; font-weight: 900; }
.facts span { font-size: 14px; font-weight: 650; }
.gallery, .apps { padding-block: clamp(50px, 5.3vw, 84px); }
h2 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.26; font-weight: 850; letter-spacing: -.045em; }
.section-head { justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 23px; }
.section-head p, .village-copy p { margin-top: 11px; font-size: 16px; line-height: 1.7; }
.filters { flex-wrap: wrap; gap: 3px; padding: 4px; background: #f2eddf; border-radius: 24px; }
.filters button { min-height: 40px; border: 0; background: transparent; border-radius: 22px; padding: 7px 15px; font-size: 14px; font-weight: 750; }
.filters button[aria-pressed="true"] { color: white; background: var(--green); }
.filters b { font-size: 12px; font-weight: inherit; }
.cards, .platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.75vw, 25px); }
.card { display: block; border-radius: 24px; }
.card-img { position: relative; overflow: hidden; border-radius: 23px; background: #f3e8cb; }
.card-img img { width: 100%; height: auto; aspect-ratio: 365 / 316; object-fit: cover; }
.card-go { position: absolute; display: grid; place-items: center; width: 35px; height: 35px; bottom: 12px; right: 12px; border-radius: 50%; background: #fffdf2; color: var(--green); box-shadow: 0 2px 5px #4337212b; }
.card-go svg { width: 16px; }
.card:hover .card-go, .card:focus-visible .card-go { background: var(--green); color: white; }
.card h3, .platforms h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 800; line-height: 1.4; letter-spacing: -.03em; }
.card h3 { margin: 12px 0 3px; }
.card p, .platforms p { font-size: 15px; line-height: 1.6; }
.village { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 32px; overflow: hidden; background: #e6f0dc; }
.village-picture { min-height: 260px; }
.village-picture img { width: 100%; height: 100%; object-fit: cover; }
.village-copy { align-self: center; padding: clamp(22px, 3.4vw, 55px); }
.village-copy .button { margin-top: 22px; }
.apps .section-head p { max-width: 48em; }
.platforms article { display: flex; flex-direction: column; align-items: start; background: #fffdf7; border: 1px solid var(--rule); border-radius: 21px; padding: clamp(16px, 1.7vw, 26px); }
.platforms h3 { margin: 13px 0 7px; }
.platforms p { flex: 1; }
.platforms article a, .instructions { color: var(--green); font-size: 14px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.platforms article a { display: inline-flex; gap: 6px; align-items: center; margin-top: 13px; min-height: 40px; }
.instructions { display: inline-block; padding-block: 14px; margin-top: 5px; }
#preview { padding: 0; width: min(92vw, 420px); max-height: 92vh; max-height: 92dvh; overflow: auto; background: var(--paper); color: var(--ink); border: 0; border-radius: 24px; box-shadow: 0 18px 75px #17291e42; }
#preview::backdrop { background: #1c2c28a6; }
#preview form { position: absolute; top: 10px; right: 10px; margin: 0; }
#preview form button { display: grid; place-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fffdf5; box-shadow: 0 2px 8px #23372435; font-size: 26px; line-height: 1; }
#preview-image { width: 100%; max-height: 43vh; object-fit: contain; background: #f3eddf; }
.preview-copy { padding: 20px clamp(18px, 4vw, 27px) 23px; }
.preview-copy h2 { font-size: 27px; }
.preview-copy p { margin-top: 8px; color: var(--muted); line-height: 1.65; }
.preview-copy .actions { margin-top: 16px; }
.preview-copy .instructions { margin: 0; }
footer { background: #f2eddf; }
.foot { justify-content: space-between; min-height: 90px; gap: 12px; }
.foot .brand { font-size: 22px; }
.foot > a:last-child { font-size: 14px; font-weight: 700; padding-block: 14px; }
@media (max-width: 900px) {
  .wrap { width: 91%; }
  .hero { gap: 27px; grid-template-columns: 47fr 53fr; }
  h1 { font-size: clamp(43px, 6vw, 55px); }
  .hero-art img, .hero-art::before { border-radius: 32px 54px 34px 52px; }
  .hero .button { font-size: 14px; padding-inline: 15px; }
  .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 12px; }
  .wrap { width: min(91%, 560px); }
  .mast { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding-top: 10px; min-height: 0; }
  .mast nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-around; gap: 9px; }
  .mast nav a { font-size: 13px; padding-block: 12px; }
  .brand { font-size: 22px; gap: 8px; }
  .brand img { width: 38px; height: 38px; border-radius: 12px; }
  .header-play { font-size: 14px; padding: 9px 16px; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 26px; }
  h1 { font-size: clamp(43px, 9.8vw, 62px); margin-block: 13px; }
  .hero-art { width: calc(100% - 7px); margin: 0 auto; }
  .intro { line-height: 1.65; }
  .actions { margin-top: 17px; gap: 8px; }
  .facts { border-radius: 17px; padding-block: 14px; }
  .facts > div { gap: 6px; flex-direction: column; text-align: center; padding-inline: 3px; }
  .fact-icon { width: 35px; height: 35px; border-radius: 12px; }
  .fact-icon svg { width: 22px; height: 22px; }
  .facts strong { font-size: 22px; }
  .facts span { font-size: 12px; }
  .gallery, .apps { padding-block: 40px; }
  .section-head { display: grid; margin-bottom: 16px; }
  .filters { justify-self: start; }
  .filters button { padding-inline: 13px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .card-img { border-radius: 17px; }
  .card h3 { margin-top: 8px; }
  .card-go { width: 29px; height: 29px; bottom: 8px; right: 8px; }
  .card p { font-size: 14px; }
  .village { grid-template-columns: 1fr; border-radius: 22px; }
  .village-picture { min-height: 0; }
  .village-picture img { aspect-ratio: 1.8; }
  .village-copy { padding: 23px; }
}
@media (max-width: 400px) {
  .hero .button { padding-inline: 13px; gap: 5px; font-size: 13px; }
  .filters button { padding-inline: 10px; }
  .platforms { grid-template-columns: 1fr; }
  .card h3 { font-size: 17px; }
  .foot { flex-wrap: wrap; justify-content: flex-start; gap: 2px 24px; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
