/* One route through the course. Blue gives structure, burgundy marks an action. */
:root { --journey-height: 62px; --chapter-blue: #eef2fa; --chapter-line: #d7deeb; }
html { scroll-padding-top: calc(var(--header-height) + var(--journey-height) + 20px); }
[id] { scroll-margin-top: calc(var(--header-height) + var(--journey-height) + 20px); }
.hero { padding-block: 44px 40px; }
.hero h1 { letter-spacing: -.065em; }
.hero .button-row { gap: 12px; }
.hero .button-outline { background: white; border-color: var(--chapter-line); }
.journey-nav { position: sticky; top: var(--header-height); z-index: 15; border-block: 1px solid var(--chapter-line); background: #f6f8faf5; backdrop-filter: blur(14px); }
.journey-nav-inner { display: flex; align-items: center; gap: 28px; min-height: var(--journey-height); }
.journey-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.journey-links { display: flex; align-items: center; gap: 3px; overflow-x: auto; scrollbar-width: thin; padding-block: 7px; width: 100%; }
.journey-links a { display: flex; align-items: center; gap: 7px; flex: none; min-height: 44px; padding: 9px 12px; border-radius: 9px; white-space: nowrap; font-size: 12px; color: var(--ink); text-decoration: none; }
.journey-links a span { font-size: 10px; color: var(--muted); }
.journey-links a:hover { background: #e9edf5; }
.journey-links a[aria-current] { background: var(--ink); color: white; }
.journey-links a[aria-current] span { color: #cbd2e9; }
@media (min-width: 1200px) {
  .header-cta { transform-origin: right center; transition: transform .24s ease, background .2s, box-shadow .2s; }
  .header--joined .header-cta { transform: translateY(calc(var(--journey-height) / 2)) scale(1.18); box-shadow: 0 6px 20px #a40e4c22; }
  .header--joined .header-cta:active { transform: translateY(calc(var(--journey-height) / 2 + 1px)) scale(1.16); }
  .journey-nav.is-joined .journey-nav-inner { padding-right: 172px; }
}
@media (prefers-reduced-motion: reduce) { .header-cta { transition: none; } }
.section.chapter { margin-block: 28px; }
.chapter .section-disclosure, .chapter .static-chapter { background: #fff; border: 1px solid var(--chapter-line); border-radius: 22px; overflow: clip; }
.chapter .section-disclosure[open] { border-color: #a8b5ce; box-shadow: 0 18px 50px #2a2d5008; }
.chapter .section-summary { display: grid; grid-template-columns: 40px minmax(0,1fr) 140px 44px; gap: 24px; padding: 30px 32px; min-height: 156px; border-radius: 0; background: white; }
.chapter .section-index { grid-column: 1; grid-row: 1; }
.chapter .section-summary-copy { grid-column: 2; grid-row: 1; }
.chapter .chapter-visual { grid-column: 3; grid-row: 1; display: grid; justify-items: center; gap: 4px; }
.chapter .section-summary-toggle { grid-column: 4; grid-row: 1; }
.chapter .section-summary:hover { background: #f8faff; }
.chapter .static-chapter > .chapter-heading:hover { background: white; }
.chapter .section-disclosure[open] > .section-summary { background: var(--chapter-blue); }
.chapter .section-summary h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 700; max-width: 760px; white-space: normal; text-wrap: balance; letter-spacing: -.035em; }
.chapter .section-index { display: grid; place-items: center; align-self: start; margin-top: 4px; width: 36px; height: 36px; border: 1px solid var(--chapter-line); border-radius: 10px; color: var(--ink); background: #f6f8fc; font-size: 12px; }
.chapter .section-summary-description { max-width: 62ch; font-size: 15px; line-height: 1.5; margin-top: 12px; color: #59617b; }
.chapter .section-summary-meta { color: #59617b; font-size: 12px; text-align: center; }
.chapter .section-summary-toggle { color: var(--ink); border-color: #b8c4da; background: white; }
.chapter .section-disclosure[open] > .section-summary .section-summary-toggle { color: var(--ink); border-color: #a8b5ce; }
.chapter .section-body { padding: 32px; border-top: 1px solid var(--chapter-line); border-radius: 0; }
.chapter .section-body > .container { padding-inline: 0; }
.chapter .section-body .section-heading { margin-bottom: 24px; }
.chapter .chapter-lead, #section-body-document .credential-summary .chapter-lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.chapter .section-heading .eyebrow { color: var(--muted); }
.chapter .section-heading::after, .chapter .section-heading > div::after { content: none; }
.chapter .section-collapse { color: var(--ink); border-color: var(--chapter-line); background: var(--chapter-blue); padding-inline: 20px; font-size: 13px; }
.chapter .section-collapse:hover { border-color: var(--ink); }
.chapter-art { display: block; position: relative; width: 140px; height: 84px; border-radius: 15px; background-image: radial-gradient(#ced7e7 1px, transparent 1px); background-size: 12px 12px; }
.chapter-art > .icon { position: absolute; width: 45px; height: 45px; padding: 10px; top: 18px; left: 48px; color: #fff; background: var(--ink); border-radius: 13px; z-index: 1; box-shadow: 0 6px 15px #2a2d5018; }
.art-node { position: absolute; width: 17px; height: 17px; border: 2px solid #b1bed6; border-radius: 5px; background: white; top: 32px; }
.art-node-a { left: 9px; }.art-node-b { right: 9px; }
.art-line { position: absolute; top: 40px; left: 20px; right: 20px; height: 1px; background: #b1bed6; }
.chapter:nth-of-type(even) .art-node-a { top: 14px; }.chapter:nth-of-type(even) .art-node-b { top: 54px; }
.section-summary:hover .chapter-art > .icon { transform: translateY(-3px) rotate(-4deg); }
.chapter-art > .icon { transition: transform .25s ease; }
.chapter .course-card { border-color: var(--chapter-line); padding: 30px; }
.chapter .course-card h3 { font-size: clamp(26px,2.5vw,34px); }
.chapter .course-card p { line-height: 1.6; }
.chapter .course-card .course-subtitle { font-size: 18px; }
.chapter .course-level { color: white; background: var(--accent); border-color: var(--accent); font-weight: 500; }
.chapter .course-card .course-subtitle { color: var(--accent); }
.chapter .course-dark .course-subtitle { color: #f0b9d0; }
#section-summary-courses .section-summary-description { max-width: none; }
@media (min-width: 1200px) {
  #section-summary-courses .section-summary-description { white-space: nowrap; }
}
.course-footer { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
.course-actions { display: grid; gap: 15px; }
.course-actions .button { width: 100%; min-height: 54px; }
.course-card:not(.course-dark) .course-actions .button { background: var(--ink); border-color: var(--ink); color: white; }
.course-card:not(.course-dark) .course-actions .button:hover { background: #40476f; }
.course-dark .course-actions .button { background: var(--accent); border-color: var(--accent); color: white; }
.course-dark .course-actions .button:hover { background: #850a3c; }
.course-secondary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.course-secondary a { font-size: 13px; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }
.course-dark .course-secondary a { color: white; }
.course-common { line-height: 1.7; max-width: 80ch; margin-inline: auto; }
.course-common a { display: inline-block; color: var(--ink); text-underline-offset: 4px; }
.chapter .audience-panel h3, .chapter .program-overview h3, .chapter .learning-preview-heading h3 { font-size: clamp(22px,2vw,26px); line-height: 1.3; }
.chapter .project-card h3 { font-size: 24px; }
.chapter .module-title strong { font-size: 20px; line-height: 1.4; }
.chapter .module { border-radius: 12px; border-color: var(--chapter-line); background: #fafbfe; }
.chapter .module[open] { background: white; border-color: #a8b5ce; }
.chapter .module summary { padding: 22px; }
.chapter .module-number { color: var(--ink); }
.chapter .module-body { border-top: 1px solid var(--chapter-line); padding: 24px; }
.program-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 24px 0 8px; }
.program-next p { font-size: 16px; color: var(--muted); }
.chapter .program-example { margin-top: 28px; border: 1px solid var(--chapter-line); background: #f7f9fe; }
.chapter .program-example > summary h3 { font-size: 23px; }
.chapter .assistant-lab { border: 0; box-shadow: none; background: transparent; }
.chapter .assistant-lab-top { padding: 14px 0; background: transparent; }
.chapter .assistant-demo { display: block; padding: 20px 0; }
.chapter .assistant-chat { max-width: 760px; margin: 0 auto; }
.assistant-technical { border-top: 1px solid var(--chapter-line); margin-top: 20px; }
.assistant-technical > summary, .credential-requirements > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 16px; cursor: pointer; list-style: none; }
.assistant-technical > summary::-webkit-details-marker, .credential-requirements > summary::-webkit-details-marker { display: none; }
.assistant-technical[open] > summary span, .credential-requirements[open] > summary span { transform: rotate(45deg); }
.assistant-technical-body { display: grid; gap: 24px; padding-bottom: 20px; }
.chapter .assistant-capabilities { padding: 0; background: transparent; }
.chapter .assistant-workflow { border: 0; background: white; }
.chapter .assistant-workflow h3 { font-size: 21px; }
.chapter .learning-steps { gap: 30px; }
.chapter .learning-steps h3, .chapter .mentor-heading h3 { font-size: 22px; }
.chapter .learning-steps > li > span { color: var(--ink); }
.chapter .learning-preview { border: 0; border-radius: 0; background: transparent; padding: 26px 0 0; border-top: 1px solid var(--chapter-line); }
.chapter .platform-window { border: 1px solid var(--chapter-line); box-shadow: none; }
.chapter .platform-visual { padding: 10px; }
.chapter .platform-copy h4 { font-size: 20px; }
.chapter .platform-panel { padding: 22px; gap: 24px; }
.chapter .platform-task, .chapter .platform-page { box-shadow: none; padding: 18px; }
.chapter .expert-card h3 { font-size: 22px; }
.chapter .credential-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.credential-requirements { margin-top: 12px; border-top: 1px solid var(--chapter-line); }
.credential-requirements p { line-height: 1.7; }
.chapter .business-panel { border: 0; background: transparent; padding: 0; }
.chapter .business-panel .chapter-lead { margin-bottom: 20px; }
.chapter .enroll-grid .eyebrow { display: none; }
.chapter .enroll-grid .chapter-lead { font-size: 24px; }
.chapter .faq-item { border-color: var(--chapter-line); }
.chapter .faq-number { color: #64718b; }
.section.application { padding-top: 40px; }
.application-grid { background: var(--chapter-blue); border: 1px solid var(--chapter-line); box-shadow: none; }
.application .application-intro h2 { font-size: clamp(28px,3vw,40px); }
.application .form-heading h3 { font-size: 22px; }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #5473b5; outline-offset: 4px; }
@media (max-width: 1199px) { .journey-label { display: none; } .journey-nav-inner { gap: 0; } .chapter .section-summary { grid-template-columns: 34px minmax(0,1fr) 90px 44px; gap: 18px; } .chapter .section-summary-meta { display: none; } .chapter-art { width: 90px; } .chapter-art > .icon { left: 23px; } .art-node-a { left: 0; }.art-node-b { right: 0; } }
@media (max-width: 760px) {
  :root { --journey-height: 56px; }
  .hero { padding-block: 28px; }
  .journey-nav-inner { width: 100%; padding-inline: 14px; }
  .journey-links a { padding-inline: 11px; }
  .section.chapter { margin-block: 18px; }
  .chapter .section-disclosure, .chapter .static-chapter { border-radius: 16px; }
  .chapter .section-summary { grid-template-columns: minmax(0,1fr) 44px; grid-template-rows: auto auto; gap: 12px; padding: 24px 20px; min-height: 136px; }
  .chapter .section-summary-copy { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .chapter .chapter-visual { grid-column: 2; grid-row: 1; align-self: start; }
  .chapter .section-summary-toggle { grid-column: 2; grid-row: 2; align-self: end; }
  .chapter .static-chapter > .chapter-heading { grid-template-rows: auto; }
  .chapter .static-chapter .section-summary-copy { grid-row: 1; }
  .chapter .section-summary h2 { font-size: 28px; line-height: 1.15; }
  .chapter .section-summary-description { font-size: 14px; line-height: 1.5; }
  .chapter .section-index { display: none; }
  .chapter .section-summary-toggle { width: 44px; height: 44px; }
  .chapter-art { display: block; width: 44px; height: 44px; }
  .chapter-art > .icon { top: 0; left: 0; width: 44px; height: 44px; }
  .chapter .art-node, .chapter .art-line { display: none; }
  .chapter .section-body { padding: 24px 16px; }
  .chapter .course-card { padding: 24px 20px; }
  .chapter .course-card h3 { font-size: 26px; }
  .chapter .course-count { font-size: 11px; }
  .chapter .course-card .course-subtitle { font-size: 17px; }
  .course-actions .button { font-size: 14px; padding-inline: 12px; }
  .course-secondary { gap: 5px; }
  .course-secondary a { font-size: 12px; }
  .chapter .chapter-lead, #section-body-document .credential-summary .chapter-lead { font-size: 21px; }
  .chapter .module-title strong { font-size: 19px; }
  .chapter .module summary { padding: 18px 12px; }
  .chapter .module-body { padding: 20px 12px; }
  .chapter .program-toolbar { gap: 16px; }
  .chapter .program-overview h3, .chapter .audience-panel h3, .chapter .learning-preview-heading h3, .chapter .project-card h3 { font-size: 22px; }
  .chapter .assistant-demo { padding-inline: 0; }
  .chapter .assistant-scenarios { padding-inline: 0; gap: 8px; }
  .chapter .assistant-scenarios button { min-height: 44px; }
  .chapter .assistant-capabilities { padding-inline: 0; }
  .chapter .program-example-body { padding: 20px 12px; }
  .chapter .program-example-body > .container { padding: 0; }
  .chapter .platform-panel { padding: 16px; gap: 16px; }
  .chapter .platform-window-bar { padding: 12px; gap: 8px; font-size: 11px; }
  .chapter .platform-window-dots { display: none; }
  .chapter .platform-tabs { gap: 5px; }
  .chapter .platform-tabs [role=tab] { font-size: 12px; padding-inline: 8px; }
  .chapter .platform-copy h4 { font-size: 19px; }
  .chapter .credential-summary { grid-template-columns: 1fr; gap: 20px; }
  .program-next { align-items: stretch; flex-direction: column; }
  .chapter .section-collapse { width: 100%; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .chapter-art > .icon { transition: none; } .section-summary:hover .chapter-art > .icon { transform: none; } }
.form-consents { display: grid; gap: 14px; margin-block: 18px; }
.form-consents .consent-label { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.6; color: var(--muted); font-weight: 400; }
.form-consents input[type=checkbox] { width: 18px; height: 18px; min-height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.form-consents a { color: var(--ink); text-underline-offset: 3px; }

/* Corrections for sections moved from the old dark layout. */
.chapter .business-panel { color: var(--ink); align-items: start; gap: 32px; }
.chapter .business-content { padding: 8px 0; min-width: 0; }
.chapter .business-content .eyebrow { color: #69738b; }
.chapter .business-content .chapter-lead { color: var(--ink); font-size: clamp(22px,2.2vw,30px); line-height: 1.3; max-width: 20ch; margin: 0 0 20px; }
.chapter .business-content > p:not(.eyebrow), .chapter .business-content .check-list { color: #505974; font-size: 16px; line-height: 1.65; }
.chapter .business-content .check-list { margin-block: 24px; }
.chapter .business-content .check-list li::before { color: var(--accent); }
.chapter .business-content :focus-visible { outline-color: #5473b5; }
.chapter .business-discounts { align-self: stretch; background: var(--ink); border-color: var(--ink); color: white; }
.chapter .business-discounts .discount-row { gap: 20px; }
.chapter .business-discounts p { color: #e1e5f1; }
.chapter .business-discounts .corporate-note { padding-top: 16px; border-top: 1px solid #ffffff30; font-size: 12px; }
.chapter .faq-list { display: grid; gap: 10px; }
.chapter .faq-item, .chapter .faq-item:first-child { border: 1px solid var(--chapter-line); border-radius: 12px; background: #fbfcff; overflow: hidden; }
.chapter .faq-item summary { padding: 20px; gap: 14px; align-items: center; cursor: pointer; }
.chapter .faq-item summary:hover { background: #eef2fa; }
.chapter .faq-item[open] { background: white; border-color: #adbcd4; }
.chapter .faq-item[open] summary { background: var(--chapter-blue); }
.chapter .faq-answer { padding: 20px 54px 24px; margin: 0; color: #505974; font-size: 16px; line-height: 1.7; max-width: 92ch; }
.chapter .enroll-intro > p:not(.eyebrow) { color: #505974; max-width: 60ch; }
.chapter .enroll-intro .chapter-lead { color: var(--ink); font-size: clamp(17px,2vw,24px); white-space: nowrap; margin-top: 0; }
#section-body-enroll { background: #f5f7fc; color: var(--ink); }
#section-body-enroll .chapter-lead { color: var(--ink); font-size: clamp(17px,2vw,24px); font-weight: 500; }
.chapter .enroll-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
.application .form-two { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
.application .form-two .field:first-child { grid-column: 1 / -1; }
.application .course-choice { margin: 0 0 28px; }
.course-choice legend { margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--ink); }
.course-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.course-option { display: flex; align-items: flex-start; gap: 10px; padding: 16px 12px; min-width: 0; border: 1px solid var(--chapter-line); border-radius: 12px; background: #f8faff; cursor: pointer; transition: border-color .15s, background .15s; }
@media (hover: hover) { .course-option:hover { border-color: var(--accent); } }
.course-option:has(input:checked) { border-color: var(--accent); background: #fcf2f6; box-shadow: inset 0 0 0 1px var(--accent); }
.course-option:has(input:focus-visible) { outline: 3px solid #5473b5; outline-offset: 3px; }
.application .course-option input { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.course-option-copy { display: grid; gap: 5px; min-width: 0; }
.course-option-copy strong { font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.course-option:has(input:checked) strong { color: var(--accent); }
.course-option-copy > span { font-size: 12px; line-height: 1.5; color: #59617b; }
.course-option:has(input:disabled) { cursor: wait; opacity: .7; }
@media (max-width: 600px) {
  .course-choice-grid { grid-template-columns: minmax(0,1fr); }
  .course-option { padding: 13px 14px; }
}
@media (prefers-reduced-motion: reduce) { .course-option { transition: none; } }
@media (min-width: 1024px) {
  #section-summary-audience .section-summary-description { max-width: none; white-space: nowrap; }
  .chapter .enroll-grid { grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .chapter .business-panel { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .chapter .business-content .button { width: 100%; font-size: 14px; }
  .chapter .business-discounts { padding: 20px; }
  .chapter .faq-item summary { padding: 16px 12px; grid-template-columns: 18px minmax(0,1fr) 18px; gap: 10px; }
  .chapter .faq-item summary > span:not(.faq-number) { font-size: 16px; }
  .chapter .faq-answer { padding: 16px; font-size: 15px; }
  .application .form-two { grid-template-columns: minmax(0,1fr); gap: 0; }
}

/* The final chapter belongs to the blue footer, above the brand and links. */
.footer .footer-faq { --chapter-line: #737b9b; --chapter-blue: #363b60; margin: 0 0 32px; padding: 0; background: var(--ink); color: white; }
.footer-faq .static-chapter, .footer-faq .section-summary { background: transparent; }
.footer-faq .static-chapter > .chapter-heading,
.footer-faq .static-chapter > .chapter-heading:hover { background: var(--chapter-blue); }
.footer-faq .section-summary:hover, .footer-faq .section-disclosure[open] > .section-summary { background: var(--chapter-blue); }
.footer-faq .section-summary h2 { color: white; }
.footer-faq .section-index, .footer-faq .section-summary-toggle,
.footer-faq .section-disclosure[open] > .section-summary .section-summary-toggle,
.footer-faq .section-collapse { color: white; background: #363b60; border-color: var(--chapter-line); }
.footer-faq .section-collapse:hover { background: #454c74; border-color: #cbd5f4; }
.footer-faq .chapter-art { background-image: radial-gradient(#737b9b 1px, transparent 1px); }
.footer-faq .chapter-art > .icon { background: #e4eaff; color: var(--ink); }
.footer-faq .art-node { background: var(--ink); border-color: #aebbe2; }
.footer-faq .art-line { background: #aebbe2; }
.footer-faq .faq-item, .footer-faq .faq-item:first-child,
.footer-faq .faq-item[open] { background: #303556; border-color: var(--chapter-line); }
.footer-faq .faq-item summary:hover, .footer-faq .faq-item[open] summary { background: #3c4369; }
.footer-faq .faq-item summary, .footer-faq .faq-item summary .icon { color: white; }
.footer-faq .faq-item .faq-number { color: #cbd5ef; }
.footer-faq .faq-answer { color: #e3e8f7; }
.footer-faq :focus-visible { outline-color: #ffb5d6; }

/* Restored free lesson cards from the earlier course landing. */
.restored-lessons{background:var(--bg);padding-block:40px;scroll-margin-top:160px}
.restored-lessons .section-heading{align-items:flex-end}
.restored-lessons h2{font-size:clamp(28px,3.4vw,44px);line-height:1.12;letter-spacing:-.04em}
.restored-lessons .section-intro{max-width:34ch}
.restored-lessons .lesson-card{background:white}
.restored-lessons .lesson-info h3{font-size:clamp(20px,1.8vw,26px);line-height:1.22}
.restored-lessons .lesson-preview{cursor:default}
.free-lesson-details{margin-top:18px;border-top:1px solid var(--line)}
.free-lesson-details summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;color:var(--ink);font-weight:600;font-size:14px;list-style:none}
.free-lesson-details summary::-webkit-details-marker{display:none}
.free-lesson-details summary .icon{width:18px;height:18px;flex:none}
.free-lesson-details[open] summary .icon{transform:rotate(45deg)}
.free-lesson-details summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.restored-lessons .lesson-availability{font-size:14px;line-height:1.5;color:var(--muted);margin-top:22px}
@media(max-width:767px){.restored-lessons .section-heading{align-items:flex-start;gap:16px}.restored-lessons .lesson-info{padding:24px}.restored-lessons .lesson-preview{height:220px}}
