/* Editorial program guides. Intentionally independent of enrollment-page styles. */
.program-guide {
  --pg-bg: #ffffff;
  --pg-soft: #f8f9fa;
  --pg-ink: #13132b;
  --pg-body: #3a3a52;
  --pg-muted: #62657a;
  --pg-line: #eaeaea;
  --pg-accent: #4f46e5;
  margin: 0;
  background: var(--pg-bg);
  color: var(--pg-ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.program-guide *, .program-guide *::before, .program-guide *::after { box-sizing: border-box; }
.program-guide img { display: block; max-width: 100%; height: auto; }
.program-guide a { color: var(--pg-accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.program-guide a:hover { text-decoration-thickness: 2px; }
.program-guide :where(a, summary, button):focus-visible { outline: 3px solid var(--pg-accent); outline-offset: 5px; }
.program-guide :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; }
.program-guide :where(h1, h2, h3) { color: var(--pg-ink); text-wrap: balance; }
.program-guide h1 { max-width: 950px; font-size: clamp(2.45rem, 5.8vw, 4.75rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.program-guide h2 { font-size: clamp(1.65rem, 3.3vw, 2.3rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 750; }
.program-guide h3 { font-size: 1.15rem; line-height: 1.4; letter-spacing: -.018em; font-weight: 750; }
.program-guide :where(p, li) { color: var(--pg-body); }
.program-guide strong { color: var(--pg-ink); }
.program-guide :where(section, h2, h3, [id]) { scroll-margin-top: 32px; }
.pg-wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.pg-skip { position: absolute; z-index: 100; top: -120px; left: 16px; background: #fff; padding: 12px 18px; }
.pg-skip:focus { top: 12px; }
.pg-header { border-bottom: 1px solid var(--pg-line); background: #fff; }
.pg-nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 94px; padding-block: 18px; }
.pg-brand { color: var(--pg-ink) !important; text-decoration: none; font-size: 1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.25; }
.pg-brand span { color: var(--pg-accent); }
.pg-brand small { display: block; margin-top: 5px; color: var(--pg-muted); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pg-navlinks { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.pg-navlinks a { color: var(--pg-body); font-size: .78rem; font-weight: 700; text-decoration: none; }
.pg-navlinks a:hover, .pg-navlinks a[aria-current='page'] { color: var(--pg-accent); text-decoration: underline; }
.pg-hero { padding-block: 70px 64px; background: var(--pg-soft); border-bottom: 1px solid var(--pg-line); }
.pg-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .7rem; color: var(--pg-muted); margin-bottom: 42px; }
.pg-breadcrumb a { color: var(--pg-muted); }
.pg-kicker { display: block; color: var(--pg-accent); font-family: 'Archivo', 'Plus Jakarta Sans', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 17px; }
.pg-lede { margin-top: 26px !important; font-size: clamp(1.1rem, 1.7vw, 1.25rem); max-width: 740px; line-height: 1.7; }
.pg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 26px; margin-top: 30px; border-top: 1px solid #dedfe5; color: var(--pg-muted); font-size: .73rem; }
.pg-meta a { color: var(--pg-ink); font-weight: 700; }
.pg-layout { display: grid; grid-template-columns: 220px minmax(0, 790px); justify-content: space-between; gap: 64px; padding-block: 64px 90px; }
.pg-toc { align-self: start; font-size: .78rem; line-height: 1.6; }
.pg-toc-label { display: block; color: var(--pg-muted); margin-bottom: 20px; font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.pg-toc ol { list-style: none; padding: 0; border-top: 1px solid var(--pg-line); counter-reset: chapters; }
.pg-toc li { counter-increment: chapters; border-bottom: 1px solid var(--pg-line); }
.pg-toc a { display: grid; grid-template-columns: 20px 1fr; gap: 8px; padding: 14px 0; color: var(--pg-body); text-decoration: none; }
.pg-toc a::before { content: counter(chapters, decimal-leading-zero); font-size: .63rem; color: var(--pg-accent); padding-top: 3px; }
.pg-toc a:hover { color: var(--pg-accent); text-decoration: underline; }
.pg-content { min-width: 0; }
.pg-prose > section + section { margin-top: 64px; padding-top: 50px; border-top: 1px solid var(--pg-line); }
.pg-prose :where(h2) { margin-bottom: 25px; }
.pg-prose > h2:not(:first-child) { margin-top: 64px; padding-top: 50px; border-top: 1px solid var(--pg-line); }
.pg-prose h3 { margin-top: 30px; margin-bottom: 13px; }
.pg-prose :where(p, ul, ol, table) + p { margin-top: 20px; }
.pg-prose :where(ul, ol) { margin-block: 20px; padding-left: 24px; }
.pg-prose li + li { margin-top: 10px; }
.pg-prose li::marker { color: var(--pg-accent); }
.pg-prose blockquote { border-left: 2px solid var(--pg-accent); padding-left: 24px; margin-block: 28px; }
.pg-prose blockquote p { font-family: 'Spectral', Georgia, serif; font-size: 1.45rem; color: var(--pg-ink); }
.pg-prose details { padding-block: 22px; border-top: 1px solid var(--pg-line); }
.pg-prose details:last-child { border-bottom: 1px solid var(--pg-line); }
.pg-prose summary { padding-right: 30px; cursor: pointer; color: var(--pg-ink); font-weight: 700; line-height: 1.6; }
.pg-prose details p { margin-top: 15px; font-size: .94rem; }
.pg-summary { margin-bottom: 42px; padding: 24px 28px; background: #f4f3ff; border-left: 3px solid var(--pg-accent); }
.pg-source-note { margin-top: 42px !important; padding-top: 22px; border-top: 1px solid var(--pg-line); font-size: .75rem; color: var(--pg-muted) !important; }
.pg-related li p { font-size: .8rem; margin-top: 4px; }
.pg-section + .pg-section { margin-top: 64px; padding-top: 50px; border-top: 1px solid var(--pg-line); }
.pg-section > h2 { margin-bottom: 25px; }
.pg-section > p + p, .pg-prose > p + p { margin-top: 20px; }
.pg-section :where(ul, ol):not(.pg-cards):not(.pg-steps) { margin-top: 20px; padding-left: 24px; }
.pg-section li + li { margin-top: 10px; }
.pg-section li::marker { color: var(--pg-accent); }
.pg-section :where(ul, ol) + p { margin-top: 24px; }
.pg-section > h3 { margin-top: 30px; margin-bottom: 13px; }
.pg-section p { max-width: 73ch; }
.pg-section .pg-note { margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--pg-accent); background: #f4f3ff; font-size: .93rem; }
.pg-section .pg-note p { color: var(--pg-body); }
.pg-quote { border-left: 2px solid var(--pg-accent); padding-left: 25px; margin-block: 32px !important; }
.pg-quote p { font-family: 'Spectral', Georgia, serif; font-size: 1.5rem; line-height: 1.45; color: var(--pg-ink); }
.pg-quote cite { display: block; margin-top: 14px; color: var(--pg-muted); font-size: .73rem; font-style: normal; }
.pg-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 30px; }
.pg-card { padding: 28px; border: 1px solid var(--pg-line); border-radius: 8px; background: #fff; }
.pg-card h3 { margin-bottom: 16px; }
.pg-card p { font-size: .91rem; }
.pg-card p + p { margin-top: 14px; }
.pg-card .pg-card-link { display: inline-block; margin-top: 23px; font-size: .81rem; font-weight: 700; }
.pg-card .pg-kicker { font-size: .6rem; }
.pg-steps { list-style: none; padding: 0; margin-top: 28px; counter-reset: steps; }
.pg-step { counter-increment: steps; display: grid; grid-template-columns: 44px 1fr; column-gap: 22px; padding-block: 27px; border-top: 1px solid var(--pg-line); }
.pg-step:last-child { border-bottom: 1px solid var(--pg-line); }
.pg-step::before { content: counter(steps, decimal-leading-zero); font: 500 2.1rem/1 'Spectral', Georgia, serif; color: var(--pg-accent); }
.pg-step h3 { margin-bottom: 12px; }
.pg-step p + p { margin-top: 14px; }
.pg-step .pg-output { font-size: .85rem; padding-top: 13px; border-top: 1px solid var(--pg-line); margin-top: 20px; }
.pg-table-wrap { margin-top: 28px; max-width: 100%; overflow-x: auto; border: 1px solid var(--pg-line); border-radius: 8px; }
.pg-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .85rem; line-height: 1.65; }
.pg-table caption { text-align: left; padding: 18px 20px; font-weight: 700; color: var(--pg-ink); }
.pg-table :where(th, td) { padding: 18px 20px; vertical-align: top; border-bottom: 1px solid var(--pg-line); }
.pg-table th { color: var(--pg-ink); font-weight: 750; }
.pg-table thead { background: var(--pg-soft); }
.pg-table td { color: var(--pg-body); }
.pg-table tbody tr:last-child > * { border-bottom: 0; }
.pg-table th:first-child { width: 24%; }
.pg-faq { margin-top: 30px; }
.pg-faq details { padding-block: 22px; border-top: 1px solid var(--pg-line); }
.pg-faq details:last-child { border-bottom: 1px solid var(--pg-line); }
.pg-faq summary { position: relative; padding-right: 36px; list-style: none; cursor: pointer; color: var(--pg-ink); font-size: 1rem; font-weight: 700; line-height: 1.6; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; position: absolute; right: 0; top: -3px; font-size: 1.5rem; font-weight: 500; color: var(--pg-accent); }
.pg-faq details[open] summary::after { content: '−'; }
.pg-faq details p { margin-top: 15px; font-size: .94rem; }
.pg-related { margin-top: 65px; padding-top: 42px; border-top: 1px solid var(--pg-line); }
.pg-related h2 { font-size: 1.35rem; margin-bottom: 19px; }
.pg-related ul { list-style: none; padding: 0; margin: 0; }
.pg-related li + li { margin-top: 12px; }
.pg-related a { font-size: .91rem; }
.pg-cta { margin-top: 50px; padding: 32px; background: var(--pg-soft); border: 1px solid var(--pg-line); border-radius: 8px; }
.pg-cta h2 { font-size: 1.65rem; margin-bottom: 15px; }
.pg-cta p { font-size: .94rem; }
.pg-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 24px; padding: 13px 22px; border: 1px solid var(--pg-ink); border-radius: 4px; background: var(--pg-ink); color: #fff !important; font-size: .84rem; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center; }
.pg-button:hover { background: #303047; text-decoration: none !important; }
.pg-footer { padding-block: 38px; border-top: 1px solid var(--pg-line); background: var(--pg-soft); }
.pg-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.pg-footer p { font-size: .72rem; color: var(--pg-muted); }
.pg-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pg-footer a { color: var(--pg-body); font-size: .72rem; }
.pg-hero-image { margin-top: 35px; }
.pg-hero-image img { width: 100%; max-height: 470px; object-fit: cover; border-radius: 8px; }
.pg-hero-image figcaption { padding-top: 10px; font-size: .7rem; color: var(--pg-muted); }
@media (min-width: 1000px) { .pg-toc { position: sticky; top: 28px; } }
@media (max-width: 1000px) {
  .pg-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 38px; }
  .pg-navlinks { gap: 18px; }
}
@media (max-width: 760px) {
  .program-guide { font-size: 16px; }
  .pg-wrap { width: min(100% - 40px, 720px); }
  .pg-nav { display: block; min-height: 0; padding-block: 21px; }
  .pg-navlinks { gap: 10px 20px; margin-top: 20px; }
  .pg-navlinks a { font-size: .74rem; }
  .pg-hero { padding-block: 35px 42px; }
  .pg-breadcrumb { margin-bottom: 32px; }
  .pg-lede { margin-top: 22px !important; }
  .pg-layout { display: block; padding-block: 35px 58px; }
  .pg-toc { margin-bottom: 45px; }
  .pg-toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .pg-toc a { padding-block: 12px; }
  .pg-section + .pg-section { margin-top: 43px; padding-top: 35px; }
  .pg-prose > section + section, .pg-prose > h2:not(:first-child) { margin-top: 43px; padding-top: 35px; }
  .pg-cards { grid-template-columns: 1fr; }
  .pg-card { padding: 24px; }
  .pg-step { grid-template-columns: 30px 1fr; column-gap: 15px; }
  .pg-step::before { font-size: 1.75rem; }
  .pg-table { min-width: 610px; }
  .pg-table :where(th, td) { padding: 15px; }
  .pg-cta { padding: 25px; }
  .pg-meta { gap: 6px 16px; }
}
@media (max-width: 390px) {
  .pg-wrap { width: calc(100% - 32px); }
  .pg-toc ol { grid-template-columns: 1fr; }
}
@media print {
  .program-guide { font-size: 11pt; }
  .pg-header, .pg-toc, .pg-footer, .pg-cta, .pg-related { display: none; }
  .pg-hero { padding: 0 0 25px; background: #fff; }
  .program-guide h1 { font-size: 30pt; }
  .pg-layout { display: block; padding: 25px 0; }
  .pg-section { break-inside: avoid; }
  .pg-faq details > * { display: block; }
}
