/* Anansesem purple/lime brand overlay — extends rather than replaces v0.9 styling. */
:root{--brand-purple:#5b1688;--brand-purple-dark:#37104f;--brand-lime:#d8f12e;--ana-ivory:#faf8f4}
html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#fcfbf8,#f7f1fb);color:#37104f}
.topbar{background:rgba(255,255,255,.97);border-bottom:1px solid #eee2f0;color:var(--brand-purple-dark)}
.brand{color:var(--brand-purple-dark)}
.brandmark svg path[fill="#235B52"],.brandmark svg path[fill="#387A68"]{fill:#5b1688}
.nav-btn.active{background:var(--brand-purple)!important;color:#fff!important}
.nav-btn:hover:not(.active){background:#f1e6f7}
.account-button{background:var(--brand-purple)!important;color:#fff!important;border-color:var(--brand-purple)!important;border-radius:30px!important}
.primary-button,.auth-primary{background:var(--brand-purple)!important;color:#fff!important;border-color:var(--brand-purple)!important;border-radius:28px!important}
.primary-button:hover,.auth-primary:hover{background:#39105b!important}
.primary-button:focus-visible,.option-button:focus-visible,button:focus-visible{outline:3px solid var(--brand-lime);outline-offset:3px}
.storybook-hero{background:#fff;border-color:#e9dfef;border-radius:28px;box-shadow:0 15px 40px #35105012}
.storybook-hero h1,.page-heading h1{color:var(--brand-purple-dark);font-family:Georgia,Cambria,serif}
.storybook-hero .eyebrow,.eyebrow{color:var(--brand-purple)}
.hero-card-caption{background:linear-gradient(transparent,#301340e9)}
.assessment-start,.result-card{border-color:#ddd0e5}
.option-button.selected{border-color:var(--brand-purple)!important;background:#f3e6fb!important}
.auth-overlay{background:#29113dae;backdrop-filter:blur(8px)}
.auth-card{background:white;border:1px solid #e9ddee;border-radius:25px;max-height:calc(100dvh - 35px);overflow-y:auto}
.auth-tabs{background:#f4ecf8}.auth-tab{color:var(--brand-purple)}
.auth-tab.active{background:var(--brand-lime);color:var(--brand-purple-dark)}
.auth-form input,.auth-form select{min-height:46px;font-size:16px}
.child-access-box{border:2px solid #d4e9a2;background:linear-gradient(130deg,#f8fce6,#fff);border-radius:18px;padding:18px;margin:14px 0}
.child-access-box h3{font-size:18px;color:#36124e;margin:0 0 8px}
.child-access-box p{font-size:13px;color:#5f5368;line-height:1.5}
.child-access-box #child-pin-form{display:grid;gap:12px}
.child-access-box input{text-transform:uppercase}
.child-access-box #child-login-pin{text-transform:none}
.auth-divider{text-align:center;color:#80658d;font-size:13px;margin:16px 0}
.account-menu{border-color:#e5d8ee}
.dashboard-actions button{min-height:44px}
#auth-message:not(:empty){font-size:14px;line-height:1.4}
@media(max-width:700px){.topbar{padding:12px}.topnav{overflow-x:auto}.child-access-box{padding:12px}.auth-card{max-height:95dvh;overflow-y:auto}.storybook-hero{padding:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.ana-official-logo{width:174px;max-width:100%;height:68px;object-fit:contain;object-position:left center}
.brand-fallback{font-size:24px;font-weight:900;color:#5b1688}
.hero-card-main{position:relative;overflow:hidden}
.ana-hero-art{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:1}
.hero-card-main .hero-card-caption,.hero-card-main .hero-card-arrow{position:relative;z-index:3}
.hero-card-main .hero-sky,.hero-card-main .hero-character,.hero-card-main .hero-anansi{visibility:hidden}
@media(max-width:550px){.ana-official-logo{width:142px;height:55px}}
