@import "https://fonts.googleapis.com/css2?family=Lora:wght@500;600;700&family=Nunito+Sans:wght@400;600;700&display=swap";*{box-sizing:border-box;margin:0;padding:0}:root{--navy-900:#0d1530;--navy-800:#141f45;--navy-700:#1c2960;--gold:#f2b84b;--gold-dark:#d99a2b;--cream:#faf6ef;--text-dark:#1c2541;--text-muted:#6b7290;--card-shadow:0 10px 30px #141f4514}body{background:var(--cream);color:var(--text-dark);font-family:Nunito Sans,sans-serif}h1,h2,h3{font-family:Lora,serif}a{color:inherit;text-decoration:none}button{cursor:pointer;border:none;font-family:inherit}input,select{border:1px solid #dfe1ec;border-radius:10px;padding:.7rem .9rem;font-family:inherit;font-size:.95rem}.btn{border-radius:999px;justify-content:center;align-items:center;gap:.4rem;padding:.7rem 1.4rem;font-size:.95rem;font-weight:700;transition:transform .15s,opacity .15s;display:inline-flex}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.btn-primary{background:var(--gold);color:var(--navy-900)}.btn-primary:hover{background:var(--gold-dark)}.btn-outline{border:2px solid var(--navy-800);color:var(--navy-800);background:0 0}.btn-ghost{color:inherit;background:0 0}.btn-sm{padding:.5rem 1rem;font-size:.85rem}.btn-block{width:100%}.landing{background:var(--navy-900);color:#fff}.landing-nav{justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto;padding:1.5rem 3rem;display:flex}.brand{font-family:Lora,serif;font-size:1.3rem;font-weight:700}.landing-nav .btn-ghost{color:#fff}.hero{text-align:center;max-width:800px;margin:0 auto;padding:3rem 1.5rem 5rem}.stars{opacity:.6;letter-spacing:.5rem;margin-bottom:1rem;font-size:1.2rem}.hero h1{margin-bottom:1.2rem;font-size:2.6rem;line-height:1.3}.hero h1 span{color:var(--gold)}.hero-sub{color:#c9cde0;max-width:600px;margin:0 auto 2rem;font-size:1.1rem}.hero-actions{flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.btn-outline.hero-outline,.hero-actions .btn-outline{color:#fff;border-color:#fff}.features{grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:1100px;margin:0 auto;padding:0 1.5rem 4rem;display:grid}.feature-card{background:var(--navy-800);text-align:center;border-radius:18px;padding:2rem}.feature-icon{margin-bottom:.8rem;font-size:2rem}.feature-card h3{margin-bottom:.6rem}.feature-card p{color:#c9cde0;font-size:.95rem}.how-it-works{background:var(--cream);color:var(--text-dark);text-align:center;padding:4rem 1.5rem}.how-it-works h2{margin-bottom:2.5rem;font-size:1.8rem}.steps{flex-wrap:wrap;justify-content:center;gap:2rem;max-width:900px;margin:0 auto;display:flex}.step{max-width:220px}.step-num{background:var(--gold);width:42px;height:42px;color:var(--navy-900);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 1rem;font-weight:700;display:flex}.landing-footer{text-align:center;background:var(--navy-900);color:#c9cde0;padding:2rem}.auth-page{background:var(--navy-900);justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.auth-card{text-align:center;width:100%;max-width:420px;box-shadow:var(--card-shadow);background:#fff;border-radius:20px;padding:2.5rem}.auth-moon{margin-bottom:.5rem;font-size:2rem}.auth-sub{color:var(--text-muted);margin:.5rem 0 1.5rem}.auth-form{text-align:left;flex-direction:column;gap:1rem;display:flex}.auth-form label{color:var(--text-muted);flex-direction:column;gap:.4rem;font-size:.85rem;font-weight:600;display:flex}.auth-note{color:var(--text-muted);margin-top:1.2rem;font-size:.8rem}.dash-header{background:#fff;border-bottom:1px solid #ece9e0;justify-content:space-between;align-items:center;padding:1.2rem 2.5rem;display:flex}.dash-header-right{align-items:center;gap:1rem;display:flex}.role-pill{background:var(--gold);color:var(--navy-900);border-radius:999px;margin-left:.4rem;padding:.15rem .6rem;font-size:.75rem;font-weight:700}.dash-main{max-width:1000px;margin:0 auto;padding:2rem 1.5rem 4rem}.dash-section{margin-bottom:2.5rem}.dash-section-head{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.add-child-form{flex-wrap:wrap;gap:.6rem;margin-bottom:1rem;display:flex}.add-child-form input{flex:1;min-width:140px}.kids-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;display:grid}.kid-card{box-shadow:var(--card-shadow);background:#fff;border-radius:16px;align-items:center;gap:.8rem;padding:1rem;display:flex}.kid-avatar{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:1.2rem;font-weight:700;display:flex}.kid-name{font-weight:700}.kid-age{color:var(--text-muted);font-size:.85rem}.stories-list{flex-direction:column;gap:1rem;display:flex}.story-card{box-shadow:var(--card-shadow);background:#fff;border-radius:16px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.3rem 1.5rem;display:flex}.story-info h3{margin-bottom:.3rem}.story-meta{color:var(--text-muted);margin-bottom:.7rem;font-size:.85rem}.story-audio{width:320px;max-width:100%}.story-actions{flex-shrink:0}.empty-state{text-align:center;color:var(--text-muted);background:#fff;border-radius:16px;padding:3rem}.empty-icon{margin-bottom:.5rem;font-size:2rem}.demo-banner{color:#8a6318;text-align:center;background:#fff3da;border-radius:12px;padding:.9rem 1.2rem;font-size:.85rem}.record-page{background:var(--navy-900);justify-content:center;align-items:center;min-height:100vh;padding:2rem 1rem;display:flex}.record-card{background:#fff;border-radius:22px;width:100%;max-width:520px;padding:2.5rem}.record-sub{color:var(--text-muted);margin:.4rem 0 1.5rem}.field-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;margin:1.2rem 0 .5rem;font-size:.8rem;font-weight:700;display:block}.child-picker{flex-wrap:wrap;gap:.6rem;display:flex}.child-chip{background:#fff;border:2px solid #e0e0e8;border-radius:999px;align-items:center;gap:.5rem;padding:.5rem 1rem .5rem .5rem;font-weight:600;display:flex}.child-chip.active{background:#fdf6e8}.chip-avatar{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;font-size:.8rem;font-weight:700;display:flex}.title-input{width:100%}.recorder-box{text-align:center;margin:2rem 0 1rem}.record-btn{background:var(--gold);border-radius:50%;width:90px;height:90px;font-size:2.2rem;box-shadow:0 8px 20px #f2b84b66}.record-btn.recording{background:#e05858;animation:1.4s infinite pulse}.recorder-check{font-size:2.5rem}@keyframes pulse{0%{box-shadow:0 0 #e0585880}70%{box-shadow:0 0 0 16px #e0585800}to{box-shadow:0 0 #e0585800}}.record-time{margin-top:1rem;font-size:1.4rem;font-weight:700}.record-status-text{color:var(--text-muted);margin-top:.3rem;font-size:.9rem}.error-text{color:#c0392b;text-align:center;font-size:.85rem}.preview-box{text-align:center;margin-top:1.5rem}.preview-actions{justify-content:center;gap:.8rem;margin-top:1rem;display:flex}.listen-page{background:var(--navy-900);color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:2rem;display:flex}.listen-card{max-width:440px}.listen-moon{margin-bottom:1rem;font-size:3rem}.listen-for{color:#c9cde0;margin-bottom:.3rem;font-size:.95rem}.listen-card h1{margin-bottom:.5rem;font-size:2rem}.listen-by{color:var(--gold);margin-bottom:1.5rem}.listen-audio{width:100%;margin-bottom:1.5rem}.listen-footer{color:#c9cde0}.listen-page .btn-primary{margin-top:1.5rem}@media (width<=700px){.features{grid-template-columns:1fr}.hero h1{font-size:2rem}.dash-header{flex-direction:column;gap:.6rem;padding:1rem 1.2rem}.story-card{flex-direction:column;align-items:flex-start}}
