:root {
  color-scheme: light;
  --paper: #f5f4ef;
  --ink: #1d2722;
  --muted: #68716b;
  --green: #2b664c;
  --lime: #d3ef73;
  --line: #dedfd6;
  font-family: "DM Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 7.1%;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: clamp(36px, 9vw, 128px);
  border-bottom: 1px solid var(--line);
  padding: 23px 7.1%;
}

.community-stat {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.community-stat-value {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
}

.community-stat-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.community-join {
  align-self: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.community-join:hover {
  border-color: var(--green);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.7px;
}

.wordmark-mark {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
  background: transparent;
}

.header-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.header-link span {
  margin-left: 5px;
  color: var(--green);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 610px;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  overflow: hidden;
  padding: 75px 7.1% 93px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.eyebrow,
.section-label {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 25px;
}

.privacy-policy {
  margin: 24px 0;
  color: var(--muted, #68736b);
  font-size: 13px;
}

.privacy-policy summary {
  width: fit-content;
  cursor: pointer;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-policy-content {
  max-width: 760px;
  padding-top: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.privacy-policy-content h2 {
  margin: 18px 0 5px;
  font-size: 17px;
  letter-spacing: -0.5px;
}

.privacy-policy-content p {
  margin: 0 0 10px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8dbb54;
  box-shadow: 0 0 0 4px #e6edda;
}

h1,
h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -3.7px;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 600;
  line-height: 0.99;
}

h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 440px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 600;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--green);
}

.button span {
  color: var(--lime);
  font-size: 17px;
  line-height: 12px;
}

.hero-art {
  position: relative;
  width: min(37vw, 420px);
  aspect-ratio: 1;
  justify-self: end;
  margin-right: 3%;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #d5dacd;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 42%;
  aspect-ratio: 1;
  border-color: #b7c8a9;
}

.orbit-two {
  width: 70%;
  aspect-ratio: 1;
}

.orbit-three {
  width: 96%;
  aspect-ratio: 1;
  border-style: dashed;
}

.art-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25%;
  aspect-ratio: 1;
  background: transparent;
  filter: drop-shadow(0 14px 24px #2b664c55);
  transform: translate(-50%, -50%);
}

.art-point {
  position: absolute;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px #d5dacd;
}

.point-one {
  top: 18%;
  left: 47%;
}

.point-two {
  top: 48%;
  right: 3%;
  background: #edac83;
}

.point-three {
  bottom: 11%;
  left: 30%;
  background: #91b897;
}

.point-four {
  top: 32%;
  left: 7%;
  width: 8px;
  background: #b9a6da;
}

.art-sparkle {
  position: absolute;
  color: var(--green);
  font-size: 23px;
}

.sparkle-one {
  top: 8%;
  right: 20%;
}

.sparkle-two {
  right: 10%;
  bottom: 19%;
  color: #a4b96c;
  font-size: 17px;
}

.hero-index {
  position: absolute;
  right: 7.1%;
  bottom: 35px;
  color: #92988f;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.about {
  display: grid;
  grid-template-columns: 0.7fr 2fr 0.7fr;
  gap: 30px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 75px 7.1% 84px;
}

.games {
  display: grid;
  grid-template-columns: 0.7fr 1.35fr 0.95fr;
  gap: 30px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 75px 7.1% 84px;
}

.games-heading h2 {
  margin: -7px 0 12px;
}

.games-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.games-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.utility-list {
  grid-template-columns: minmax(0, 1fr);
}

.utility-list .game-card {
  max-width: 480px;
}

.game-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.game-card:hover {
  border-color: #aebba7;
  box-shadow: 0 14px 30px #1d27220d;
  transform: translateY(-3px);
}

.game-art {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid #d7dcd1;
  background: linear-gradient(#66cef2 0%, #b8f0ff 100%);
}

.game-art-abacus {
  display: grid;
  place-items: center;
  background: #eee4ff;
}

.game-art-abacus span {
  font-size: 4rem;
}

.game-art-bengaluru-drive {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d5e8d7, #e8f1e9);
}

.game-art-bengaluru-drive span {
  font-size: 4rem;
}

.game-art-2048 {
  display: grid;
  place-items: center;
  background: #faf8ef;
}

.game-art-qr {
  display: grid;
  place-items: center;
  background: #dcefe1;
}

.game-art-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.game-art-coin {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dcefe1, #fbf0d2);
}

.game-art-tts {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #dff3ec, #bfe3d8);
}

.game-art-notepad {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #f4edda, #e8d9b8);
}

.notepad-card-preview {
  position: relative;
  display: grid;
  width: 118px;
  height: 142px;
  align-content: center;
  gap: 13px;
  padding: 20px;
  border: 1px solid #d8c9a8;
  border-radius: 8px;
  background: #fffdf7;
  box-shadow: 8px 10px 0 #806d4930;
  transform: rotate(-5deg);
}

.notepad-preview-lines {
  display: grid;
  gap: 9px;
}

.notepad-preview-lines i {
  height: 2px;
  border-radius: 2px;
  background: #c8c4b7;
}

.notepad-preview-lines i:last-child {
  width: 72%;
}

.notepad-preview-share {
  position: absolute;
  right: -15px;
  bottom: -11px;
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 3px solid #fffdf7;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.tts-card-preview {
  display: grid;
  gap: 12px;
  place-items: center;
}

.tts-bubble {
  display: grid;
  width: 72px;
  height: 52px;
  place-items: center;
  border: 3px solid #2f6d5a;
  border-radius: 14px;
  background: #fffdf5;
  box-shadow: 5px 5px 0 #2f6d5a33;
  color: #2f6d5a;
  font-size: 24px;
  font-weight: 900;
}

.tts-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
}

.tts-wave i {
  width: 6px;
  border-radius: 3px;
  background: #2f6d5a;
}

.tts-wave i:nth-child(1) { height: 10px; }
.tts-wave i:nth-child(2) { height: 22px; }
.tts-wave i:nth-child(3) { height: 14px; }
.tts-wave i:nth-child(4) { height: 26px; }
.tts-wave i:nth-child(5) { height: 12px; }

.game-art-aquarium {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(#73d8f4, #c0f1f3);
}

.game-art-aquarium span {
  font-size: 47px;
}

.game-art-aquarium span:nth-child(2) {
  transform: translateY(-18px) scaleX(-1);
}

.game-art-aquarium span:nth-child(3) {
  transform: translateY(15px);
}

.game-art-baby-phone {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff9cf, #d8f4ec);
}

.phone-card-preview {
  position: relative;
  width: 80px;
  height: 154px;
  padding: 10px 7px 8px;
  border: 3px solid #e89556;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffe27c, #ffd25e);
  box-shadow: 0 6px 0 #d98349, inset 0 2px 3px #fff0a8;
}

.phone-card-preview::before,
.phone-card-preview::after {
  position: absolute;
  z-index: 0;
  top: 28px;
  width: 6px;
  height: 34px;
  border-radius: 8px;
  background: #f5ae69;
  content: "";
}

.phone-card-preview::before {
  left: -9px;
}

.phone-card-preview::after {
  right: -9px;
}

.phone-card-mode {
  margin: 5px auto 0;
  color: #806b36;
  font-size: 6px;
  font-weight: 900;
  text-align: center;
}

.phone-card-screen {
  position: relative;
  z-index: 1;
  display: grid;
  height: 42px;
  place-items: center;
  border: 2px solid #81c7bb;
  border-radius: 9px;
  background: linear-gradient(145deg, #c9f0da, #a4e1d5);
  font-size: 20px;
}

.phone-card-keys {
  display: grid;
  width: 84%;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 4px auto 0;
}

.phone-card-keys span {
  display: grid;
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 7px;
  background: #fffaf0;
  box-shadow: 0 2px 0 #e7c977;
  color: #6a594e;
  font-size: 8px;
  font-weight: 900;
  place-items: center;
}

.game-art-sunset-run {
  display: grid;
  place-items: center;
  background: linear-gradient(#2a1450 0%, #8a2d6b 40%, #ff6a4d 75%, #ffc070 100%);
}

.sunset-card-preview {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.sunset-card-preview::before {
  position: absolute;
  right: -20%;
  bottom: -90%;
  left: -20%;
  height: 130%;
  border-radius: 50% 50% 0 0;
  background: repeating-linear-gradient(90deg, #d69a60 0 40px, #c98a52 40px 80px);
  content: "";
  transform: perspective(160px) rotateX(35deg);
}

.sunset-sun {
  position: absolute;
  top: 42px;
  left: 50%;
  font-size: 46px;
  transform: translateX(-50%);
}

.sunset-car {
  position: absolute;
  bottom: 34px;
  left: 50%;
  font-size: 52px;
  filter: drop-shadow(0 6px 4px #1a0f2e80);
  transform: translateX(-50%);
}

.game-art-brick-bounce {
  display: grid;
  place-items: center;
  background: linear-gradient(#14122b, #2a1c52);
}

.brick-card-preview {
  display: flex;
  width: 220px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding-top: 24px;
}

.brick-row {
  display: flex;
  gap: 4px;
}

.brick-row i {
  width: 30px;
  height: 16px;
  border-radius: 3px;
  background: #ff8a3d;
  box-shadow: inset 0 -3px 0 #c25a1e;
}

.brick-row:nth-child(2) i {
  background: #ffd166;
  box-shadow: inset 0 -3px 0 #c9971e;
}

.brick-ball {
  width: 12px;
  height: 12px;
  margin-top: 22px;
  border-radius: 50%;
  background: #f4f1ff;
  box-shadow: 0 0 10px #f4f1ff80;
}

.brick-paddle {
  width: 62px;
  height: 10px;
  margin-top: 18px;
  border-radius: 5px;
  background: #6ee7d0;
  box-shadow: inset 0 -3px 0 #2aa58f;
}

.coin-preview {
  display: grid;
  width: 100px;
  aspect-ratio: 1;
  place-items: center;
  border: 8px solid #e9b847;
  border-radius: 50%;
  background: #f4cb64;
  box-shadow: inset 0 0 0 3px #f8df98, 0 9px 18px #7c67283d;
  color: #80621f;
  font-family: "Manrope", sans-serif;
  font-size: 40px;
  font-weight: 800;
  transform: rotate(-12deg);
}

.tile-preview {
  display: grid;
  grid-template-columns: repeat(2, 64px);
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #bbada0;
  transform: rotate(-5deg);
}

.tile-preview span {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 6px;
  background: #eee4da;
  color: #776e65;
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 800;
}

.tile-preview span:nth-child(2) {
  background: #ede0c8;
}

.tile-preview span:nth-child(3) {
  background: #f2b179;
  color: white;
}

.tile-preview span:nth-child(4) {
  background: #f59563;
  color: white;
}

.game-cloud {
  position: absolute;
  width: 58px;
  height: 18px;
  border-radius: 30px;
  background: #effeff;
}

.game-cloud::before,
.game-cloud::after {
  content: "";
  position: absolute;
  bottom: 5px;
  border-radius: 50%;
  background: inherit;
}

.game-cloud::before {
  left: 10px;
  width: 24px;
  height: 24px;
}

.game-cloud::after {
  right: 8px;
  width: 18px;
  height: 18px;
}

.cloud-one {
  top: 38px;
  left: 12%;
}

.cloud-two {
  top: 66px;
  right: 10%;
  transform: scale(.75);
}

.game-bird {
  position: absolute;
  z-index: 2;
  top: 68px;
  left: 43%;
  font-size: 48px;
  filter: drop-shadow(3px 4px 0 #26384b);
  transform: rotate(-8deg);
}

.game-pipe {
  position: absolute;
  width: 42px;
  border: 3px solid #245437;
  background: #60ce3e;
}

.pipe-one {
  top: 0;
  right: 18%;
  height: 58px;
  border-top: 0;
}

.pipe-two {
  right: 18%;
  bottom: 0;
  height: 78px;
  border-bottom: 0;
}

.game-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 20px;
}

.game-type {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.game-info h3 {
  margin: 4px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  letter-spacing: -0.8px;
}

.game-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 16px;
}

.section-label span {
  margin-right: 10px;
  color: #a2a89d;
}

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

h2 {
  margin: -7px 0 20px;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
}

h2 span {
  color: var(--green);
}

.about-copy p {
  max-width: 525px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-note {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.note-icon {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: #e8eddc;
  color: var(--green);
  font-size: 17px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 21px;
  padding-bottom: 21px;
}

.footer-wordmark {
  font-size: 14px;
}

.footer-wordmark .wordmark-mark {
  width: 24px;
  height: 24px;
  background: transparent;
}

.site-footer p,
.copyright {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 760px) {
  .community-stats {
    gap: 28px;
    padding: 20px 5%;
  }

  .community-join {
    padding: 6px 9px;
  }

  .community-stat {
    gap: 6px;
  }

  .community-stat-value {
    font-size: 19px;
  }

  .community-stat-label {
    font-size: 11px;
  }

  .site-header,
  .site-footer {
    padding-right: 6%;
    padding-left: 6%;
  }

  .header-links {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 76px 8% 85px;
  }

  .hero-art {
    width: min(68vw, 340px);
    justify-self: center;
    margin: 58px 0 10px;
  }

  .hero-index {
    right: 8%;
    bottom: 27px;
  }

  h1 {
    max-width: 540px;
    font-size: clamp(58px, 13vw, 82px);
  }

  .about {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 58px 8% 65px;
  }

  .games {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 58px 8% 65px;
  }

  .games-list {
    grid-template-columns: 1fr;
  }

  .about-note {
    justify-self: start;
  }

  h2 {
    letter-spacing: -2px;
  }
}

@media (max-width: 420px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 16px 10px;
  }

  .header-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .header-link {
    display: grid;
    place-items: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .site-footer p {
    display: none;
  }

  h1 {
    letter-spacing: -2.7px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.about-copy .idea-reuse {
  margin-top: 14px;
}
