:root {
    font-family: 'DM Sans', sans-serif;
    color: #26324a;
    background: #fff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --blue-primary: #283891;
    --blue-deep: #1d2a69;
    --blue-soft: #edf0fa;
    --green-secondary: #056839;
    --green-soft: #e8f3ec;
    --maroon: #bf1e2e;
    --maroon-deep: #951923;
    --maroon-soft: #f8e9ed;
    --green: var(--blue-primary);
    --green-deep: var(--blue-deep);
    --gold: var(--maroon);
    --cream: #f7f6f1;
    --ink: #26324a;
    --muted: #667085;
    --line: #e3e7ee;
    --font-display: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--ink); }
body, button, input, select, textarea { font-family: 'DM Sans', sans-serif; }
button, input, select, textarea { font-size: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: 104px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 20; top: -50px; left: 16px; padding: 12px 18px; background: #fff; color: var(--green); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.topbar { color: #e4eee7; background: var(--green-deep); font-size: 14px; letter-spacing: .01em; }
.topbar-inner, .topbar-links { display: flex; align-items: center; justify-content: space-between; }
.topbar-inner { min-height: 36px; }
.topbar-links { gap: 25px; }
.topbar-links a:hover { color: var(--gold); }
.site-header { position: sticky; z-index: 10; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(23,42,33,.08); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { width: 61px; height: 61px; display: block; flex: 0 0 auto; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: var(--font-display); color: var(--green-deep); font-size: 16px; font-weight: 800; }
.brand-copy small { color: var(--muted); font-size: 13px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-apply):not(.nav-login):hover { color: var(--green); }
.nav-login { padding: 11px 16px; border: 1px solid var(--line); border-radius: 7px; color: var(--green); background: transparent; font-size: 14px; font-weight: 700; }
.nav-login:hover { border-color: var(--green); }
.nav-logout { margin: 0; }
.nav-logout button { font-family: inherit; cursor: pointer; }
.nav-apply, .button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 7px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.nav-apply { padding: 12px 17px; color: #fff; background: var(--green); }
.nav-apply:hover, .button-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 24px 0 22px; background: var(--blue-deep); }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ''; background: linear-gradient(90deg, rgba(20,34,83,.98) 0%, rgba(24,41,97,.94) 34%, rgba(24,41,97,.73) 54%, rgba(24,41,97,.14) 100%), linear-gradient(0deg, rgba(20,34,83,.52), transparent 48%); }
.hero::after { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 5px; content: ''; background: var(--maroon); }
.hero-backdrop { position: absolute; z-index: -2; inset: 0; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-grid { position: relative; display: flex; align-items: center; min-height: 500px; }
.hero-copy { max-width: 610px; padding: 25px 0 35px; }
.hero .eyebrow { gap: 10px; margin-bottom: 20px; color: #fff; font-size: 16px; font-style: italic; letter-spacing: .01em; text-transform: none; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--maroon); }
.hero h1, .page-hero h1, .student-hero h1 { margin: 0; color: var(--green-deep); font-family: var(--font-display); font-size: clamp(43px, 5.2vw, 66px); font-weight: 700; letter-spacing: -.055em; line-height: 1.08; }
.hero h1 { max-width: 690px; color: #fff; font-size: clamp(54px, 7vw, 86px); letter-spacing: -.06em; line-height: .99; }
.hero h1 em { display: block; color: var(--maroon); font-style: normal; }
h2 em, .page-hero h1 em, .student-hero h1 em { color: var(--maroon-deep); font-style: normal; }
.hero-intro { max-width: 520px; margin: 20px 0 25px; color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.65; }
.hero-highlights { display: flex; flex-wrap: wrap; margin: 0 0 29px; padding: 0; list-style: none; }
.hero-highlights li { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.42); color: #fff; font-size: 14px; font-weight: 600; }
.hero-highlights li:first-child { padding-left: 0; border-left: 0; }
.hero-highlights svg { width: 23px; height: 23px; flex: 0 0 auto; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { min-height: 48px; padding: 0 20px; font-size: 14px; }
.button-primary { color: #fff; background: var(--green); }
.button-light { color: var(--green); background: #fff; border: 1px solid #e4e6dd; }
.button-light:hover { background: var(--green-soft); }
.hero .button-primary { background: var(--blue-primary); }
.hero .button-primary:hover { background: #3448a5; }
.hero .button-light { color: #fff; border-color: rgba(255,255,255,.76); background: transparent; }
.hero .button-light:hover { color: var(--blue-deep); background: #fff; }
.hero-bottom { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding-top: 5px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-bottom-line { width: 52px; height: 1px; background: var(--green-secondary); }
.section-heading { max-width: 680px; }
.section-heading.centered { margin: 0 auto 48px; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2, .story-copy h2, .contact-copy h2, .cta-content h2 { margin: 0; color: var(--green-deep); font-family: var(--font-display); font-size: clamp(32px, 4vw, 46px); letter-spacing: -.045em; line-height: 1.16; }
.section-heading > p:last-child { max-width: 580px; margin: 15px auto 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.benefits { background: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { min-height: 230px; padding: 29px; border: 1px solid #e9ece7; border-radius: 10px; background: #fff; transition: transform .2s, box-shadow .2s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,57,38,.08); }
.benefit-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--green-secondary); background: var(--green-soft); font-size: 24px; }
.benefit-icon-gold { color: var(--maroon-deep); background: var(--maroon-soft); }
.benefit-icon-coral { color: var(--maroon-deep); background: var(--maroon-soft); }
.benefit-card h3 { margin: 19px 0 8px; color: var(--green-deep); font-family: var(--font-display); font-size: 17px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.courses-section { background: #f7f8f5; }
.section-heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 35px; }
.section-heading-row .eyebrow { margin-bottom: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 14px; font-weight: 700; }
.text-link:hover { color: var(--maroon-deep); }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.course-card { overflow: hidden; border: 1px solid #e7eae5; border-radius: 10px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(17,48,31,.1); }
.course-card-image { position: relative; display: block; height: 190px; overflow: hidden; background: var(--green-soft); }
.course-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.course-card:hover .course-card-image img { transform: scale(1.04); }
.course-category { display: inline-flex; align-items: center; width: fit-content; padding: 6px 9px; border-radius: 4px; color: var(--green); background: #eaf1eb; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.course-card-image .course-category { position: absolute; bottom: 12px; left: 13px; background: rgba(255,255,255,.95); }
.course-image-fallback { height: 100%; display: grid; place-items: center; color: var(--green); background: linear-gradient(135deg,#e7efe8,#f4eee0); font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.08em; }
.course-card-content { padding: 20px 20px 16px; }
.course-card h3 { min-height: 42px; margin: 0; color: var(--green-deep); font-family: var(--font-display); font-size: 17px; letter-spacing: -.02em; line-height: 1.35; }
.course-card h3 a:hover { color: var(--maroon-deep); }
.course-card-content > p { min-height: 69px; margin: 9px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.course-card-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 15px; padding: 12px 0; border-top: 1px solid #edf0ec; border-bottom: 1px solid #edf0ec; }
.course-card-facts > div { display: grid; gap: 4px; min-width: 0; }
.course-card-facts > div + div { padding-left: 12px; border-left: 1px solid #edf0ec; }
.course-card-facts span { color: var(--muted); font-size: 12px; }
.course-card-facts strong { overflow-wrap: anywhere; color: var(--green-deep); font-size: 14px; font-weight: 700; }
.course-card-bottom { display: flex; align-items: center; gap: 9px; }
.course-card-bottom .button { min-height: 42px; flex: 1; padding-inline: 10px; font-size: 13px; white-space: nowrap; }
.course-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); font-size: 16px; }
.story-section { background: #fff; }
.story-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 90px; }
.story-image-wrap { position: relative; min-height: 430px; }
.story-image-wrap > img { width: 88%; height: 430px; object-fit: cover; border-radius: 8px 90px 8px 8px; }
.story-image-wrap::after { position: absolute; z-index: 0; right: 0; bottom: -16px; width: 71%; height: 86%; content: ''; border: 1px solid #d9bd7a; border-radius: 8px 75px 8px 8px; }
.story-stamp { position: absolute; z-index: 1; right: 2px; bottom: 17px; width: 134px; height: 134px; display: grid; align-content: center; justify-items: center; gap: 3px; border: 6px solid #fff; border-radius: 50%; color: #fff; background: var(--green-secondary); text-align: center; }
.story-stamp > span { color: #fff; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.08em; }
.story-stamp small { font-size: 12px; line-height: 1.5; }
.story-copy { max-width: 460px; }
.story-copy > p:not(.eyebrow) { margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.story-copy .button { margin-top: 27px; }
.cta-band { padding: 65px 0; color: #fff; background: var(--green); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.eyebrow-light { color: #f0bdc7; }
.cta-content h2 { color: #fff; }
.cta-content h2 em { color: #f3bac5; }
.cta-content > div > p:last-child { margin: 13px 0 0; color: #d1ded5; font-size: 14px; }
.cta-actions { display: grid; justify-items: center; gap: 12px; }
.button-gold { min-width: 168px; color: #fff; background: var(--maroon); }
.button-gold:hover { background: var(--maroon-deep); transform: translateY(-1px); }
.cta-login { color: #e5eee7; font-size: 13px; }
.cta-login:hover { text-decoration: underline; }
.contact-section { background: #f8f8f5; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; align-items: start; }
.contact-copy { padding-top: 25px; }
.contact-copy > p:not(.eyebrow) { max-width: 440px; margin: 18px 0 28px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.contact-details { display: grid; gap: 14px; }
.contact-details > a { display: flex; align-items: center; gap: 13px; }
.contact-detail-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 10px; color: var(--green); background: #e8f0e9; }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: var(--muted); font-size: 13px; }
.contact-details strong { margin-top: 3px; color: var(--green-deep); font-size: 14px; }
.contact-form, .account-form { padding: 31px; border: 1px solid #e7eae4; border-radius: 10px; background: #fff; box-shadow: 0 14px 35px rgba(22,51,32,.045); }
.contact-form h3 { margin: 0; color: var(--green-deep); font-family: var(--font-display); font-size: 22px; }
.contact-form > p, .account-form > p { margin: 8px 0 21px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.contact-form label, .account-form label, .detail-enrol-card label, .enrollment-pay-form label { display: grid; gap: 7px; margin-bottom: 15px; color: #33493c; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea, .account-form input, .account-form select, .detail-enrol-card input, .enrollment-pay-form input, .catalog-tools input, .catalog-tools select { width: 100%; border: 1px solid #dfe5df; border-radius: 6px; outline: 0; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-form input, .contact-form textarea, .account-form input, .detail-enrol-card input, .enrollment-pay-form input { padding: 12px; font-size: 14px; }
.account-form select { min-height: 46px; padding: 0 40px 0 12px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23506c5b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; font-size: 14px; cursor: pointer; }
.account-form select option { color: var(--ink); background: #fff; }
.contact-form input:focus, .contact-form textarea:focus, .account-form input:focus, .account-form select:focus, .detail-enrol-card input:focus, .enrollment-pay-form input:focus, .catalog-tools input:focus, .catalog-tools select:focus { border-color: #4a7a5e; box-shadow: 0 0 0 3px rgba(23,77,57,.1); }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.button-full { width: 100%; }
.alert { margin: 0 0 17px; padding: 12px 14px; border-radius: 6px; font-size: 14px; line-height: 1.5; }
.alert-success { border: 1px solid #c9e6d2; color: #215d36; background: #eef8f1; }
.alert-error { border: 1px solid #efd0c9; color: #8c3626; background: #fff2ef; }
.field-error { color: #9d3325; font-size: 13px; font-weight: 500; }
.site-footer { color: #dbe5dd; background: #103b2b; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 42px; padding-top: 56px; padding-bottom: 43px; }
.brand-footer .brand-logo { width: 68px; height: 68px; padding: 3px; border-radius: 50%; background: #fff; }
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: #b5c8bb; }
.footer-brand > p { max-width: 270px; margin: 17px 0 0; color: #bdcec1; font-size: 13px; line-height: 1.8; }
.footer-column { display: grid; align-content: start; gap: 12px; }
.footer-column h2 { margin: 3px 0 6px; color: #fff; font-family: var(--font-display); font-size: 14px; }
.footer-column > a { color: #bdcec1; font-size: 13px; }
.footer-column > a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; padding-bottom: 17px; border-top: 1px solid rgba(255,255,255,.14); color: #a9beb0; font-size: 13px; }
.page-hero, .student-hero { padding: 78px 0 83px; color: #fff; background: var(--green); }
.page-hero h1, .student-hero h1 { max-width: 770px; color: #fff; font-size: clamp(39px, 5vw, 58px); }
.page-hero > .container > p:last-child, .student-hero > .container > p:last-child { max-width: 570px; margin: 17px 0 0; color: #d3e0d6; font-size: 16px; line-height: 1.7; }
.catalog-section { background: #f8f9f6; }
.catalog-tools { display: flex; gap: 11px; margin-bottom: 32px; }
.search-field { position: relative; flex: 1; }
.search-field > span:not(.sr-only) { position: absolute; top: 50%; left: 14px; color: #718078; font-size: 22px; transform: translateY(-53%); }
.catalog-tools input, .catalog-tools select { height: 48px; padding: 0 14px; font-size: 14px; }
.catalog-tools input { padding-left: 42px; }
.catalog-tools .button { flex: 0 0 auto; }
.category-field { width: 210px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.catalog-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.pagination-wrap { margin-top: 35px; }
.pagination-wrap nav { display: flex; justify-content: center; }
.pagination-wrap nav > div:first-child { display: none; }
.pagination-wrap nav > div:last-child { display: flex; gap: 6px; }
.pagination-wrap a, .pagination-wrap span[aria-current] span, .pagination-wrap span:not([aria-current]) { min-width: 36px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 13px; text-align: center; }
.pagination-wrap span[aria-current] span { color: #fff; border-color: var(--green); background: var(--green); }
.pagination-wrap a:hover { border-color: var(--green); }
.empty-state { grid-column: 1 / -1; padding: 46px; border: 1px dashed #cfd9d0; border-radius: 10px; background: #fff; text-align: center; }
.empty-state h2 { margin: 0 0 8px; color: var(--green-deep); font-family: var(--font-display); }
.empty-state p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.course-detail-hero { padding: 59px 0 85px; background: #f8f8f3; }
.detail-grid { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 70px; }
.back-link { display: inline-block; margin-bottom: 27px; color: var(--green); font-size: 14px; font-weight: 700; }
.detail-category { margin-bottom: 14px; }
.detail-copy h1 { margin: 0; color: var(--green-deep); font-family: var(--font-display); font-size: clamp(38px, 4.5vw, 56px); letter-spacing: -.05em; line-height: 1.1; }
.detail-copy > p { margin: 18px 0 25px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 22px; padding-top: 21px; border-top: 1px solid #e0e6df; }
.detail-facts span { display: grid; gap: 4px; }
.detail-facts strong { color: var(--green-deep); font-family: var(--font-display); font-size: 14px; }
.detail-facts small { color: var(--muted); font-size: 13px; }
.detail-image { position: relative; min-height: 450px; }
.detail-image > img, .detail-image > .course-image-fallback { width: 100%; height: 440px; object-fit: cover; border-radius: 9px 80px 9px 9px; }
.detail-enrol-card { position: absolute; right: -18px; bottom: -40px; width: min(300px, 86%); padding: 21px; border: 1px solid #e5e9e3; border-radius: 9px; background: #fff; box-shadow: 0 14px 38px rgba(18,48,31,.12); }
.detail-enrol-card > strong, .detail-enrol-card > span { display: block; }
.detail-enrol-card > strong { color: var(--green-deep); font-family: var(--font-display); font-size: 20px; }
.detail-enrol-card > span { margin-top: 4px; margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.detail-enrol-card form { padding-top: 13px; border-top: 1px solid var(--line); }
.detail-enrol-card form .button { margin-top: 2px; }
.enrol-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.enrol-note a { color: var(--green); font-weight: 700; text-decoration: underline; }
.account-section { min-height: 690px; display: grid; grid-template-columns: .85fr 1.15fr; }
.account-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 80px max(50px, calc((100vw - 1160px) / 2)); color: #fff; background: var(--green); }
.account-aside h1 { max-width: 390px; margin: 0; font-family: var(--font-display); font-size: clamp(38px, 4vw, 54px); letter-spacing: -.05em; line-height: 1.12; }
.account-aside > p:not(.eyebrow) { max-width: 370px; color: #d1e0d5; font-size: 15px; line-height: 1.8; }
.account-aside-logo { position: absolute; right: -34px; bottom: -56px; width: 260px; height: 260px; object-fit: contain; opacity: .14; }
.account-form-wrap { display: grid; place-items: center; padding: 60px 30px; background: #f8f9f6; }
.account-form { width: min(430px, 100%); padding: 36px; }
.account-kicker { color: var(--maroon-deep); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.account-form h2 { margin: 10px 0 0; color: var(--green-deep); font-family: var(--font-display); font-size: 27px; letter-spacing: -.04em; }
.account-form > p { margin-bottom: 23px; }
.account-form label { margin-bottom: 16px; }
.password-field { position: relative; display: block; width: 100%; }
.password-field > input { width: 100%; padding-right: 68px !important; }
.admin-field .password-field > input { width: 100%; min-height: 40px; padding: 10px 68px 10px 11px; border: 1px solid #dfe6e0; border-radius: 5px; outline: none; color: var(--ink); background: #fff; font-size: 13px; font-weight: 400; }
.admin-field .password-field > input:focus { border-color: #56806a; box-shadow: 0 0 0 3px rgba(23,77,57,.08); }
.password-toggle { position: absolute; top: 50%; right: 8px; min-width: 48px; padding: 5px 7px; transform: translateY(-50%); border: 0; border-radius: 4px; color: var(--green); background: transparent; font-size: 13px; font-weight: 700; }
.password-toggle:hover { background: var(--green-soft); }
.password-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.password-hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.remember-row { display: flex !important; grid-template-columns: auto 1fr; align-items: center; justify-content: start; gap: 8px !important; font-weight: 500 !important; }
.remember-row input { width: 14px; height: 14px; margin: 0; accent-color: var(--green); }
.account-switch { margin: 21px 0 0 !important; text-align: center; }
.account-switch a { color: var(--green); font-weight: 700; text-decoration: underline; }
.student-hero { padding: 60px 0 66px; }
.student-hero h1 { font-size: clamp(36px, 4vw, 48px); }
.student-section { min-height: 450px; background: #f8f9f6; }
.student-section > .container > .alert { margin-bottom: 17px; }
.empty-dashboard { display: grid; justify-items: center; padding: 58px 25px; border: 1px dashed #d1dbd3; border-radius: 10px; background: #fff; text-align: center; }
.empty-dashboard-icon { color: var(--maroon); font-size: 27px; }
.empty-dashboard h3 { margin: 12px 0 7px; color: var(--green-deep); font-family: var(--font-display); font-size: 20px; }
.empty-dashboard p { max-width: 450px; margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.enrollment-list { display: grid; gap: 14px; }
.enrollment-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 15px 25px; padding: 22px; border: 1px solid #e6ebe5; border-radius: 9px; background: #fff; }
.enrollment-main h3 { margin: 9px 0 4px; color: var(--green-deep); font-family: var(--font-display); font-size: 17px; }
.enrollment-main h3 a:hover { color: var(--maroon-deep); }
.enrollment-main p { margin: 0; color: var(--muted); font-size: 13px; }
.enrollment-status { display: grid; justify-items: end; gap: 7px; }
.status-pill { padding: 7px 10px; border-radius: 50px; color: var(--maroon-deep); background: var(--maroon-soft); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.status-paid { color: var(--green-secondary); background: var(--green-soft); }
.enrollment-status small { max-width: 255px; color: var(--muted); font-size: 13px; text-align: right; }
.enrollment-pay-form { grid-column: 1 / -1; display: flex; align-items: end; gap: 10px; padding-top: 15px; border-top: 1px solid var(--line); }
.enrollment-pay-form label { flex: 1; margin: 0; }
.enrollment-pay-form .button { min-height: 42px; }
.receipt-number { grid-column: 1 / -1; color: var(--green-secondary); font-size: 13px; font-weight: 700; }

.nav-portal { color: var(--green); font-weight: 700; }
.nav-admin-link { padding: 8px 11px; border-radius: 6px; background: var(--green-soft); }
.proof-strip { position: relative; z-index: 1; background: var(--green); }
.proof-grid { min-height: 132px; display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.25fr; align-items: center; gap: 30px; }
.proof-intro { display: flex; align-items: center; gap: 14px; color: #d3e2d7; font-size: 13px; line-height: 1.65; }
.proof-intro strong { color: #fff; font-family: var(--font-display); font-size: 15px; }
.proof-star { color: #f3bac5; font-size: 33px; }
.proof-stat { display: grid; gap: 3px; padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
.proof-stat > strong { color: #fff; font-family: var(--font-display); font-size: 27px; letter-spacing: -.05em; }
.proof-stat > strong span { color: #f3bac5; }
.proof-stat > small { color: #c4d5c9; font-size: 13px; }
.proof-stat-note > strong { color: #f3bac5; font-size: 16px; }
.pathways-section { background: #f7f8f5; }
.pathway-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.pathway-card { position: relative; min-height: 156px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 18px; border: 1px solid #e8ebe5; border-radius: 8px; background: #fff; transition: transform .2s, box-shadow .2s; }
.pathway-card:hover { transform: translateY(-4px); box-shadow: 0 15px 32px rgba(20,54,34,.09); }
.pathway-card::after { position: absolute; right: -25px; bottom: -48px; width: 112px; height: 112px; content: ''; border: 1px solid rgba(23,77,57,.09); border-radius: 50%; box-shadow: 0 0 0 16px rgba(23,77,57,.025); }
.pathway-card-1 { background: #fbf0f2; }
.pathway-card-2 { background: #edf3ee; }
.pathway-card-3 { background: #f8efec; }
.pathway-number { color: #83948a; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.pathway-content { z-index: 1; display: grid; gap: 5px; }
.pathway-content strong { color: var(--green-deep); font-family: var(--font-display); font-size: 16px; }
.pathway-content small { color: var(--muted); font-size: 13px; }
.pathway-arrow { position: absolute; z-index: 1; right: 15px; bottom: 17px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: rgba(255,255,255,.77); font-size: 14px; }
.story-image-label { position: absolute; z-index: 1; top: 28px; left: 23px; display: grid; gap: 8px; color: #fff; text-shadow: 0 2px 15px rgba(0,0,0,.25); }
.story-image-label > span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.story-image-label > strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -.04em; line-height: 1.2; }
.learning-promise { background: #f5f4ed; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.promise-card { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px; border: 1px solid #e5e5db; border-radius: 8px; background: #fff; }
.promise-card-featured { color: #fff; border-color: var(--green); background: var(--green); }
.promise-step { color: #8a9a8f; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.promise-card-featured .promise-step { color: #cbd9ce; }
.promise-mark { margin-top: 21px; color: var(--green-secondary); font-size: 23px; }
.promise-card-featured .promise-mark { color: #f3bac5; }
.promise-card h3 { margin: 12px 0 6px; color: var(--green-deep); font-family: var(--font-display); font-size: 17px; }
.promise-card-featured h3 { color: #fff; }
.promise-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.promise-card-featured p { color: #d1dfd5; }

.admin-body { min-height: 100vh; background: #f5f7f5; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 25px 17px 18px; border-right: 1px solid #e7ece8; background: #fff; }
.brand-admin { padding: 0 8px 31px; }
.brand-admin .brand-logo { width: 49px; height: 49px; }
.brand-admin .brand-copy strong { font-size: 14px; }
.brand-admin .brand-copy small { font-size: 12px; }
.admin-nav-label { margin: 4px 11px 11px; color: #96a39a; font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav > a, .admin-sidebar-bottom > a, .admin-sidebar-bottom form button { min-height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 6px; color: #65756a; background: transparent; font-size: 14px; font-weight: 600; text-align: left; }
.admin-nav > a > span:first-child, .admin-sidebar-bottom > a > span, .admin-sidebar-bottom form button > span { width: 17px; color: #829287; font-size: 16px; text-align: center; }
.admin-nav-wallet { display: grid; place-items: center; }
.admin-nav-wallet svg { width: 19px; height: 19px; }
.admin-nav > a:hover, .admin-sidebar-bottom > a:hover, .admin-sidebar-bottom form button:hover { color: var(--green); background: #f4f7f4; }
.admin-nav > a.is-active { color: var(--green); background: #edf4ef; font-weight: 700; }
.admin-nav > a.is-active > span:first-child { color: var(--green); }
.admin-nav-count { min-width: 20px; margin-left: auto; padding: 3px 6px; border-radius: 10px; color: #fff; background: #bb715b; font-size: 12px; text-align: center; }
.admin-sidebar-bottom { display: grid; gap: 4px; margin-top: auto; padding-top: 15px; border-top: 1px solid #edf0ed; }
.admin-sidebar-bottom form { margin: 0; }
.admin-sidebar-bottom form button { width: 100%; cursor: pointer; }
.admin-main { min-width: 0; }
.admin-topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 38px; border-bottom: 1px solid #e7ece8; background: #fff; }
.admin-topbar-title { color: #66776c; font-size: 13px; font-weight: 600; }
.admin-topbar-title > span > span { padding: 0 8px; color: #adb8b0; }
.admin-mobile-mark { display: none; }
.admin-user { display: flex; align-items: center; gap: 10px; }
.admin-user-avatar, .admin-inquiry-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: #e8f0ea; font-family: var(--font-display); font-size: 14px; font-weight: 800; }
.admin-user > span:last-child { display: grid; gap: 3px; }
.admin-user strong { color: var(--ink); font-size: 13px; }
.admin-user small { color: #849188; font-size: 12px; }
.admin-content { width: min(1320px, 100%); margin: 0 auto; padding: 36px 38px 55px; }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.admin-page-heading h1 { margin: 5px 0 6px; color: var(--green-deep); font-family: var(--font-display); font-size: 30px; letter-spacing: -.05em; }
.admin-page-heading > div > p:last-child { margin: 0; color: #78867d; font-size: 13px; line-height: 1.6; }
.admin-eyebrow { margin: 0; color: #89978e; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.admin-page-heading .admin-eyebrow { color: var(--maroon-deep); }
.admin-page-heading > .button { min-height: 42px; font-size: 13px; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 19px; }
.admin-stat-card { position: relative; min-height: 144px; display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border: 1px solid #e8ede8; border-radius: 8px; background: #fff; }
.admin-stat-icon { position: absolute; top: 16px; right: 16px; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; font-size: 16px; }
.admin-icon-green { color: var(--green-secondary); background: var(--green-soft); }
.admin-icon-gold { color: var(--maroon-deep); background: var(--maroon-soft); }
.admin-icon-coral { color: var(--maroon-deep); background: var(--maroon-soft); }
.admin-icon-blue { color: #426981; background: #edf3f7; }
.admin-stat-label { margin-top: 3px; color: #89968d; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.admin-stat-card > strong { margin-top: 14px; color: var(--green-deep); font-family: var(--font-display); font-size: 26px; letter-spacing: -.04em; }
.admin-stat-card > small { margin-top: 3px; color: #87948b; font-size: 12px; }
.admin-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.admin-panel { min-width: 0; padding: 21px; border: 1px solid #e7ece8; border-radius: 8px; background: #fff; }
.admin-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.admin-panel-heading h2 { margin: 5px 0 0; color: var(--green-deep); font-family: var(--font-display); font-size: 16px; letter-spacing: -.025em; }
.admin-panel-link { color: var(--green); font-size: 13px; font-weight: 700; white-space: nowrap; }
.admin-panel-link:hover, .admin-action-link:hover { text-decoration: underline; }
.admin-inquiry-row, .admin-payment-row { min-height: 58px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #eff2ef; }
.admin-inquiry-avatar { width: 30px; height: 30px; flex: 0 0 auto; font-size: 13px; }
.admin-inquiry-copy { min-width: 0; display: grid; flex: 1; gap: 4px; }
.admin-inquiry-copy strong { overflow: hidden; color: #294235; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-inquiry-copy small { overflow: hidden; color: #8a978e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-mini-status { width: fit-content; padding: 5px 8px; border-radius: 20px; color: var(--maroon-deep); background: var(--maroon-soft); font-size: 12px; font-weight: 700; text-transform: capitalize; }
.status-contacted, .status-paid { color: var(--green-secondary); background: var(--green-soft); }
.status-failed, .status-rejected { color: var(--maroon-deep); background: var(--maroon-soft); }
.admin-payment-icon { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; color: var(--green-secondary); background: var(--green-soft); font-size: 12px; font-weight: 800; }
.admin-payment-icon svg { width: 19px; height: 19px; }
.admin-payment-amount { display: grid; justify-items: end; gap: 4px; }
.admin-payment-amount strong { color: #294235; font-size: 12px; }
.admin-payment-amount small { color: #89968d; font-size: 12px; text-transform: capitalize; }
.status-text-paid { color: var(--green-secondary) !important; }
.status-text-failed { color: #a44c3d !important; }
.admin-empty { padding: 24px 15px; color: #839087; font-size: 13px; line-height: 1.7; text-align: center; }
.admin-quick-panel { margin-top: 15px; }
.admin-quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-quick-actions > a { display: grid; justify-items: start; gap: 7px; padding: 15px; border: 1px solid #edf0ed; border-radius: 6px; transition: background .2s, border-color .2s; }
.admin-quick-actions > a:hover { border-color: #ccdbcf; background: #f7faf7; }
.admin-quick-actions > a > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: var(--green); background: var(--green-soft); }
.admin-quick-actions strong { color: #294235; font-size: 13px; }
.admin-quick-actions small { color: #86938a; font-size: 12px; line-height: 1.5; }
.admin-alert { margin-bottom: 18px; }
.admin-table-panel { padding: 0; overflow: hidden; }
.admin-table-panel > .admin-panel-heading { padding: 21px 21px 0; }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 12px 17px; border-block: 1px solid #edf0ed; color: #89968d; background: #fafbfa; font-size: 12px; font-weight: 700; letter-spacing: .09em; white-space: nowrap; }
.admin-table td { padding: 14px 17px; border-bottom: 1px solid #edf0ed; color: #596a5f; font-size: 13px; white-space: nowrap; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table td:first-child { min-width: 200px; white-space: normal; }
.admin-table td:first-child strong, .admin-table td:first-child small { display: block; }
.admin-table td:first-child strong { color: #294235; font-size: 13px; }
.admin-table td:first-child small { margin-top: 4px; color: #9aa59d; font-size: 12px; }
.admin-table-actions { display: flex; align-items: center; justify-content: end; gap: 12px; }
.admin-action-link, .admin-action-danger { padding: 4px 0; border: 0; color: var(--green); background: none; font-size: 12px; font-weight: 700; cursor: pointer; }
.admin-action-danger { color: #a44c3d; }
.admin-pagination { padding: 15px 20px; border-top: 1px solid #edf0ed; }
.admin-pagination nav { display: flex; justify-content: center; }
.admin-pagination nav > div:first-child { display: none; }
.admin-pagination nav > div:last-child { display: flex; gap: 5px; }
.admin-pagination a, .admin-pagination span[aria-current] span, .admin-pagination span:not([aria-current]) { min-width: 30px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; color: #53665b; background: #fff; font-size: 12px; text-align: center; }
.admin-pagination span[aria-current] span { color: #fff; border-color: var(--green); background: var(--green); }
.admin-form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .7fr); align-items: start; gap: 15px; }
.admin-form-main, .admin-form-side { display: grid; gap: 12px; }
.admin-field { display: grid; gap: 7px; color: #41564a; font-size: 13px; font-weight: 700; }
.admin-field > input, .admin-field > textarea, .admin-field > select, .admin-filter-form select { width: 100%; min-height: 40px; padding: 10px 11px; border: 1px solid #dfe6e0; border-radius: 5px; outline: none; color: var(--ink); background: #fff; font-size: 13px; font-weight: 400; }
.admin-field > textarea { resize: vertical; line-height: 1.7; }
.admin-field > input:focus, .admin-field > textarea:focus, .admin-field > select:focus, .admin-filter-form select:focus { border-color: #56806a; box-shadow: 0 0 0 3px rgba(23,77,57,.08); }
.admin-field-hint { color: #87958b; font-size: 12px; font-weight: 400; line-height: 1.5; }
.admin-check { display: flex; align-items: flex-start; gap: 9px; padding: 12px 0; border-top: 1px solid #edf0ed; cursor: pointer; }
.admin-check > input { width: 15px; height: 15px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--green); }
.admin-check > span { display: grid; gap: 4px; }
.admin-check strong { color: #354c3e; font-size: 13px; }
.admin-check small { color: #89968d; font-size: 12px; line-height: 1.5; }
.admin-form-side > .button, .mpesa-form > .button { min-height: 42px; font-size: 13px; }
.admin-back-link { color: var(--green); font-size: 13px; font-weight: 700; }
.admin-back-link:hover { text-decoration: underline; }
.admin-filter-form select { width: auto; min-width: 140px; min-height: 34px; }
.admin-inquiry-list { border-top: 1px solid #edf0ed; }
.admin-message-card { padding: 21px; border-bottom: 1px solid #edf0ed; }
.admin-message-card:last-child { border-bottom: 0; }
.admin-message-heading, .admin-message-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.admin-message-heading h3 { margin: 0; color: #294235; font-family: var(--font-display); font-size: 14px; }
.admin-message-heading > div > span { display: block; margin-top: 4px; color: #7a897f; font-size: 13px; }
.admin-message-meta { justify-content: flex-start; margin-top: 12px; color: #8a978e; font-size: 12px; }
.admin-message-meta a { color: var(--green); font-weight: 600; }
.admin-message-body { margin: 14px 0; padding: 13px; border-radius: 5px; color: #56685d; background: #f7f9f7; font-size: 13px; line-height: 1.75; white-space: pre-line; }
.admin-message-actions { display: flex; align-items: center; gap: 17px; }
.admin-message-actions .button { min-height: 34px; padding: 0 12px; font-size: 12px; }
.admin-message-actions form { margin: 0; }
.admin-reply-history { margin: 16px 0; padding: 14px; border-left: 3px solid #d5e5d9; background: #f7faf7; }
.admin-reply-history h4 { margin: 0 0 10px; color: var(--green-deep); font-size: 14px; }
.admin-reply-history article + article { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2ebe4; }
.admin-reply-history p { margin: 0 0 6px; color: #40574a; font-size: 14px; line-height: 1.65; white-space: pre-line; }
.admin-reply-history small { color: #718078; font-size: 12px; }
.admin-reply-form { display: grid; gap: 10px; margin-top: 16px; }
.admin-reply-form .admin-field { max-width: 760px; }
.admin-reply-form .button { justify-self: start; }
.staff-invite-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px; }
.staff-invite-form > .button { min-height: 42px; }
.staff-role-form { display: flex; align-items: center; gap: 10px; }
.staff-role-form select { min-height: 36px; padding: 6px 9px; border: 1px solid #dfe6e0; border-radius: 5px; background: #fff; color: var(--ink); font-size: 13px; }
.admin-quick-actions .admin-quick-wallet { display: grid; place-items: center; }
.admin-quick-wallet svg { width: 19px; height: 19px; }
.mpesa-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .72fr); align-items: start; gap: 15px; }
.mpesa-form { display: grid; gap: 16px; }
.mpesa-form .admin-panel-heading { margin-bottom: 0; }
.admin-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mpesa-enable { margin-top: 2px; padding: 12px; border: 1px solid #dce8df; border-radius: 6px; background: #f5f9f6; }
.production-confirm { padding: 12px; border: 1px solid #f0dfbf; border-radius: 6px; background: #fffbf2; }
.production-confirm .admin-check { padding: 0; border: 0; }
.mpesa-help { position: sticky; top: 85px; }
.mpesa-help-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 11px; color: var(--maroon-deep); background: var(--maroon-soft); font-size: 20px; }
.mpesa-help h2 { margin: 8px 0 12px; color: var(--green-deep); font-family: var(--font-display); font-size: 20px; letter-spacing: -.04em; line-height: 1.3; }
.mpesa-help ul { display: grid; gap: 12px; margin: 0 0 19px; padding-left: 17px; color: #65766b; font-size: 13px; line-height: 1.7; }
.mpesa-help li::marker { color: var(--maroon); }
.mpesa-help code { padding: 2px 4px; border-radius: 3px; color: #315940; background: #edf3ee; font-size: 12px; }

@media (max-width: 920px) {
    .main-nav { gap: 16px; }
    .hero::before { background: linear-gradient(90deg, rgba(20,34,83,.98) 0%, rgba(24,41,97,.92) 42%, rgba(24,41,97,.48) 72%, rgba(24,41,97,.2) 100%), linear-gradient(0deg, rgba(20,34,83,.52), transparent 48%); }
    .hero-grid { min-height: 470px; }
    .hero-copy { max-width: 570px; }
    .story-grid, .contact-grid { gap: 50px; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-contact { grid-column: 2; }
    .pathway-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-shell { grid-template-columns: 208px minmax(0,1fr); }
    .admin-sidebar { padding-inline: 12px; }
    .admin-content { padding-inline: 25px; }
    .admin-topbar { padding-inline: 25px; }
    .admin-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mpesa-layout { grid-template-columns: 1fr; }
    .mpesa-help { position: static; }
}
@media (min-width: 721px) and (max-width: 1150px) {
    .main-nav { gap: 14px; font-size: 14px; }
    .header-inner { gap: 14px; }
    .brand-copy small { font-size: 12px; }
}
@media (max-width: 720px) {
    .container { width: min(100% - 36px, 540px); }
    .section-pad { padding: 72px 0; }
    .topbar-inner { min-height: 34px; }
    .topbar-inner > span { font-size: 13px; }
    .topbar-links { gap: 11px; }
    .topbar-links a { font-size: 13px; }
    .topbar-links a:first-child { display: none; }
    .header-inner { min-height: 70px; }
    .brand-logo { width: 48px; height: 48px; }
    .brand-copy small { font-size: 12px; }
    .menu-toggle { width: 40px; height: 40px; display: grid; align-content: center; justify-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
    .menu-toggle > span:not(.sr-only) { width: 17px; height: 2px; border-radius: 2px; background: var(--green); }
    .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 15px 20px rgba(20,46,31,.08); }
    .main-nav.is-open { display: grid; }
    .main-nav > a:not(.nav-apply):not(.nav-login), .main-nav .nav-login, .nav-logout { padding: 13px 5px; border: 0; border-bottom: 1px solid #eff1ed; text-align: left; }
    .nav-logout button { padding: 0; color: var(--green); background: transparent; text-align: left; }
    .main-nav .nav-apply { justify-content: center; margin-top: 12px; }
    .main-nav .nav-login { display: inline-block; }
    .hero { padding-top: 12px; }
    .hero::before { background: linear-gradient(90deg, rgba(20,34,83,.96), rgba(24,41,97,.83)), linear-gradient(0deg, rgba(20,34,83,.56), transparent 55%); }
    .hero-backdrop img { object-position: 58% center; }
    .hero-grid { min-height: 0; padding-block: 34px 30px; }
    .hero-copy { max-width: 560px; padding: 0; }
    .hero .eyebrow { margin-bottom: 17px; font-size: 14px; }
    .hero h1 { max-width: 520px; font-size: clamp(47px, 10vw, 68px); }
    .hero-intro { max-width: 480px; font-size: 16px; }
    .hero-highlights { gap: 0; margin-bottom: 25px; }
    .hero-highlights li { gap: 7px; padding-inline: 12px; font-size: 13px; }
    .hero-highlights li:first-child { padding-left: 0; }
    .hero-highlights svg { width: 20px; height: 20px; }
    .hero-bottom { padding-top: 0; font-size: 12px; letter-spacing: .09em; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-card { min-height: 0; }
    .section-heading.centered { margin-bottom: 34px; }
    .section-heading-row { align-items: start; flex-direction: column; margin-bottom: 28px; }
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .course-card-image { height: 150px; }
    .course-card-content { padding: 16px 14px 13px; }
    .course-card h3 { min-height: 42px; font-size: 16px; }
    .course-card-content > p { min-height: 82px; font-size: 13px; }
    .course-card-bottom { align-items: stretch; flex-direction: column; }
    .story-grid { grid-template-columns: 1fr; gap: 47px; }
    .story-image-wrap, .story-image-wrap > img { min-height: 320px; height: 320px; }
    .story-copy { max-width: none; }
    .cta-content { align-items: start; flex-direction: column; gap: 25px; }
    .cta-actions { justify-items: start; }
    .contact-grid { grid-template-columns: 1fr; gap: 35px; }
    .contact-copy { padding-top: 0; }
    .contact-form { padding: 23px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; padding-top: 42px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .page-hero { padding: 58px 0; }
    .page-hero h1 { font-size: 42px; }
    .catalog-tools { flex-wrap: wrap; }
    .search-field { flex-basis: 100%; }
    .category-field { flex: 1; width: auto; }
    .catalog-tools .button { flex: 1; }
    .catalog-heading { align-items: start; }
    .detail-grid { grid-template-columns: 1fr; gap: 29px; }
    .course-detail-hero { padding: 38px 0 74px; }
    .detail-image { min-height: 380px; }
    .detail-image > img, .detail-image > .course-image-fallback { height: 370px; }
    .detail-enrol-card { right: 0; bottom: -48px; }
    .account-section { grid-template-columns: 1fr; }
    .account-aside { min-height: 280px; padding: 48px 28px; }
    .account-aside h1 { font-size: 39px; }
    .account-form-wrap { padding: 38px 18px; }
    .account-form { padding: 26px 22px; }
    .student-hero { padding: 45px 0; }
    .enrollment-card { grid-template-columns: 1fr; }
    .enrollment-status { justify-items: start; }
    .enrollment-status small { text-align: left; }
    .enrollment-pay-form { align-items: stretch; flex-direction: column; }
    .proof-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 23px; padding-bottom: 23px; }
    .proof-intro { grid-column: 1 / -1; }
    .proof-stat { padding-left: 13px; }
    .proof-stat > strong { font-size: 22px; }
    .proof-stat-note > strong { font-size: 15px; }
    .pathway-grid { gap: 10px; }
    .pathway-card { min-height: 138px; padding: 14px; }
    .promise-grid { grid-template-columns: 1fr; }
    .promise-card { min-height: 190px; }
    .admin-shell { display: block; }
    .admin-sidebar { position: static; width: 100%; height: auto; display: block; padding: 10px 15px; border-right: 0; border-bottom: 1px solid #e7ece8; }
    .brand-admin { padding: 0 0 9px; }
    .brand-admin .brand-logo { width: 42px; height: 42px; }
    .admin-nav-label, .admin-sidebar-bottom { display: none; }
    .admin-nav { display: flex; overflow-x: auto; gap: 5px; padding: 8px 0 2px; }
    .admin-nav > a { min-height: 36px; flex: 0 0 auto; gap: 6px; padding-inline: 9px; font-size: 13px; }
    .admin-nav-count { display: none; }
    .admin-topbar { height: 50px; padding-inline: 17px; }
    .admin-user > span:last-child { display: none; }
    .admin-user-avatar { width: 30px; height: 30px; }
    .admin-content { padding: 25px 17px 40px; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
    .admin-page-heading h1 { font-size: 26px; }
    .admin-stats-grid { gap: 9px; }
    .admin-stat-card { min-height: 130px; padding: 13px; }
    .admin-stat-card > strong { font-size: 21px; }
    .admin-stat-icon { top: 12px; right: 12px; width: 28px; height: 28px; }
    .admin-panel-grid { grid-template-columns: 1fr; }
    .admin-quick-actions { grid-template-columns: 1fr; }
    .admin-form-layout { grid-template-columns: 1fr; }
    .admin-field-grid { grid-template-columns: 1fr; }
    .staff-invite-form { grid-template-columns: 1fr; }
    .admin-message-card { padding: 15px; }
    .admin-message-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 420px) {
    .course-grid { grid-template-columns: 1fr; }
    .course-card-image { height: 190px; }
    .course-card h3, .course-card-content > p { min-height: 0; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .hero-actions .button { width: 100%; }
    .hero-actions .button { min-height: 46px; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-stat-card > strong { font-size: 18px; }
    .admin-stat-icon { display: none; }
    .admin-nav > a { font-size: 12px; }
}
