:root{--ink:#0b1530;--muted:#65708a;--line:#dce3ef;--surface:#fff;--soft:#f4f7fc;--blue:#3267f5;--cyan:#25c2ff;--green:#087a55;--danger:#b42318;--radius:20px}*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--soft)}body{margin:0}a{color:inherit}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(360px,1.05fr) minmax(440px,.95fr)}.auth-story{padding:48px clamp(36px,7vw,100px);color:#fff;background:radial-gradient(circle at 80% 20%,#3267f5 0,transparent 36%),linear-gradient(145deg,#08132e,#0e2252 70%,#133e7e);display:flex;flex-direction:column;justify-content:space-between;gap:80px}.brand{display:inline-flex;align-items:center;text-decoration:none}.brand-logo{display:block;width:min(250px,100%);height:auto}.auth-story .brand-logo{width:min(250px,72vw)}.portal-header .brand-logo{width:190px}.auth-story h1{font-size:clamp(2.5rem,5vw,4.7rem);line-height:1.02;letter-spacing:-.055em;max-width:780px;margin:16px 0 24px}.auth-story p{font-size:1.1rem;line-height:1.7;color:#cbd8ee;max-width:670px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-weight:800;font-size:.73rem;color:#5672b5}.auth-story .eyebrow{color:#70d7ff}.trust-list{display:flex;gap:28px;flex-wrap:wrap;list-style:none;padding:0;margin:0;color:#d8e5f7;font-size:.9rem}.trust-list li:before{content:"✓";color:#70d7ff;margin-right:7px}.auth-panel,.centered-page{display:grid;place-items:center;padding:34px}.auth-panel{background:#f8faff}.auth-card{width:min(100%,480px);background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:clamp(28px,5vw,52px);box-shadow:0 20px 60px rgba(16,36,78,.09)}.auth-card.wide{width:min(100%,760px)}.auth-card.compact{text-align:center}.auth-card .brand{margin-bottom:40px}.auth-card h1,.auth-card h2{font-size:2.15rem;letter-spacing:-.04em;margin:10px 0}.muted{color:var(--muted);line-height:1.6}.form-stack{grid-gap:18px}.form-grid,.form-stack{display:grid;gap:18px;margin-top:28px}.form-grid{grid-template-columns:1fr 1fr;grid-gap:18px}.full{grid-column:1/-1}label{display:grid;grid-gap:8px;gap:8px;font-weight:750;font-size:.88rem}label small{font-weight:500;color:var(--muted)}input{width:100%;border:1px solid #ccd5e4;border-radius:12px;padding:14px 15px;font:inherit;color:var(--ink);background:#fff;outline:none}input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(50,103,245,.12)}button{font:inherit}.primary-button,.secondary-button{width:100%;border-radius:12px;padding:14px 18px;font-weight:800;cursor:pointer}.primary-button{border:1px solid var(--blue);background:var(--blue);color:#fff}.secondary-button{border:1px solid #bcc9df;background:#fff;color:var(--ink)}button:disabled{opacity:.55;cursor:not-allowed}.text-button{border:0;background:none;color:#315eca;font-weight:750;cursor:pointer}.alert{padding:12px 14px;border-radius:10px;background:#edf4ff;color:#234a96;font-size:.9rem}.alert.error{background:#fff0ef;color:var(--danger)}.alert.success{background:#eafaf3;color:var(--green)}.auth-switch{text-align:center;color:var(--muted);margin:24px 0 0}.auth-switch a{color:#315eca;font-weight:800}.consent{grid-template-columns:auto 1fr;align-items:flex-start;font-weight:500;line-height:1.5}.consent input{width:18px;height:18px}.centered-page{min-height:100vh;background:linear-gradient(145deg,#edf3ff,#f9fbff)}.status-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;margin:0 auto 24px;background:#e8efff;color:var(--blue);font-size:1.6rem;font-weight:900}.auth-card.compact button{margin-top:12px}.portal{min-height:100vh}.portal-header{height:78px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 clamp(20px,4vw,64px);gap:40px;position:-webkit-sticky;position:sticky;top:0;z-index:5}.portal-header nav{display:flex;gap:24px;margin-left:auto}.portal-header nav a{text-decoration:none;color:#52617b;font-weight:750}.portal-header nav a.active{color:var(--blue)}.profile-button{border:0;background:#f2f5fa;border-radius:12px;padding:8px 12px;display:flex;gap:8px;align-items:center;font-weight:750;cursor:pointer}.profile-button span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--ink);color:#fff}.portal-main{width:min(1240px,calc(100% - 40px));margin:0 auto;padding:52px 0 80px}.welcome{background:linear-gradient(120deg,#0b1737,#153f82);color:#fff;border-radius:26px;padding:36px 42px;display:flex;justify-content:space-between;align-items:center;margin-bottom:48px}.welcome h1{font-size:2.6rem;letter-spacing:-.045em;margin:8px 0}.welcome p{color:#c7d8f2}.stat{min-width:150px;padding:20px;text-align:center;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(255,255,255,.08)}.stat strong{display:block;font-size:2rem}.stat span{color:#cfe0f7}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.section-heading h2{font-size:2rem;letter-spacing:-.035em;margin:8px 0 0}.verified-badge{color:var(--green);background:#e9f9f1;padding:8px 12px;border-radius:999px;font-size:.84rem;font-weight:800}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:20px;gap:20px}.course-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;flex-direction:column;min-height:380px}.course-card.unlocked{border-color:#8dd7bc;box-shadow:0 12px 30px rgba(8,122,85,.08)}.course-top{display:flex;justify-content:space-between;align-items:flex-start}.course-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#edf2ff;color:#315eca;font-weight:900}.access-badge{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:#56627a;background:#f1f4f8;padding:7px 9px;border-radius:999px}.access-badge.open{color:var(--green);background:#e9f9f1}.course-category{color:#536fae;font-size:.75rem;text-transform:uppercase;letter-spacing:.09em;font-weight:850;margin-top:24px}.course-card h3{font-size:1.35rem;line-height:1.25;margin:8px 0}.course-card p{color:var(--muted);line-height:1.55}.course-meta{display:flex;gap:8px;margin:auto 0 18px}.course-meta span{background:#f4f6fa;border-radius:8px;padding:7px 9px;font-size:.78rem;color:#56627a}.loading-page{min-height:100vh;display:grid;place-items:center;font-weight:750;color:var(--muted)}@media(max-width:950px){.auth-layout{grid-template-columns:1fr}.auth-story{min-height:430px;gap:50px}.course-grid{grid-template-columns:repeat(2,1fr)}.portal-header nav{display:none}}@media(max-width:640px){.auth-story{padding:30px 24px}.auth-panel,.centered-page{padding:18px}.auth-card{padding:28px 22px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.portal-header{height:auto;padding:14px 18px}.portal-header .brand span:last-child{font-size:.82rem}.profile-button{margin-left:auto;font-size:0}.portal-main{width:min(100% - 28px,1240px);padding-top:28px}.welcome{padding:26px;align-items:flex-start}.welcome h1{font-size:2rem}.stat{min-width:90px}.section-heading{align-items:flex-start;gap:15px}.verified-badge{display:none}.course-grid{grid-template-columns:1fr}}