/* Compact course directory: all detail remains available on demand. */
.hero {
  display: flex;
  align-items: center;
  min-height: 0;
  padding-block: 32px;
  overflow: hidden;
  background: var(--bg);
}
.hero::before { display: none; }
.hero > .container { position: relative; z-index: 1; }
/* Separate text and video columns preserve the complete frame at a larger size. */
.hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 40px; }
.hero .hero-content { max-width: 640px; }
.hero .hero-intro { max-width: 49ch; }
.hero .hero-video-visual {
  position: relative;
  width: 100%;
  max-width: 720px;
  justify-self: end;
  padding: 0;
  margin: 0;
  pointer-events: none;
  animation: none;
  transform: none;
}
.hero-video-card { position: relative; border: 0; border-radius: 12px; box-shadow: none; }
.hero-video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg); }
.hero-video, .hero-video-poster img { object-fit: contain; object-position: center; }
.hero-video-frame::after { content: none; }
.hero-video-footer { display: none; }
.hero .hero-notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); max-width: none; column-gap: 40px; row-gap: 8px; margin-top: 28px; }
.hero .hero-video-caption { display: block; width: 100%; max-width: 720px; justify-self: end; margin: 0; color: var(--muted); }
.section-directory { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 36px 20px; scroll-margin-top: calc(var(--header-height) + 16px); }
.section-directory .eyebrow { margin-bottom: 6px; }
.section-directory > div > p:last-child { color: var(--muted); font-size: 15px; }
.section-directory-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.section-directory-actions button { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: white; color: var(--ink); font-size: 13px; }
.section-directory-actions button:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.section-directory-actions button:disabled { opacity: .6; }
.section.compact-section { padding: 0; margin-block: 12px; background: transparent; color: var(--ink); }
.compact-section:last-child { margin-bottom: 40px; }
.compact-shell { min-width: 0; }
.section-disclosure { border: 1px solid var(--line); border-radius: 18px; background: white; }
.section-disclosure[open] { border-color: #c9afbd; }
.section-summary { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 44px; gap: 20px; align-items: center; min-height: 112px; padding: 22px 28px; border-radius: 18px; scroll-margin-top: calc(var(--header-height) + 16px); }
.section-summary:hover { background: #faf5f8; }
.section-summary:focus-visible { outline-offset: 3px; }
.section-disclosure[open] > .section-summary { border-radius: 18px 18px 0 0; background: #fcf8fa; }
.section-index { color: var(--accent); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.section-summary-copy { min-width: 0; }
.section-summary h2 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; letter-spacing: -.025em; }
.section-summary-description { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.section-summary-meta { color: var(--accent); font-size: 12px; white-space: nowrap; }
.section-summary-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; }
.section-summary-toggle .icon { width: 20px; height: 20px; transition: transform .2s; }
.section-disclosure[open] > .section-summary .section-summary-toggle { color: var(--accent); border-color: #d2a6ba; }
.section-disclosure[open] > .section-summary .section-summary-toggle .icon { transform: rotate(45deg); }
.section-body { padding: 32px; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; }
.section-body > .container { width: 100%; min-width: 0; }
.section-body .section-heading h2, .section-body > .container > h2 { font-size: clamp(27px, 3.4vw, 42px); }
.section-body .section-heading { margin-bottom: 28px; }
.section-collapse { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; margin: 28px auto 0; color: var(--accent); font-size: 13px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.section-collapse .icon { transform: rotate(180deg); width: 17px; height: 17px; }
.section-collapse:hover { border-color: var(--accent); }
.compact-section .faq-heading { position: static; }
.compact-section.enroll .section-body { background: var(--ink); color: white; }
.compact-section.enroll .section-collapse { color: var(--ink); }
.compact-section .assistant-lab-top { padding-inline: 24px; }
@media (max-width: 1023px) {
  .hero .hero-grid, .hero .hero-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .section-summary { grid-template-columns: 24px minmax(0, 1fr) 44px; gap: 16px; padding: 22px; }
  .section-summary-meta { display: none; }
  .section-body { padding: 26px; }
}
@media (max-width: 767px) {
  .hero { min-height: 0; padding-block: 26px; }
  .hero .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero .hero-video-visual { max-width: none; justify-self: stretch; }
  .hero .hero-intro { font-size: 17px; }
  .hero .hero-notes { grid-template-columns: minmax(0, 1fr); margin-top: 22px; gap: 10px; }
  .hero .hero-video-caption { max-width: none; font-size: 13px; }
  .section-directory { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 28px 12px; }
  .section-directory-actions { width: 100%; }
  .section-directory-actions button { flex: 1; }
  .section.compact-section { margin-block: 10px; }
  .section-disclosure, .section-summary { border-radius: 14px; }
  .section-summary { grid-template-columns: minmax(0,1fr) 36px; gap: 12px; min-height: 122px; padding: 18px; }
  .section-index { display: none; }
  .section-summary h2 { font-size: 21px; }
  .section-summary-description { font-size: 13px; line-height: 1.55; margin-top: 7px; }
  .section-summary-toggle { width: 36px; height: 36px; }
  .section-disclosure[open] > .section-summary { border-radius: 14px 14px 0 0; }
  .section-body { padding: 24px 14px; border-radius: 0 0 14px 14px; }
  .section-body .section-heading { gap: 16px; }
  .section-body .section-intro { font-size: 16px; }
  .section-body .course-card { padding: 22px 18px; }
  .section-body .course-footer .button { padding-inline: 10px; font-size: 13px; }
  .section-body .assistant-lab-top { padding-inline: 16px; }
  .section-body .assistant-capabilities { padding-inline: 14px; }
  .section-body .assistant-scenarios { padding-inline: 12px; }
  .section-body .assistant-demo { padding-inline: 10px; }
  .section-body .assistant-chat-header { padding-inline: 12px; gap: 8px; }
  .section-body .assistant-avatar { width: 34px; height: 34px; }
  .section-body .assistant-chat-header strong { font-size: 14px; }
  .section-body .assistant-conversation { padding-inline: 10px; }
  .section-body .download-choice { padding: 18px; }
  .compact-section:last-child { margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .section-summary-toggle .icon { transition: none; }
}

.program-example { margin-top: 30px; border: 1px solid var(--line); border-radius: 16px; background: white; scroll-margin-top: calc(var(--header-height) + 18px); }
.program-example > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; min-height: 92px; border-radius: 16px; }
.program-example > summary:hover { background: #faf5f8; }
.program-example > summary .mini-label { color: var(--accent); font-size: 11px; }
.program-example > summary h3 { margin-top: 7px; font-size: 23px; line-height: 1.3; }
.program-example > summary > .icon { color: var(--accent); width: 22px; height: 22px; flex-shrink: 0; }
.program-example[open] > summary > .icon { transform: rotate(45deg); }
.program-example-body { padding: 0 20px 24px; }
.program-example-body > .container { width: 100%; }
.program-example-intro { max-width: 740px; margin-bottom: 22px; color: var(--muted); font-size: 16px; line-height: 1.65; }
@media (max-width: 767px) {
  .program-example > summary { padding: 18px 16px; }
  .program-example > summary h3 { font-size: 21px; }
  .program-example-body { padding: 0 8px 20px; }
  .program-example-intro { padding-inline: 8px; font-size: 15px; }
  .program-example .example-footer .button { width: 100%; font-size: 12px; white-space: normal; padding-inline: 10px; }
}

/* Clear section interiors and a permanently visible application form. */
#section-summary-document, #section-summary-faq { min-height: 88px; }

#section-summary-document h2 { white-space: nowrap; }
#section-body-document .credential-summary { grid-template-columns: minmax(0, 1fr); gap: 22px; }
#section-body-document .credential-summary h2 { max-width: none; text-wrap: initial; font-size: clamp(23px, 2.6vw, 36px); }
#section-body-document .credential-summary > div:last-child { max-width: 920px; }
#section-body-learning .learning-steps { margin-top: 24px; }
.application { scroll-margin-top: calc(var(--header-height) + 16px); padding-block: 40px 64px; }
.application-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; padding: 40px; background: var(--soft); border-radius: 24px; }
.application-intro h2 { font-size: clamp(30px, 3.5vw, 46px); }
.application-intro p { margin-top: 22px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.application #enroll-form { min-width: 0; padding: 28px; border: 1px solid var(--line); }
.application .form-heading { margin-bottom: 20px; }
.application .form-heading h3 { font-size: 24px; }
.application .form-note { font-size: 13px; text-align: left; }
.application .form-status { font-size: 14px; }
.application .form-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (max-width: 1023px) {

  .application-grid { gap: 28px; padding: 28px; }
}
@media (max-width: 767px) {
  #section-summary-document, #section-summary-faq { min-height: 76px; }
  #section-summary-document h2 { font-size: clamp(17px, 4.6vw, 21px); letter-spacing: -.04em; }

  .application { padding-block: 28px 40px; }
  .application-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px 16px; border-radius: 16px; }
  .application-intro p { margin-top: 16px; font-size: 15px; }
  .application #enroll-form { padding: 20px 16px; border-radius: 12px; }
  .application #enroll-form .button { width: 100%; }
}

/* Expert information and the platform preview. */

.experts-intro { margin-block: 0 24px; }
.experts-carousel { position: relative; }
.experts-carousel > .carousel-button { position: absolute; top: calc(50% - 8px); transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; min-height: 44px; background: white; box-shadow: 0 4px 16px #2a2d5014; }
.experts-carousel > #experts-prev { left: -22px; }
.experts-carousel > #experts-next { right: -22px; }
.experts-carousel > #experts-prev .icon { transform: rotate(180deg); }
.experts-carousel > .carousel-button:disabled { background: #f6f8fa; }
.expert-info-trigger { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d3d5e0; border-radius: 50%; background: #ffffffed; color: var(--ink); }
.expert-info-trigger span { font: 600 23px/1 Georgia, serif; }
.expert-info-trigger:hover, .expert-info-trigger[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); background: white; }
.expert-tooltip { position: absolute; inset: 0; z-index: 1; background: #fffffff5; padding: 64px 20px 20px; overflow: auto; overscroll-behavior: contain; }
.expert-tooltip p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.expert-info .expert-topics { margin-top: 18px; }
#section-body-document .credential-summary h2 { font-weight: 400; line-height: 1.35; max-width: 1050px; }
#section-body-document .credential-summary h2 strong { font-weight: 700; color: var(--ink); }
#section-body-document .text-link { color: var(--ink); }
.credential-program-name { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 24px; }
.credential-program-name > span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.learning-preview { margin-top: 32px; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }
.learning-preview-heading h3 { font-size: clamp(24px, 2.6vw, 32px); }
.learning-preview-heading p { margin-top: 12px; font-size: 16px; color: var(--muted); }
.platform-tabs { display: flex; gap: 8px; margin-block: 24px 18px; }
.platform-tabs [role="tab"] { flex: 1; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: white; font-size: 14px; }
.platform-tabs [aria-selected="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.platform-window { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.platform-window-bar { display: flex; align-items: center; gap: 16px; padding: 16px 20px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.platform-window-dots { color: #c1c4d3; font-size: 9px; letter-spacing: 3px; }
.platform-preview-label { margin-left: auto; font-size: 11px; }
.platform-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; padding: 28px; align-items: center; }
.platform-panel[hidden] { display: none; }
.platform-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 12px; padding: 24px; overflow: hidden; }
.platform-video-preview { background: radial-gradient(circle at 25% 25%,#dce5fa,transparent 55%), linear-gradient(140deg,#f9e3ed,#e9edf5); }
.platform-play { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ink); color: white; }
.platform-play .icon { width: 28px; height: 28px; margin-left: 4px; }
.platform-video-line { position: absolute; left: 20px; right: 20px; bottom: 22px; height: 4px; background: #ffffffbd; border-radius: 4px; }
.platform-video-line span { display: block; width: 38%; height: 100%; background: var(--accent); border-radius: 4px; }
.platform-video-duration { position: absolute; top: 16px; right: 16px; color: var(--ink); font-size: 12px; }
.platform-copy > span { font-size: 12px; color: var(--accent); }
.platform-copy h4 { font-size: 25px; line-height: 1.3; margin-top: 10px; }
.platform-copy p { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.platform-reading-preview { background: #edf0f7; }
.platform-page, .platform-task { width: 100%; padding: 20px; background: white; border-radius: 9px; box-shadow: 0 8px 20px #2a2d500a; }
.platform-page strong, .platform-task strong { display: block; font-size: 15px; line-height: 1.5; }
.platform-page > span { display: block; margin-block: 8px 16px; font-size: 11px; color: var(--muted); }
.platform-page i { display: block; height: 5px; margin-block: 7px; background: #e1e5ee; border-radius: 4px; }
.platform-page i:nth-of-type(2) { width: 85%; }
.platform-page div { margin-top: 14px; padding: 10px; background: var(--soft); font-size: 11px; line-height: 1.5; }
.platform-practice-preview { background: #f5eaf0; }
.platform-task > span { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-top: 14px; }
.platform-task b { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: var(--soft); color: var(--accent); font-size: 11px; }
@media (max-width: 1023px) {

  .platform-panel { gap: 22px; padding: 22px; }
  .platform-copy h4 { font-size: 22px; }
}
@media (max-width: 767px) {

  .experts-carousel > .carousel-button { width: 40px; height: 40px; min-height: 40px; }
  .experts-carousel > #experts-prev { left: -12px; }
  .experts-carousel > #experts-next { right: -12px; }
  .expert-tooltip { padding: 60px 18px 18px; }
  .expert-tooltip p { font-size: 14px; }
  .learning-preview { padding: 20px 14px; }
  .learning-preview-heading p { font-size: 15px; }
  .platform-tabs { gap: 6px; }
  .platform-tabs [role="tab"] { padding-inline: 7px; font-size: 12px; }
  .platform-window-bar { padding: 12px; gap: 8px; }
  .platform-window-dots { display: none; }
  .platform-panel { grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 20px; }
  .platform-visual { padding: 16px; }
  .platform-reading-preview, .platform-practice-preview { aspect-ratio: auto; min-height: 260px; }
  .platform-page, .platform-task { padding: 14px; }
  .platform-copy h4 { font-size: 22px; }
}

@media (max-width: 379px) {
  .platform-tabs { display: grid; grid-template-columns: minmax(0, 1fr); }
  .platform-tabs [role="tab"] { font-size: 13px; }
}
