:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  width: clamp(7.5rem, 27vw, 13rem);
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.languages,
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.languages a {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border-radius: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.languages a:hover {
  background: var(--ivory);
}

.languages a[aria-current="page"] {
  background: var(--sage);
  color: var(--forest);
}

main {
  align-self: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.35rem, 7.3vw, 6.5rem);
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

.hero-copy p {
  max-width: 33ch;
  margin: 1.5rem 0 1.65rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.platforms {
  gap: 0.55rem;
}

.platforms li {
  padding: 0.52rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--ivory);
  font-size: 0.91rem;
  font-weight: 720;
}

.world {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.12;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: clamp(1.7rem, 4vw, 3.2rem);
  background:
    radial-gradient(ellipse at 82% 86%, var(--sand) 0%, transparent 42%),
    linear-gradient(155deg, var(--sky-deep) 0%, var(--sky) 58%, var(--ivory) 100%);
  box-shadow: 0 1.35rem 3.5rem -2.35rem var(--ink);
}

.world span {
  position: absolute;
  display: block;
}

.sun {
  top: 11%;
  right: 12%;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--peach);
  box-shadow: 0 0 2.6rem var(--sand);
}

.cloud {
  width: 27%;
  height: 7%;
  border-radius: 2rem;
  background: var(--ivory);
  box-shadow: inset 0 -0.35rem 0 #c6e0f3;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 35%;
  height: 130%;
  border-radius: 2rem 2rem 0.85rem 0.85rem;
  background: var(--ivory);
  content: "";
}

.cloud::before {
  left: 18%;
  width: 40%;
}

.cloud::after {
  left: 52%;
  width: 27%;
  height: 95%;
}

.cloud-high {
  top: 23%;
  left: 10%;
}

.cloud-low {
  top: 48%;
  right: 4%;
  scale: 0.65;
  opacity: 0.72;
}

.island {
  border-radius: 28% 31% 29% 33% / 46% 41% 50% 49%;
  transform: rotate(-7deg);
}

.island-back {
  right: 11%;
  bottom: 26%;
  width: 33%;
  height: 13%;
  background: linear-gradient(155deg, var(--sea) 25%, #64ad8f 74%);
  box-shadow: 0 0.65rem 0 #5c9b8a, 0 1.3rem 1.5rem #3b3f7c22;
}

.island-front {
  right: 14%;
  bottom: 18%;
  width: 72%;
  height: 24%;
  background: linear-gradient(155deg, #bdde81 5%, #79c043 54%, #69aa57 100%);
  box-shadow:
    inset 0 0.32rem 0 #dcecb1,
    inset 0 -0.32rem 0 #699d53,
    0 0.85rem 0 #c98a4b,
    0 1.25rem 0 #a8764c,
    0 2.3rem 2.2rem -0.8rem #3b3f7c59;
}

.cube-shadow {
  bottom: 28%;
  left: 33%;
  width: 35%;
  height: 9%;
  transform: rotate(-8deg);
  border-radius: 50%;
  background: #435b5459;
  filter: blur(0.35rem);
}

.cube {
  bottom: 31%;
  left: 31%;
  width: 33%;
  aspect-ratio: 1.06;
  transform: rotate(-12deg);
  border-radius: 26% 27% 24% 26%;
  background: linear-gradient(145deg, #fff1d2 4%, #ffd772 48%, #f5ad43 100%);
  box-shadow:
    inset 0.35rem 0.28rem 0 #fff1d2,
    inset -0.42rem -0.38rem 0 #eaaa50,
    0.55rem 0.45rem 0 #cc8443,
    0.95rem 0.65rem 0 #ab6747;
}

.cube-eyes {
  top: 40%;
  left: 27%;
  width: 10%;
  height: 13%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 2.55em 0 0 var(--ink);
  font-size: clamp(0.45rem, 2vw, 1.35rem);
}

.cube-smile {
  top: 49%;
  left: 44%;
  width: 17%;
  height: 17%;
  transform: rotate(4deg);
  border-bottom: 0.24rem solid var(--ink);
  border-radius: 0 0 56% 52%;
}

.tile {
  width: 8%;
  aspect-ratio: 1;
  transform: rotate(-13deg);
  border-radius: 23%;
}

.tile-gold {
  bottom: 51%;
  left: 14%;
  width: 6%;
  background: #ffc93c;
  box-shadow: 0.23rem 0.25rem 0 #ce9447, inset 0.16rem 0.15rem 0 #ffe6a2;
}

.tile-blue {
  right: 14%;
  bottom: 32%;
  background: #3d8bea;
  box-shadow: 0.28rem 0.35rem 0 #3677bb, inset 0.2rem 0.2rem 0 #8dc4f4;
}

.tile-coral {
  right: 24%;
  bottom: 24%;
  width: 7%;
  transform: rotate(17deg);
  background: var(--terracotta);
  box-shadow: 0.22rem 0.26rem 0 #894436, inset 0.16rem 0.16rem 0 var(--peach);
}

.footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.footer p span {
  margin-inline-start: 0.35rem;
  color: var(--ink);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.legal {
  max-width: 43rem;
  padding-block: 4rem;
  line-height: 1.6;
}

.legal h1 {
  margin-block: 0 1rem;
  font-size: clamp(2.4rem, 7vw, 4.3rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal mark {
  padding: 0.25em 0.5em;
  border-radius: 0.25em;
  background: var(--sand);
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 49rem) {
  .wrap {
    width: min(100% - 2rem, 34rem);
  }

  .masthead {
    padding-block: 0.65rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.55rem;
    padding-block: 2.4rem 1.6rem;
  }

  .hero-copy p {
    margin-block: 1.05rem 1.2rem;
  }

  .cube-eyes {
    font-size: clamp(0.55rem, 3vw, 1.35rem);
  }

  .legal {
    padding-block: 2.5rem;
  }
}
