
/* KidiMuze V9.1 review layer — keeps V8.4 content architecture and rebrands the experience */
:root{
  --navy:#0f1e3a;
  --navy-2:#1a315c;
  --blue:#5267ff;
  --green:#39c9a5;
  --mint:#e5f7f2;
  --purple:#a78bfa;
  --yellow:#ffca4d;
  --coral:#ff6c6b;
  --ink:#14213d;
  --soft:#fbfaf7;
}
body{background:#fffdf9}
.site-header{background:rgba(255,253,249,.92)}
.brand img{width:168px;max-height:62px;object-fit:contain}
.main-nav>a:hover{color:#39a98c}
.btn-primary{background:linear-gradient(135deg,#4357ea,#6b5cff);box-shadow:0 12px 30px rgba(67,87,234,.22)}
.btn-primary:hover{background:linear-gradient(135deg,#364bdc,#5e51e8)}
.eyebrow,.section-kicker{color:#228d73}
.eyebrow span{background:#39c9a5}
h1 em{
  color:transparent;
  background:linear-gradient(90deg,#39c9a5 0%,#58aef7 28%,#a78bfa 52%,#ff6c6b 73%,#ffca4d 100%);
  -webkit-background-clip:text;background-clip:text;
}
.lead{color:#284a67}
.visual-card.kidimuze-product-card{
  background:
    radial-gradient(circle at 80% 12%,rgba(255,202,77,.25),transparent 28%),
    radial-gradient(circle at 18% 88%,rgba(167,139,250,.22),transparent 34%),
    linear-gradient(150deg,#e8f7f2,#fffefa 62%,#f3efff);
  min-height:590px;display:grid;place-items:center;padding:42px 28px 54px;
}
.device-stage{position:relative;width:min(310px,78%);margin:auto;filter:drop-shadow(0 28px 38px rgba(15,30,58,.20))}
.device-stage>img{width:100%;border-radius:0!important}
.device-screen-overlay{
  position:absolute;left:15.2%;top:13.2%;width:69.4%;height:44.2%;
  background:linear-gradient(#080f1f,#060b16);border-radius:9% 9% 8% 8%;
  padding:7% 6.5% 5.5%;color:#fff;display:flex;flex-direction:column;
  overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)
}
.screen-status{display:flex;justify-content:space-between;font-size:clamp(7px,.7vw,10px);font-weight:700;margin-bottom:4%}
.screen-row{display:flex;align-items:center;gap:7%;flex:1;border-radius:7px;background:rgba(255,255,255,.045);padding:0 5%;margin:.8% 0;font-size:clamp(7px,.86vw,12px);font-weight:720;white-space:nowrap}
.screen-icon{width:17%;font-size:1.1em;text-align:center}
.device-stage.mini{width:min(280px,78%)}
.device-stage.mini .device-screen-overlay{padding:7% 6% 5%}
.concept-badge{right:20px;bottom:16px}
.story-section{background:#fffdf9}
.story-copy h2 em{font-style:normal;color:#228d73}
.evolution-mini{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:22px 0 24px}
.evolution-mini>div{background:#fff;border:1px solid #e7e8ec;border-radius:16px;padding:12px 8px;text-align:center}
.evolution-mini span{display:block;font-size:1.35rem;line-height:1.1;margin-bottom:4px}
.evolution-mini small{font-weight:800;color:#56647a}
.poc-history-note{
  margin:0 auto 26px;width:min(1120px,100%);padding:12px 16px;border-radius:16px;
  background:#fff8df;border:1px solid #f1dfa0;color:#735f20;font-size:.86rem;font-weight:700
}
.poc-history-note.compact{margin-bottom:18px}
.parent-mock{
  margin:auto auto 0;width:100%;max-width:420px;background:#fff;border-radius:24px;
  box-shadow:0 18px 45px rgba(15,30,58,.10);padding:24px;border:1px solid #e8eceb
}
.parent-mock-title{font-weight:900;color:#0f1e3a;font-size:1.1rem;margin-bottom:14px}
.parent-mock-row{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0f2;padding:12px 0;color:#44526a}
.parent-mock-row span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e5f7f2;color:#228d73;font-weight:900}
.parent-mock-row b{font-size:.93rem}
.provider-core strong{color:#fff}
.status-chip.validated,.status-pill{background:#e5f7f2;color:#228d73}
.cta-box{background:linear-gradient(135deg,#0f1e3a,#304f88)}
.site-footer img{width:185px;mix-blend-mode:normal}
.legal-note{line-height:1.55}
.lang-switch{white-space:nowrap}

@media (max-width:980px){
  .brand img{width:148px}
  .visual-card.kidimuze-product-card{min-height:520px}
  .device-stage{width:min(300px,68%)}
}
@media (max-width:640px){
  .brand img{width:132px}
  .visual-card.kidimuze-product-card{min-height:auto;padding:26px 10px 48px}
  .device-stage{width:min(255px,82%)}
  .screen-row{font-size:9px}
  .evolution-mini{grid-template-columns:repeat(5,minmax(64px,1fr));overflow-x:auto;padding-bottom:4px}
  .evolution-mini>div{min-width:72px}
  .poc-history-note{font-size:.78rem}
}


/* ==================================================
   KidiMuze V9.2 — manifesto + Discover alignment fix
   ================================================== */
.brand-manifest{padding:28px 0 78px;background:#fffdf9}
.manifest-card{
  display:grid;grid-template-columns:1.04fr .96fr;min-height:470px;
  overflow:hidden;border-radius:34px;background:#fbfaf7;
  border:1px solid rgba(15,30,58,.06);box-shadow:0 22px 60px rgba(15,30,58,.08)
}
.manifest-copy{padding:54px 48px 44px;display:flex;flex-direction:column;justify-content:center}
.manifest-copy .section-kicker{margin-bottom:12px}
.manifest-copy h2{font-size:clamp(2.65rem,4.6vw,4.85rem);line-height:.98;letter-spacing:-.045em;margin:0 0 24px;color:var(--navy)}
.manifest-copy h2 em{font-style:normal;color:#718099}
.manifest-copy>p:not(.section-kicker):not(.manifest-answer){font-size:1.08rem;line-height:1.6;color:#526178;max-width:690px;margin:0 0 25px}
.manifest-answer{font-size:.98rem;line-height:1.55;color:#526178;margin:24px 0 0;max-width:690px}
.manifest-answer strong{color:var(--navy)}
.manifest-evolution{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin:4px 0 0}
.manifest-step{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:72px;padding:12px 8px;border-radius:18px;background:#fff;border:1px solid #e7e8ec}
.manifest-step span{font-size:1.55rem;line-height:1;margin-bottom:7px}
.manifest-step b{font-size:.76rem;color:#33425c}
.manifest-evolution i{font-style:normal;color:#40506b;font-size:1.2rem;font-weight:900}
.manifest-photo{
  position:relative;min-height:470px;
  background-image:linear-gradient(90deg,#fbfaf7 0%,rgba(251,250,247,.08) 20%,rgba(251,250,247,0) 42%),url('assets/kidimuze-story-concept.png');
  background-repeat:no-repeat;background-size:auto 235%;background-position:right bottom;
}
.manifest-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 70%,rgba(255,253,249,.08));pointer-events:none}

/* Note above the two-column Discover content; visual and copy start on the same baseline. */
.discover-section-shell>.poc-history-note{margin:0 0 26px;width:100%}
.discover-section-shell .discover-v6-grid{grid-template-columns:.82fr 1.18fr;gap:72px;align-items:start}
.discover-section-shell .discover-v6-visual{grid-column:1;grid-row:1;align-self:start;place-items:start center;padding-top:0}
.discover-section-shell .discover-v6-copy{grid-column:2;grid-row:1;align-self:start;padding-top:0}
.discover-section-shell .discover-photo{margin-top:0}
.discover-section-shell .discover-v6-topline{margin-top:0}

@media(max-width:980px){
  .manifest-card{grid-template-columns:1fr;min-height:0}
  .manifest-copy{padding:42px 34px 34px}
  .manifest-photo{min-height:360px;background-size:auto 230%;background-position:86% bottom}
  .discover-section-shell .discover-v6-grid{grid-template-columns:1fr;gap:34px}
  .discover-section-shell .discover-v6-copy{grid-column:1;grid-row:1}
  .discover-section-shell .discover-v6-visual{grid-column:1;grid-row:2;place-items:center}
}
@media(max-width:640px){
  .brand-manifest{padding:18px 0 56px}
  .manifest-card{border-radius:26px}
  .manifest-copy{padding:34px 22px 28px}
  .manifest-copy h2{font-size:clamp(2.25rem,12vw,3.4rem)}
  .manifest-copy>p:not(.section-kicker):not(.manifest-answer){font-size:.98rem}
  .manifest-evolution{overflow-x:auto;padding:2px 0 8px;gap:7px}
  .manifest-step{min-width:68px;padding:10px 7px}
  .manifest-evolution i{font-size:1rem}
  .manifest-photo{min-height:300px;background-size:auto 235%;background-position:88% bottom}
}

/* V9.3 — approved product reference visual */
.device-stage{
  width:min(330px,82%);
  filter:drop-shadow(0 22px 34px rgba(15,30,58,.16));
}
.device-stage>img{
  width:100%;height:auto;display:block;
  border-radius:28px!important;object-fit:contain;
}
.device-stage.mini{width:min(300px,82%)}
.device-screen-overlay{display:none!important}
@media (max-width:980px){.device-stage{width:min(315px,74%)}}
@media (max-width:640px){.device-stage{width:min(270px,86%)}}


/* Mobile manifesto: keep the grid inside the viewport. */
@media (max-width: 980px) {
  .brand-manifest .manifest-card { grid-template-columns: minmax(0, 1fr); }
  .brand-manifest .manifest-copy,
  .brand-manifest .manifest-photo { min-width: 0; max-width: 100%; }
  .brand-manifest .manifest-evolution { min-width: 0; max-width: 100%; overflow-x: auto; }
  .brand-manifest .manifest-step { flex: 0 0 auto; }
  .brand-manifest .manifest-copy h2,
  .brand-manifest .manifest-copy p { max-width: 100%; overflow-wrap: break-word; }
}

/* Phones: compact text and all five timeline cards visible, without horizontal scrolling. */
@media (max-width: 640px) {
  .brand-manifest .manifest-copy { padding: 26px 18px 24px; }
  .brand-manifest .manifest-copy .section-kicker { margin-bottom: 12px; font-size: .72rem; }
  .brand-manifest .manifest-copy h2 { font-size: clamp(1.65rem, 7vw, 2rem); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 18px; }
  .brand-manifest .manifest-copy > p:not(.section-kicker):not(.manifest-answer) { font-size: .95rem; line-height: 1.6; margin-bottom: 18px; }
  .brand-manifest .manifest-evolution { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 0; margin-top: 0; }
  .brand-manifest .manifest-evolution i { display: none; }
  .brand-manifest .manifest-step { min-width: 0; padding: 10px 6px; border-radius: 14px; }
  .brand-manifest .manifest-step span { font-size: 1.35rem; margin-bottom: 6px; }
  .brand-manifest .manifest-step b { font-size: .72rem; line-height: 1.25; }
  .brand-manifest .manifest-answer { margin-top: 18px; font-size: .95rem; line-height: 1.6; }
  .brand-manifest .manifest-photo { background-size: auto 330%; background-position: right 90%; }
}
