:root {
  --page-surface: #f7f3eb;
  --page-card: #fff;
  --page-shadow: 0 18px 44px rgba(17, 38, 54, .08);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 22%, rgba(217, 251, 102, .62), transparent 21%),
    radial-gradient(circle at 8% 88%, rgba(238, 95, 43, .15), transparent 24%),
    var(--page-surface);
}

.page-hero::after {
  position: absolute;
  top: -110px;
  right: 7%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(17, 38, 54, .12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 45px rgba(17, 38, 54, .035), 0 0 0 90px rgba(17, 38, 54, .025);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-top: 78px;
  padding-bottom: 80px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  color: #53616d;
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb a:hover { color: var(--orange); }
.breadcrumb i { color: #98a5ac; font-size: 9px; }

.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.075em;
  line-height: 1.02;
}

.page-hero h1 span { color: var(--orange); }
.page-hero > .section-shell > p:last-child,
.page-intro {
  max-width: 620px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.page-section { padding-top: 88px; padding-bottom: 88px; }
.page-section.alt-surface { background: var(--page-surface); }
.page-section.dark-surface { color: white; background: var(--navy); }
.page-section.dark-surface h2 { color: white; }

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-title-row h2,
.content-heading {
  max-width: 650px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -.065em;
  line-height: 1.08;
}

.section-title-row > p {
  max-width: 365px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  display: flex;
  min-height: 312px;
  flex-direction: column;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page-card);
  box-shadow: 0 4px 0 rgba(17, 38, 54, .02);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.catalog-card[hidden] { display: none; }

.catalog-card:hover {
  border-color: #c9c7c0;
  box-shadow: var(--page-shadow);
  transform: translateY(-4px);
}

.catalog-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 10px;
  color: var(--orange);
  background: #ffe6da;
  font-size: 18px;
}

.catalog-card:nth-child(3n + 2) .catalog-icon { color: #287b70; background: #dcefe8; }
.catalog-card:nth-child(3n) .catalog-icon { color: #62518f; background: #e9e3f5; }
.catalog-eyebrow { margin: 0 0 9px; color: #596974; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.catalog-card h2,
.catalog-card h3 { margin: 0; color: var(--navy); font-size: 21px; letter-spacing: -.045em; line-height: 1.18; }
.catalog-card > p:not(.catalog-eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.catalog-card details { margin-top: auto; padding-top: 20px; }
.catalog-card summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.catalog-card summary::marker { content: ""; }
.catalog-card summary::after { content: "\f078"; font-family: "Font Awesome 6 Free"; font-size: 9px; transition: transform .2s ease; }
.catalog-card details[open] summary::after { transform: rotate(180deg); }
.catalog-card details p { margin: 13px 0 0; color: #4e5e68; font-size: 12px; line-height: 1.65; }
.catalog-card details p a { color: var(--orange-dark); font-weight: 800; text-decoration: underline; }
.catalog-action { display: inline-flex; width: fit-content; margin-top: 20px; align-items: center; gap: 8px; color: var(--orange-dark); font-size: 12px; font-weight: 800; }
.catalog-action:hover { color: var(--orange); text-decoration: underline; }

.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.card-meta span { padding: 5px 8px; border-radius: 99px; color: #465660; background: #f0eee9; font-size: 10px; font-weight: 800; }

.catalog-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 27px; }
.resource-controls { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 12px 18px; align-items: center; margin: 0 0 25px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--page-surface); }
.resource-controls > .sr-only { grid-area: 1 / 1; }
.resource-controls > .catalog-search { grid-area: 1 / 1; width: 100%; }
.resource-filters { display: flex; flex-wrap: wrap; gap: 8px; grid-area: 1 / 2; }
.resource-result-count { margin: 0; color: var(--muted); font-size: 11px; grid-area: 2 / 1 / 3 / -1; }
.article-list [hidden], .catalog-grid [hidden] { display: none; }
.resource-controls .catalog-filter { min-height: 34px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.catalog-search { min-width: min(100%, 295px); height: 43px; padding: 0 14px; border: 1px solid #d8dde0; border-radius: 7px; color: var(--navy); background: white; font: inherit; font-size: 13px; }
.catalog-filter { min-height: 37px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; color: #5b6b76; background: white; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.catalog-filter[aria-pressed="true"], .catalog-filter:hover { border-color: var(--navy); color: white; background: var(--navy); }
.catalog-empty { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

.learning-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; }
.learning-panel { padding: 34px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 8px 24px rgba(17, 38, 54, .04); }
.learning-panel > p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.learning-panel h2 { margin: 0; color: var(--navy); font-size: clamp(27px, 3.4vw, 39px); letter-spacing: -.06em; }
.learning-panel .course-outline-meta { margin: 14px 0 0; color: #64737b; font-family: var(--font-mono); font-size: 11px; }
.learning-sidebar { position: sticky; top: 98px; padding: 26px; border-radius: 12px; color: white; background: var(--navy); }
.learning-sidebar h2 { margin: 10px 0; color: white; font-size: 24px; letter-spacing: -.05em; }
.learning-sidebar p { margin: 0; color: rgba(255, 255, 255, .84); font-size: 12px; line-height: 1.7; }
.progress-track { display: block; width: 100%; height: 8px; margin: 19px 0 9px; overflow: hidden; appearance: none; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .18); }
.progress-track::-webkit-progress-bar { border-radius: inherit; background: rgba(255, 255, 255, .18); }
.progress-track::-webkit-progress-value { border-radius: inherit; background: var(--lime); transition: width .25s ease; }
.progress-track::-moz-progress-bar { border-radius: inherit; background: var(--lime); transition: width .25s ease; }
.progress-label { color: var(--lime) !important; font-family: var(--font-mono); font-size: 11px !important; }
.lesson-list { display: grid; gap: 12px; margin-top: 29px; }
.lesson-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: #fffdf9; }
.lesson-card.is-complete { border-color: #abd8c5; background: #f1faf5; }
.lesson-number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--orange-dark); background: #ffe8dc; font-family: var(--font-mono); font-size: 11px; }
.lesson-card.is-complete .lesson-number { color: #166b4c; background: #d8eee3; }
.lesson-card h3 { margin: 0; color: var(--navy); font-size: 16px; letter-spacing: -.03em; }
.lesson-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.lesson-card small { display: block; margin-top: 7px; color: #596974; font-family: var(--font-mono); font-size: 10px; }
.lesson-action { min-width: 104px; min-height: 36px; padding: 0 11px; border: 1px solid #d6ddd9; border-radius: 6px; color: #216a50; background: white; cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.lesson-action:hover { border-color: #216a50; background: #e8f6ef; }
.lesson-action:disabled { cursor: wait; opacity: .7; }
.course-outline { display: grid; gap: 12px; margin-top: 25px; }
.course-section { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #f5f6f5; }
.course-section-heading { display: flex; min-height: 70px; padding: 15px 19px; align-items: center; justify-content: space-between; gap: 16px; color: var(--navy); cursor: pointer; list-style: none; }
.course-section-heading::-webkit-details-marker { display: none; }
.course-section-heading:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.course-section-copy { display: grid; gap: 5px; }
.course-section-copy strong { font-size: 14px; }
.course-section-copy small { color: #68757b; font-family: var(--font-mono); font-size: 10px; }
.course-section-chevron { color: #68757b; font-size: 12px; transition: transform .2s ease; }
.course-section[open] .course-section-chevron { transform: rotate(180deg); }
.course-section-lessons { border-top: 1px solid var(--line); }
.course-section .lesson-card { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; padding: 16px 19px; border: 0; border-radius: 0; background: white; }
.course-section .lesson-card + .lesson-card { border-top: 1px solid var(--line); }
.course-section .lesson-card.is-complete { background: #f1faf5; }
.course-section .lesson-card h3 { font-size: 14px; }
.course-section .lesson-card p { margin-top: 4px; }
.course-section .lesson-card small { margin-top: 6px; }
.learning-status { min-height: 22px; margin: 19px 0 0; color: #53636d; font-size: 12px; line-height: 1.5; }
.learning-status.error { color: #a7372d; }
.learning-status.success { color: #1e714f; }

.settings-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: 22px; align-items: start; }
.settings-panel, .settings-details { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 8px 24px rgba(17, 38, 54, .04); }
.settings-heading { margin-bottom: 25px; }
.settings-heading h2, .settings-details h2 { margin: 0; color: var(--navy); font-size: 25px; letter-spacing: -.05em; }
.settings-heading > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.settings-panel > h3 { margin: 27px 0 0; color: var(--navy); font-size: 17px; }
.settings-help { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.settings-field { display: grid; gap: 7px; margin-top: 17px; }
.settings-field label, .settings-detail-label { color: #52616b; font-size: 12px; font-weight: 800; }
.settings-field input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #d8dde0; border-radius: 7px; color: var(--navy); background: white; font: inherit; font-size: 13px; }
.settings-password-wrap { position: relative; }
.settings-password-wrap input { padding-right: 50px; }
.settings-password-wrap .password-toggle { position: absolute; top: 50%; right: 5px; display: grid; width: 36px; height: 36px; padding: 0; place-items: center; transform: translateY(-50%); border: 0; border-radius: 6px; color: #53616d; background: transparent; cursor: pointer; font-size: 14px; }
.settings-password-wrap .password-toggle:hover { color: var(--orange-dark); background: #fff2eb; }
.settings-password-wrap .password-toggle:focus-visible { z-index: 1; outline: 3px solid #0e8ec1; outline-offset: 1px; }
.settings-password-wrap .password-toggle i { pointer-events: none; }
.settings-field input:focus-visible { border-color: var(--orange); outline-color: var(--orange); }
.settings-submit { margin-top: 15px; }
.settings-data-actions { display: flex; margin-top: 18px; flex-wrap: wrap; gap: 10px; }
.settings-delete-form { display: grid; margin-top: 14px; gap: 9px; }
.settings-delete-form label { color: #52616b; font-size: 12px; font-weight: 800; }
.settings-delete-form input { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #d8dde0; border-radius: 7px; color: var(--navy); background: white; font: inherit; font-size: 13px; }
.settings-delete-form input:focus-visible { border-color: var(--orange); outline-color: var(--orange); }
.settings-delete-form .learning-status { min-height: 0; margin: 0; }
.button-danger { min-height: 42px; padding: 0 16px; border: 1px solid #a93131; border-radius: 8px; color: #fff; background: #a93131; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.button-danger:hover { border-color: #842626; background: #842626; }
.button-danger:disabled { cursor: wait; opacity: .7; }
.settings-status { margin-top: 17px; }
.settings-detail-label { display: block; margin-top: 22px; color: #596974; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.settings-detail-value { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--navy); font-size: 14px; font-weight: 700; }

.dashboard-page-section { padding: 44px 0 88px; }
.dashboard-root { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }
.dashboard-shell { display: grid; gap: 25px; }
.dashboard-welcome {
  position: relative;
  display: flex;
  min-height: 220px;
  overflow: hidden;
  padding: clamp(27px, 5vw, 54px);
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid #dce5f1;
  border-radius: 22px;
  background:
    radial-gradient(circle at 87% 14%, rgba(255, 255, 255, .76), transparent 25%),
    linear-gradient(120deg, #eaf1fb 0%, #f5f7fb 58%, #e8f4ef 100%);
}
.dashboard-welcome::after {
  position: absolute;
  top: -108px;
  right: 12%;
  width: 265px;
  height: 265px;
  border: 1px solid rgba(47, 83, 125, .12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 32px rgba(47, 83, 125, .035), 0 0 0 65px rgba(47, 83, 125, .025);
  pointer-events: none;
}
.dashboard-welcome-copy { position: relative; z-index: 1; max-width: 700px; }
.dashboard-welcome .eyebrow { margin: 0 0 13px; color: #536884; }
.dashboard-shell .dashboard-welcome h1 { margin: 0; color: #172b49; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.065em; line-height: 1.08; }
.dashboard-welcome-copy > p:last-child { max-width: 490px; margin: 13px 0 0; color: #56677f; font-size: 15px; line-height: 1.7; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dashboard-metric {
  display: flex;
  min-width: 0;
  min-height: 108px;
  padding: 19px 21px;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: 0 7px 24px rgba(27, 44, 75, .04);
}
.dashboard-stat-icon,
.dashboard-course-icon,
.dashboard-empty-icon {
  display: grid;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  color: #bd4d31;
  background: #fff0e9;
}
.dashboard-stat-icon { font-size: 16px; }
.dashboard-stat-copy { display: grid; gap: 3px; }
.dashboard-stat-copy > span { color: #617087; font-size: 12px; font-weight: 700; }
.dashboard-stat-copy strong { color: #192e4c; font-size: 25px; letter-spacing: -.04em; line-height: 1.15; }
.dashboard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 23px; align-items: start; }
.dashboard-main-column { display: grid; min-width: 0; gap: 24px; }
.dashboard-courses,
.dashboard-activity-panel { min-width: 0; }
.dashboard-section-heading { display: flex; margin-bottom: 17px; align-items: end; justify-content: space-between; gap: 18px; }
.dashboard-section-heading .eyebrow { margin: 0 0 5px; }
.dashboard-section-heading h2 { margin: 0; color: #192e4c; font-size: clamp(23px, 3vw, 29px); letter-spacing: -.045em; line-height: 1.2; }
.dashboard-section-heading > .catalog-action { flex: 0 0 auto; margin: 0 0 3px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dashboard-course-card {
  display: flex;
  min-width: 0;
  padding: 23px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-raised);
  box-shadow: 0 7px 24px rgba(27, 44, 75, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dashboard-course-card:hover { transform: translateY(-3px); border-color: #c8d4e5; box-shadow: var(--shadow-card); }
.dashboard-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dashboard-course-card:nth-child(3n + 2) .dashboard-course-icon { color: #287b70; background: #e7f5ee; }
.dashboard-course-card:nth-child(3n) .dashboard-course-icon { color: #62518f; background: #eeeafb; }
.dashboard-course-level { padding: 5px 9px; border-radius: 99px; color: #53647b; background: #f0f3f8; font-size: 10px; font-weight: 800; }
.dashboard-course-topic { margin: 17px 0 5px; color: #77849a; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.dashboard-course-card h3 { margin: 0; color: #192e4c; font-size: 20px; letter-spacing: -.035em; line-height: 1.35; }
.dashboard-course-description { min-height: 48px; margin: 8px 0 0; color: #59677d; font-size: 12px; line-height: 1.65; }
.dashboard-progress-heading { display: flex; margin-top: 19px; justify-content: space-between; gap: 12px; color: #617087; font-size: 11px; font-weight: 700; }
.dashboard-progress-heading strong { color: #28745b; font-family: var(--font-mono); }
.dashboard-course-card .progress-track { height: 7px; margin: 9px 0 0; background: #e8edf3; }
.dashboard-course-card .progress-track::-webkit-progress-bar { border-radius: inherit; background: #e8edf3; }
.dashboard-course-card .progress-track::-webkit-progress-value { border-radius: inherit; background: #368b6e; }
.dashboard-course-card .progress-track::-moz-progress-bar { border-radius: inherit; background: #368b6e; }
.dashboard-progress-caption { margin: 7px 0 0; color: #77849a; font-size: 10px; }
.dashboard-course-link { display: inline-flex; min-height: 42px; margin-top: 18px; padding: 0 13px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #dce3ed; border-radius: 10px; color: #243b5d; background: #f8fafd; font-size: 12px; font-weight: 800; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.dashboard-course-link:hover { border-color: #c5d2e3; background: #eef3fa; }
.dashboard-sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.dashboard-weekly-goal,
.dashboard-activity-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-raised);
  box-shadow: 0 7px 24px rgba(27, 44, 75, .04);
}
.dashboard-weekly-goal .eyebrow { margin: 0 0 8px; color: #687891; }
.dashboard-weekly-goal h2 { margin: 0; color: #192e4c; font-size: 19px; letter-spacing: -.035em; line-height: 1.35; }
.dashboard-weekly-goal .progress-track { height: 8px; margin: 17px 0 9px; background: #e8edf3; }
.dashboard-weekly-goal .progress-track::-webkit-progress-bar { border-radius: inherit; background: #e8edf3; }
.dashboard-weekly-goal .progress-track::-webkit-progress-value { border-radius: inherit; background: #368b6e; }
.dashboard-weekly-goal .progress-track::-moz-progress-bar { border-radius: inherit; background: #368b6e; }
.dashboard-weekly-goal > p:last-child { margin: 0; color: #617087; font-size: 11px; line-height: 1.6; }
.dashboard-activity-panel { padding: 22px 24px; }
.dashboard-activity-panel .dashboard-section-heading { display: block; margin-bottom: 6px; }
.dashboard-activity-panel .dashboard-section-heading .eyebrow { margin-bottom: 5px; }
.dashboard-activity-panel .dashboard-section-heading h2 { font-size: 21px; }
.dashboard-activity-empty { margin: 14px 0 0; color: #687891; font-size: 12px; line-height: 1.7; }
.dashboard-empty-state { display: grid; min-height: 245px; padding: 30px; justify-items: center; align-content: center; border: 1px dashed #cbd6e5; border-radius: 17px; background: rgba(255, 255, 255, .56); text-align: center; }
.dashboard-empty-icon { width: 50px; height: 50px; margin-bottom: 14px; font-size: 19px; }
.dashboard-empty-state h3 { margin: 0; color: #192e4c; font-size: 19px; letter-spacing: -.03em; }
.dashboard-empty-state p { max-width: 430px; margin: 7px 0 0; color: #617087; font-size: 12px; line-height: 1.7; }
.dashboard-empty-state .button { margin-top: 17px; }
.activity-list { display: grid; margin: 17px 0 0; padding: 0; list-style: none; }
.activity-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.activity-check { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #176b4c; background: #d8eee3; font-size: 12px; font-weight: 900; }
.activity-list strong, .activity-list small { display: block; }
.activity-list strong { color: #192e4c; font-size: 12px; }
.activity-list small, .activity-list time { margin-top: 4px; color: var(--muted); font-size: 10px; }
.activity-list time { white-space: nowrap; }
.enrollment-prompt { display: flex; margin-top: 22px; padding: 17px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 9px; background: var(--page-surface); }
.enrollment-prompt p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.enrollment-prompt .button { flex: 0 0 auto; }

.pathway-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: start; }
.pathway-grid p { color: rgba(255, 255, 255, .84); font-size: 15px; line-height: 1.8; }
.pathway-steps { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.pathway-step { display: grid; grid-template-columns: 62px 1fr; gap: 21px; padding: 23px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.pathway-step > span { color: var(--lime); font-family: var(--font-mono); font-size: 12px; }
.pathway-step h3 { margin: 0; color: white; font-size: 19px; letter-spacing: -.04em; }
.pathway-step p { margin: 7px 0 0; font-size: 12px; }

.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.guide-card { padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.guide-card h2 { margin: 0; color: var(--navy); font-size: 25px; letter-spacing: -.05em; }
.guide-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.guide-card pre { overflow-x: auto; margin: 19px 0 0; padding: 16px; border-radius: 8px; color: #e5f2ea; background: #102430; font-family: var(--font-mono); font-size: 11px; line-height: 1.7; }
.guide-card code { font-family: inherit; }

.article-list { display: grid; gap: 16px; }
.article-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 21px; align-items: center; padding: 25px 27px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.article-number { color: var(--orange); font-family: var(--font-mono); font-size: 12px; }
.article-card h2 { margin: 0; color: var(--navy); font-size: 20px; letter-spacing: -.04em; }
.article-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-card a { color: var(--orange-dark); font-size: 12px; font-weight: 800; white-space: nowrap; }
.article-card a:hover { text-decoration: underline; }

.article-content { max-width: 820px; margin: 55px auto 0; padding-top: 54px; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.article-content h2 { margin: 0; color: var(--navy); font-size: clamp(27px, 3.5vw, 38px); letter-spacing: -.055em; }
.article-content p, .article-content li { color: #566673; font-size: 15px; line-height: 1.8; }
.article-content ul { padding-left: 22px; }
.article-content pre { overflow-x: auto; padding: 20px; border-radius: 9px; color: #e5f2ea; background: #102430; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: 38px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.contact-card i { color: var(--orange); font-size: 21px; }
.contact-card h2 { margin: 23px 0 8px; color: var(--navy); font-size: 25px; letter-spacing: -.05em; }
.contact-card p { max-width: 410px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.contact-card .button { margin-top: 25px; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.about-grid > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.values-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.values-list article { display: grid; grid-template-columns: 52px 1fr; gap: 19px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.values-list span { color: var(--orange); font-family: var(--font-mono); font-size: 12px; }
.values-list h2 { margin: 0; color: var(--navy); font-size: 20px; letter-spacing: -.04em; }
.values-list p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.policy-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 65px; align-items: start; }
.policy-nav { position: sticky; top: 98px; display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #faf8f4; }
.policy-nav a { padding: 9px 10px; border-radius: 6px; color: #4e5e68; font-size: 12px; font-weight: 800; }
.policy-nav a:hover, .policy-nav a[aria-current="page"] { color: var(--navy); background: var(--lime); }
.policy-copy { max-width: 760px; }
.policy-copy h2 { margin: 46px 0 13px; color: var(--navy); font-size: 26px; letter-spacing: -.05em; }
.policy-copy h2:first-child { margin-top: 0; }
.policy-copy p, .policy-copy li { color: #4e5e68; font-size: 14px; line-height: 1.8; }
.policy-copy ul { padding-left: 21px; }
.policy-note { padding: 18px 20px; border-left: 3px solid var(--orange); color: #52636f; background: #fff5ef; font-size: 13px; line-height: 1.7; }

.page-cta { padding-top: 78px; padding-bottom: 78px; color: white; background: var(--navy-deep); text-align: center; }
.page-cta h2 { max-width: 700px; margin: 0 auto; color: white; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.07em; line-height: 1.06; }
.page-cta p { margin: 16px auto 27px; color: rgba(255, 255, 255, .84); font-size: 14px; }

@media (max-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pathway-grid, .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .policy-layout { grid-template-columns: 1fr; gap: 28px; }
  .policy-nav { position: static; grid-template-columns: repeat(3, 1fr); }
  .learning-layout { grid-template-columns: minmax(0, 1fr); }
  .learning-sidebar { position: static; }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .page-hero-content { padding-top: 52px; padding-bottom: 55px; }
  .page-section { padding-top: 62px; padding-bottom: 62px; }
  .section-title-row { display: block; margin-bottom: 27px; }
  .section-title-row > p { margin-top: 16px; }
  .catalog-grid, .guide-grid, .contact-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 0; padding: 24px; }
  .article-card { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .article-card a { margin-top: 7px; }
  .guide-card, .contact-card { padding: 25px; }
  .policy-nav { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 42px; }
  .lesson-card { grid-template-columns: 36px 1fr; padding: 16px; }
  .lesson-action { grid-column: 2; width: fit-content; }
  .learning-panel { padding: 23px; }
  .dashboard-welcome { display: block; }
  .dashboard-stat { display: inline-block; margin-top: 20px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .catalog-controls .catalog-search { width: 100%; min-width: 0; flex: 1 1 100%; }
  .catalog-filter { min-height: 42px; }
  .lesson-card { grid-template-columns: 36px minmax(0, 1fr); }
  .lesson-action { min-height: 42px; justify-self: start; }
  .course-section .lesson-card { grid-template-columns: 36px minmax(0, 1fr); padding: 15px; }
  .course-section .lesson-action { grid-column: 2; }
  .settings-panel, .settings-details { padding: 22px; }
  .settings-field input { font-size: 16px; }
}

html[data-theme="dark"] {
  --page-surface: #16252d;
  --page-card: #17262e;
  --page-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .page-hero {
  border-color: var(--line);
  background:
    radial-gradient(circle at 88% 22%, rgba(128, 154, 66, .22), transparent 21%),
    radial-gradient(circle at 8% 88%, rgba(238, 95, 43, .12), transparent 24%),
    var(--page-surface);
}
html[data-theme="dark"] .page-hero h1,
html[data-theme="dark"] .section-title-row h2,
html[data-theme="dark"] .content-heading,
html[data-theme="dark"] .catalog-card h2,
html[data-theme="dark"] .catalog-card h3,
html[data-theme="dark"] .learning-panel h2,
html[data-theme="dark"] .lesson-card h3,
html[data-theme="dark"] .dashboard-welcome h1,
html[data-theme="dark"] .dashboard-card h2,
html[data-theme="dark"] .dashboard-card h3,
html[data-theme="dark"] .dashboard-goal h2,
html[data-theme="dark"] .dashboard-next h2,
html[data-theme="dark"] .dashboard-activity h2,
html[data-theme="dark"] .activity-list strong,
html[data-theme="dark"] .settings-heading h2,
html[data-theme="dark"] .settings-details h2,
html[data-theme="dark"] .settings-panel > h3,
html[data-theme="dark"] .settings-detail-value,
html[data-theme="dark"] .guide-card h2,
html[data-theme="dark"] .article-card h2,
html[data-theme="dark"] .article-content h2,
html[data-theme="dark"] .contact-card h2,
html[data-theme="dark"] .values-list h2,
html[data-theme="dark"] .policy-copy h2 { color: #edf3f5; }
html[data-theme="dark"] .catalog-card,
html[data-theme="dark"] .learning-panel,
html[data-theme="dark"] .lesson-card,
html[data-theme="dark"] .dashboard-card,
html[data-theme="dark"] .dashboard-goal,
html[data-theme="dark"] .dashboard-next,
html[data-theme="dark"] .dashboard-activity,
html[data-theme="dark"] .settings-panel,
html[data-theme="dark"] .settings-details,
html[data-theme="dark"] .guide-card,
html[data-theme="dark"] .article-card,
html[data-theme="dark"] .contact-card { border-color: var(--line); background: #17262e; }
html[data-theme="dark"] .lesson-card.is-complete { border-color: #39705c; background: #193329; }
html[data-theme="dark"] .learning-panel .course-outline-meta,
html[data-theme="dark"] .course-section-copy small,
html[data-theme="dark"] .course-section-chevron { color: #b6c3c9; }
html[data-theme="dark"] .course-section { border-color: var(--line); background: #101d24; }
html[data-theme="dark"] .course-section-heading { color: #edf3f5; }
html[data-theme="dark"] .course-section-lessons { border-color: var(--line); }
html[data-theme="dark"] .course-section .lesson-card { border-color: var(--line); background: #17262e; }
html[data-theme="dark"] .course-section .lesson-card.is-complete { border-color: #39705c; background: #193329; }
html[data-theme="dark"] .catalog-card > p:not(.catalog-eyebrow),
html[data-theme="dark"] .catalog-card details p,
html[data-theme="dark"] .lesson-card p,
html[data-theme="dark"] .lesson-card small,
html[data-theme="dark"] .dashboard-card p,
html[data-theme="dark"] .dashboard-goal > p:last-child,
html[data-theme="dark"] .dashboard-next > p:not(.eyebrow),
html[data-theme="dark"] .dashboard-empty,
html[data-theme="dark"] .activity-list small,
html[data-theme="dark"] .activity-list time,
html[data-theme="dark"] .enrollment-prompt p,
html[data-theme="dark"] .settings-heading > p:last-child,
html[data-theme="dark"] .settings-help,
html[data-theme="dark"] .article-card p,
html[data-theme="dark"] .article-content p,
html[data-theme="dark"] .article-content li,
html[data-theme="dark"] .about-grid > p,
html[data-theme="dark"] .values-list p,
html[data-theme="dark"] .policy-copy p,
html[data-theme="dark"] .policy-copy li { color: #b6c3c9; }
html[data-theme="dark"] .catalog-search,
html[data-theme="dark"] .catalog-filter,
html[data-theme="dark"] .settings-field input,
html[data-theme="dark"] .settings-delete-form input { border-color: #3a4b55; color: #edf3f5; background: #101d24; }
html[data-theme="dark"] .resource-controls { border-color: var(--line); background: #17262e; }
html[data-theme="dark"] .resource-result-count { color: #b6c3c9; }
html[data-theme="dark"] .settings-password-wrap .password-toggle { color: #c1cdd2; }
html[data-theme="dark"] .settings-password-wrap .password-toggle:hover { color: #fff; background: #263a45; }
html[data-theme="dark"] .catalog-filter[aria-pressed="true"],
html[data-theme="dark"] .catalog-filter:hover { border-color: #93a6af; background: #29404b; }
html[data-theme="dark"] .card-meta span { color: #d3dde1; background: #293a43; }
html[data-theme="dark"] .dashboard-goal .progress-track,
html[data-theme="dark"] .dashboard-goal .progress-track::-webkit-progress-bar,
html[data-theme="dark"] .dashboard-card .progress-track,
html[data-theme="dark"] .dashboard-card .progress-track::-webkit-progress-bar { background: #30434b; }
html[data-theme="dark"] .activity-list li { border-color: var(--line); }
html[data-theme="dark"] .enrollment-prompt { border-color: var(--line); background: #101d24; }
html[data-theme="dark"] .policy-nav { border-color: var(--line); background: #17262e; }
html[data-theme="dark"] .policy-nav a { color: #c1cdd2; }
html[data-theme="dark"] .policy-note { color: #d3dde1; background: #2b2924; }
html[data-theme="dark"] .breadcrumb { color: #b0bec5; }

@media (max-width: 430px) {
  .settings-submit { width: 100%; }
  .learning-panel { padding: 19px; }
  .enrollment-prompt { align-items: stretch; flex-direction: column; }
  .enrollment-prompt .button { justify-content: center; }
}

@media (max-width: 700px) {
  .dashboard-overview { grid-template-columns: 1fr; }
  .dashboard-welcome { display: flex; align-items: start; flex-direction: column; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .resource-controls { grid-template-columns: 1fr; }
  .resource-controls > .sr-only,
  .resource-controls > .catalog-search,
  .resource-filters,
  .resource-result-count { grid-area: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-card { transition: none; }
}
