:root{--ink:#10231b;--muted:#5f7169;--line:#d8e4dd;--bg:#f4f8f5;--brand:#178447;--brand-dark:#0e6134;--brand-soft:#e8f5ed;--white:#fff;--shadow:0 14px 40px rgba(21,73,47,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;font-size:16px}a{color:var(--brand-dark)}
header{background:#0d281d;color:#fff;padding:12px 0;position:sticky;top:0;z-index:10;box-shadow:0 4px 20px rgba(0,0,0,.1)}.wrap{max-width:1120px;margin:auto;padding:0 24px}.nav{display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;width:230px;padding:7px 11px;border-radius:10px;background:#fff;text-decoration:none}.brand img{display:block;width:100%;height:auto}.nav nav{display:flex;align-items:center;gap:22px}.nav nav a{color:#d5e8dc;text-decoration:none;font-weight:700;font-size:14px}.nav .nav-button{background:var(--brand);color:#fff;padding:9px 15px;border-radius:9px}
.hero{padding:82px 0 54px;max-width:780px}.eyebrow{font-size:13px;font-weight:850;color:var(--brand);letter-spacing:.16em;margin:0 0 10px}.hero h1,.dashboard-head h1,.auth-shell h1{font-size:clamp(44px,7vw,76px);line-height:.98;margin:14px 0 24px;letter-spacing:-.045em}.hero>p{font-size:19px;color:var(--muted);max-width:680px}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:30px}.hero-actions a{font-weight:800}.hero-actions .primary,button{display:inline-block;border:0;border-radius:10px;background:var(--brand);color:#fff;padding:14px 22px;font-size:16px;font-weight:800;text-decoration:none;cursor:pointer;transition:.18s}.hero-actions .primary:hover,button:hover{background:var(--brand-dark);transform:translateY(-1px)}
form>section,.panel,.notice,.auth-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;margin-bottom:22px;box-shadow:var(--shadow)}.section-title{display:flex;gap:16px;margin-bottom:24px}.section-title>span{display:grid;place-items:center;background:var(--brand);color:#fff;border-radius:50%;width:40px;height:40px;font-weight:850;flex:0 0 auto}.section-title h2,.panel-title h2{margin:0;font-size:24px}.section-title p{margin:3px 0;color:var(--muted)}
.courses{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.course{position:relative}.course input{position:absolute;opacity:0}.course span{display:flex;flex-direction:column;border:2px solid var(--line);border-radius:14px;padding:20px;min-height:150px;cursor:pointer;transition:.15s}.course span:hover{border-color:#8fc3a5}.course input:checked+span{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px #cae8d6}.course b{font-size:18px}.course small{color:var(--muted);margin:7px 0 14px}.course em{margin-top:auto;color:var(--brand-dark);font-style:normal;font-weight:800;font-size:13px}
.group-offer{margin-top:18px;padding:18px 20px;border-radius:14px;background:var(--brand-soft);border:1px solid #cae8d6}.group-offer p{margin:4px 0 0;color:var(--muted)}.group-offer a{color:var(--brand-dark);font-weight:800}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid label,.auth-card label{font-size:14px;font-weight:750}.grid .wide{grid-column:1/-1}label small{display:block;color:var(--muted);font-weight:500;margin-top:4px}input,select{display:block;width:100%;border:1px solid #b9c9c0;border-radius:9px;padding:12px 13px;margin-top:6px;font:inherit;background:#fff;color:var(--ink)}input:focus,select:focus{outline:3px solid #cdebd9;border-color:var(--brand)}input:disabled{background:#f0f4f1;color:#66766e}.consent{display:flex;gap:12px;align-items:flex-start;font-size:14px}.consent input{width:19px;margin:2px 0}.submit button,.profile-form button{margin-top:22px}.fine{color:var(--muted);font-size:13px}.notice{padding:20px 24px}.notice.success{border-left:6px solid var(--brand);background:#f2fbf5}.notice.error{border-left:6px solid #c83b3b;background:#fff7f7}.notice ul{margin-bottom:0}.trap{position:absolute;left:-9999px}
.price-summary{display:grid;grid-template-columns:1fr auto;align-items:end;gap:.2rem 1rem;padding:1rem 1.2rem;margin-bottom:1rem;border-radius:14px;background:var(--brand-soft);color:var(--ink)}.price-summary span{font-weight:800}.price-summary strong{font-size:1.7rem;color:var(--brand-dark)}.price-summary small{grid-column:1/-1;color:var(--muted)}.status.pending{background:#fff3cf;color:#745600}.resume-form{margin-top:8px}.resume-form button{padding:7px 11px;font-size:13px}.course-lock-notice p{margin:0 0 12px}.course-lock-notice a{display:inline-block;color:var(--brand-dark);font-weight:800}
footer{margin-top:56px;background:#0d281d;color:#b8d1c2;padding:30px 0;font-size:13px}footer .wrap{display:flex;gap:18px;align-items:center}footer img{display:block;width:190px;height:auto;padding:6px 9px;border-radius:8px;background:#fff}.auth-shell{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:70px;padding:85px 0}.auth-shell>div>p:last-child{font-size:18px;color:var(--muted)}.auth-card{margin:0}.auth-card h2{margin-top:0}.auth-card label{display:block;margin:16px 0}.auth-card button{width:100%;margin-top:10px}
.dashboard-head{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:60px 0 34px}.dashboard-head h1{font-size:clamp(40px,6vw,64px);margin-bottom:15px}.dashboard-head>div>p:last-child{color:var(--muted);font-size:18px}.account-chip{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);padding:12px 16px;border-radius:14px;box-shadow:var(--shadow)}.account-chip>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--brand);color:#fff;font-weight:850}.account-chip div{display:flex;flex-direction:column}.account-chip small{color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:1fr;gap:4px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-title>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--brand-soft);color:var(--brand-dark);font-weight:850}.course-list{display:grid;gap:10px}.course-list article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;border:1px solid var(--line);border-radius:13px;padding:16px}.course-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-size:20px;font-weight:900}.course-list h3{margin:0;font-size:17px}.course-list p{margin:2px 0 0;color:var(--muted);font-size:13px}.status{padding:6px 10px;border-radius:99px;font-size:12px;font-weight:850}.status.active{background:#fff3cf;color:#745600}.status.done{background:var(--brand-soft);color:var(--brand-dark)}.empty{padding:24px;border:1px dashed #aac2b3;border-radius:13px;color:var(--muted);text-align:center}.profile-form{box-shadow:none;border:0;padding:0;margin:0}.profile-form button{width:auto}
@media(max-width:760px){.courses,.grid,.auth-shell{grid-template-columns:1fr}.grid .wide{grid-column:auto}.hero{padding-top:50px}.auth-shell{gap:20px;padding:50px 0}.dashboard-head{align-items:flex-start;flex-direction:column}.account-chip{width:100%}form>section,.panel{padding:22px}.brand{width:180px}.nav nav{gap:10px}.nav nav a:first-child{display:none}.course-list article{grid-template-columns:auto 1fr}.course-list .status{grid-column:2}.hero-actions{align-items:flex-start;flex-direction:column;gap:14px}footer .wrap{align-items:flex-start;flex-direction:column}}
