/* Mini Minds · About Us / Nosotros.
   One long brand story told in coloured chapters joined by waves: Night hero → yellow problem →
   pink purpose → blue design cycle → lavender difference → yellow presence → aqua play worlds →
   Night close + the shared site footer. The header repeats the home's header. Single committed
   look (the brand's own site), so there is no dark-mode remap. ../ is filled in by build.py. */
@font-face { font-family: Omnes; src: url('../assets/omnes-semibold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: Omnes; src: url('../assets/omnes-bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: Omnes; src: url('fonts/omnes-black.woff2') format('woff2'); font-weight: 800 900; font-display: swap; }

:root {
  color-scheme: light;
  --night: #28265b;
  --ink: #28265b;
  --white: #ffffff;
  --cream: #fff4d8;
  --mint: #87e5d7;
  --coral: #e47c7a;
  --yellow: #fadd9c;
  --blue: #88b7db;
  --aqua: #88c7c7;
  --lavender: #bfa4c9;
  --coral-d: #cf5a57;
  --gold: #dba23a;
  --blue-d: #4a86c0;
  --aqua-d: #3f9b9b;
  --lavender-d: #9470ad;
  --coral-t: #fbe4e3;
  --yellow-t: #fef3d9;
  --blue-t: #e3eef9;
  --aqua-t: #ddf0f0;
  --lavender-t: #ece2f3;
  --pink: #f6cfcd;
  --display: Omnes, ui-rounded, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: Omnes, ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(24px, 5vw, 80px);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--ink); overflow-x: clip;
  font-family: var(--body); font-weight: 600; font-size: 19px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
a { color: inherit; }
b, strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--coral-d); outline-offset: 3px; border-radius: 8px; }
.skip { position: fixed; top: -90px; left: 16px; z-index: 100; background: var(--yellow); color: var(--night); padding: 12px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: calc(var(--gutter-l) + 16px); padding-right: calc(var(--gutter-r) + 16px);
}
@media (max-width: 560px) {
  .wrap { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
}
.section { padding-block: clamp(56px, 7vw, 100px); }

/* type scale */
.h1 { font-weight: 900; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -0.025em; }
.h2 { font-weight: 900; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }
.h2.sm { font-size: clamp(30px, 3.4vw, 46px); }
.h3 { font-weight: 700; font-size: clamp(22px, 2.1vw, 29px); line-height: 1.15; letter-spacing: -0.01em; }
.lead { font-size: clamp(19px, 1.65vw, 23px); line-height: 1.45; font-weight: 600; max-width: 36em; }
.hl {
  background: var(--hl, var(--yellow)); color: var(--night); border-radius: .18em; padding: 0 .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.head { display: flex; flex-direction: column; gap: 18px; max-width: 920px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font: 700 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px 7px 8px; border-radius: 99px; background: var(--chip, var(--yellow)); color: var(--night);
}
.chip svg { width: 26px; height: 26px; color: var(--night); --mm-icon-accent: var(--white); }
.bubble { width: 48px; height: 48px; border-radius: 50%; background: var(--b, var(--white)); display: grid; place-items: center; flex: none; }
.bubble svg { width: 30px; height: 30px; color: var(--night); --mm-icon-accent: var(--a, var(--white)); }
.bubble.lg { width: 66px; height: 66px; }
.bubble.lg svg { width: 40px; height: 40px; }

/* waves between chapters */
.wave { display: block; line-height: 0; background: var(--from); }
.wave svg { display: block; width: 100%; height: clamp(34px, 5.5vw, 84px); fill: var(--to); }
.wave.flip svg { transform: scaleX(-1); }

/* ── site header: the home's header, plus the language switch ─────────── */
.util { max-width: 1440px; margin-inline: auto; padding: 12px var(--pad) 0; display: flex; justify-content: flex-end; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,.12); border-radius: 99px; padding: 4px; font: 700 14px/1 var(--display); }
.lang-switch a, .lang-switch span { padding: 8px 13px; border-radius: 99px; color: var(--white); text-decoration: none; }
.lang-switch a:hover { color: var(--yellow); }
.lang-switch [aria-current] { background: var(--yellow); color: var(--night); }
.header {
  max-width: 1440px; margin-inline: auto; padding: 14px var(--pad) 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 10; color: var(--white);
}
.header .logo { width: 172px; flex-shrink: 0; display: block; }
.header .logo img { width: 100%; height: auto; }
.header nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.header nav a { font: 600 17px/1.2 var(--display); color: var(--white); text-decoration: none; padding: 12px 0; position: relative; }
.header nav a:not(.nav-contact)::before { content: ''; display: inline-block; background: var(--coral); width: 7px; height: 7px; border-radius: 50%; margin-right: 9px; }
.header nav a:nth-child(2)::before { background: var(--yellow); }
.header nav a:nth-child(3)::before { background: var(--aqua); }
.header nav a:hover { color: var(--yellow); }
.header nav .nav-contact { border: 1px solid var(--lavender); border-radius: 30px; padding: 12px 20px; }
#menu { display: none; background: var(--aqua); color: var(--night); border: 0; border-radius: 30px; padding: 10px 18px; font: 700 16px/1 var(--display); min-height: 44px; cursor: pointer; }
@media (max-width: 1100px) { .header nav { gap: 20px; } .header .logo { width: 150px; } }
@media (max-width: 600px) {
  .util { padding-top: 10px; }
  .header { padding-top: 8px; padding-bottom: 12px; gap: 20px; }
  .header .logo { width: 137px; }
  .header nav { flex-wrap: wrap; gap: 12px 20px; }
  .header nav .nav-contact { padding: 8px 13px; }
}

/* ── 1 hero ──────────────────────────────────────────────────────────── */
.hero { background: var(--night); color: var(--cream); }
.hero .h1 { color: var(--mint); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(28px, 4vw, 56px) 28px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero .lead { color: var(--cream); }
.badges { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 22px; font: 700 18px/1.2 var(--display); color: var(--white); }
.badges li { display: flex; align-items: center; gap: 10px; }
.mini-flag { display: block; width: 42px; height: 28px; border-radius: 6px; overflow: hidden; flex: none; box-shadow: 0 0 0 2px var(--white); }
.mini-flag svg { width: 100%; height: 100%; display: block; }
.bubble .mini-flag { width: 30px; height: 20px; border-radius: 4px; box-shadow: 0 0 0 2px var(--white); }
.hero-flags {
  align-self: flex-start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  text-decoration: none; background: rgba(255,255,255,.1); border-radius: 20px; padding: 12px 18px;
}
.hf-label { font: 700 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.hf-list { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-flags:hover .mini-flag { transform: translateY(-2px); }
.hero-flags .mini-flag { transition: transform .15s ease; }
/* the seal sits on the image's top corner, mostly above it, so it never covers a character */
.hero-art { position: relative; --seal: clamp(112px, 12.5vw, 168px); }
.hero-art img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 28px; border: 6px solid var(--yellow); box-shadow: 0 26px 50px rgba(8, 6, 38, .45); }
.hero-art .hero-seal {
  position: absolute; top: calc(30px - var(--seal)); right: -12px; width: var(--seal); height: auto; aspect-ratio: 1;
  border: 0; border-radius: 50%; box-shadow: none; transform: rotate(9deg); filter: drop-shadow(0 16px 24px rgba(8, 6, 38, .5));
}
.hero-art figcaption { margin-top: 12px; font-size: 15px; color: var(--cream); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 8px clamp(36px, 4vw, 56px); }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font: 700 16px/1 var(--display); color: var(--night); background: var(--c); border-radius: 99px; padding: 12px 18px;
  transition: transform .15s ease;
}
.jump a:hover { transform: translateY(-2px); }
.jump svg { width: 16px; height: 16px; transform: rotate(90deg); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { margin-top: 60px; } }
@media (max-width: 560px) { .badges { grid-template-columns: minmax(0, 1fr); } .hero-art { --seal: 104px; } .hero-art .hero-seal { right: 0; } .hero-flags { padding: 12px 14px; } .mini-flag { width: 39px; height: 26px; } }

/* ── 2 why we exist ─────────────────────────────────────────────────── */
.problem { background: var(--yellow-t); }
.same-panel { margin-top: clamp(36px, 4vw, 52px); background: var(--blue-t); border-radius: 32px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 18px 40px rgba(40, 38, 91, .08); }
/* four look-alike toys in a row, then the arrow down to the large Mini Minds card with the real Forest & Lava builds */
.same { display: grid; grid-template-columns: repeat(4, minmax(0, 190px)); justify-content: center; gap: 18px; align-items: center; }
.tile { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.tile-face {
  width: 100%; aspect-ratio: 1; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,0) 55%), var(--t, #aebccc);
  border: 7px solid rgba(255,255,255,.8); box-shadow: 0 0 0 2px rgba(40,38,91,.1), 0 8px 16px rgba(40,38,91,.08);
}
.tile-face.more { background: none; border: 0; box-shadow: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tile-face.more i { border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,0) 55%), var(--t); border: 4px solid rgba(255,255,255,.8); box-shadow: 0 0 0 2px rgba(40,38,91,.1); }
.tile-face.boxed { outline: 3px dashed var(--blue-d); outline-offset: 7px; }
.tile-face.old { filter: grayscale(1); opacity: .55; }
.tile span { font: 700 17px/1.25 var(--display); color: var(--night); }
.tile.eq span { color: var(--coral-d); }
.arrow { grid-column: 1 / -1; transform: rotate(90deg); width: 52px; height: 52px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; justify-self: center; }
.arrow svg { width: 26px; height: 26px; color: var(--night); }
.mm-card { grid-column: 1 / -1; background: var(--night); color: var(--cream); border-radius: 28px; padding: 18px 34px 18px 18px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.mm-card .mm-logo { width: 150px; margin-bottom: 12px; }
.mm-card b { display: block; font: 900 clamp(26px, 2.8vw, 38px)/1.1 var(--display); color: var(--yellow); }
.mm-card small { display: block; margin-top: 10px; font-size: 19px; line-height: 1.45; }
.statement { margin-top: clamp(40px, 5vw, 64px); font: 900 clamp(26px, 3vw, 40px)/1.22 var(--display); letter-spacing: -0.015em; max-width: 24em; text-wrap: balance; }
.origin { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--lavender-t); border-radius: 32px; padding: clamp(22px, 3vw, 36px); }
.badge-18 { width: 200px; height: 200px; border-radius: 50%; background: var(--coral); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 22px; justify-self: center; }
.badge-18 b { font: 900 66px/1 var(--display); color: var(--night); }
.badge-18 span { font: 700 16px/1.25 var(--display); color: var(--night); margin-top: 6px; }
.origin-txt { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 900px) {
  .same { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .origin { grid-template-columns: minmax(0, 1fr); }
  .badge-18 { width: 160px; height: 160px; justify-self: start; }
  .badge-18 b { font-size: 52px; }
}
@media (max-width: 480px) {
  .mm-card { grid-template-columns: minmax(0, 1fr); padding: 16px 18px 22px; gap: 16px; }
  .mm-card > img { width: 100%; justify-self: center; }
  .mm-card b { font-size: 24px; }
  .tile span { font-size: 14px; }
  .tile-face { border-width: 5px; }
}

/* ── 3 purpose + cast ───────────────────────────────────────────────── */
.purpose { background: var(--coral-t); }
.promises { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promise { background: var(--p); border-radius: 28px; padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.promise p { font-size: 18px; line-height: 1.5; }
.cast-head { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
.cast-intro { display: flex; flex-direction: column; gap: 16px; }
.cast-intro p { max-width: 34em; font-size: 19px; }
.cast-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font: 700 18px/1.2 var(--display); }
.cast-points li { display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--b) 34%, var(--white)); border-radius: 99px; padding: 6px 20px 6px 6px; }
.cast { margin-top: 28px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.kid { display: flex; flex-direction: column; border-radius: 24px; background: var(--c); overflow: hidden; }
.kid-art { height: 230px; display: flex; align-items: flex-end; justify-content: center; padding-top: 14px; }
.kid-art img { height: 100%; width: auto; max-width: 92%; object-fit: contain; object-position: bottom; }
.kid-txt { background: rgba(255,255,255,.62); margin: 0 6px 6px; border-radius: 18px; padding: 12px 14px 14px; flex: 1; }
.kid-name { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.kid-txt b { font: 900 20px/1.1 var(--display); display: block; }
.kid-name em { font: 700 13px/1 var(--display); font-style: normal; background: var(--night); color: var(--white); border-radius: 99px; padding: 6px 9px; white-space: nowrap; }
.kid-txt span { font-size: 15.5px; line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 980px) { .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .promises { grid-template-columns: minmax(0, 1fr); } .cast-head { grid-template-columns: minmax(0, 1fr); } .cast-points { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 520px) { .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kid-art { height: 190px; } }

/* ── 4 design process ───────────────────────────────────────────────── */
.process { background: var(--blue-t); }
.cycle-wrap {
  margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--yellow-t); border-radius: 36px;
  padding: clamp(18px, 3vw, 40px); box-shadow: 0 18px 40px rgba(40, 38, 91, .08);
}
.cycle svg { width: 100%; height: auto; display: block; }
.cycle text { font-family: var(--display); }
.cycle a:focus-visible { outline: none; }
.cycle a:focus-visible .ring, .cycle a:hover .ring { stroke: var(--night); }
.legend { display: flex; flex-direction: column; gap: 12px; }
.legend-title { font: 900 26px/1.1 var(--display); margin-bottom: 2px; }
.phase { background: var(--c); border-radius: 22px; padding: 14px 18px 10px; display: flex; flex-direction: column; }
.phase-tag { font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.phase a { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 18px/1.2 var(--display); padding: 6px 0; }
.phase a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.phase a i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: var(--night); color: var(--white); display: grid; place-items: center; font: 900 15px/1 var(--display); flex: none; }
@media (max-width: 900px) { .cycle-wrap { grid-template-columns: minmax(0, 1fr); } .cycle { max-width: 560px; width: 100%; margin-inline: auto; } }
@media (max-width: 640px) { .cycle .phase-label { display: none; } }

/* each step: --c full colour, --t light tint, --m medium tint, --d deep shade */
.rows { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.step { --m: color-mix(in srgb, var(--c) 42%, var(--white)); }
.card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--t); border-radius: 32px; overflow: hidden; box-shadow: 0 18px 40px rgba(40, 38, 91, .08); }
.step:nth-child(even) .row-txt { order: 2; }
.row-txt { padding: clamp(24px, 3.2vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.row-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.num { width: 64px; height: 64px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font: 900 28px/1 var(--display); color: var(--night); flex: none; }
.row-head .bubble { background: var(--night); }
.row-head .bubble svg { color: var(--white); --mm-icon-accent: var(--c); }
.phase-pill { font: 700 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; background: var(--c); color: var(--night); border-radius: 99px; padding: 9px 13px; }
.row-txt > p { font-size: 19px; line-height: 1.5; }
.proofs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.proofs li { display: inline-flex; align-items: center; gap: 9px; font: 700 16px/1.2 var(--display); background: var(--c); color: var(--night); border-radius: 99px; padding: 6px 16px 6px 6px; }
.proofs li > svg { width: 34px; height: 34px; flex: none; padding: 5px; border-radius: 50%; background: var(--night); color: var(--white); --mm-icon-accent: var(--c); }
.proofs .mini-flag { width: 34px; height: 23px; border-radius: 5px; margin-left: 3px; }
.example { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; background: var(--m); border-radius: 22px; padding: 16px 18px; margin-top: 2px; }
.example .bubble { background: var(--night); }
.example .bubble svg { color: var(--white); --mm-icon-accent: var(--c); }
.example small { display: inline-block; font: 700 12.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; background: var(--night); color: var(--white); border-radius: 99px; padding: 6px 10px; margin-bottom: 8px; }
.example p { font-size: 18px; line-height: 1.45; }
.row-art { background: var(--m); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: clamp(18px, 2.4vw, 32px); }
.row-art > img { width: 100%; max-height: 420px; object-fit: contain; }
.cap { display: inline-flex; gap: 9px; align-items: center; background: var(--night); color: var(--white); font: 700 15.5px/1.2 var(--display); border-radius: 99px; padding: 10px 16px; box-shadow: 0 6px 14px rgba(40,38,91,.16); }
.cap::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.next { display: grid; place-items: center; width: 52px; height: 52px; margin: 16px auto; border-radius: 50%; background: var(--d); }
.next svg { width: 26px; height: 26px; color: var(--white); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.trio div { position: relative; border-radius: 16px; overflow: hidden; }
.trio img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.trio span { position: absolute; left: 8px; top: 8px; background: var(--night); color: var(--white); font: 900 15px/1 var(--display); padding: 7px 10px; border-radius: 99px; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; width: 100%; align-items: stretch; }
.duo figure, .thumbs figure { background: var(--t); border-radius: 18px; padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.duo img { width: 100%; flex: 1; object-fit: contain; }
.duo figcaption, .thumbs figcaption { font: 700 15px/1.2 var(--display); text-align: center; }
.blueprint { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; }
.blueprint img { width: 100%; background: var(--white); border-radius: 18px; padding: 10px; }
.blueprint img.small { width: 72%; justify-self: end; margin-top: -8%; box-shadow: 0 10px 24px rgba(40,38,91,.14); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.boxseal { position: relative; width: min(340px, 82%); }
.boxseal .seal { position: absolute; right: -14%; bottom: 2%; width: 44%; filter: drop-shadow(0 10px 18px rgba(40,38,91,.28)); }
@media (max-width: 860px) {
  .card { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(even) .row-txt { order: 0; }
}
@media (max-width: 480px) {
  .num { width: 54px; height: 54px; font-size: 24px; }
  .example { grid-template-columns: minmax(0, 1fr); }
  .thumbs figcaption, .duo figcaption { font-size: 13px; }
}

.app { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--aqua); border-radius: 32px; padding: clamp(22px, 3vw, 40px); }
.app-txt { display: flex; flex-direction: column; gap: 16px; }
.app .h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 900; }
.app-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.app-steps li { display: inline-flex; align-items: center; gap: 9px; background: var(--yellow-t); border-radius: 99px; padding: 6px 16px 6px 6px; font: 700 16px/1.2 var(--display); }
.app-steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--night); color: var(--white); display: grid; place-items: center; font: 900 15px/1 var(--display); }
.app-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.app-facts li { display: inline-flex; align-items: center; gap: 7px; font: 700 15px/1 var(--display); background: var(--night); color: var(--white); border-radius: 99px; padding: 9px 14px 9px 9px; }
.app-facts li i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.app-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.app-art figure { background: var(--night); color: var(--cream); border-radius: 24px; padding: 8px 8px 16px; display: flex; flex-direction: column; gap: 12px; }
.app-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.app-art figcaption { padding: 0 8px; font-size: 16px; line-height: 1.4; }
.app-art figcaption b { display: block; font: 900 19px/1.2 var(--display); color: var(--yellow); margin-bottom: 3px; }
.results { margin-top: 24px; background: var(--night); color: var(--cream); border-radius: 32px; padding: clamp(24px, 3vw, 44px); }
.results .h3 { color: var(--yellow); }
.stats { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stats li { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.08); border-radius: 22px; padding: 18px; }
.stats b { font: 900 clamp(44px, 5vw, 64px)/1 var(--display); color: var(--b); }
.stats span:last-child { font-size: 17px; line-height: 1.35; }
@media (max-width: 860px) { .app { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .app-art { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 5 difference ───────────────────────────────────────────────────── */
.diff { background: var(--lavender-t); }
.diff-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.h2-logo { display: inline-block; height: 1.08em; width: auto; vertical-align: -0.24em; margin-inline: .04em; }
.seal-originals { width: clamp(200px, 24vw, 310px); height: auto; transform: rotate(-6deg); filter: drop-shadow(0 18px 30px rgba(40,38,91,.28)); }
.pillars { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillar { background: var(--p); border-radius: 28px; padding: 26px 22px 28px; display: flex; flex-direction: column; gap: 14px; }
.pillar p { font-size: 17.5px; line-height: 1.5; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .diff-top { grid-template-columns: minmax(0, 1fr); }
  .seal-originals { justify-self: start; }
}

/* ── 6 presence ─────────────────────────────────────────────────────── */
.presence { background: var(--yellow-t); }
.flags { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.flags li { background: color-mix(in srgb, var(--c) 24%, var(--white)); border-radius: 24px; padding: 24px 14px 30px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; box-shadow: inset 0 -9px 0 var(--c), 0 12px 26px rgba(40,38,91,.08); }
.flag { width: 96px; height: 64px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 3px var(--white), 0 6px 14px rgba(40,38,91,.12); }
.flag svg { width: 100%; height: 100%; display: block; }
.flags b { font: 700 19px/1.2 var(--display); }
@media (max-width: 1120px) { .flags { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .flags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── 7 play worlds ──────────────────────────────────────────────────── */
.worlds { background: var(--aqua-t); }
.bento { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-areas: "blocks tiles tiles" "blocks foam wood"; gap: 18px; }
.fam { border-radius: 30px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.fam:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(40,38,91,.16); }
.fam > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fam-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fam h3 { font: 900 clamp(24px, 2.2vw, 30px)/1.1 var(--display); display: flex; align-items: center; gap: 10px; }
.fam h3 svg { width: 34px; height: 34px; flex: none; --mm-icon-accent: var(--white); }
.fam p { font-size: 17px; line-height: 1.45; }
.go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--display); padding: 12px 16px; border-radius: 99px; background: var(--night); color: var(--white); }
.go svg { width: 18px; height: 18px; }
.fam-blocks { grid-area: blocks; background: var(--night); color: var(--cream); }
.fam-blocks h3 { color: var(--yellow); }
.fam-blocks > img { aspect-ratio: 4 / 3; }
.fam-blocks h3 svg { color: var(--yellow); --mm-icon-accent: var(--coral); }
.fam-blocks .go { background: var(--yellow); color: var(--night); }
.fam-blocks .chip { margin-bottom: 2px; }
.fam-facts { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fam-facts li { display: inline-flex; align-items: center; gap: 7px; font: 700 15px/1 var(--display); background: rgba(255,255,255,.1); border-radius: 99px; padding: 8px 12px 8px 8px; }
.fam-facts li i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.fam-tiles { grid-area: tiles; background: var(--yellow); color: var(--night); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.fam-tiles > img { height: 100%; aspect-ratio: auto; }
.fam-foam { grid-area: foam; background: var(--pink); color: var(--night); }
.fam-wood { grid-area: wood; background: var(--lavender); color: var(--night); }
.manifest { margin-top: clamp(44px, 6vw, 72px); font: 900 clamp(26px, 3vw, 42px)/1.22 var(--display); letter-spacing: -0.015em; max-width: 22em; text-wrap: balance; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "blocks blocks" "tiles tiles" "foam wood"; } }
@media (max-width: 620px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "blocks" "tiles" "foam" "wood"; }
  .fam-tiles { grid-template-columns: minmax(0, 1fr); }
  .fam-tiles > img { height: auto; aspect-ratio: 3 / 2; }
}

/* ── 8 close ─────────────────────────────────────────────────────────── */
.close { background: var(--night); color: var(--cream); text-align: center; }
.close-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.close .h2 { color: var(--mint); }
.close .lead { color: var(--cream); }
.close-faces { display: flex; justify-content: center; }
.close-faces img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--night); margin-left: -14px; }
.close-faces img:first-child { margin-left: 0; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; border-radius: 99px; font: 700 18px var(--display); text-decoration: none; }
.btn.primary { background: var(--yellow); color: var(--night); }
.btn.ghost { border: 2px solid var(--lavender); color: var(--white); }
.btn.ghost:hover { color: var(--yellow); }

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