:root{color-scheme:light;--ink:#133033;--text:#304f52;--muted:#52696c;--teal:#087577;--accent:#14c5c5;--line:#dce8e8;--paper:#fff;--bg:#f4f8f8;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
a{color:var(--teal);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:3px solid #00898a;outline-offset:4px}
header{height:74px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,54px)}
.brand-link:hover{text-decoration:none}
.brand{display:flex;align-items:center;gap:16px;color:var(--ink);font-size:14px;font-weight:600}
.brand strong{font-size:26px;letter-spacing:-.05em;color:var(--teal)}
.brand img{width:110px;height:40px;object-fit:contain}
.brand>span{border-left:1px solid var(--line);padding-left:16px}
.shell{max-width:1510px;margin:auto}
.signed-in{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:calc(100vh - 74px)}
aside{border-right:1px solid var(--line);padding:32px 17px;background:#f9fbfb}
aside .eyebrow{padding-left:12px;margin:0 0 14px}
aside a{display:flex;align-items:center;gap:9px;padding:11px 12px;margin-bottom:4px;color:var(--text);font-size:14px;border-radius:9px;font-weight:600;line-height:1.35}
aside a:hover,aside a.current{background:#dbf3f2;color:#064d50;text-decoration:none}
.day-index{font-variant-numeric:tabular-nums;display:inline-grid;place-items:center;background:#e4f5f4;color:#076467;border-radius:8px;min-width:34px;height:34px;font-weight:700;font-size:13px}
aside .day-index{background:transparent;min-width:24px;height:auto}
main{width:100%;max-width:1200px;padding:clamp(20px,4vw,55px)}
.hero{background:radial-gradient(ellipse at 98% 0%,#087578,transparent 65%),#103c40;color:#fff;padding:clamp(24px,4.5vw,60px);border-radius:20px}
.hero .eyebrow{color:#7df1ef}
.hero p:not(.eyebrow){color:#deeeee;max-width:600px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(29px,4.6vw,58px);letter-spacing:-.045em;line-height:1.04;max-width:800px;margin:8px 0 16px}
h2{font-size:clamp(20px,2vw,26px);letter-spacing:-.025em}
h3{font-size:16px;margin-top:5px}
p{line-height:1.55}
.eyebrow{font-size:12px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:var(--teal)}
.muted{color:var(--muted)}
.button,.ghost{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:11px 15px;font:inherit;font-size:14px;font-weight:720;cursor:pointer}
.button{background:#0b7274;color:#fff}
.hero .button{background:var(--accent);color:#102d30;margin-top:23px}
.button:hover{filter:brightness(.94);text-decoration:none}
.secondary,.ghost{background:#fff;color:var(--teal);border-color:var(--line)}
.ghost:hover{background:var(--bg)}
.section{margin-top:34px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.section-head span,.section-head a{font-size:14px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.module-card,.library-banner,.row,.material,.viewer,.step{background:#fff;border:1px solid var(--line);border-radius:14px}
.module-card{display:flex;flex-direction:column;align-items:flex-start;min-height:185px;padding:19px;color:inherit}
.module-card:hover,.library-banner:hover,.row:hover,.step:hover{border-color:#58b9b9;text-decoration:none}
.tag{display:inline-block;font-size:12px;font-weight:750;color:var(--teal);padding:4px 9px;border-radius:6px;background:#e3f6f5}
.module-card h2{margin-top:9px;font-size:20px}
.module-card p,.row p,.library-banner p{font-size:14px;color:var(--muted);margin-top:4px}
.card-tail{margin-top:auto;width:100%;display:flex;justify-content:space-between;color:var(--teal);font-size:13px;font-weight:680;padding-top:14px}
.library-banner{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding:18px 20px;color:var(--ink)}
.crumb{font-size:14px;color:var(--muted);margin-bottom:19px}
.page-head{border-bottom:1px solid var(--line);padding-bottom:22px;margin-bottom:25px}
.page-head h1{font-size:clamp(28px,4vw,46px)}
.page-head p:not(.eyebrow){color:var(--muted)}
.rows{display:grid;gap:9px;margin-top:12px}
.row,.material{display:flex;align-items:center;gap:14px;padding:14px 17px;color:inherit}
.arrow{margin-left:auto;color:var(--teal)}
.material{justify-content:space-between;flex-wrap:wrap}
.actions{display:flex;gap:7px;flex-wrap:wrap}
.viewer{margin-top:21px;padding:17px}
.viewer-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.viewer>.muted{margin:10px 0;font-size:14px}
iframe{display:block;width:100%;height:70vh;min-height:360px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px}
.step{padding:12px 15px;display:grid;gap:5px}
.step:last-child{text-align:right}
.signed-out main{max-width:550px;margin:6vh auto}
.login-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:clamp(20px,4vw,38px)}
.login-card h1{font-size:clamp(29px,4vw,40px)}
.login-card form{display:grid;gap:8px;margin-top:20px}
.login-card label{font-size:14px;font-weight:680}
.login-card input{width:100%;min-height:43px;border:1px solid #afc8c8;border-radius:9px;padding:9px;font:inherit;margin-bottom:7px}
.alert{margin-top:12px;color:#8b1c29}
@media(max-width:820px){header{height:65px}.signed-in{display:block}aside{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:9px 14px;border-right:0;border-bottom:1px solid var(--line)}aside .eyebrow{display:none}aside a{margin:0;padding:7px 8px;font-size:12px}aside .day-index{display:none}}
@media(max-width:500px){.grid{grid-template-columns:1fr}.module-card{min-height:145px}.brand{gap:8px}.brand>span{padding-left:8px;font-size:12px}.brand img{width:88px}.steps{grid-template-columns:1fr}.step:last-child{text-align:left}.row,.material{padding:12px}}
.brand img{width:36px;height:36px}
.brand strong{margin-left:-8px}
@media(max-width:500px){.brand img{width:28px;height:28px}.brand strong{margin-left:-3px;font-size:22px}}
