:root { --blue:#94400a; --muted:#594c3c; --lulu-ink:#283047; --lulu-sun:#ffc433; --lulu-paper:#fff9ed; --lulu-line:#efdfbf; }
body { color:var(--lulu-ink); background:#fffdf8; }
body.lulu-home > header { background:#fffdf8f5; border-bottom:1px solid var(--lulu-line); }
body.lulu-home .button, .auth-card .submit { border:0; border-radius:999px; background:var(--lulu-sun); color:#302409; box-shadow:0 7px 0 #e89c26; }
body.lulu-home .button { color:#302409!important; }
body.lulu-home .button:hover, .auth-card .submit:hover { background:#ffd45c; }
.lulu-home .hero { min-height:590px; padding-top:34px; padding-bottom:36px; gap:clamp(16px,4vw,48px); background:linear-gradient(104deg,#fff6da 25%,#fffaf0 50%,#b9e8fc 100%); }
.lulu-home .hero h1 { font-size:clamp(2.6rem,5vw,4.8rem); color:var(--lulu-ink); line-height:1.12; }
.lulu-home .hero h1 em { color:#934009; background:none; }
.lulu-home .eyebrow { color:#934009; }
.lulu-scene { position:relative; min-width:0; margin:0; display:grid; justify-items:center; justify-self:stretch; }
.lulu-mascot { width:min(100%,490px); aspect-ratio:1; background:url('/lulu-phone.png') no-repeat right center / 200% 100%; filter:drop-shadow(0 13px 20px #9c5a2724); }
.lulu-scene.is-playing .lulu-mascot { animation:lulu-call 3.2s both, lulu-pose 3.2s steps(1,end) both; }
@keyframes lulu-call {
  0%, 30% { transform:rotate(-3deg); }
  12% { transform:rotate(2deg); }
  36% { transform:translateY(-9px) rotate(3deg); }
  51% { transform:translateY(0) rotate(0); }
  70% { transform:rotate(-2deg); }
  100% { transform:none; }
}
@keyframes lulu-pose { 0% {background-position:left center} 34%,100% {background-position:right center} }
.lulu-bubble { position:absolute; inset:8% auto auto 4%; max-width:11rem; padding:.65rem .85rem; border:2px solid #9d571d; border-radius:17px 17px 17px 4px; font-weight:800; color:#65320d; background:white; box-shadow:3px 4px 0 #fcc972; }
.lulu-alert { position:absolute; inset:25% auto auto 13%; color:#713c08; background:#ffdb72; border-radius:999px; padding:.38rem .7rem; font-weight:800; opacity:0; }
.lulu-scene.is-playing .lulu-alert { animation:lulu-ring 1s both; }
.lulu-scene.is-playing .lulu-bubble { animation:lulu-greeting 3.2s both; }
@keyframes lulu-ring { 0%,94%,100% {opacity:0} 12%,78% {opacity:1} 35% {transform:rotate(-9deg)} 65% {transform:rotate(8deg)} }
@keyframes lulu-greeting { 0%,34% {opacity:0;transform:scale(.85)} 47%,100% {opacity:1;transform:scale(1)} }
.lulu-replay { z-index:1; border:1px solid #9d571d; border-radius:999px; background:#fffaf0; color:#713c08; padding:.55rem 1rem; font:inherit; font-weight:700; cursor:pointer; }
.lulu-replay:hover { background:#fff0c7; }
.lulu-home .metrics { background:#ffe9a7; color:var(--lulu-ink); box-shadow:0 12px 30px #9c622321; }
.lulu-home .metrics span { color:#654319; }
.lulu-home .metrics div { border-color:#9c62233b; }
.lulu-home .cards article, .lulu-home .platform-grid > div { border-color:var(--lulu-line); border-radius:17px; }
.lulu-home .cards .dark { background:#684223; color:white; }
.lulu-home .cards .dark p { color:#fff2db; }
.lulu-home .platforms { background:#fff4db; }
.lulu-home .security { background:linear-gradient(135deg,#fff1ca,#e1f6ff); }
.lulu-home .security .shield { background:#ffca49; color:#654319; }
.lulu-home .contact { background:#713e1d; }
.lulu-home .contact p, .lulu-home .contact span { color:#fff1d2; }
.lulu-home #platforms { scroll-margin-top:80px; }
.platform-grid .platform-logo { display:block; width:30px; height:30px; object-fit:contain; flex:0 0 30px; }
.auth-shell .auth-brand { background:linear-gradient(155deg,#fff0c7 30%,#c7edff 100%); color:var(--lulu-ink); gap:24px; }
.auth-shell .auth-brand > a, .auth-shell .auth-brand footer, .auth-shell .auth-brand footer a { color:#59402c; }
.auth-shell .auth-brand h1 { margin:16px 0 0; }
.auth-shell .auth-brand .lulu-scene { width:min(100%,320px); margin:auto; }
.auth-shell .auth-brand .lulu-bubble { inset:8% auto auto 0; }
.auth-panel { background:var(--lulu-paper); }
.auth-card { border:1px solid var(--lulu-line); border-radius:24px; box-shadow:0 20px 46px #9c622319; }
.auth-card .tabs button.active { color:#713c08; background:#ffe9a7; }
.auth-card :is(input,button):focus-visible, .lulu-home :is(a,button):focus-visible { outline:2px solid #88400e; outline-offset:3px; }
@media (max-width:880px) {
  .lulu-home .hero { gap:10px; padding:35px 22px 28px; }
  .lulu-mascot { width:min(100%,360px); }
  .auth-shell .auth-brand .lulu-scene { width:min(100%,220px); }
}
@media (prefers-reduced-motion:reduce) {
  .lulu-scene.is-playing :is(.lulu-mascot,.lulu-alert,.lulu-bubble) { animation:none; }
  .lulu-replay { display:none; }
}
