:root{
--blue:#1457a6;--blue2:#0b3470;--gold:#f5bd32;--gold2:#ffe8a3;--green:#4f9d69;
--cream:#fffaf0;--ink:#17324d;--muted:#66758a;--white:#fff;--danger:#b42318;
}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:#f7fbff}
a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}
.hero{min-height:640px;background:linear-gradient(135deg,#0b3470 0%,#1457a6 45%,#63b87b 100%);color:white;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;inset:auto -5% -140px -5%;height:260px;background:#f7fbff;border-radius:50% 50% 0 0}
.topbar{max-width:1180px;margin:auto;padding:22px 22px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}
.brand,.mini-brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.5px;color:inherit}.brand img{width:54px;height:54px}.topbar nav{display:flex;gap:22px}.topbar nav a{color:white;font-weight:700}
.hero-content{max-width:1180px;margin:40px auto 0;padding:40px 22px;display:grid;grid-template-columns:1.1fr .9fr;gap:30px;align-items:center;position:relative;z-index:1}
.hero-copy h1{font-size:clamp(42px,6vw,76px);line-height:.98;margin:18px 0}.hero-copy p{font-size:18px;line-height:1.7;max-width:620px;color:#eaf3ff}
.pill{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);padding:9px 14px;border-radius:999px;font-weight:800;font-size:13px}
.btn{display:inline-block;border:0;border-radius:14px;padding:13px 20px;font-weight:800;cursor:pointer;margin:6px 6px 6px 0}.primary{background:var(--gold);color:#402b00}.ghost{border:1px solid rgba(255,255,255,.6);color:white;background:transparent}
.hero-art{min-height:330px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:34px;padding:28px;box-shadow:0 20px 60px rgba(0,0,0,.18)}.animal{font-size:70px;filter:drop-shadow(0 8px 5px rgba(0,0,0,.15))}.book{font-size:100px;width:100%;text-align:center}
.section{max-width:1180px;margin:auto;padding:70px 22px}.section-title{text-align:center;margin-bottom:30px}.section-title span{color:var(--green);font-weight:900;font-size:13px;letter-spacing:2px}.section-title h2{font-size:36px;margin:8px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:white;border:1px solid #e5edf6;border-radius:22px;padding:24px;box-shadow:0 10px 30px rgba(22,65,105,.07)}.icon{font-size:38px}.card h3{margin:10px 0}.card p{color:var(--muted);line-height:1.6}.card a{font-weight:800}
footer{padding:30px;text-align:center;background:#092a58;color:#dceaff}
.page-bg{background:linear-gradient(135deg,#edf6ff,#fff8e7);min-height:100vh}.form-shell,.login-shell{max-width:900px;margin:0 auto;padding:28px 18px 70px}.mini-brand{color:var(--blue2);margin-bottom:28px}.mini-brand img{width:46px;height:46px}.form-header{text-align:center;margin:20px auto 25px}.form-header .pill{color:var(--blue);background:#e6f1ff;border-color:#c9def7}.form-header h1{font-size:42px;margin:12px 0 8px}.form-header p{color:var(--muted)}
.form-card,.login-card{background:white;border-radius:28px;padding:30px;box-shadow:0 20px 60px rgba(22,65,105,.12);border:1px solid #e1eaf3}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:block;font-weight:800;font-size:14px;color:#29435e}label small{display:block;color:var(--muted);font-weight:500;margin:5px 0}
input,textarea{width:100%;margin-top:8px;border:1px solid #cad7e5;border-radius:12px;padding:13px 14px;font:inherit;background:#fbfdff;color:var(--ink)}input:focus,textarea:focus{outline:3px solid #d8ebff;border-color:var(--blue)}.full{grid-column:1/-1}.full-btn{width:100%;margin-top:18px}.check{display:flex;align-items:center;gap:8px;margin-top:20px}.check input{width:auto;margin:0}.center{text-align:center}.alert{padding:14px 16px;border-radius:14px;margin:16px 0}.alert.error{background:#fff0ef;color:var(--danger);border:1px solid #f4c4bf}.alert.success{background:#edfff3;color:#17653a;border:1px solid #bde8ca}
.login-shell{max-width:520px}.login-card{text-align:center}.big-icon{font-size:70px}.login-card form{text-align:left}.login-card .btn{margin-top:18px}
.dashbar{background:white;border-bottom:1px solid #e4edf5;padding:15px 22px;display:flex;justify-content:space-between;align-items:center}.dashboard{max-width:1100px;margin:auto;padding:45px 22px}.welcome h1{font-size:42px;margin:10px 0}.welcome .pill{background:#eaf4ff;color:var(--blue);border-color:#cfe3f8}.profile-card{margin:28px 0;background:white;border-radius:24px;padding:25px;display:flex;gap:20px;align-items:center;box-shadow:0 12px 40px rgba(22,65,105,.08)}.avatar{width:100px;height:100px;border-radius:50%;object-fit:cover;border:5px solid var(--gold)}.avatar.placeholder{display:grid;place-items:center;background:#e9f2fb;font-size:44px}.status{color:#23834b;font-weight:800}
@media(max-width:800px){.hero-content{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.topbar nav{display:none}.hero-art{min-height:240px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}}
@media(max-width:520px){.cards{grid-template-columns:1fr}.form-card,.login-card{padding:20px}.hero-copy h1{font-size:46px}}
