*{box-sizing:border-box}
:root{--bg:#d9dde3;--surface:#e5e8ed;--surface-2:#d3d8e0;--border:#c5ccd6;--text:#202938;--muted:#596579;--accent:#526a91;--accent-hover:#405779;--white:#f3f5f7}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6}
a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}
.topbar{height:76px;padding:0 max(6vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:rgba(229,232,237,.78)}
.brand{font-size:20px;font-weight:750;letter-spacing:-.5px;color:var(--text)}
nav{display:flex;align-items:center;gap:22px}
nav a{font-size:14px;font-weight:650}
.hero{max-width:900px;margin:clamp(90px,16vh,170px) auto;padding:0 28px;text-align:center}
.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:var(--accent)}
h1{font-size:clamp(38px,6vw,64px);line-height:1.08;letter-spacing:-2.5px;margin:18px 0}
.hero p,.muted{color:var(--muted)}
.hero p{max-width:570px;margin:0 auto;font-size:18px}
.actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:30px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:0;border-radius:12px;background:var(--accent);color:#fff;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}
.button:hover{background:var(--accent-hover);text-decoration:none}
.button-small{min-height:38px;padding:0 16px;border-radius:10px}
.button-quiet{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}
.button-quiet:hover{background:#bec6d1}
footer{text-align:center;color:var(--muted);font-size:13px;padding:30px}
.auth-wrap{min-height:calc(100vh - 76px);display:grid;place-items:center;padding:45px 18px}
.panel{width:min(100%,460px);padding:38px;background:var(--surface);border:1px solid var(--border);border-radius:22px;box-shadow:0 18px 55px rgba(37,48,66,.08)}
.panel h1{font-size:36px;letter-spacing:-1.2px;margin:12px 0 6px}
.panel form{display:grid;gap:17px;margin-top:26px}
label{display:grid;gap:7px;font-size:13px;font-weight:700}
input{width:100%;height:48px;padding:0 14px;border:1px solid var(--border);border-radius:10px;background:#edf0f4;color:var(--text);font:inherit;outline:none}
input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(82,106,145,.14)}
.full{width:100%;margin-top:4px}
.below{text-align:center;color:var(--muted);font-size:14px;margin:22px 0 0}
.alert{margin-top:18px;padding:12px 14px;border:1px solid #d7a9a9;background:#f0dddd;color:#793c3c;border-radius:10px;font-size:14px}
.dashboard{max-width:850px;margin:70px auto;padding:0 24px}
.dashboard h1{font-size:46px}
.profile-card,.details{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:24px;margin:28px 0}
.profile-card{display:flex;align-items:center;gap:18px}
.avatar{width:62px;height:62px;display:grid;place-items:center;border-radius:18px;background:var(--accent);color:#fff;font-size:25px;font-weight:800}
.profile-card h2,.details h2{margin:0 0 4px;font-size:20px}
.profile-card p{margin:0}
.details h2{margin-bottom:18px}
.detail-row{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-top:1px solid var(--border);font-size:14px}
.detail-row span{color:var(--muted)}
@media(max-width:600px){.topbar{height:66px;padding:0 18px}.hero{margin:90px auto}.panel{padding:26px 21px}.dashboard{margin:45px auto}.dashboard h1{font-size:38px}.detail-row{display:grid;gap:2px}}
