:root {
    --navy: #102b3d;
    --deep: #0b2232;
    --teal: #73e1c3;
    --ink: #183548;
    --muted: #455e75;
    --line: #a1b3c4;
    --divider: #bbcad7;
    --control-border: #7b90a4;
    --section-surface: #e8eff5;
    --completed-border: #609377;
    --journey-connector: #438b78;
    --paper: #f2f6fa;
    --green: #226746;
    --red: #b13f43;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: #246b59; }
h1,h2,h3 { margin-top: 0; letter-spacing: -.025em; font-weight: 650; line-height: 1.2; }
h1 { font-size: clamp(30px,3vw,40px); }
h2 { font-size: 22px; }
h3 { font-size: 16px; }
p { color: var(--muted); margin-top: 0; }
button,a,summary { touch-action: manipulation; }
a:focus-visible,button:focus-visible,summary:focus-visible,video:focus-visible { outline: 3px solid #167aab; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: calc(100% - 80px); max-width: 1200px; margin-inline: auto; }
.muted { color: var(--muted); }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 22px; text-decoration: none; }
.brand img { width: 184px; height: auto; display: block; }
.brand>span { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 22px; }
.header-inner nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.header-inner nav a { text-decoration: none; }
.nav-account { border: 1px solid var(--control-border); padding: 10px 17px; border-radius: 7px; }
.nav-account span { margin-left: 20px; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 10; padding: 10px 20px; background: white; }
.skip-link:focus { top: 12px; }
.eyebrow { display: block; font-size: 10px; letter-spacing: .12em; font-weight: 750; color: #386b61; margin-bottom: 10px; }
.eyebrow.light { color: #9aead5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; border: 0; border-radius: 7px; padding: 12px 20px; text-decoration: none; font-size: 13px; line-height: 1.5; font-weight: 650; cursor: pointer; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { color: white; background: #24516a; }
.button-teal { background: var(--teal); color: var(--deep); }
.button-teal:hover { color: var(--deep); background: #9beed9; }
.button:disabled { color: #526c7a; background: #e9eff3; cursor: default; }
.pill { display: inline-flex; padding: 4px 10px; border-radius: 24px; font-size: 11px; line-height: 1.6; font-weight: 650; white-space: nowrap; }
.pill.neutral { background: #edf2f6; color: #4e6677; }
.pill.teal { background: #e5f7ee; color: #296c50; }
.quiet-link,.back-link { font-size: 13px; text-decoration: none; }
.site-footer { background: white; border-top: 1px solid var(--line); padding: 25px 0; }
.footer-inner { display: flex; gap: 20px; justify-content: space-between; color: var(--muted); font-size: 11px; }
.footer-inner>span:first-child { font-weight: 650; color: var(--ink); }
.footer-inner .muted { font-weight: 400; margin-left: 5px; }
.demo-banner { background: #eaf5f1; color: #3e6657; font-size: 11px; border-bottom: 1px solid #dcebe5; }
.demo-banner .shell { display: flex; align-items: center; gap: 12px; min-height: 35px; padding-block: 7px; }
.demo-banner strong { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; flex-shrink: 0; }
.learner-dashboard { padding-block: 36px 48px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.page-heading h1 { margin-bottom: 8px; }
.page-heading p { margin: 0; font-size: 14px; }
.page-heading .quiet-link { margin-bottom: 4px; }
.course-overview { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.course-progress-card,.certificate-card { padding: 25px 28px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.course-progress-card { display: flex; flex-direction: column; justify-content: center; }
.completion-count { display: flex; align-items: baseline; gap: 14px; margin: 2px 0 21px; color: var(--ink); }
.completion-count strong { font-size: 44px; line-height: 1; font-weight: 650; letter-spacing: -.04em; }
.completion-count>span { font-size: 15px; }
.course-progress { width: 100%; height: 8px; border: 0; display: block; border-radius: 8px; overflow: hidden; background: #eaf0f4; accent-color: #2b8468; }
.course-progress::-webkit-progress-bar { background: #eaf0f4; }
.course-progress::-webkit-progress-value { background: #2b8468; border-radius: 8px; }
.course-progress::-moz-progress-bar { background: #2b8468; border-radius: 8px; }
.progress-caption { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; margin-top: 10px; }
.progress-caption>span:first-child { color: var(--ink); font-weight: 650; }
.certificate-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 11px; }
.certificate-heading h2 { font-size: 19px; margin: 0; }
.certificate-card p { font-size: 12px; margin-bottom: 12px; }
.certificate-requirements { padding-left: 18px; margin: 0 0 12px; font-size: 12px; }
.certificate-requirements li { margin: 5px 0; }
.certificate-note { font-size: 10px; color: var(--muted); display: block; border-top: 1px solid var(--divider); padding-top: 12px; }
.next-lesson { margin: 22px 0 32px; padding: 22px 25px; border-radius: 10px; background: #eaf3f0; border: 1px solid #d2e5db; display: flex; align-items: center; gap: 22px; }
.next-number { font-size: 25px; color: #3a7d67; font-weight: 500; border-right: 1px solid #c8ded4; padding-right: 22px; }
.next-lesson .eyebrow { font-size: 9px; margin-bottom: 3px; }
.next-lesson h2 { font-size: 20px; margin-bottom: 3px; }
.availability { font-size: 12px; color: #4b6d60; }
.next-lesson .button { margin-left: auto; flex-shrink: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; }
.status-legend { display: inline-flex; gap: 7px; align-items: center; font-size: 11px; color: var(--muted); }
.status-legend .status-incomplete { margin-left: 12px; }
.status-completed { color: var(--green); }
.status-incomplete { color: var(--red); }
.lesson-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.lesson-card { display: flex; flex-direction: column; min-height: 174px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.lesson-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 10px; }
.lesson-number { font-size: 9px; letter-spacing: .08em; color: #586f7d; font-weight: 650; }
.status-icon { font-size: 16px; font-weight: 650; line-height: 1.3; }
.lesson-card h3 { font-size: 15px; line-height: 1.4; margin: 0 0 12px; flex: 1; }
.lesson-card h3 a { text-decoration: none; }
.lesson-card h3 a::after { content: " ↗"; font-size: 11px; color: #729089; }
.lesson-state { font-size: 11px; color: #526b79; }
.lesson-availability { font-size: 10px; color: #607782; margin-top: 3px; }
.lesson-page { padding-block: 30px 45px; max-width: 1120px; }
.back-link { color: var(--muted); display: inline-block; margin-bottom: 26px; }
.lesson-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-bottom: 24px; }
.lesson-page-heading h1 { font-size: clamp(27px,3vw,36px); margin: 0; }
.lesson-status { display: flex; align-items: center; gap: 9px; font-size: 12px; flex-shrink: 0; }
.lesson-player { background: var(--deep); color: white; border-radius: 12px; overflow: hidden; position: relative; }
.player-brand { display: flex; justify-content: space-between; align-items: center; padding: 15px 25px; border-bottom: 1px solid #2c4757; }
.player-brand img { width: 130px; height: auto; }
.player-brand>span { color: #bbd0db; font-size: 10px; letter-spacing: .12em; }
.lesson-player video { display: block; width: 100%; aspect-ratio: 16/9; background: var(--deep); object-fit: contain; }
.video-surface { position: relative; }
.loading-panel [data-loading-message] { display:grid; place-items:center; width:100%; min-block-size:3em; line-height:1.5; text-align:center; }
.video-play-overlay { position: absolute; z-index: 1; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: clamp(44px, 15%, 74px); aspect-ratio: 1; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; background: #071a2bd9; color: white; cursor: pointer; transition: background-color .15s ease, transform .15s ease; }
.video-play-overlay svg { width: 48%; height: 48%; fill: currentColor; stroke: none; }
.video-play-overlay:hover { background: #071a2bf5; transform: translate(-50%, -50%) scale(1.05); }
.video-play-overlay:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.video-play-overlay[hidden], .video-surface[aria-busy="true"] .video-play-overlay, .video-surface:fullscreen .video-play-overlay, .video-surface video:fullscreen ~ .video-play-overlay { display: none; }
@media (prefers-reduced-motion: reduce) { .video-play-overlay { transition: none; } }
.coming-soon { aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: radial-gradient(ellipse at 50% 55%,#163b4d,var(--deep) 72%); }
.coming-pill { background: #1c4d47; border: 1px solid #3d7c6d; color: #a6efd9; margin-bottom: 22px; }
.coming-soon h2 { font-size: clamp(25px,3vw,38px); margin-bottom: 13px; }
.coming-soon p { font-size: 14px; color: #b4cbd8; margin: 0; }
.lesson-actions { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 22px 0; }
.lesson-actions p { font-size: 13px; margin-bottom: 6px; }
.small-note { font-size: 11px !important; line-height: 1.7; color: #5b7180; }
.lesson-actions .small-note { margin: 0; max-width: 650px; }
.lesson-actions .button { flex-shrink: 0; }
.next-step { display: inline-flex; gap: 18px; font-size: 13px; font-weight: 600; }
.landing-hero { background: var(--deep); color: white; }
.landing-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 85px; padding-block: 65px; align-items: center; }
.landing-grid h1 { font-size: clamp(38px,4.5vw,60px); line-height: 1.1; margin-bottom: 25px; }
.landing-grid h1 span { color: var(--teal); }
.landing-grid>div>p { color: #bdcfd9; font-size: 16px; max-width: 490px; }
.hero-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.text-link { font-size: 13px; color: #e1edef; }
.course-preview { background: white; padding: 30px; border-radius: 13px; color: var(--ink); }
.course-preview img { width: 160px; height: auto; margin-bottom: 35px; }
.course-preview h2 { font-size: 25px; margin-block: 18px 12px; }
.course-preview p { color: var(--muted); font-size: 14px; }
.preview-rule { display: flex; gap: 10px; font-size: 13px; padding: 12px 0; border-top: 1px solid var(--line); }
.benefits { padding-block: 50px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 50px; margin-top: 30px; }
.feature-icon { display: inline-block; font-size: 11px; color: #3d7767; margin-bottom: 14px; }
.benefit-grid p { font-size: 13px; }
.programme-strip { padding-block: 35px; background: #eaf0f4; }
.programme-strip .section-heading { margin-bottom: 0; }
.programme-strip p { margin: 10px 0; font-size: 13px; }
.programme-strip .muted { font-size: 12px; }
.login-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; min-height: calc(100vh - 180px); padding-block: 60px; }
.login-story h1 { font-size: clamp(40px,4.5vw,60px); }
.login-story>p { max-width: 340px; }
.login-quote { color: #2a7767; font-size: 23px; margin-top: 40px; }
.login-quote span { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; }
.login-card { background: white; padding: 35px; border: 1px solid var(--line); border-radius: 13px; }
.login-card h2 { font-size: 26px; margin-block: 20px 15px; }
.login-card p { font-size: 14px; }
.login-card .button { width: 100%; margin-block: 12px; }
.login-card hr { border: 0; border-top: 1px solid var(--line); opacity: 1; margin-block: 25px; }
.login-card h3 { font-size: 16px; }
@media(max-width:1000px) {
    .shell { width: calc(100% - 48px); }
    .lesson-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .course-overview { grid-template-columns: 1fr 1fr; }
    .course-progress-card,.certificate-card { padding: 24px; }
    .landing-grid,.login-wrap { gap: 40px; }
}
@media(max-width:700px) {
    .brand>span { display: none; }
    .page-heading .quiet-link { display: none; }
    .course-overview { grid-template-columns: 1fr; gap: 15px; }
    .completion-count { margin-bottom: 20px; }
    .course-progress-card { padding-block: 24px; }
    .certificate-card { padding: 20px 24px; }
    .lesson-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .landing-grid { grid-template-columns: 1fr; gap: 35px; padding-block: 45px; }
    .landing-grid h1 { font-size: 44px; }
    .benefit-grid { gap: 28px; }
    .lesson-actions { align-items: start; flex-direction: column; gap: 18px; }
    .login-wrap { gap: 32px; grid-template-columns: 1fr; padding-block: 40px; }
    .login-quote { margin-top: 20px; }
}
@media(max-width:600px) {
    .shell { width: calc(100% - 36px); }
    .header-inner { min-height: 85px; }
    .brand img { width: 142px; }
    .header-inner nav>a:not(.nav-account) { display: none; }
    .nav-account { padding: 8px 12px; font-size: 12px; }
    .nav-account span { margin-left: 12px; }
    .demo-banner .shell { align-items: baseline; gap: 10px; font-size: 10px; }
    .learner-dashboard { padding-block: 27px 36px; }
    .page-heading { margin-bottom: 22px; }
    .page-heading h1 { font-size: 29px; }
    .page-heading p { font-size: 13px; }
    .eyebrow { font-size: 9px; }
    .completion-count strong { font-size: 40px; }
    .completion-count>span { font-size: 14px; }
    .next-lesson { padding: 20px; flex-wrap: wrap; gap: 15px; margin-block: 18px 28px; }
    .next-number { padding-right: 15px; font-size: 23px; }
    .next-lesson>div { flex: 1; min-width: 180px; }
    .next-lesson h2 { font-size: 18px; }
    .availability { font-size: 11px; }
    .next-lesson .button { margin-left: 0; width: 100%; padding-block: 11px; }
    .section-heading { flex-direction: column; align-items: start; gap: 9px; }
    .section-heading h2 { font-size: 21px; }
    .status-legend { font-size: 10px; }
    .lesson-grid { gap: 12px; }
    .lesson-card { min-height: 171px; padding: 16px 14px; }
    .lesson-card h3 { font-size: 14px; }
    .lesson-card-top { margin-bottom: 14px; }
    .lesson-number { font-size: 8px; }
    .footer-inner { flex-direction: column; gap: 5px; font-size: 10px; }
    .lesson-page { padding-block: 25px 35px; }
    .back-link { margin-bottom: 22px; font-size: 12px; }
    .lesson-page-heading { flex-direction: column; align-items: start; gap: 13px; margin-bottom: 18px; }
    .lesson-page-heading h1 { font-size: 28px; }
    .lesson-status { font-size: 11px; }
    .player-brand { padding: 12px 16px; }
    .player-brand img { width: 108px; }
    .player-brand>span { font-size: 8px; }
    .coming-soon { padding: 20px; }
    .coming-pill { font-size: 9px; margin-bottom: 12px; }
    .coming-soon h2 { font-size: 23px; margin-bottom: 8px; }
    .coming-soon p { font-size: 11px; max-width: 230px; }
    .lesson-actions p { font-size: 12px; }
    .lesson-actions .button { width: 100%; }
    .benefit-grid { grid-template-columns: 1fr; gap: 18px; }
    .benefit-grid h3 { margin-bottom: 8px; }
    .feature-icon { margin-bottom: 8px; }
    .benefit-grid p { margin-bottom: 0; }
    .programme-strip .section-heading { gap: 18px; }
    .login-card { padding: 28px 22px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
