/* Kids World – landing, legal and support pages.
   No JavaScript, no external requests: fonts are self-hosted subsets of
   the fonts the apps themselves use (SIL OFL, licences next to the files). */

@font-face {
  font-family: 'Baloo 2';
  src: url('/assets/fonts/baloo2-extrabold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Baloo 2';
  src: url('/assets/fonts/baloo2-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Grandstander';
  src: url('/assets/fonts/grandstander-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/quicksand-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #fff8ec;
  --cream-2: #fdefd9;
  --paper: #ffffff;
  --ink: #1f2433;
  --ink-2: #3a4155;
  --muted: #5b6275;
  --line: #eadfcd;
  --accent: #ff7a00;
  --accent-ink: #b34f00;
  --focus: #2f6bff;

  --coloring: #ff8a00;
  --coloring-soft: #ffefd6;
  --coloring-ink: #a44f00;
  --memory: #3f9f4f;
  --memory-soft: #e3f3e3;
  --memory-sky: #dff1fa;
  --memory-ink: #22672d;
  --dressup: #8f56d6;
  --dressup-soft: #f1e8fc;
  --dressup-red: #b3243f;
  --dressup-ink: #5f2aa3;

  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 1px 2px rgba(31, 36, 51, .06), 0 10px 30px -12px rgba(31, 36, 51, .22);
  --shadow-lg: 0 2px 4px rgba(31, 36, 51, .06), 0 30px 60px -24px rgba(31, 36, 51, .35);

  --font-display: 'Baloo 2', ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.4vw + .6rem, 4.4rem); }
h2 { font-size: clamp(1.9rem, 2.6vw + .8rem, 2.9rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--cream-2);
  border-radius: 6px;
  padding: .1em .35em;
  overflow-wrap: anywhere;
}

mark.todo {
  background: #ffe45c;
  color: #3b2f00;
  border-radius: 4px;
  padding: 0 .3em;
  font-weight: 700;
}

.sr-only {
  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 {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .875rem; }
.muted { color: var(--muted); font-weight: 600; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 20px; height: 20px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 236, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(234, 223, 205, .7);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.logo-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 12px);
  gap: 3px;
  align-items: end;
}
.logo-mark i {
  display: block;
  width: 12px;
  border-radius: 6px;
}
.logo-mark i:nth-child(1) { height: 16px; background: var(--coloring); }
.logo-mark i:nth-child(2) { height: 24px; background: var(--memory); }
.logo-mark i:nth-child(3) { height: 20px; background: var(--dressup); }

.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
}
.main-nav a:hover, .main-nav a[aria-current] { background: var(--cream-2); color: var(--ink); }

.lang-switch {
  display: flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  font-weight: 700;
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 11px;
  border-radius: 999px;
  line-height: 1.2;
}
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.lang-switch a:not([aria-current]):hover { color: var(--ink); background: var(--cream-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 0 -1px #000, 0 14px 24px -12px rgba(31, 36, 51, .6);
}
.btn-primary:hover { color: #fff; }
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { color: var(--ink); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 88% 20%, rgba(255, 138, 0, .16), transparent 70%),
    radial-gradient(520px 340px at 70% 70%, rgba(63, 159, 79, .12), transparent 70%),
    radial-gradient(520px 420px at 5% 10%, rgba(143, 86, 214, .10), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: center;
}
.eyebrow, .kicker {
  display: inline-block;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}
.eyebrow {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .08em;
}
.hero h1 { margin-bottom: .35em; }
.h1-soft { display: block; color: var(--ink-2); font-weight: 700; font-size: .62em; line-height: 1.15; margin-top: .2em; }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 28px; }
.center-row { justify-content: center; }

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-2);
}
.chips li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #3f9f4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}
.blob { position: absolute; border-radius: 50%; }
.blob-a { width: 62%; height: 62%; left: 2%; top: 4%; background: var(--coloring-soft); }
.blob-b { width: 54%; height: 54%; right: 0; top: 22%; background: var(--memory-sky); }
.blob-c { width: 50%; height: 50%; left: 18%; bottom: 0; background: var(--dressup-soft); }
.hero-icon {
  position: absolute;
  width: 42%;
  border-radius: 23%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #fff;
}
.hero-icon img { width: 100%; }
.hero-icon-1 { left: 6%; top: 8%; transform: rotate(-8deg); animation: bob 7s ease-in-out infinite; }
.hero-icon-2 { right: 4%; top: 28%; transform: rotate(7deg); animation: bob 8s ease-in-out -2s infinite; }
.hero-icon-3 { left: 24%; bottom: 4%; transform: rotate(-3deg); animation: bob 9s ease-in-out -4s infinite; }
.sticker { position: absolute; filter: drop-shadow(0 8px 12px rgba(31, 36, 51, .18)); }
.sticker-frog { width: 19%; right: 6%; bottom: 8%; transform: rotate(10deg); }
.sticker-fish { width: 16%; left: 0; bottom: 30%; transform: rotate(-12deg); }
.sticker-owl { width: 17%; right: 18%; top: 0; transform: rotate(8deg); }
.spark {
  position: absolute;
  width: 18px; height: 18px;
  background: #ffc933;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 3s ease-in-out infinite;
}
.spark-1 { left: 48%; top: 6%; }
.spark-2 { left: 4%; top: 56%; width: 12px; height: 12px; animation-delay: -1s; background: #ff8fb1; }
.spark-3 { right: 2%; bottom: 36%; width: 14px; height: 14px; animation-delay: -2s; background: #6fc3ff; }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: .4; scale: .7; }
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-lead { font-size: 1.15rem; color: var(--ink-2); }

/* ---------- App worlds ---------- */

.apps { padding-top: 40px; }
.world {
  --tone: var(--coloring);
  --tone-soft: var(--coloring-soft);
  --tone-ink: var(--coloring-ink);
  --world-font: 'Grandstander', var(--font-display);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 48px;
  margin-bottom: 36px;
  border-radius: 40px;
  background: var(--tone-soft);
  overflow: hidden;
  scroll-margin-top: 88px;
}
.world::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  right: -120px; bottom: -160px;
  border-radius: 50%;
  background: var(--tone);
  opacity: .12;
  pointer-events: none;
}
.world--memory {
  --tone: var(--memory);
  --tone-soft: var(--memory-soft);
  --tone-ink: var(--memory-ink);
  --world-font: 'Quicksand', var(--font-display);
  background: linear-gradient(180deg, var(--memory-sky), var(--memory-soft));
}
.world--dressup {
  --tone: var(--dressup);
  --tone-soft: var(--dressup-soft);
  --tone-ink: var(--dressup-ink);
  --world-font: 'Baloo 2', var(--font-display);
}
.world.is-flipped .world-text { order: 2; }
.world.is-flipped::after { right: auto; left: -120px; }

.world-text { position: relative; z-index: 1; }
.world-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.world-icon {
  width: 88px; height: 88px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  flex: none;
}
.age-pill {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--tone-ink);
  font-weight: 800;
  font-size: .85rem;
}
.world-name {
  font-family: var(--world-font);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.6vw + 1rem, 2.3rem);
  margin: 0;
  color: var(--ink);
}
.world--dressup .world-name { font-weight: 800; }
.world-tagline {
  font-family: var(--world-font);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--tone-ink);
  margin-bottom: .6em;
}
.activity-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}
.activity-list li {
  position: relative;
  padding: 12px 16px 12px 48px;
  background: rgba(255, 255, 255, .78);
  border-radius: var(--radius-sm);
}
.activity-list li::before {
  content: '';
  position: absolute;
  left: 16px; top: 17px;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: var(--tone);
  transform: rotate(45deg) scale(.8);
}
.activity-list strong { display: block; font-size: 1.05rem; }
.world-meta { color: var(--ink-2); font-size: .95rem; }
.world-free {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--tone-ink);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.world-free .icon { margin-top: 2px; color: #e2a100; }

.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px 18px 8px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  font-weight: 700;
  font-size: 1.05rem;
}
.store-btn:hover { color: #fff; transform: translateY(-2px); }
.store-btn small { display: block; font-size: .7rem; font-weight: 600; opacity: .8; letter-spacing: .02em; }
.store-btn .icon { width: 26px; height: 26px; }
.store-btn.is-soon {
  background: rgba(255, 255, 255, .7);
  color: var(--ink-2);
  border: 2px dashed rgba(31, 36, 51, .25);
  cursor: default;
}

.world-shots {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  padding: 16px 0;
}
.phone {
  margin: 0;
  border: 7px solid var(--ink);
  border-radius: 30px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 540 / 1172;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.phone-1 { transform: rotate(-7deg) translateX(20%) scale(.9); }
.phone-2 { position: relative; z-index: 2; transform: translateY(-6px) scale(1.1); }
.phone-3 { transform: rotate(7deg) translateX(-20%) scale(.9); }

/* ---------- Promises ---------- */

.parents { background: #fff; border-radius: 48px; margin: 0 16px; }
.promise-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.promise {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
}
.promise h3 { margin: 16px 0 8px; }
.promise p { margin: 0; color: var(--ink-2); }
.promise-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
}
.promise:nth-child(3n+1) .promise-icon { background: var(--coloring); }
.promise:nth-child(3n+2) .promise-icon { background: var(--memory); }
.promise:nth-child(3n) .promise-icon { background: var(--dressup); }

/* ---------- Pricing steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
}
.steps li:last-child { background: var(--ink); color: #fff; }
.steps li:last-child::before { background: var(--accent); color: #fff; }
.steps li:last-child p { color: rgba(255, 255, 255, .85); }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }
.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 820px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: .98rem;
}
.note .icon { margin-top: 3px; color: var(--accent-ink); }

/* ---------- FAQ ---------- */

.faq { padding-top: 40px; }
.faq-list { display: grid; gap: 12px; margin-bottom: 28px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: box-shadow .2s ease;
}
details[open] { box-shadow: var(--shadow); }
summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 18px 60px 18px 22px;
  font-weight: 700;
  font-size: 1.06rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  position: absolute;
  right: 20px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2433' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

/* ---------- Contact band ---------- */

.contact-band { padding-top: 24px; }
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 48px;
  border-radius: 40px;
  background: linear-gradient(120deg, var(--coloring) 0%, #ff5e8a 55%, var(--dressup) 100%);
  color: #fff;
  max-width: 1132px;
}
.contact-card h2 { margin-bottom: .2em; font-size: clamp(1.6rem, 2vw + .8rem, 2.4rem); }
.contact-card p { margin: 0; color: rgba(255, 255, 255, .92); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  padding: 56px 0 32px;
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffd08a; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.site-footer h2 {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-base {
  margin-top: 40px;
  font-size: .9rem;
}
.footer-base::before {
  content: '';
  display: block;
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 24px;
}
.footer-base p { margin: 0 0 6px; }
.footer-base .small { color: rgba(255, 255, 255, .55); }
.site-footer mark.todo { color: #3b2f00; }

/* ---------- Documents (privacy, terms, support) ---------- */

.doc-hero {
  padding: 64px 0 28px;
  background: radial-gradient(560px 300px at 88% 0%, rgba(255, 138, 0, .14), transparent 70%);
}
.doc-hero h1 { font-size: clamp(2.2rem, 4vw + .6rem, 3.6rem); margin-bottom: .25em; }
.doc-meta { color: var(--muted); font-weight: 600; }
.doc { padding-bottom: 48px; }

.summary-box {
  background: #fff;
  border: 2px solid var(--memory);
  border-radius: var(--radius);
  padding: 24px 28px 12px;
  margin-bottom: 28px;
}
.summary-box h2 { font-size: 1.5rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .2em;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #3f9f4f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.toc {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 36px;
}
.toc-title { font-size: 1.15rem; margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; margin-bottom: 6px; }
.toc a { color: var(--ink); text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }

.prose section { scroll-margin-top: 88px; margin-bottom: 36px; }
.prose h2 { font-size: clamp(1.4rem, 1vw + 1rem, 1.8rem); margin-bottom: .6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose .check-list { padding-left: 0; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--cream-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

.app-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px 10px;
  margin-bottom: 16px;
  scroll-margin-top: 88px;
}
.app-card:target { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 122, 0, .18); }
.app-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.app-card h3 img { border-radius: 10px; }
.app-card dl { display: grid; grid-template-columns: 11em 1fr; gap: 6px 16px; margin: 0 0 12px; }
.app-card dt { font-weight: 700; color: var(--ink-2); }
.app-card dd { margin: 0; }

/* Support */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  scroll-margin-top: 88px;
}
.support-grid .card { margin-bottom: 0; }
.card h2 { font-size: 1.6rem; margin: 14px 0 10px; }
.card ul { padding-left: 1.2em; margin: 0; }
.card-mail { background: var(--ink); color: rgba(255, 255, 255, .85); border: 0; }
.card-mail h2 { color: #fff; }
.card-mail .promise-icon { background: var(--accent); }
.card-mail .btn-primary { background: #fff; color: var(--ink); box-shadow: none; margin-bottom: 18px; }
.card-mail mark.todo { color: #3b2f00; }
.big-mail { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.05rem, 4.2vw, 1.35rem); overflow-wrap: anywhere; }
.big-mail a { color: #fff; }
.faq h2 { margin-bottom: 20px; }
.doc-links { text-align: center; color: var(--muted); }

/* 404 */
.not-found { padding: 80px 0 60px; }
.nf-sticker { margin: 0 auto 16px; width: 160px; animation: bob 6s ease-in-out infinite; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: 420px; order: -1; }
  .world { grid-template-columns: 1fr; padding: 36px; }
  .world.is-flipped .world-text { order: 0; }
  .world-shots { max-width: 560px; margin: 0 auto; width: 100%; }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 18px; }
  .main-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .hero { padding: 24px 0 48px; }
  .hero-art { max-width: 320px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .world { padding: 26px 20px; border-radius: 32px; gap: 24px; }
  .world-icon { width: 72px; height: 72px; border-radius: 18px; }
  .phone { border-width: 5px; border-radius: 22px; }
  .phone img { border-radius: 17px; }
  .promise-grid, .steps, .support-grid { grid-template-columns: 1fr; }
  .parents { margin: 0; border-radius: 32px; }
  .contact-card { flex-direction: column; align-items: flex-start; padding: 32px 24px; border-radius: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .app-card dl { grid-template-columns: 1fr; gap: 2px; }
  .app-card dd { margin-bottom: 8px; }
  .btn { width: 100%; }
  .store-row { gap: 10px; }
  .store-btn { flex: 1 1 140px; gap: 8px; padding: 8px 12px; font-size: .95rem; white-space: nowrap; }
  .store-btn .icon { width: 22px; height: 22px; }
  .cta-row .btn { width: auto; flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .header-row { gap: 10px; }
  .site-header .brand { font-size: 1.05rem; gap: 7px; }
  .site-header .logo-mark { grid-template-columns: repeat(3, 9px); gap: 2px; }
  .site-header .logo-mark i { width: 9px; }
  .lang-switch a { padding: 5px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .toc, .skip { display: none; }
  body { background: #fff; }
  a { color: inherit; }
}
