/* Mondolino — public website. Plain CSS, phones first. No external requests: fonts are self-hosted. */

/* ---------- Fredoka (SIL Open Font License 1.1, see ../fonts/OFL.txt) ---------- */
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/fredoka-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/fredoka-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/fredoka-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/fredoka-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/fredoka-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/fredoka-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 600; src: url(../fonts/fredoka-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fredoka'; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/fredoka-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  /* the app's palette */
  --sky: #bfe6ff;
  --sky-soft: #e6f5ff;
  --coral: #ff6b6b;
  --yellow: #ffd43b;
  --green: #40c057;
  --blue: #4a9fe8;
  /* accessible companions (text and buttons) */
  --ink: #1d3557;
  --ink-soft: #4a5d78;
  --coral-deep: #e03131;
  --coral-dark: #c92a2a;
  --green-deep: #237032; /* 5.5:1 on --green-tint */
  --link: #1864ab;
  /* surfaces */
  --cream: #fff9ef;
  --white: #ffffff;
  --coral-tint: #ffe8e8;
  --yellow-tint: #fff6d1;
  --green-tint: #e5f7e9;
  --sky-tint: #eaf6ff;
  --night: #22355a;
  /* shape */
  --r-sm: 14px;
  --r: 24px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(29, 53, 87, .06), 0 10px 30px rgba(29, 53, 87, .10);
  --shadow-lg: 0 2px 4px rgba(29, 53, 87, .06), 0 24px 60px rgba(29, 53, 87, .18);
  --wrap: 1120px;
  --font: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(29, 53, 87, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 2px 6px rgba(29, 53, 87, .18); }
.brand:hover { color: var(--ink); }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: var(--sky-tint); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 2px solid rgba(29, 53, 87, .14); }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }
.header-cta { display: none; }
@media (min-width: 420px) { .header-cta { display: inline-flex; } }
@media (min-width: 960px) { .nav { display: flex; gap: 2px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 1.2rem; line-height: 1.1;
  padding: 16px 28px; min-height: 56px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
  color: #fff; background: var(--coral-deep);
  box-shadow: 0 5px 0 var(--coral-dark), 0 12px 24px rgba(224, 49, 49, .28);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:hover { color: #fff; background: #d42a2a; transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--coral-dark), 0 4px 10px rgba(224, 49, 49, .25); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-sm { font-size: 1rem; padding: 9px 16px; min-height: 40px; box-shadow: 0 3px 0 var(--coral-dark); }
.btn-sm:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--coral-dark); }
.btn-ghost { color: var(--ink); background: #fff; box-shadow: 0 4px 0 rgba(29, 53, 87, .14), 0 10px 20px rgba(29, 53, 87, .08); }
.btn-ghost:hover { color: var(--ink); background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #a9dcff 0%, var(--sky) 38%, #d9f0ff 100%);
  padding: 34px 0 0;
  text-align: center;
}
.hero .wrap { position: relative; z-index: 2; }
.wordmark {
  display: block;
  font-size: clamp(3.1rem, 2rem + 7vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 3px 0 var(--coral), 0 6px 0 #e85d5d, 0 14px 26px rgba(29, 53, 87, .18);
  -webkit-text-stroke: 1px rgba(232, 93, 93, .35);
  margin-bottom: .22em;
}
.hero h1 { margin: 0 0 18px; }
.tagline { display: block; text-wrap: balance; font-size: clamp(1.3rem, 1rem + 1.6vw, 1.95rem); font-weight: 500; line-height: 1.28; max-width: 22em; margin: 0 auto; color: var(--ink); letter-spacing: -.005em; }
.hero-sub { font-size: 1.1rem; color: var(--ink-soft); max-width: 34em; margin: 0 auto 22px; }
.chips { list-style: none; padding: 0; margin: 0 auto 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 40em; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: .98rem; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: 0 2px 0 rgba(29, 53, 87, .08); }
.chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot-coral { background: var(--coral); } .dot-yellow { background: var(--yellow); } .dot-green { background: var(--green); } .dot-blue { background: var(--blue); }
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 34px; }
.soon { font-weight: 500; color: var(--ink-soft); margin: 0; font-size: 1rem; }
.soon strong { color: var(--ink); }

/* device frame around the hero screenshot */
.device {
  position: relative; z-index: 2;
  max-width: 980px; margin: 0 auto -1px;
  background: #1e2a3a; border-radius: 30px 30px 0 0; padding: 10px 10px 0;
  box-shadow: var(--shadow-lg);
}
.device img { border-radius: 21px 21px 0 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 700px) {
  .device { border-radius: 40px 40px 0 0; padding: 14px 14px 0; }
  .device img { border-radius: 28px 28px 0 0; }
}

/* soft clouds (decorative) */
.cloud { position: absolute; z-index: 1; width: 160px; height: 52px; background: #fff; border-radius: 999px; opacity: .85; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 70px; height: 70px; left: 24px; top: -34px; }
.cloud::after { width: 54px; height: 54px; left: 78px; top: -22px; }
.cloud.c1 { top: 70px; left: -40px; transform: scale(.8); }
.cloud.c2 { top: 150px; right: -50px; transform: scale(1.1); opacity: .7; }
.cloud.c3 { top: 420px; left: 6%; transform: scale(.6); opacity: .6; display: none; }
@media (min-width: 900px) { .cloud.c1 { left: 6%; } .cloud.c2 { right: 7%; } .cloud.c3 { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .cloud.c1 { animation: drift 26s ease-in-out infinite alternate; }
  .cloud.c2 { animation: drift 32s ease-in-out infinite alternate-reverse; }
}
@keyframes drift { from { translate: 0 0; } to { translate: 40px 0; } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { max-width: 44em; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; margin: 0; }
.eyebrow { display: inline-block; font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); background: var(--coral-tint); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.eyebrow.green { color: var(--green-deep); background: var(--green-tint); }
.eyebrow.blue { color: var(--link); background: var(--sky-tint); }
.eyebrow.yellow { color: #7a5a00; background: var(--yellow-tint); }
.bg-white { background: #fff; }
.bg-sky { background: var(--sky-soft); }
.bg-cream { background: var(--cream); }

/* mission band */
.mission { background: #fff; padding: 56px 0; }
.mission .lead { text-wrap: balance; font-size: clamp(1.35rem, 1.05rem + 1.3vw, 1.9rem); font-weight: 500; line-height: 1.35; text-align: center; max-width: 30em; margin: 0 auto 28px; }
.mission .lead em { font-style: normal; color: var(--coral-dark); }
.promise-row { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.promise-row li { display: flex; align-items: center; gap: 12px; background: var(--cream); border-radius: var(--r); padding: 16px 18px; font-weight: 500; }
.promise-row svg { width: 34px; height: 34px; flex: none; }
@media (min-width: 640px) { .promise-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .promise-row { grid-template-columns: repeat(4, 1fr); } }
.maker { text-align: center; color: var(--ink-soft); max-width: 40em; margin: 26px auto 0; }

/* cards */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); position: relative; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin: 0; }
.card p + p { margin-top: .7em; }
.badge-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 14px; font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.badge-ic svg { width: 30px; height: 30px; }
.ic-coral { background: var(--coral-tint); color: var(--coral-dark); }
.ic-yellow { background: var(--yellow-tint); color: #8a6100; }
.ic-green { background: var(--green-tint); color: var(--green-deep); }
.ic-blue { background: var(--sky-tint); color: var(--link); }

/* screenshots */
.shot { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--sky); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { background: #fff; padding: 12px 16px; font-size: .95rem; color: var(--ink-soft); }
.shots-2 { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 760px) { .shots-2 { grid-template-columns: repeat(2, 1fr); } }
.engine-note { margin: 22px auto 0; max-width: 46em; text-align: center; color: var(--ink-soft); }

/* world cards: picture on top */
.world-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.world-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky); }
.world-card .body { padding: 20px 22px 24px; }
.world-card h3 { margin-bottom: .35em; }
.world-card p { color: var(--ink-soft); margin: 0; }
.rooms { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rooms li { font-size: .9rem; font-weight: 500; background: var(--yellow-tint); color: #6b4e00; padding: 3px 10px; border-radius: 999px; }
.art-tales {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 110%, #3b5b9a 0%, var(--night) 60%, #18264a 100%);
}
.art-tales svg { width: 46%; max-width: 220px; height: auto; position: relative; z-index: 1; }
.art-tales .star { position: absolute; width: 6px; height: 6px; background: #fff3bf; border-radius: 50%; box-shadow: 0 0 8px #ffe066; }
.art-tales .moon { position: absolute; top: 12%; right: 12%; width: 46px; height: 46px; border-radius: 50%; box-shadow: -10px 6px 0 0 #ffe066; }

/* parents */
.parents-layout { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .parents-layout { grid-template-columns: 1.05fr 1fr; gap: 32px; } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.feature-list .badge-ic { width: 52px; height: 52px; margin: 0; border-radius: 16px; }
.feature-list h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.feature-list p { margin: 0; color: var(--ink-soft); }
.stack { display: grid; gap: 18px; }

.callout-night {
  margin-top: 40px; border-radius: var(--r-lg); overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #2d4677 0%, var(--night) 70%);
  display: grid; grid-template-columns: 1fr; box-shadow: var(--shadow-lg);
}
.callout-night .text { padding: 28px 24px 30px; }
.callout-night h3 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); color: #fff; }
.callout-night p { color: #dfe8ff; margin: 0 0 .8em; font-size: 1.08rem; }
.callout-night p:last-child { margin: 0; }
.callout-night img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .callout-night { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
  .callout-night .text { padding: 44px 40px; align-self: center; }
  .callout-night img { aspect-ratio: auto; min-height: 100%; }
}

/* audience */
.who .card { text-align: left; }
.langs { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.lt { display: inline-block; font-weight: 600; font-size: .85rem; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; }
.lt-it { background: var(--green-tint); color: var(--green-deep); }
.lt-en { background: var(--sky-tint); color: var(--link); }
.lt-world { background: var(--yellow-tint); color: #6b4e00; letter-spacing: 0; }
.lt-arrow { font-weight: 600; color: var(--ink-soft); }
.lang-note { margin-top: 26px; background: #fff; border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); color: var(--ink-soft); }
.lang-note strong { color: var(--ink); }

/* privacy promise */
.privacy-box { background: linear-gradient(160deg, #ffffff 0%, var(--green-tint) 100%); border-radius: var(--r-lg); padding: 30px 22px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .privacy-box { padding: 48px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px 26px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .checklist { grid-template-columns: repeat(2, 1fr); } }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 1.08rem; }
.checklist svg { width: 28px; height: 28px; color: var(--green-deep); margin-top: 1px; }
.checklist strong { display: block; }
.checklist span { color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; font-size: 1.1rem; position: relative; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 3px solid var(--coral-deep); border-bottom: 3px solid var(--coral-deep); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* final call to action */
.final-cta { text-align: center; background: linear-gradient(180deg, var(--sky-soft) 0%, var(--sky) 100%); }
.final-cta h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.final-cta p { color: var(--ink-soft); font-size: 1.15rem; max-width: 34em; margin: 0 auto 24px; }
.final-cta .soon { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #dfe8ff; padding: 44px 0 34px; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.footer-top { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.footer-brand { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (min-width: 760px) { .footer-links { justify-content: flex-end; } }
.footer-small { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; font-size: .9rem; color: #b9c6e4; display: grid; gap: 6px; }
.footer-small p { margin: 0; }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc-hero { background: linear-gradient(180deg, #a9dcff 0%, var(--sky) 100%); padding: 40px 0 34px; }
.doc-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin-bottom: .25em; }
.doc-hero p { color: var(--ink); margin: 0; font-size: 1.1rem; max-width: 40em; }
.doc-hero .meta { margin-top: 10px; font-size: .98rem; color: var(--ink-soft); }
.doc { max-width: 780px; margin: 0 auto; padding: 36px 20px 72px; }
.doc h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.75rem); margin: 1.8em 0 .55em; scroll-margin-top: 84px; }
.doc h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
.doc li { margin-bottom: .45em; }
.doc .summary { background: #fff; border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 8px; }
.doc .summary h2 { margin-top: 0; }
.doc .summary ul { margin: 0; }
.toc { background: var(--sky-tint); border-radius: 18px; padding: 16px 20px; margin: 22px 0 6px; }
.toc p { font-weight: 600; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
@media (min-width: 700px) { .toc ol { columns: 2; column-gap: 30px; } }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.note { background: var(--yellow-tint); border-radius: 16px; padding: 14px 18px; margin: 18px 0; }
.ph { background: #fff3a8; color: #5c4400; padding: 0 5px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--coral-deep); color: #fff; font-weight: 600; display: grid; place-items: center; font-size: .95rem; }
.contact-card { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.contact-card .big { font-size: 1.3rem; font-weight: 600; }
.doc .faq { margin-top: 12px; }
.back-top { margin-top: 36px; }

/* ---------- Placeholder page for the web game ---------- */
.placeholder { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(180deg, #a9dcff 0%, var(--sky) 100%); }
.placeholder .box { background: #fff; border-radius: var(--r-lg); padding: 34px 26px; max-width: 520px; box-shadow: var(--shadow-lg); }
.placeholder img { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .btn { display: none !important; }
  .doc-hero { background: none; }
  body { background: #fff; }
}
.art-tales .s1 { top: 18%; left: 14%; }
.art-tales .s2 { top: 30%; left: 30%; width: 4px; height: 4px; }
.art-tales .s3 { top: 14%; left: 56%; width: 5px; height: 5px; }
.art-tales .s4 { top: 62%; left: 10%; width: 4px; height: 4px; }
.art-tales .s5 { top: 70%; left: 86%; }
