/* playtime.manabisa.com: Playtime's own site, in the app's look (doop canvas
   65KuoVbp4w, page "Web — playtime.manabisa.com (own site)", approved
   2026-11-27). Colours are the app's (playtime/android ui/Theme.kt); Fredoka
   for headings, as in the app, Roboto for reading. No manabisa.com styles. */

:root {
  --ink: #3a2e2a;
  --ink-soft: #73655c;
  --ground: #fff7e6;
  --card: #ffffff;
  --edge: #e8d9bf;
  --sky-high: #5fb6ff;
  --sky-low: #d6f1ff;
  --sun: #ffd84a;
  --hill: #a8e67c;
  --grass: #7fd35e;
  --link: #1f63a8;
  --display: "Fredoka", ui-rounded, system-ui, sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body);
  background: var(--ground);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
}
:focus-visible {
  outline: 3px solid var(--sky-high);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
}
.skip:focus {
  left: 0;
}
.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

/* ── Header: Cilu and the name, the page's places, ID/EN, and the Play badge ── */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.85rem;
  min-height: 44px;
}
.brand img {
  width: 52px;
  height: 52px;
}
.places {
  display: flex;
  gap: 0.25rem 1.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}
.places a {
  padding: 0.6rem 0.2rem;
}
.places a:hover,
.foot a:hover {
  text-decoration: underline 2px;
  text-underline-offset: 4px;
}
.end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lang {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 3px 0 var(--edge);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
}
.lang a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 40px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.lang a[aria-current] {
  background: var(--ink);
  color: #fff;
}
/* Google's official badge (unaltered); the image carries its own clear space. */
.badge {
  display: inline-block;
  line-height: 0;
}
.top .badge img {
  height: 60px;
  width: auto;
  margin: -6px;
}

/* ── Hero: the park ── */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: min(calc(var(--wrap) + 4rem), 100% - 1.5rem);
  margin: 0 auto;
  border-radius: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, var(--sky-high), var(--sky-low) 62%);
}
.scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.scene .sun {
  position: absolute;
  top: 6%;
  right: 5%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 18px rgba(255, 216, 74, 0.35), 0 0 0 36px rgba(255, 216, 74, 0.18);
}
.scene .cloud {
  position: absolute;
  width: 110px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.9;
}
.scene .cloud::before {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 14px;
  width: 54px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
}
.scene .c1 { top: 6%; left: 3%; }
.scene .c2 { top: 14%; left: 44%; transform: scale(0.75); }
.scene .hill {
  position: absolute;
  border-radius: 50%;
}
.scene .far {
  left: -20%;
  right: 25%;
  bottom: -38%;
  height: 80%;
  background: var(--hill);
}
.scene .near {
  left: 20%;
  right: -25%;
  bottom: -48%;
  height: 80%;
  background: var(--grass);
}
.hero-in {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 1rem;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3.5rem) 1.5rem;
}
.kick {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  line-height: 1.02;
  text-shadow: 0 4px 0 #fff;
  margin: 0.8rem 0 1rem;
}
.lede {
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 46ch;
}
.get {
  margin-top: 1.4rem;
}
.get .badge img {
  height: 80px;
  width: auto;
  margin: -10px -10px -10px -13px;
}
.cilu {
  justify-self: center;
  width: min(300px, 100%);
}
.cilu img {
  width: 100%;
  height: auto;
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem clamp(1.5rem, 4vw, 2rem);
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 3px 0 var(--edge);
  font-family: var(--display);
  font-weight: 600;
  white-space: nowrap;
}
.chips svg,
.promises svg {
  flex: none;
}

/* ── Sections ── */
.band {
  width: min(calc(var(--wrap) + 4rem), 100% - 1.5rem);
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  border-radius: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, var(--hill), var(--grass));
}
.section {
  padding-top: clamp(3rem, 7vw, 5rem);
}
h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.1;
  margin-top: 0.5rem;
}
.head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem 2.5rem;
  margin-bottom: 2rem;
}
.head p {
  max-width: 42ch;
  font-size: 1.05rem;
}
.section .kick,
.section .head p {
  color: var(--ink-soft);
}

/* The 17 games as the park's stops: a round toy medallion in the game's colour (--g). */
.stops {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.75rem;
}
.stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 128px;
}
.medal {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 6px solid #fff;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.5), transparent 58%), var(--g);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--g) 68%, #000);
  font-size: 56px;
  line-height: 1;
}
.plate {
  margin-top: 0.85rem;
  padding: 0.25rem 0.7rem 0.3rem;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 3px 0 var(--edge);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* How it plays: four toy cards. */
.cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.1rem 1.4rem;
  border-radius: 32px;
  background: var(--card);
  box-shadow: 0 6px 0 var(--edge);
}
.card .pic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 132px;
  border-radius: 20px;
  background: var(--ground);
}
.card h3 {
  margin-top: 0.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.2;
}
.card p {
  color: var(--ink-soft);
}
.token {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 3px 0 var(--edge);
  font-size: 30px;
  line-height: 1;
}
.token.empty {
  background: rgba(58, 46, 42, 0.12);
  box-shadow: inset 0 3px 0 rgba(58, 46, 42, 0.18);
}

/* For parents: a white toy card, the promises and the way to the privacy policy. */
.parents {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.75rem, 5vw, 3rem);
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.75rem, 5vw, 3.25rem);
  border-radius: 40px;
  background: var(--card);
  box-shadow: 0 8px 0 var(--edge);
}
.parents h2 {
  margin-bottom: 1.25rem;
}
.promises {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.promises li {
  display: flex;
  gap: 0.75rem;
  font-size: 1.05rem;
}
.promises svg {
  margin-top: 0.2rem;
}
.policy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem;
  border-radius: 30px;
  background: var(--ground);
}
.policy h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
}
.policy p {
  color: var(--ink-soft);
}
.button {
  align-self: flex-start;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}
.button:hover {
  background: #000;
}
.textlink,
.doc a {
  color: var(--link);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── The privacy page: Cilu beside the title, the policy on a white card ── */
.doc-title {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(820px, 100% - 2.5rem);
  margin: 1.75rem auto 1.5rem;
}
.doc-title img {
  width: 104px;
  height: 104px;
  flex: none;
}
.doc-title h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.05;
}
.doc-title span {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink-soft);
}
.doc {
  width: min(820px, 100% - 1.5rem);
  margin: 0 auto clamp(3rem, 7vw, 5rem);
  padding: clamp(1.5rem, 5vw, 2.75rem) clamp(1.25rem, 5vw, 3.5rem);
  border-radius: 40px;
  background: var(--card);
  box-shadow: 0 8px 0 var(--edge);
}
.doc h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  font-weight: 600;
  margin: 2.2rem 0 0.6rem;
}
.doc p,
.doc li {
  font-size: 1.05rem;
  line-height: 1.7;
}
.doc p + p,
.doc ul + p {
  margin-top: 0.75rem;
}
.doc ul {
  padding-left: 1.4rem;
  margin-top: 0.6rem;
}
.doc .lead {
  font-size: 1.2rem;
  line-height: 1.6;
}
.operator {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.6rem 1.25rem;
  margin: 1rem 0;
  padding: 1.3rem 1.6rem;
  border-radius: 24px;
  background: var(--ground);
}
.operator dt {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ink-soft);
}
.operator dd {
  margin: 0;
}

/* ── Footer: the grass band, who makes Playtime, and Manabisa's shared pages ── */
.foot {
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 3rem) 1.6rem;
  background: var(--grass);
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem 3rem;
}
.foot .brand {
  font-size: 1.6rem;
}
.foot .brand img {
  width: 46px;
  height: 46px;
}
.foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 3.5rem;
}
.foot-cols div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.foot-cols h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}
.foot-cols a {
  padding: 0.3rem 0;
}
.foot-base {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(58, 46, 42, 0.15);
  font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .parents {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .places {
    display: none; /* the page is short; the footer has them */
  }
  .hero-in {
    grid-template-columns: 1fr;
  }
  .cilu {
    order: -1;
    width: 180px;
  }
  .scene .sun {
    display: none; /* it would sit behind the title */
  }
  .lede {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    padding: 0.9rem 1rem;
  }
  .chips {
    justify-content: flex-start;
  }
  .doc-title img {
    width: 72px;
    height: 72px;
  }
}
@media (max-width: 520px) {
  .top {
    padding-inline: 0.75rem;
    gap: 0.5rem;
  }
  .brand {
    font-size: 1.5rem;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .stops {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem 0.5rem;
    justify-items: center;
  }
  .stop {
    width: 100%;
  }
  .medal {
    width: 88px;
    height: 88px;
    border-width: 5px;
    font-size: 44px;
  }
  .plate {
    font-size: 0.85rem;
    white-space: normal;
    text-align: center;
  }
  .operator {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  .operator dd {
    margin-bottom: 0.6rem;
  }
}
/* The narrowest phones: the header badge goes (the hero has it), so the name and ID/EN fit. */
@media (max-width: 420px) {
  .top .badge {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
