/* ChuQiao Kids website. White pages with the logo's lemon gold, plus royal-blue and gold bands.
   Fonts: Nunito (English), Noto Sans TC (Chinese, css/noto-tc.css); Fredoka only for the ChuQiao wordmark. */
@font-face {
  font-family: "Fredoka";
  src: url(../fonts/fredoka-latin.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url(../fonts/nunito-latin.woff2) format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --gold: #ffd23f;
  --gold-hi: #ffe680;
  --gold-dk: #eea400;
  --gold-deep: #d48a00;
  --gold-pale: #fff0a8;
  --navy: #0f2c6e;
  --navy-dk: #0a1f52;
  --blue: #1e5fe0;
  --sky: #5cc8ff;
  --cream: #fff6df;
  --cream-hi: #fffbef;
  --blush: #ffd79a;
  --ink: #0f2c6e;
  --soft: #3d5288;
  --shadow: 0 18px 40px rgba(10, 31, 82, .14);
  --radius: 30px;
  --white: #ffffff;
  --gold-soft: #fff8db;
  --head: "Nunito", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  --body: "Nunito", "Noto Sans TC", system-ui, -apple-system, "Segoe UI", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 34'%3E%3Cpath d='M0 10q7.5-9 15 0t15 0 15 0 15 0' fill='none' stroke='%231e5fe0' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M0 25q7.5-9 15 0t15 0 15 0 15 0' fill='none' stroke='%235cc8ff' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--white); }
body { margin: 0; font: 500 17px/1.7 var(--body); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0; font-weight: 900; letter-spacing: -.01em; }
html[lang="zh-Hant"] h1, html[lang="zh-Hant"] h2, html[lang="zh-Hant"] h3 { letter-spacing: .03em; line-height: 1.3; }

/* One language at a time. html[lang] is switched by js/site.js. */
html[lang="en"] .zh, html[lang="zh-Hant"] .en { display: none !important; }

/* Four-point sparkles, as in the logo */
.sparkles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sparkles ~ * { position: relative; z-index: 1; }
.spark { position: absolute; width: 24px; height: 24px; color: #fff; animation: twinkle 3.4s ease-in-out infinite; }
.spark.b { color: var(--blue); width: 16px; height: 16px; }
.spark.s { color: var(--sky); width: 18px; height: 18px; }
.spark.g { color: var(--gold); }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(15deg); } }

/* The logo's double wave, used as a divider */
.waves { height: 34px; background: var(--waves) left center / 60px 34px repeat-x; }
.waves.slim { height: 26px; background-size: 46px 26px; max-width: 240px; margin: 14px auto 0; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 22px; min-height: 72px;
  padding: 8px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 4px solid var(--gold);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 50px; height: auto; }
.brand b { font: 700 24px/1 "Fredoka", sans-serif; color: var(--navy); display: block; }
.brand small { display: block; margin-top: 3px; font: 700 13px/1 "Noto Sans TC", var(--head); color: var(--gold-deep); letter-spacing: .18em; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a {
  color: var(--navy); font: 800 16px var(--head); text-decoration: none; padding: 8px 12px;
  border-bottom: 3px solid transparent; transition: border-color .2s, color .2s;
}
.menu a:hover { color: var(--blue); border-bottom-color: var(--gold); }
.lang {
  border: 0; cursor: pointer; padding: 9px 18px; border-radius: 999px;
  font: 800 15px var(--head); color: #fff; background: var(--blue);
}
.lang:hover { background: var(--navy); }

/* Layout */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
section { position: relative; padding: 84px 0; }
.kicker {
  display: inline-block; font: 800 14px var(--head); letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--gold); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.title { font-size: clamp(30px, 4.4vw, 50px); }
.lead { font-size: 19px; color: var(--soft); max-width: 700px; margin: 14px 0 0; }
.head { text-align: center; margin-bottom: 44px; }
.head .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 20px;
  font: 800 18px var(--head); text-decoration: none; border: 0;
}
.btn.navy { background: var(--navy); color: #fff; box-shadow: 0 6px 0 var(--navy-dk); }
.btn.white { background: #fff; color: var(--navy); box-shadow: 0 6px 0 var(--gold-deep); }
.btn svg { width: 28px; height: 28px; flex: none; }
.btn small { display: block; font: 500 13px/1.1 var(--head); opacity: .8; }
.btn b { display: block; font: 900 19px/1.2 var(--head); }
.btn:hover { filter: brightness(1.06); }

/* Hero: a lemon-gold sky with the full logo */
.hero {
  padding: 54px 0 0; text-align: center; overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg at 50% 38%, rgba(255, 255, 255, .16) 0 6deg, transparent 6deg 18deg),
    radial-gradient(circle at 50% 36%, var(--gold-hi), var(--gold) 55%, #ffc928 100%);
}
.hero .logo { width: min(330px, 70vw); margin: 0 auto; animation: float 4.6s ease-in-out infinite; filter: drop-shadow(0 14px 18px rgba(212, 138, 0, .35)); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero h1 { font-size: clamp(38px, 6vw, 70px); margin-top: 26px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin: 18px auto 0; color: var(--navy); font-size: 20px; max-width: 760px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.chips li { padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .75); font: 600 15px var(--head); color: var(--navy); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.device-wrap { position: relative; max-width: 900px; margin: 56px auto 0; padding: 0 16px; }
.device {
  position: relative; z-index: 2; border-radius: 34px 34px 0 0; overflow: hidden;
  border: 12px solid var(--navy); border-bottom: 0; background: var(--navy);
  box-shadow: 0 -10px 40px rgba(10, 31, 82, .2);
}
.device img { border-radius: 20px 20px 0 0; }
.hero .waves { position: relative; z-index: 3; background-color: var(--white); margin-top: -1px; }

/* Numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 0 50px; }
.stat {
  aspect-ratio: 1; max-width: 190px; width: 100%; margin: 0 auto; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, var(--gold-dk));
  box-shadow: 0 8px 0 var(--gold-deep), var(--shadow);
}
.stat b { display: block; font: 900 clamp(34px, 4.4vw, 48px)/1 var(--head); color: var(--navy); }
.stat span { font: 600 15px/1.2 var(--head); color: var(--navy); display: block; margin-top: 4px; padding: 0 10px; }

/* Interview: alternating rows */
.rows { display: grid; gap: 34px; }
.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.row:nth-child(even) .pic { order: 2; }
.pic img { border-radius: 26px; border: 8px solid var(--navy); box-shadow: 14px 14px 0 var(--gold), var(--shadow); background: var(--navy); }
.row:nth-child(even) .pic img { box-shadow: -14px 14px 0 var(--sky), var(--shadow); }
.num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font: 900 22px var(--head); margin-bottom: 14px;
}
.row h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; }
.row p { margin: 0; color: var(--soft); font-size: 18px; }
/* Each row opens with the parent's worry, marked with a gold four-point sparkle */
.row .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-bottom: 16px; }
.row .meta .num { margin-bottom: 0; }
.worry {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 7px 16px 7px 12px; border-radius: 999px; background: #fff; border: 2px solid var(--gold);
  font: 600 15px/1.3 var(--head); color: var(--soft);
}
.worry::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 6.4 5.1 10.8 12 12-6.9 1.2-11.1 5.6-12 12-.9-6.4-5.1-10.8-12-12C6.9 10.8 11.1 6.4 12 0z' fill='%23eea400'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Dreamy sections: the app's own pastel backgrounds, softened at the edges so sections blend */
.dream {
  position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, .62), rgba(255, 255, 255, .18) 14%, rgba(255, 255, 255, .18) 86%, rgba(255, 255, 255, .62)),
    var(--bg) center / cover no-repeat,
    #f3ecff;
}
.bg-clouds { --bg: url(../img/bg/clouds.webp); }
.bg-crown { --bg: url(../img/bg/crown.webp); }
.bg-worlds { --bg: url(../img/bg/worlds.webp); }
.bg-library { --bg: url(../img/bg/library.webp); }
.bg-castle { --bg: url(../img/bg/castle.webp); }
.bg-rainbow { --bg: url(../img/bg/rainbow.webp); }
.dream .head h2 { text-shadow: 0 2px 14px rgba(255, 255, 255, .95); }
.dream .head .lead, .dream .row p { color: var(--navy); }
.dream .row > div:not(.pic) {
  background: rgba(255, 255, 255, .72); border: 2px solid rgba(255, 255, 255, .95); border-radius: 26px; padding: 24px 26px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 14px 34px rgba(110, 80, 170, .14);
}
/* Pearly glass cards with a white rim on the dreamy backgrounds */
.page-body { padding: 10px 0 80px; }
.dream .tile-card, .dream .plan:not(.full), .dream .faq details, .dream .safe-list li,
.dream .doc, .dream .reach, .dream .privacy-note {
  background: rgba(255, 255, 255, .84); border: 2px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 210, 63, .35), 0 16px 36px rgba(110, 80, 170, .16);
}

/* Screenshot gallery */
.gallery-band h2 em { font-style: normal; color: var(--blue); }
.shots {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(16px, calc((100vw - 1180px) / 2)) 30px;
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
.shots img { flex: none; width: 240px; aspect-ratio: 1320 / 2868; scroll-snap-align: center; border-radius: 28px; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--gold), 0 16px 36px rgba(110, 80, 170, .22); }
.hint { text-align: center; color: var(--navy); font: 800 15px var(--head); margin: 0; }

/* Bento of what children play */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tile-card { background: #fff; border-radius: var(--radius); padding: 16px 16px 26px; box-shadow: var(--shadow); border: 3px solid var(--gold-pale); }
.tile-card img { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; }
.tile-card h3 { font-size: 26px; padding: 0 10px; margin-bottom: 6px; }
.tile-card p { margin: 0; padding: 0 10px; color: var(--soft); }
.bento .big {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px 28px; align-items: center;
  padding: 18px; background: radial-gradient(circle at 100% 0%, var(--gold-hi), var(--gold) 70%); border: 0;
  box-shadow: 0 8px 0 var(--gold-deep), var(--shadow);
}
.bento .big img { margin: 0; border: 6px solid var(--navy); }
.bento .big h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 8px; }
.bento .big p { color: var(--navy); font-size: 18px; }
.tag { display: inline-block; margin: 0 10px 10px; font: 700 13px var(--head); color: #fff; background: var(--blue); padding: 3px 12px; border-radius: 999px; }

/* Worlds in bridge-shaped arches */
.worlds { display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; margin-top: 46px; }
.world { text-align: center; }
.world img {
  width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover;
  border-radius: 999px 999px 18px 18px; border: 6px solid var(--gold);
  box-shadow: 0 6px 0 var(--gold-dk); transition: transform .3s;
}
.world:hover img { transform: translateY(-8px); }
.world span { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); font: 800 14px/1.25 var(--head); color: var(--navy); }

/* Learn */
.learn-band { background: var(--gold); }
.learn-band .kicker { background: var(--navy); color: var(--gold); }
.learn { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.learn article { background: #fff; border-radius: 26px; padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.learn .ic { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.learn .ic svg { width: 38px; height: 38px; }
.learn article:nth-child(1) .ic { background: var(--blue); }
.learn article:nth-child(2) .ic { background: var(--gold-dk); }
.learn article:nth-child(3) .ic { background: var(--navy); }
.learn article:nth-child(4) .ic { background: var(--sky); }
.learn article:nth-child(5) .ic { background: var(--gold-deep); }
.learn h3 { font-size: 22px; margin-bottom: 6px; }
.learn p { margin: 0; font-size: 15px; color: var(--soft); }

/* Parents */
.parents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.parents .tile-card { border-color: #fff; }
.parents .wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
  padding: 28px 34px; background: radial-gradient(circle at 100% 0%, var(--gold-hi), var(--gold) 70%); border: 0; color: var(--navy);
  box-shadow: 0 8px 0 var(--gold-deep), var(--shadow);
}
.parents .wide h3 { color: var(--navy); padding: 0; }
.parents .wide p { color: var(--navy); padding: 0; }
.parents .wide .mark { width: 150px; }

/* Safety */
.safe-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.safe-list li { border-radius: 22px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; font-size: 17px; font-weight: 700; color: var(--navy); }
.safe-list svg { flex: none; width: 34px; height: 34px; color: var(--gold-dk); }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.plan { border-radius: var(--radius); padding: 34px; background: #fff; box-shadow: var(--shadow); }
.plan h3 { font-size: 32px; }
.plan .sub { color: var(--soft); margin: 4px 0 18px; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 7px 0 7px 34px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%23ffd23f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.plan.full { background: radial-gradient(circle at 80% 0%, var(--gold-hi), var(--gold) 60%); box-shadow: 0 8px 0 var(--gold-deep), var(--shadow); }
.plan.full .sub, .plan.full .fine { color: var(--navy); }
.plan .badge { display: inline-block; font: 700 13px var(--head); color: var(--gold); background: var(--navy); padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.plan .fine { font-size: 14px; color: var(--soft); margin: 18px 0 0; }

/* FAQ */
#faq { padding-top: 20px; }
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 22px; padding: 4px 26px; border: 2px solid var(--gold-pale); box-shadow: 0 10px 24px rgba(10, 31, 82, .06); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 800 19px var(--head); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--navy); font: 900 22px/1 var(--head); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--soft); }

/* Closing call to action: a lemon-gold card like the hero sky */
.launch { padding-top: 10px; }
.launch-card {
  position: relative; overflow: hidden; max-width: 980px; margin: 0 auto; padding: 44px 30px 52px;
  text-align: center; border-radius: 40px;
  background:
    repeating-conic-gradient(from 0deg at 50% 30%, rgba(255, 255, 255, .16) 0 6deg, transparent 6deg 18deg),
    radial-gradient(circle at 50% 30%, var(--gold-hi), var(--gold) 60%, #ffc928 100%);
  box-shadow: 0 8px 0 var(--gold-deep), var(--shadow);
}
.launch-card .mark { width: 120px; margin: 0 auto 14px; animation: float 4.6s ease-in-out infinite; }
.launch-card .title em { font-style: normal; color: var(--blue); }
.launch-card .lead { color: var(--navy); margin: 14px auto 28px; }

/* Footer */
.foot { background: var(--navy); color: #cfdcff; padding: 0 0 30px; }
.foot .waves { background-color: var(--white); }
.foot .inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding-top: 46px; }
.foot img { width: 150px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot a { color: #fff; text-decoration: none; font: 600 16px var(--head); }
.foot a:hover { color: var(--gold); }
.foot .small { grid-column: 1 / -1; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* Inner pages (contact, legal, support) */
.page-hero { background: radial-gradient(circle at 50% 0%, var(--gold-hi), var(--gold) 70%); padding: 46px 0 40px; text-align: center; overflow: hidden; }
.page-hero .mark { width: 150px; margin: 0 auto 14px; animation: float 4.6s ease-in-out infinite; }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); }
.page-hero h1 small { display: block; font: 600 20px var(--head); color: var(--navy); opacity: .75; margin-top: 6px; }
.page-hero .lead { margin: 12px auto 0; color: var(--navy); }
.page-hero + .waves { background-color: var(--white); }
.doc { max-width: 840px; margin: 40px auto 0; padding: 38px 36px; background: #fff; border-radius: var(--radius); border: 2px solid var(--gold-pale); box-shadow: var(--shadow); }
.doc h2 { margin: 28px 0 6px; font-size: 21px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.doc h2:first-child { margin-top: 0; }
.doc h2::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-pale); }
.doc p { margin: 4px 0; }
.doc p.tr { color: var(--soft); }
.doc .note { margin-top: 26px; font-size: 14px; color: var(--soft); }

/* Contact */
.mail {
  display: inline-block; margin-top: 22px; padding: 14px 26px; border-radius: 20px;
  background: var(--navy); color: #fff; text-decoration: none; font: 800 clamp(17px, 2.4vw, 22px) var(--head);
  box-shadow: 0 6px 0 var(--navy-dk); word-break: break-all;
}
.mail:hover { filter: brightness(1.15); }
.reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.reach { display: block; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius); padding: 30px 28px; border: 2px solid var(--gold-pale); box-shadow: var(--shadow); transition: transform .25s; }
.reach:hover { transform: translateY(-6px); }
.reach .ic { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.reach .ic svg { width: 34px; height: 34px; }
.reach:nth-child(1) .ic { background: var(--gold-dk); }
.reach:nth-child(2) .ic { background: var(--blue); }
.reach:nth-child(3) .ic { background: var(--navy); }
.reach h3 { font-size: 24px; margin-bottom: 6px; }
.reach p { margin: 0; color: var(--soft); }
.reach .go { display: inline-block; margin-top: 16px; font: 700 16px var(--head); color: var(--blue); }
.privacy-note { margin: 24px 0 0; padding: 18px 24px; font-size: 15px; color: var(--navy); background: var(--gold-soft); border: 2px solid var(--gold-pale); border-radius: 20px; }

/* Reveal on scroll */
.rise { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rise.in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .menu { display: none; }
  .lang { margin-left: auto; }
  .row { grid-template-columns: 1fr; gap: 22px; }
  .row:nth-child(even) .pic { order: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .big { grid-column: 1 / -1; grid-row: auto; }
  .worlds { grid-template-columns: repeat(5, 1fr); }
  .learn { grid-template-columns: repeat(2, 1fr); }
  .learn article:last-child { grid-column: 1 / -1; }
  .parents { grid-template-columns: 1fr 1fr; }
  .safe-list { grid-template-columns: 1fr 1fr; }
  .reach-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .brand img { width: 44px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .stat { max-width: 150px; }
  .stat span { font-size: 13px; }
  .bento, .parents, .plans, .learn, .safe-list, .bento .big { grid-template-columns: 1fr; }
  .pic img, .row:nth-child(even) .pic img { box-shadow: 8px 8px 0 var(--gold), var(--shadow); }
  .learn article:last-child { grid-column: auto; }
  .parents .wide { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; }
  .parents .wide .mark { width: 120px; margin: 0 auto; }
  .worlds { grid-template-columns: repeat(3, 1fr); }
  .shots img { width: 200px; }
  .device { border-width: 8px; border-radius: 24px 24px 0 0; }
  .foot .inner { grid-template-columns: 1fr; }
  .doc { padding: 26px 20px; margin-top: 24px; }
  .plan { padding: 26px 22px; }
  .stats { margin-bottom: 38px; }
  .worry { font-size: 14px; }
  .launch-card { padding: 34px 18px 40px; border-radius: 30px; }
  .launch-card .mark { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
