:root {
  --ink: #112921;
  --text: #253e34;
  --muted: #52665d;
  --indigo: #17543d;
  --indigo-dark: #103d2c;
  --mint: #d5f788;
  --cyan-50: #eef4eb;
  --paper: #f7f8f3;
  --border: #dbe5db;
  --shadow: 0 14px 40px #1129210d;
  --display: 'Manrope', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #4b8b62; outline-offset: 4px; }
main { scroll-margin-top: 86px; }
.wrap { width: min(100% - clamp(36px, 8vw, 112px), 1240px); margin-inline: auto; }
.display { font-family: var(--display); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; color: var(--ink); }
.heading-lg, .heading-xl { font-size: clamp(2rem, 4.5vw, 3.5rem); margin: 0 0 18px; }
.section, .page-body { padding: clamp(46px, 7vw, 100px) 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 700 .94rem/1.3 var(--body); text-align: center;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-indigo { background: var(--indigo); color: white; }
.btn-indigo:hover { background: var(--indigo-dark); }
.btn-cyan { background: var(--mint); color: var(--ink); }
.btn-cyan:hover { background: #e6ffb4; }
.btn-ghost { background: transparent; border-color: currentColor; color: var(--indigo); }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.06rem; border-radius: 12px; }
.btn-block { display: flex; width: 100%; }
.btn-indigo { box-shadow: 0 10px 22px #10281e33; }
.btn-indigo:hover { box-shadow: 0 14px 28px #10281e45; }
.buy-card { margin-top: 20px; max-width: 420px; padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.buy-card .buy-price { display: flex; align-items: baseline; gap: 10px; font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--ink); margin-bottom: 16px; }
.buy-card .buy-price .was { font-size: 1.05rem; font-weight: 600; color: #9aa3af; text-decoration: line-through; }
.buy-card .buy-price .free { color: var(--indigo); }
.buy-card .buy-note { margin: 12px 0 0; font-size: .8rem; color: #6b7280; text-align: center; }
.btn-ghost:hover { background: var(--cyan-50); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; background: white; padding: 10px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.nav { background: #fbfcf8; border-bottom: 1px solid var(--border); }
#site-nav { position: sticky; top: 0; z-index: 10; }
.nav-inner, .nav-links, .nav-logo { display: flex; align-items: center; }
.nav-inner { min-height: 74px; justify-content: space-between; gap: 20px; }
.nav-logo { gap: 10px; font: 800 1rem/1.2 var(--display); }
.nav-logo img { background: white; border-radius: 11px; object-fit: contain; }
.nav-logo small { display: block; margin-top: 4px; font: 600 .73rem/1 var(--body); }
.nav-links { gap: clamp(8px, 2vw, 28px); }
.nav-links > a:not(.btn) { padding: 10px 5px; font-size: .94rem; font-weight: 700; }
.nav-links > a:not(.btn):is(:hover, [aria-current]) { color: var(--indigo); text-decoration: underline; text-underline-offset: 7px; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 15px; border: 1px solid var(--border); border-radius: 9px; background: white; font: 700 .92rem var(--body); color: var(--ink); }

.hero, .page-hero, .auth-layout {
  background-color: #101f19;
  background-image: radial-gradient(ellipse at 85% 0%, #286049 0%, transparent 62%), repeating-linear-gradient(90deg, #ffffff0a 0 1px, transparent 1px 72px);
  color: #ecf4ed;
}
.hero { padding: clamp(44px, 6vw, 88px) 0; }
.hero-content { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(28px, 6vw, 86px); }
.hero h1 { margin: 0 0 24px; color: #f8fbf5; font-size: clamp(3.2rem, 7.6vw, 7.25rem); }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 46ch; margin: 0 0 26px; color: #d5e3d9; font-size: clamp(1rem, 2vw, 1.18rem); }
.eyebrow { margin: 0 0 17px; color: var(--mint); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: #edf6ed; border-color: #829e90; }
.hero .btn-ghost:hover { background: #ffffff1c; }
.hero-photo { position: relative; margin: 0; overflow: hidden; border: 1px solid #91b6a37d; border-radius: 24px; background: #1f3c30; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; }
.hero-photo figcaption { position: absolute; inset: auto 0 0; padding: 36px 22px 15px; background: linear-gradient(transparent, #10251cee 70%); color: #fff; }
.hero-photo figcaption span { display: block; color: #d9e9de; font-size: .85rem; }
.awards-intro { max-width: 70ch; margin: 0 auto 32px; text-align: center; color: var(--muted); }
.awards-grid, .split, .faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 4vw, 48px); align-items: start; }
.award-card, .course-card, .feature, .faq-item, .card-box, .prose, .contact-info { background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.award-card { height: 100%; overflow: hidden; }
.award-card img { width: 100%; aspect-ratio: 2.2; object-fit: cover; }
.award-card > div { padding: 20px 24px; }
.award-card h3 { margin: 0; color: var(--ink); font: 800 1.18rem/1.35 var(--display); }
.award-card .by { margin: 4px 0 0; color: var(--muted); }
.split { align-items: center; }
.split > img { border-radius: 20px; width: 100%; aspect-ratio: 1.4; object-fit: cover; box-shadow: var(--shadow); }
.split p { margin: 0 0 16px; }
.programs-head { text-align: center; margin-bottom: 34px; }
.programs-head p { margin-bottom: 0; }
.courses-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-card { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.course-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px #1129211a; }
.course-thumb { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--cyan-50); }
.course-body { display: flex; flex-direction: column; flex: 1; gap: 9px; padding: 22px; }
.course-title { margin: 0; color: var(--ink); font: 800 1.08rem/1.4 var(--display); }
.course-meta { color: var(--muted); font-size: .87rem; }
.stars { color: #916000; letter-spacing: 2px; }
.price { font: 800 1.14rem var(--display); color: var(--ink); padding-bottom: 8px; }
.price .old { color: var(--muted); font-size: .86rem; text-decoration: line-through; margin-right: 5px; }
.price .free { color: var(--indigo); }
.course-body .btn { margin-top: auto; align-self: flex-start; }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.feature { padding: 24px; }
.feature .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: #e5f1df; color: var(--indigo); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h4 { margin: 16px 0 6px; color: var(--ink); font: 800 1.05rem/1.35 var(--display); }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.faq-grid { gap: 12px 18px; margin-top: 22px; }
.faq-item { border-radius: 12px; }
.faq-item summary { cursor: pointer; padding: 16px 18px; font-weight: 700; }
.faq-item p { margin: 0; padding: 0 18px 18px; color: var(--muted); }
.footer-main { padding: 52px 0 22px; color: #e9f1eb; background: #101f19; }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 32px; }
.footer-brand p, .footer-col a, .footer-legal { color: #c0d2c6; font-size: .9rem; }
.footer-col h2 { margin: 0 0 9px; font-size: .98rem; }
.footer-col a { display: block; padding-block: 5px; overflow-wrap: anywhere; }
.footer-main a:hover { color: var(--mint); }
.footer-legal { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid #476153; margin-top: 30px; padding-top: 18px; }
.footer-legal nav { display: flex; gap: 16px; }
.page-hero { padding: clamp(46px, 7vw, 93px) 0; }
.page-hero h1, .auth-intro h1 { color: #f4faf4; font-size: clamp(2.75rem, 7vw, 5.45rem); margin: 0; }
.page-hero p, .auth-intro p { color: #d5e3d9; max-width: 60ch; margin-bottom: 0; }
.prose { max-width: 840px; padding: clamp(22px, 5vw, 60px); overflow-wrap: anywhere; }
.prose h2, .card-box h2 { font: 800 clamp(1.3rem, 3vw, 1.75rem)/1.25 var(--display); color: var(--ink); }
.prose h2 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose a, .contact-info a, .back-link, .muted-link { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.catalog-search { max-width: 500px; margin-bottom: 24px; }
.catalog-search label { display: block; margin-bottom: 6px; font-weight: 700; }
.catalog-search > div { display: flex; gap: 8px; }
.catalog-search .field { margin: 0; }
.center-wrap { min-height: 65vh; display: grid; place-items: center; padding: clamp(32px, 6vw, 84px) clamp(18px, 5vw, 60px); }
.auth-layout { grid-template-columns: minmax(0, 500px) minmax(0, 440px); justify-content: center; align-items: center; gap: clamp(24px, 7vw, 100px); }
.card-box { width: min(100%, 540px); padding: clamp(20px, 4vw, 38px); color: var(--text); }
.card-box h2 { margin: 0 0 16px; }
.card-box h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 20px 0 6px; }
.field { min-width: 0; width: 100%; margin-top: 4px; padding: 11px 12px; min-height: 46px; border: 1px solid #9aac9f; border-radius: 9px; background: #fbfcf9; font: inherit; color: var(--ink); }
textarea.field { resize: vertical; }
.form-row { margin-bottom: 14px; }
.form-label { font-weight: 700; font-size: .93rem; }
.auth-tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 24px; border-radius: 10px; background: var(--cyan-50); }
.auth-tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font: 700 .95rem var(--body); }
.auth-tabs button.active { color: white; background: var(--indigo); }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.hint { font-size: .85rem; color: var(--muted); }
.line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.line strong { white-space: nowrap; }
.contact-layout { align-items: stretch; }
.contact-info { padding: clamp(20px, 4vw, 38px); overflow-wrap: anywhere; align-self: start; }
@media (max-width: 900px) {
  .courses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .nav-inner { min-height: 65px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 100% 0 auto; padding: 14px 20px; align-items: stretch; flex-direction: column; background: #fbfcf8; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-content, .auth-layout, .split, .footer-top { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
  .hero-photo img { aspect-ratio: 1.55; }
}
@media (max-width: 540px) {
  .awards-grid, .faq-grid, .courses-grid { grid-template-columns: 1fr; }
  .feature { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Image framing follows the source composition. */
.hero-photo img { aspect-ratio: 1.32; object-position: 53% center; }
.award-card img { aspect-ratio: 3 / 2; }
.course-poster { object-fit: contain; }
.course-poster-stock { background: linear-gradient(110deg, #252314, #514321); }
.course-poster-intraday { background: linear-gradient(110deg, #210a0b, #65171b); }
.course-photo { object-position: center 28%; }
.split > .split-poster, .split > .split-portrait { object-fit: contain; max-height: 430px; }
.split > .split-poster { background: linear-gradient(110deg, #210a0b, #65171b); }
.split > .split-portrait { background: linear-gradient(110deg, #132b22, #254936); }
@media (max-width: 740px) {
  .hero-photo img { aspect-ratio: 3 / 2; }
}

/* Course detail */
.course-title a:hover { text-decoration: underline; text-underline-offset: .2em; }
.course-hero {
  background: radial-gradient(ellipse at 84% 16%, #2a6047, transparent 60%), #11271f;
  padding: clamp(24px, 4vw, 46px) 0 clamp(44px, 6vw, 76px);
}
.course-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin-bottom: clamp(22px, 4vw, 42px);
  font-size: .88rem;
  color: #d5e3d9;
}
.course-breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.course-breadcrumbs a:hover { color: var(--mint); }
.course-hero-grid, .course-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 78px);
}
.course-hero-grid { align-items: center; }
.course-hero-media img { display: block; width: 100%; max-width: 460px; margin-left: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--cyan-50); }
.course-hero h1 { font-size: clamp(2.6rem, 6.1vw, 5.65rem); text-wrap: balance; }
.course-hero .eyebrow { color: var(--mint); margin: 0 0 12px; }
.course-lead { font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.55; }
.course-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 18px 0 0;
  margin: 23px 0 0;
  border-top: 1px solid #ffffff38;
}
.course-facts li { border-radius: 6px; padding: 5px 9px; font-size: .84rem; background: #ffffff12; }
.enrollment-card {
  overflow: hidden;
  background: #fbfcf8;
  color: var(--ink);
  border: 1px solid #ffffff48;
  border-radius: 20px;
  box-shadow: 0 22px 54px #06140e55;
}
.enrollment-card .course-thumb { aspect-ratio: 2.3; }
.official-course-cover { object-fit: contain; }
.enrollment-card .official-course-cover { aspect-ratio: 600 / 222; }
.enrollment-body { display: grid; gap: 11px; padding: clamp(18px, 3vw, 28px); }
.enrollment-label { color: var(--muted); font-size: .85rem; font-weight: 700; }
.enrollment-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.enrollment-price strong { font: 800 2.15rem/1 var(--display); letter-spacing: -.04em; }
.enrollment-price del { color: var(--muted); }
.enrollment-body .btn { margin-top: 7px; min-height: 51px; background: var(--mint); color: var(--ink); }
.enrollment-body .btn:hover { background: #c5eb73; }
.enrollment-body .back-link { text-align: center; font-size: .88rem; min-height: 44px; display: grid; place-items: center; }
.course-detail-grid { align-items: start; }
.course-detail-grid .heading-lg { font-size: clamp(1.85rem, 4vw, 3rem); }
.course-modules, .course-topics { display: grid; gap: 9px; }
.course-modules .faq-item { box-shadow: none; }
.course-modules summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.course-modules summary::-webkit-details-marker { display: none; }
.course-modules summary::after { content: "+"; color: var(--indigo); font-size: 1.25rem; line-height: 1; }
.course-modules details[open] summary::after { content: "−"; }
.course-modules summary:hover { color: var(--indigo); }
.course-topics { margin: 0; padding-left: 1.2em; }
.course-detail-grid .contact-info { box-shadow: none; background: #edf3e8; }
.course-detail-grid .contact-info h2 { margin: 12px 0 8px; }
.course-access-icon { display: grid; place-items: center; width: 34px; height: 34px; background: #dcebd5; border-radius: 8px; font-size: 1.2rem; }
@media (max-width: 740px) {
  .course-hero-grid, .course-detail-grid { grid-template-columns: 1fr; }
  .enrollment-card { width: min(100%, 480px); }
}
.course-content { display: grid; gap: clamp(28px, 5vw, 48px); }
.course-description p { max-width: 65ch; margin: 0; color: var(--muted); }
#course-outcomes { margin-top: 20px; padding: 16px 20px; background: #edf3e8; border-radius: 12px; }
#course-outcomes h3 { margin: 0 0 8px; font-size: 1rem; color: var(--ink); }
#course-outcomes ul { margin: 0; padding-left: 20px; }
#course-outcomes li + li { margin-top: 4px; }
.course-lesson-count { margin-left: auto; white-space: nowrap; color: var(--muted); font-size: .8rem; font-weight: 500; }
.course-lessons { margin: 0; padding: 4px 20px 16px 38px; color: var(--muted); }
.course-lessons li { padding-block: 4px; }

.enrollment-body .course-save { margin-top: 0; background: transparent; color: var(--indigo); }
.enrollment-body .course-save:hover, .enrollment-body .course-save[aria-pressed="true"] { background: var(--cyan-50); }
.course-save-status { margin: 0; font-size: .85rem; color: var(--muted); }
.course-save-status:empty { display: none; }
.dashboard-hero { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; }
.dashboard-body { display: grid; gap: clamp(24px, 4vw, 40px); padding-block: clamp(28px, 6vw, 72px); }
.dashboard-section { padding: clamp(18px, 4vw, 34px); border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.dashboard-section .heading-lg { font-size: clamp(1.65rem, 4vw, 2.55rem); }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 12px; }
.dashboard-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; max-width: 360px; }
.dashboard-card .course-thumb { aspect-ratio: 2.35; }
.dashboard-card-body { padding: 14px; }
.dashboard-card-body p { margin: 0 0 4px; }
.dashboard-card-body a { display: inline-block; }
.dashboard-empty { margin: 0; padding: 14px; border-radius: 9px; background: var(--cyan-50); color: var(--muted); }
.dashboard-empty a { text-decoration: underline; text-underline-offset: 3px; color: var(--indigo); }
.dashboard-note { margin: 0; color: var(--muted); font-size: .9rem; }

.lms-shell { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); padding-block: 32px 64px; }
.lms-sidebar { align-self: start; position: sticky; top: 94px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.lms-sidebar nav { display: grid; gap: 2px; margin-top: 12px; }
.lms-sidebar a { padding: 9px 8px; border-radius: 7px; font-size: .92rem; }
.lms-sidebar a:hover { background: var(--cyan-50); }
.lms-content { display: grid; gap: 18px; }
.lms-content section { scroll-margin-top: 95px; }
.lms-welcome { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: clamp(20px, 4vw, 38px); border-radius: 18px; background: radial-gradient(ellipse at 90% 10%, #285e46, transparent 75%), #11271f; color: #edf5ee; }
.lms-welcome h1 { margin: 0; color: white; font-size: clamp(2rem, 4vw, 3.4rem); }
.lms-welcome p { margin: 8px 0 0; }
.lms-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lms-stats div { padding: clamp(10px, 2vw, 20px); border: 1px solid var(--border); border-radius: 14px; background: white; }
.lms-stats dt { font-size: .86rem; color: var(--muted); }
.lms-stats dd { margin: 0; font: 800 2rem var(--display); color: var(--indigo); }
.lms-learning-list { display: grid; gap: 10px; }
.lms-course { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; }
.lms-course summary { cursor: pointer; font-weight: 700; }
.lms-course progress { width: 100%; margin-top: 12px; accent-color: var(--indigo); }
.lms-course p { margin: 3px 0 10px; }
.lms-course h3 { margin: 18px 0 5px; font-size: 1rem; }
.lms-course label { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; cursor: pointer; }
.lms-course input { accent-color: var(--indigo); }
.lms-course .btn { margin-top: 14px; }
@media (max-width: 800px) {
  .lms-shell { grid-template-columns: 1fr; }
  .lms-sidebar { position: static; }
  .lms-sidebar nav { display: flex; flex-wrap: wrap; }
}
.lms-sidebar a[aria-current="location"] {
  background: var(--indigo);
  color: #fff;
  font-weight: 700;
}
