@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #071e4a;
    --navy-2: #0a2c68;
    --blue: #163ca6;
    --cyan: #18b9c5;
    --yellow: #ffdd32;
    --cream: #f4f1e9;
    --paper: #fbfaf6;
    --white: #fff;
    --ink: #0b1930;
    --muted: #5d6877;
    --line: #dfe3e6;
    --green: #118966;
    --shadow: 0 20px 60px rgba(7, 30, 74, .12);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", Arial, sans-serif; line-height: 1.06; letter-spacing: -.04em; }
em { color: var(--cyan); font-style: normal; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; color: white; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(251, 250, 246, .95); border-bottom: 1px solid rgba(7,30,74,.09); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Manrope"; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 86px; height: 40px; object-fit: contain; }
.brand span { padding-left: 12px; border-left: 1px solid var(--line); }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a { position: relative; color: #2b3545; font-weight: 600; font-size: .92rem; text-decoration: none; }
.main-nav a:after { position: absolute; bottom: -8px; left: 0; width: 0; height: 2px; content: ""; background: var(--cyan); transition: width .2s ease; }
.main-nav a:hover:after { width: 100%; }
.profile-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border: 1px solid var(--line); border-radius: 50px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.profile-dot { display: grid; width: 34px; height: 34px; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: .72rem; }
.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; }
.menu-toggle > span:not(.visually-hidden) { display: block; width: 26px; height: 2px; margin: 5px; background: var(--navy); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--blue); font-family: "Manrope"; font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 23px; height: 2px; background: var(--cyan); }
.eyebrow-light { color: white; opacity: .88; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 32px; padding: 0 21px; border-radius: 6px; font-family: "Manrope"; font-size: .88rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.button-yellow { color: var(--navy); background: var(--yellow); }
.button-blue { color: white; background: var(--blue); }
.text-link { color: var(--navy); font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 7px; color: var(--cyan); transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: white; }
.button-row { display: flex; align-items: center; gap: 28px; }

.hero { position: relative; min-height: 660px; overflow: hidden; color: white; background: var(--navy); }
.hero:after { position: absolute; top: -180px; right: -180px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.hero-photo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,30,74,.98) 0%, rgba(7,30,74,.9) 50%, rgba(7,30,74,.38) 100%), url("../images/trondheim.jpg") center / cover; opacity: .8; }
.hero-grid { position: relative; z-index: 2; display: grid; min-height: 660px; grid-template-columns: minmax(0, 1.5fr) minmax(310px, .72fr); align-items: center; gap: 90px; padding: 70px 0 86px; }
.hero-copy { max-width: 730px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(3.4rem, 6.4vw, 6rem); }
.hero h1 em { color: white; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 5px; text-underline-offset: 10px; }
.hero-copy > p { max-width: 650px; margin-bottom: 34px; color: rgba(255,255,255,.8); font-size: 1.16rem; }
.hero-trust { display: flex; gap: 24px; margin-top: 48px; color: rgba(255,255,255,.72); font-size: .82rem; }
.hero-trust b { display: inline-grid; width: 20px; height: 20px; margin-right: 6px; place-items: center; color: var(--navy); background: var(--cyan); border-radius: 50%; font-size: .68rem; }
.next-course-card { position: relative; padding: 34px; color: var(--navy); background: var(--yellow); border-radius: 3px; box-shadow: 14px 14px 0 rgba(24,185,197,.9); transform: rotate(1.4deg); }
.next-course-card:before { position: absolute; top: 0; right: 26px; width: 20px; height: 10px; content: ""; background: var(--navy); }
.card-label { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.card-label span { color: var(--green); }
.course-date { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; line-height: 1; }
.course-date strong { font-family: "Manrope"; font-size: 4.4rem; letter-spacing: -.08em; }
.course-date span { padding-left: 10px; border-left: 2px solid rgba(7,30,74,.3); font-weight: 800; }
.next-course-card h2 { margin-bottom: 10px; font-size: 1.55rem; }
.next-course-card > p:not(.course-date) { color: rgba(7,30,74,.68); font-size: .92rem; }
.availability { display: flex; justify-content: space-between; margin: 25px 0 18px; padding: 16px 0; border-top: 1px solid rgba(7,30,74,.18); border-bottom: 1px solid rgba(7,30,74,.18); font-size: .82rem; }
.availability i, .spots i, .date-status i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(17,137,102,.12); }
.next-course-card > a { display: flex; justify-content: space-between; font-weight: 800; text-decoration: none; }
.route-line { position: absolute; z-index: 3; right: 0; bottom: 24px; left: 0; display: flex; align-items: center; opacity: .55; }
.route-line span { flex: 1; height: 1px; background: var(--cyan); }
.route-line i { width: 9px; height: 9px; background: var(--yellow); border: 2px solid var(--navy); border-radius: 50%; box-shadow: 0 0 0 2px var(--yellow); }

.intro-section { padding: 110px 0 70px; }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 100px; }
.intro-grid h2, .section-heading h2, .promo-copy h2, .cta-inner h2, .article-main h2, .process-section h2, .requirements-section h2, .dates-section h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.intro-copy p { color: var(--muted); font-size: 1.08rem; }

.steps-section { padding: 70px 0 115px; color: white; background: var(--navy); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 50px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); }
.step-card { position: relative; min-height: 320px; padding: 31px 27px; background: var(--navy); transition: background .25s ease, transform .25s ease; }
.step-card:hover { z-index: 2; background: var(--blue); transform: translateY(-8px); }
.step-card-featured { color: var(--navy); background: var(--yellow); }
.step-card-featured:hover { background: #ffe55a; }
.step-number { color: var(--cyan); font-family: "Manrope"; font-size: .78rem; font-weight: 800; }
.step-card-featured .step-number { color: var(--blue); }
.step-icon { display: grid; width: 52px; height: 52px; margin: 32px 0 28px; place-items: center; color: var(--navy); background: var(--cyan); border-radius: 50%; font-size: 1.45rem; }
.step-card-featured .step-icon { color: white; background: var(--blue); }
.step-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.step-card p { color: rgba(255,255,255,.61); font-size: .9rem; }
.step-card-featured p { color: rgba(7,30,74,.69); }
.step-card > a { position: absolute; right: 27px; bottom: 26px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid currentColor; border-radius: 50%; text-decoration: none; }

.course-promo { padding: 120px 0; }
.promo-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 90px; }
.promo-photo { position: relative; min-height: 550px; background: url("../images/trondheim.jpg") center / cover; box-shadow: -20px 20px 0 var(--cyan); }
.promo-photo:after { position: absolute; right: -36px; bottom: 32px; width: 150px; height: 150px; border: 18px solid var(--yellow); content: ""; }
.promo-copy > p { max-width: 520px; margin: 28px 0; color: var(--muted); font-size: 1.05rem; }
.check-list { padding: 0; margin: 0 0 32px; list-style: none; }
.check-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.check-list span { display: inline-grid; width: 23px; height: 23px; margin-right: 10px; place-items: center; color: white; background: var(--cyan); border-radius: 50%; font-size: .73rem; }

.cta-band { padding: 86px 0; color: white; background: var(--blue); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-inner h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
.cta-inner h2 em { color: var(--yellow); }

.page-hero { color: white; background: var(--navy); }
.page-hero-grid { display: grid; min-height: 540px; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 100px; padding: 80px 0; }
.back-link { display: block; margin-bottom: 60px; color: rgba(255,255,255,.64); font-size: .88rem; text-decoration: none; }
.page-hero h1 { margin-bottom: 24px; font-size: clamp(3.4rem, 6vw, 5.6rem); }
.page-hero p { max-width: 650px; color: rgba(255,255,255,.72); font-size: 1.13rem; }
.course-quickfacts { display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.course-quickfacts div { padding: 30px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.course-quickfacts span, .course-quickfacts strong { display: block; }
.course-quickfacts span { margin-bottom: 10px; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.course-quickfacts strong { font-family: "Manrope"; }
.section-nav { position: sticky; z-index: 20; top: 84px; background: white; border-bottom: 1px solid var(--line); }
.section-nav .shell { display: flex; gap: 40px; }
.section-nav a { padding: 20px 0; font-size: .86rem; font-weight: 700; text-decoration: none; }
.content-section { padding: 110px 0; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: 100px; }
.article-main { max-width: 730px; }
.lead-copy { margin: 30px 0 18px; color: var(--ink) !important; font-size: 1.25rem; font-weight: 600; }
.article-main > p { color: var(--muted); }
.curriculum-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 45px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.curriculum-grid > div { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.curriculum-grid span { color: var(--cyan); font-family: "Manrope"; font-size: .75rem; font-weight: 800; }
.curriculum-grid h3 { margin: 18px 0 8px; font-size: 1.15rem; }
.curriculum-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.sticky-apply-card { position: sticky; top: 170px; padding: 32px; background: var(--navy); color: white; box-shadow: 12px 12px 0 var(--cyan); }
.mini-label { color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.apply-date, .calendar-date, .history-date { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.apply-date strong, .calendar-date strong, .history-date strong { font-family: "Manrope"; font-size: 4rem; line-height: 1; letter-spacing: -.08em; }
.apply-date span, .calendar-date span, .history-date span { padding-left: 12px; border-left: 2px solid currentColor; font-weight: 800; line-height: 1.2; }
.sticky-apply-card > p { color: rgba(255,255,255,.65); }
.deadline { display: flex; justify-content: space-between; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); font-size: .84rem; }
.spots { margin: 20px 0; color: #8ce0bd; font-size: .84rem; }
.sticky-apply-card .button { width: 100%; }
.sticky-apply-card small { display: block; margin-top: 13px; color: rgba(255,255,255,.55); text-align: center; }

.process-section { padding: 110px 0; color: white; background: var(--blue); }
.process-section h2 { margin-bottom: 55px; }
.process-section h2 em { color: var(--yellow); }
.process-list { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.25); }
.process-list > div { position: relative; padding: 34px 26px 0 0; }
.process-list > div:before { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; content: ""; background: var(--yellow); border-radius: 50%; }
.process-list b { color: var(--cyan); font-size: .76rem; }
.process-list h3 { margin: 26px 0 10px; font-size: 1.18rem; }
.process-list p { color: rgba(255,255,255,.63); font-size: .9rem; }
.requirements-section { padding: 110px 0; }
.requirements-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 120px; }
.requirements-grid > div > p { max-width: 450px; margin-top: 28px; color: var(--muted); }
.requirements-list { padding: 0; margin: 0; list-style: none; }
.requirements-list li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.requirements-list li > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; color: white; background: var(--cyan); border-radius: 50%; font-weight: 800; }
.requirements-list strong { font-family: "Manrope"; }
.requirements-list p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.dates-section { padding: 100px 0; background: #eceae3; }
.dates-card { padding: 55px; background: white; box-shadow: var(--shadow); }
.date-row { display: grid; grid-template-columns: 120px 1fr auto auto; align-items: center; gap: 34px; margin-top: 42px; padding-top: 35px; border-top: 1px solid var(--line); }
.calendar-date { margin: 0; color: var(--blue); }
.calendar-date strong { font-size: 3.4rem; }
.date-row h3 { margin: 7px 0; }
.date-row p { margin: 0; color: var(--muted); font-size: .87rem; }
.date-status span, .date-status small { display: block; }
.date-status span { color: var(--green); font-weight: 700; }
.date-status small { margin-top: 6px; color: var(--muted); }
.course-empty-state { display: grid; align-content: center; min-height: 150px; gap: 10px; }
.course-empty-state h2, .course-empty-state h3, .course-empty-state p { margin: 0; }
.course-empty-state p { color: inherit; opacity: .72; }
.course-empty-state-light { min-height: 120px; margin-top: 24px; padding: 28px; color: var(--navy); background: #f4f7fb; border-radius: 8px; }

.dashboard-hero { padding: 58px 0; color: white; background: var(--navy); }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; }
.dashboard-welcome h1 { margin-bottom: 8px; font-size: clamp(2.5rem,4vw,4rem); }
.dashboard-welcome p { margin: 0; color: rgba(255,255,255,.66); }
.profile-progress { display: flex; align-items: center; gap: 18px; }
.profile-progress p { font-size: .85rem; }
.progress-ring { display: grid; width: 86px; height: 86px; place-items: center; background: conic-gradient(var(--yellow) var(--profile-progress, 0%), rgba(255,255,255,.14) 0); border-radius: 50%; }
.progress-ring:before { position: absolute; width: 67px; height: 67px; content: ""; background: var(--navy); border-radius: 50%; }
.progress-ring span { position: relative; z-index: 1; font-family: "Manrope"; font-size: 1.5rem; font-weight: 800; }
.progress-ring small { font-size: .7rem; }
.dashboard-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 45px; padding-top: 50px; padding-bottom: 100px; }
.dashboard-sidebar { position: sticky; top: 115px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 12px; }
.candidate-card { padding: 28px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.candidate-avatar { display: grid; width: 64px; height: 64px; margin: 0 auto 13px; place-items: center; color: white; background: var(--blue); border: 5px solid #d8f4f5; border-radius: 50%; font-family: "Manrope"; font-weight: 800; }
.candidate-card h2 { margin-bottom: 4px; font-size: 1rem; }
.candidate-card p { margin: 0; color: var(--muted); font-size: .78rem; }
.dashboard-sidebar nav { padding: 12px; }
.dashboard-sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 6px; color: var(--muted); font-size: .86rem; font-weight: 600; text-decoration: none; }
.dashboard-sidebar nav a.active { color: white; background: var(--blue); }
.dashboard-sidebar nav a b { min-width: 22px; margin-left: auto; padding: 2px 5px; background: rgba(24,185,197,.18); border-radius: 20px; color: var(--cyan); font-size: .66rem; text-align: center; }
.dashboard-sidebar > form { margin: 0; border-top: 1px solid var(--line); }
.logout-link { display: flex; width: 100%; align-items: center; gap: 12px; padding: 16px 23px; border: 0; color: var(--muted); background: transparent; font: inherit; font-size: .84rem; font-weight: 600; text-align: left; cursor: pointer; transition: color .18s ease, background-color .18s ease; }
.logout-link span:first-child { font-size: 1rem; line-height: 1; }
.logout-link:hover { color: var(--navy); background: #f3f6fb; }
.logout-link:focus-visible { outline: 3px solid rgba(24,185,197,.35); outline-offset: -3px; }
.dashboard-main { display: grid; gap: 25px; }
.application-card { padding: 38px; color: white; background: var(--blue); border-radius: 12px; box-shadow: var(--shadow); }
.application-topline { display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: .76rem; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 10px; color: var(--navy); background: var(--yellow); border-radius: 30px; font-size: .7rem; font-weight: 800; }
.application-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; margin: 30px 0 24px; }
.application-grid .eyebrow { margin-bottom: 10px; }
.application-grid h2 { margin-bottom: 12px; font-size: 2rem; }
.application-grid p { max-width: 630px; margin: 0; color: rgba(255,255,255,.65); font-size: .92rem; }
.application-progress { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); }
.application-progress strong, .application-progress span { display: block; }
.application-progress strong { font-family: "Manrope"; font-size: 2.5rem; }
.application-progress span { color: rgba(255,255,255,.55); font-size: .76rem; }
.bar { height: 7px; margin-bottom: 28px; overflow: hidden; background: rgba(255,255,255,.15); border-radius: 10px; }
.bar i { display: block; height: 100%; background: var(--yellow); }
.dashboard-panel { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel-heading .eyebrow { margin-bottom: 7px; }
.panel-heading h2 { margin: 0; font-size: 1.55rem; }
.completion-label { padding: 5px 10px; color: var(--blue); background: #edf1fb; border-radius: 20px; font-weight: 800; font-size: .72rem; }
.task-list { border-top: 1px solid var(--line); }
.task-list a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.task-complete { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 16px; padding: 18px 0; }
.task-complete .task-icon { color: white; background: var(--green); }
.task-complete strong { display: block; margin-bottom: 3px; }
.task-complete p { margin: 0; color: var(--muted); font-size: .82rem; }
.task-icon { display: grid; width: 40px; height: 40px; place-items: center; color: var(--blue); background: #edf1fb; border-radius: 50%; }
.task-list strong, .task-list p { display: block; margin: 0; }
.task-list p { color: var(--muted); font-size: .8rem; }
.task-list b { color: var(--blue); font-size: .82rem; }
.edit-button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--blue); background: white; font-weight: 700; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.data-grid > div { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-grid span, .data-grid strong { display: block; }
.data-grid span { margin-bottom: 5px; color: var(--muted); font-size: .72rem; }
.data-grid strong { font-size: .9rem; }
.history-row { display: grid; grid-template-columns: 100px 1fr auto auto; align-items: center; gap: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.history-date { margin: 0; color: var(--blue); }
.history-date strong { font-size: 2.8rem; }
.history-row p { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.status-muted { color: var(--muted); background: #eef0f2; }
.history-row > a { color: var(--blue); font-size: .8rem; font-weight: 700; text-decoration: none; }

.auth-page { display: grid; min-height: calc(100vh - 84px); grid-template-columns: 1.05fr .95fr; }
.auth-story { position: relative; display: flex; min-height: 720px; align-items: center; overflow: hidden; color: white; background: var(--navy); }
.auth-story-photo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,30,74,.99), rgba(7,30,74,.82)), url("../images/trondheim.jpg") center / cover; opacity: .75; }
.auth-story:after { position: absolute; right: -170px; bottom: -170px; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.auth-story-content { position: relative; z-index: 1; width: min(610px, calc(100% - 80px)); margin-left: max(40px, calc((100vw - 1180px) / 2)); }
.auth-story h1 { margin-bottom: 26px; font-size: clamp(3rem,5vw,5rem); }
.auth-story h1 em { color: var(--yellow); }
.auth-story-content > p { max-width: 560px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.auth-benefits { display: grid; gap: 13px; margin-top: 40px; color: rgba(255,255,255,.78); font-size: .88rem; }
.auth-benefits b { display: inline-grid; width: 22px; height: 22px; margin-right: 9px; place-items: center; color: var(--navy); background: var(--cyan); border-radius: 50%; font-size: .72rem; }
.auth-form-side { display: grid; padding: 60px; place-items: center; background: #efede6; }
.auth-form-card { width: min(470px,100%); padding: 42px; background: white; border-radius: 14px; box-shadow: var(--shadow); }
.auth-form-card h2 { margin: 18px 0 12px; font-size: 2rem; }
.auth-form-card p { color: var(--muted); }
.step-pill { display: inline-block; padding: 5px 10px; color: var(--blue); background: #edf1fb; border-radius: 20px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.form-stack { display: grid; gap: 11px; margin-top: 28px; }
.form-stack label, .field label { color: var(--ink); font-size: .78rem; font-weight: 700; }
.phone-input { display: flex; align-items: center; border: 1px solid #cfd5dc; border-radius: 6px; background: white; }
.phone-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,60,166,.1); }
.phone-input span { padding: 0 15px; color: var(--muted); border-right: 1px solid var(--line); font-weight: 700; }
.phone-input input, .otp-input, .field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #cfd5dc; border-radius: 6px; color: var(--ink); background: white; font: inherit; }
.phone-input input { border: 0; }
.form-stack .button { width: 100%; margin-top: 8px; border: 0; cursor: pointer; }
.auth-register { margin: 25px 0 0; text-align: center; font-size: .84rem; }
.auth-register a { color: var(--blue); font-weight: 700; }
.auth-security { display: flex; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.auth-security > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; color: var(--blue); background: #edf1fb; border-radius: 50%; }
.auth-security p { margin: 0; font-size: .75rem; }
.back-button, .resend-button { padding: 0; border: 0; color: var(--blue); background: none; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.otp-input { font-size: 1.5rem; font-weight: 800; letter-spacing: .3em; text-align: center; }
.resend-button { display: block; margin: 20px auto 0; }

.form-page-hero, .account-page-header, .application-hero { color: white; background: var(--navy); }
.form-page-heading, .account-page-heading { display: flex; min-height: 390px; align-items: end; justify-content: space-between; gap: 60px; padding-top: 70px; padding-bottom: 65px; }
.form-page-heading .back-link, .account-page-heading .back-link { margin-bottom: 45px; }
.form-page-heading h1, .account-page-heading h1, .application-hero h1 { margin-bottom: 15px; font-size: clamp(3rem,5vw,4.7rem); }
.form-page-heading p, .account-page-heading p, .application-hero p { margin: 0; color: rgba(255,255,255,.67); }
.horizontal-steps { display: flex; padding: 0; margin: 0 0 10px; list-style: none; }
.horizontal-steps li { position: relative; display: grid; width: 150px; gap: 9px; color: rgba(255,255,255,.4); font-size: .72rem; }
.horizontal-steps li:not(:last-child):after { position: absolute; top: 15px; left: 36px; width: 105px; height: 1px; content: ""; background: rgba(255,255,255,.2); }
.horizontal-steps span { position: relative; z-index: 1; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; }
.horizontal-steps li.active { color: white; }
.horizontal-steps li.active span { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.form-page-section { padding: 70px 0 110px; background: #efede6; }
.form-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; align-items: start; gap: 38px; }
.form-card { padding: 45px; background: white; border-radius: 12px; box-shadow: var(--shadow); }
.form-card-heading { margin-bottom: 38px; }
.form-card-heading h2 { margin: 15px 0 10px; font-size: 2rem; }
.form-card-heading p { color: var(--muted); }
.form-card fieldset { padding: 0; margin: 0 0 35px; border: 0; }
.form-card legend { width: 100%; margin-bottom: 18px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-family: "Manrope"; font-size: .86rem; font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: span 2; }
.field-small { max-width: 180px; }
.field input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,60,166,.1); }
.consent-row { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: #f5f7fa; border-radius: 7px; color: var(--muted); font-size: .84rem; }
.consent-row input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--blue); }
.consent-row a { color: var(--blue); }
.form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; }
.form-actions button { border: 0; cursor: pointer; }
.form-help-card { position: sticky; top: 115px; padding: 30px; background: var(--navy); color: white; box-shadow: 9px 9px 0 var(--cyan); }
.help-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy); background: var(--yellow); border-radius: 50%; font-family: "Manrope"; font-weight: 800; }
.form-help-card h2 { margin: 22px 0 12px; font-size: 1.35rem; }
.form-help-card > p, .form-help-card li { color: rgba(255,255,255,.64); font-size: .84rem; }
.form-help-card ul { padding-left: 20px; }
.help-contact { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.help-contact span, .help-contact a { display: block; }
.help-contact span { color: rgba(255,255,255,.5); font-size: .72rem; }
.help-contact a { color: var(--yellow); font-weight: 800; text-decoration: none; }
.help-contact small { display: block; margin-top: 7px; color: rgba(255,255,255,.62); font-size: .74rem; }
.help-contact small a { display: inline; color: white; font-weight: 700; }

.profile-completion-card { min-width: 240px; padding: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.profile-completion-card strong, .profile-completion-card span { display: block; }
.profile-completion-card strong { color: var(--yellow); font-family: "Manrope"; font-size: 2rem; }
.profile-completion-card span { color: rgba(255,255,255,.65); font-size: .76rem; }
.profile-completion-card > div { height: 5px; margin-top: 14px; overflow: hidden; background: rgba(255,255,255,.12); }
.profile-completion-card i { display: block; width: 0; height: 100%; background: var(--yellow); }
.profile-edit-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); align-items: start; gap: 42px; padding-top: 55px; padding-bottom: 110px; }
.profile-section-nav { position: sticky; top: 115px; display: grid; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 10px; }
.profile-section-nav a { display: flex; justify-content: space-between; padding: 12px 13px; border-radius: 5px; color: var(--muted); font-size: .82rem; font-weight: 600; text-decoration: none; }
.profile-section-nav a.active { color: white; background: var(--blue); }
.profile-section-nav span { color: var(--green); }
.profile-section-nav a:nth-child(3) span, .profile-section-nav a:nth-child(5) span, .profile-section-nav a:nth-child(6) span { color: #d69b00; }
.profile-section-nav a.profile-item-complete span { color: var(--green); }
.profile-section-nav a.profile-item-missing span { color: #d69b00; }
.profile-edit-main { display: grid; gap: 25px; }
.edit-section { scroll-margin-top: 125px; padding: 34px; background: white; border: 1px solid var(--line); border-radius: 11px; }
.edit-section-alert { border-left: 4px solid var(--yellow); }
.edit-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.edit-section-heading .eyebrow { margin-bottom: 7px; }
.edit-section-heading h2 { margin: 0; font-size: 1.55rem; }
.license-intro { max-width: 700px; margin: -5px 0 20px; color: var(--muted); }
.license-class-list { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.license-class-head, .license-class-row { display: grid; grid-template-columns: 150px minmax(170px, 1fr) minmax(170px, 1fr); gap: 16px; align-items: start; }
.license-class-head { padding: 10px 16px; color: var(--muted); background: #f5f7fa; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.license-class-row { padding: 16px; border-top: 1px solid var(--line); }
.license-class-head + .license-class-row { border-top: 0; }
.license-class-choice { display: flex; align-items: center; gap: 11px; min-height: 44px; font-family: "Manrope"; font-weight: 800; }
.license-class-choice input { width: 19px; height: 19px; accent-color: var(--blue); }
.license-class-choice span { display: grid; gap: 1px; color: var(--ink); }
.license-class-choice strong { font-size: .88rem; }
.license-class-choice small { color: var(--muted); font-size: .72rem; font-weight: 600; }
.license-class-row .field input { background: white; }
.warning-label { color: #785700; background: #fff5c7; }
.compact-fields { max-width: 590px; margin-bottom: 18px; }
.license-options { display: flex; gap: 25px; margin-bottom: 24px; }
.license-options label { font-size: .84rem; font-weight: 700; }
.license-options input { accent-color: var(--blue); }
.document-upload-form { margin-top: 22px; }
.document-upload-panel { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(250px,.95fr); gap: 20px; padding: 22px; background: linear-gradient(145deg,#f7f9fd,#f1f5fb); border: 1px solid #d9e1ee; border-radius: 12px; }
.document-file-picker { display: grid; gap: 10px; }
.document-drop-target { display: grid; min-height: 150px; place-items: center; align-content: center; gap: 8px; padding: 22px; color: var(--blue); background: rgba(255,255,255,.82); border: 1.5px dashed #8da3c8; border-radius: 9px; text-align: center; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.document-drop-target:hover, .document-drop-target.is-dragging { background: white; border-color: var(--cyan); box-shadow: 0 8px 24px rgba(7,30,74,.08); transform: translateY(-1px); }
.visually-hidden:focus-visible + .document-drop-target { outline: 3px solid rgba(24,185,197,.35); outline-offset: 2px; }
.document-upload-icon { display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 1.2rem; font-weight: 800; }
.document-drop-target strong, .document-drop-target small, .document-drop-target b { display: block; }
.document-drop-target strong { font-family: "Manrope"; font-size: .95rem; }
.document-drop-target small { margin-top: 1px; color: var(--muted); font-size: .74rem; }
.document-drop-target b { color: #748093; font-size: .65rem; font-weight: 600; letter-spacing: .02em; }
.document-selected-file { display: grid; min-height: 42px; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 7px 10px; color: var(--muted); background: rgba(255,255,255,.68); border: 1px solid transparent; border-radius: 7px; font-size: .76rem; }
.document-upload-form.has-file .document-selected-file { color: var(--ink); background: white; border-color: #cbd7ea; }
.document-type-icon { display: grid; width: 30px; height: 30px; place-items: center; color: var(--blue); background: #e8eefb; border-radius: 5px; font-size: .55rem; font-weight: 800; }
.document-selected-file [data-document-file-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-selected-file button { padding: 4px 7px; border: 0; color: #9b3a3a; background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.document-description-field { align-content: start; display: grid; gap: 8px; padding: 4px 2px; }
.document-description-field > label { display: flex; align-items: center; justify-content: space-between; color: var(--ink); font-size: .79rem; font-weight: 800; }
.document-description-field > label span { padding: 3px 8px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 20px; font-size: .61rem; font-weight: 600; text-transform: uppercase; }
.document-description-input { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; background: white; border: 1px solid #cbd4df; border-radius: 8px; transition: border-color .18s ease, box-shadow .18s ease; }
.document-description-input:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,60,166,.1); }
.document-description-input > span { color: var(--cyan); font-size: 1rem; }
.document-description-input input { min-width: 0; padding: 13px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; font-size: .82rem; }
.document-description-input input::placeholder { color: #8a94a3; }
.document-description-field > small { color: var(--muted); font-size: .7rem; line-height: 1.45; }
.document-upload-actions { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid #d5deeb; }
.document-upload-actions p { margin: 0; color: var(--muted); font-size: .72rem; }
.document-upload-actions p span { margin-right: 5px; color: var(--green); font-weight: 800; }
.document-upload-actions .button { min-height: 46px; border: 0; cursor: pointer; }
.add-row-button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 5px; color: var(--blue); background: white; font-weight: 700; cursor: pointer; }
.section-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
.section-actions .button { border: 0; }
.reference-row, .file-row { display: flex; align-items: center; gap: 15px; padding: 16px 0; border-top: 1px solid var(--line); }
.reference-avatar { display: grid; width: 42px; height: 42px; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: .74rem; font-weight: 800; }
.reference-row > div:nth-child(2), .file-row > div { flex: 1; }
.reference-row p, .file-row p { margin: 3px 0 0; color: var(--muted); font-size: .78rem; }
.add-row-button { margin-top: 18px; }
.photo-guidance { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.photo-placeholder { display: grid; width: 100px; height: 122px; place-items: center; color: white; background: linear-gradient(145deg,var(--cyan),var(--blue)); border-radius: 7px; font-family: "Manrope"; font-size: 1.5rem; font-weight: 800; }
.photo-guidance ul { padding-left: 18px; margin: 8px 0 0; color: var(--muted); font-size: .8rem; }
.photo-guidance .button { border: 0; }
.file-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--blue); background: #edf1fb; border-radius: 5px; font-size: .64rem; font-weight: 800; }
.file-row > button { border: 0; background: transparent; cursor: pointer; }

.application-hero { padding: 65px 0 75px; }
.application-hero .back-link { margin-bottom: 50px; }
.application-hero h1 { max-width: 750px; }
.application-hero h1 em { color: var(--yellow); }
.application-page { padding: 65px 0 110px; background: #efede6; }
.application-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 38px; }
.application-form { display: grid; gap: 25px; }
.application-section { padding: 38px; background: white; border-radius: 11px; box-shadow: 0 8px 30px rgba(7,30,74,.06); }
.numbered-heading { display: flex; gap: 18px; margin-bottom: 28px; }
.numbered-heading > span { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-family: "Manrope"; font-weight: 800; }
.numbered-heading h2 { margin: 0 0 5px; font-size: 1.45rem; }
.numbered-heading p { margin: 0; color: var(--muted); font-size: .82rem; }
.course-choice { display: grid; grid-template-columns: auto 95px 1fr auto; align-items: center; gap: 20px; margin-top: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.course-choice.selected { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(22,60,166,.08); }
.course-choice > input { width: 18px; height: 18px; accent-color: var(--blue); }
.course-choice .calendar-date { margin: 0; }
.course-choice .calendar-date strong { font-size: 2.55rem; }
.course-choice b, .course-choice small { display: block; }
.course-choice small { margin-top: 5px; color: var(--muted); line-height: 1.5; }
.choice-status { color: var(--green); font-size: .76rem; font-weight: 700; }
.choice-status i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--green); border-radius: 50%; }
.readiness-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 24px; background: #f7f8fa; border-radius: 8px; }
.readiness-score { display: grid; width: 88px; height: 88px; place-items: center; align-content: center; color: white; background: var(--blue); border-radius: 50%; }
.readiness-score strong, .readiness-score span { display: block; }
.readiness-score strong { font-family: "Manrope"; font-size: 1.25rem; }
.readiness-score span { color: rgba(255,255,255,.65); font-size: .62rem; }
.readiness-main h3 { margin: 0 0 5px; font-size: 1rem; }
.readiness-main p { margin: 0 0 7px; color: var(--muted); font-size: .8rem; }
.readiness-main a { color: var(--blue); font-size: .8rem; font-weight: 800; text-decoration: none; }
.readiness-badge { padding: 5px 10px; color: #785700; background: #fff1ad; border-radius: 20px; font-size: .68rem; font-weight: 800; }
.disabled-button { margin-top: 22px; border: 0; opacity: .5; cursor: not-allowed; }
.submission-note { display: block; margin-top: 9px; color: var(--muted); }
.application-summary { position: sticky; top: 115px; padding: 30px; background: white; border-radius: 11px; box-shadow: var(--shadow); }
.application-summary h2 { margin-bottom: 24px; font-size: 1.5rem; }
.application-summary dl { margin: 0; }
.application-summary dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.application-summary dt { color: var(--muted); }
.application-summary dd { margin: 0; font-weight: 700; text-align: right; }
.summary-person { display: flex; align-items: center; gap: 12px; margin-top: 25px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-person .candidate-avatar { width: 44px; height: 44px; flex: 0 0 44px; margin: 0; border-width: 3px; font-size: .7rem; }
.summary-person p { margin: 3px 0 0; color: var(--muted); font-size: .7rem; }
.summary-help { margin: 20px 0 0; color: var(--muted); font-size: .78rem; }
.summary-help a { color: var(--blue); font-weight: 700; }

.site-footer { padding: 70px 0 25px; color: rgba(255,255,255,.66); background: #04142f; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; }
.brand-footer { margin-bottom: 20px; color: white; }
.brand-footer img { filter: brightness(0) invert(1); }
.footer-grid h2 { color: white; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p { font-size: .85rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: white; }
.footer-contact { display: grid; justify-items: start; gap: 5px; }
.footer-contact-primary { color: white; font-size: .95rem; font-weight: 800; text-decoration: underline !important; text-decoration-color: var(--yellow) !important; text-decoration-thickness: 2px !important; text-underline-offset: 5px; }
.footer-contact span { margin-bottom: 8px; color: var(--yellow); font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.footer-contact-phone { color: rgba(255,255,255,.66); font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .74rem; }

@media (max-width: 980px) {
    .main-nav { position: absolute; top: 84px; right: 0; left: 0; display: none; padding: 22px 24px; background: var(--paper); box-shadow: var(--shadow); }
    .main-nav.is-open { display: grid; }
    .menu-toggle { display: block; }
    .profile-link span:last-child { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero { min-height: auto; }
    .next-course-card { max-width: 440px; }
    .intro-grid, .promo-grid, .page-hero-grid, .article-layout, .requirements-grid { grid-template-columns: 1fr; gap: 50px; }
    .steps-grid, .process-list { grid-template-columns: 1fr 1fr; }
    .sticky-apply-card { position: static; max-width: 440px; }
    .date-row { grid-template-columns: 100px 1fr; }
    .date-status { grid-column: 2; }
    .date-row .button { grid-column: 2; width: fit-content; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; display: grid; grid-template-columns: auto 1fr; }
    .candidate-card { border-right: 1px solid var(--line); border-bottom: 0; }
    .dashboard-sidebar nav { display: grid; grid-template-columns: 1fr 1fr; }
    .dashboard-sidebar > form { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .auth-page { grid-template-columns: 1fr; }
    .auth-story { min-height: 580px; }
    .auth-story-content { margin: 0 auto; }
    .form-page-heading, .account-page-heading { align-items: flex-start; flex-direction: column; }
    .form-page-layout, .application-page-layout { grid-template-columns: 1fr; }
    .form-help-card, .application-summary { position: static; }
    .profile-edit-layout { grid-template-columns: 1fr; }
    .profile-section-nav { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    body { font-size: 15px; }
    .shell { width: min(100% - 28px, 1180px); }
    .header-inner { min-height: 70px; gap: 12px; }
    .brand img { width: 72px; }
    .profile-link { display: none; }
    .main-nav { top: 70px; }
    .hero-grid { min-height: 0; padding: 70px 0 90px; }
    .hero h1 { font-size: 3rem; }
    .hero-copy > p { font-size: 1rem; }
    .button-row { align-items: stretch; flex-direction: column; gap: 18px; }
    .button-row .button { width: 100%; }
    .hero-trust { align-items: flex-start; flex-direction: column; gap: 10px; margin-top: 35px; }
    .next-course-card { margin-right: 12px; padding: 26px; }
    .intro-section, .course-promo, .content-section, .requirements-section { padding: 75px 0; }
    .intro-grid { gap: 24px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
    .intro-grid h2, .section-heading h2, .promo-copy h2, .cta-inner h2, .article-main h2, .process-section h2, .requirements-section h2, .dates-section h2 { font-size: 2.55rem; }
    .steps-section, .process-section { padding: 75px 0; }
    .steps-grid, .process-list { grid-template-columns: 1fr; }
    .step-card { min-height: 280px; }
    .promo-grid { gap: 60px; }
    .promo-photo { min-height: 360px; }
    .promo-photo:after { right: -7px; width: 90px; height: 90px; border-width: 10px; }
    .cta-inner, .dashboard-welcome { align-items: flex-start; flex-direction: column; }
    .page-hero-grid { min-height: 0; padding: 55px 0 70px; }
    .back-link { margin-bottom: 40px; }
    .page-hero h1 { font-size: 3rem; }
    .course-quickfacts { grid-template-columns: 1fr; }
    .section-nav { top: 70px; overflow-x: auto; }
    .section-nav .shell { width: max-content; gap: 26px; }
    .curriculum-grid { grid-template-columns: 1fr; }
    .process-list { gap: 28px; border-top: 0; }
    .process-list > div { padding: 25px 0 0; border-top: 1px solid rgba(255,255,255,.25); }
    .dates-section { padding: 65px 0; }
    .dates-card { padding: 28px 22px; }
    .date-row { grid-template-columns: 1fr; }
    .date-status, .date-row .button { grid-column: 1; }
    .date-row .button { width: 100%; }
    .dashboard-hero { padding: 40px 0; }
    .profile-progress { display: none; }
    .dashboard-layout { padding-top: 25px; gap: 20px; }
    .dashboard-sidebar { display: block; }
    .candidate-card { display: none; }
    .dashboard-sidebar nav { display: flex; overflow-x: auto; }
    .dashboard-sidebar nav a { flex: 0 0 auto; }
    .dashboard-sidebar nav a span { display: none; }
    .application-card, .dashboard-panel { padding: 24px 20px; }
    .application-topline span:last-child { display: none; }
    .application-grid { grid-template-columns: 1fr; }
    .application-progress { display: none; }
    .task-list a { grid-template-columns: 42px 1fr; }
    .task-list a > b { grid-column: 2; }
    .data-grid { grid-template-columns: 1fr; }
    .history-row { grid-template-columns: 80px 1fr; }
    .history-row .status-badge, .history-row > a { grid-column: 2; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
    .auth-story { min-height: 510px; }
    .auth-story-content { width: min(100% - 28px,610px); }
    .auth-story h1 { font-size: 2.85rem; }
    .auth-benefits { margin-top: 28px; }
    .auth-form-side { padding: 45px 14px; }
    .auth-form-card { padding: 28px 22px; }
    .form-page-heading, .account-page-heading { min-height: 0; padding-top: 45px; padding-bottom: 50px; }
    .horizontal-steps { width: 100%; }
    .horizontal-steps li { width: 33.333%; }
    .horizontal-steps li:not(:last-child):after { width: calc(100% - 44px); }
    .horizontal-steps b { display: none; }
    .form-page-section, .application-page { padding: 35px 0 75px; }
    .form-card { padding: 28px 20px; }
    .field-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .field-small { max-width: none; }
    .form-actions { align-items: stretch; flex-direction: column-reverse; gap: 20px; }
    .form-actions .button { width: 100%; }
    .profile-completion-card { width: 100%; }
    .profile-edit-layout { gap: 20px; padding-top: 25px; }
    .profile-section-nav { display: flex; overflow-x: auto; }
    .profile-section-nav a { flex: 0 0 auto; }
    .edit-section { padding: 26px 20px; }
    .compact-fields { grid-template-columns: 1fr; }
    .license-class-head { display: none; }
    .license-class-row { grid-template-columns: 1fr; gap: 12px; }
    .license-class-row .field label.visually-hidden { position: static !important; width: auto !important; height: auto !important; margin: 0 0 6px !important; overflow: visible !important; clip: auto !important; white-space: normal !important; }
    .license-options { align-items: flex-start; flex-direction: column; gap: 10px; }
    .document-upload-panel { grid-template-columns: 1fr; padding: 16px; }
    .document-upload-actions { align-items: stretch; flex-direction: column; }
    .document-upload-actions .button { width: 100%; }
    .photo-guidance { align-items: flex-start; grid-template-columns: 1fr; flex-direction: column; }
    .photo-guidance .button { width: 100%; }
    .application-hero { padding: 45px 0 55px; }
    .application-hero h1 { font-size: 2.9rem; }
    .application-section { padding: 26px 20px; }
    .course-choice { grid-template-columns: auto 1fr; }
    .course-choice .calendar-date, .course-choice > span:nth-of-type(2), .choice-status { grid-column: 2; }
    .readiness-card { grid-template-columns: 1fr; }
    .readiness-score { width: 72px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { transition: none !important; }
}
