/* StudyCore: five concise, screenshot-led chapters. */
.sc-page { --sc-tint: #e8ece4; }
.sc-page main { min-width: 0; }
.sc-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); align-items: center; gap: 56px; padding-top: 54px; padding-bottom: 64px; }
.sc-hero h1 { font-size: clamp(3.75rem, 5.6vw, 5.5rem); line-height: 1.04; margin: 22px 0 28px; }
.sc-hero h1 span { color: var(--accent); }
.sc-hero .label { font-size: .75rem; line-height: 1.8; }
.sc-hero-description { min-width: 0; max-width: 540px; }
.sc-hero-description p { font-size: 1.125rem; line-height: 1.9; margin: 0; }
.sc-hero-copy .underlined { font-size: .875rem; margin-top: 10px; }
.sc-contents { display: flex; align-items: center; gap: 30px; padding: 18px 60px; overflow-x: auto; background: #f4f2ecf5; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; scrollbar-width: thin; }
.sc-contents a { flex-shrink: 0; font-size: .8125rem; line-height: 1.6; border-bottom: 1px solid transparent; padding: 3px 0; }
.sc-contents a:hover, .sc-contents a[aria-current="location"] { color: var(--accent); border-color: var(--accent); }
.sc-chapter { padding-top: 64px; padding-bottom: 64px; scroll-margin-top: 70px; }
.sc-chapter h2 { font-size: clamp(2.7rem, 4.2vw, 3.75rem); line-height: 1.12; margin: 0 0 20px; }
.sc-section-intro { font-size: 1rem; line-height: 1.9; max-width: 780px; margin: 0; }
.sc-demo-note { font-size: .875rem; line-height: 1.8; margin: 18px 0 0; }
.sc-tinted { background: var(--sc-tint); }
.sc-feature-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 30px; margin-top: 30px; }
.sc-finance-gallery > :first-child, .sc-study-gallery > :last-child, .sc-social-gallery > :first-child { grid-column: 1 / -1; }
.sc-figure { min-width: 0; margin: 0; }
.sc-image-link { display: block; position: relative; background: #fff; border: 1px solid #d7dbd2; cursor: zoom-in; transition: box-shadow .25s, transform .25s; }
.sc-image-link:hover { box-shadow: 0 12px 28px #293e2c15; transform: translateY(-3px); }
.sc-image-viewport { display: block; overflow: hidden; }
.sc-image-viewport img { display: block; width: 100%; height: auto; }
.sc-enlarge { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; background: #f4f2eced; color: var(--ink); border: 1px solid #d7dbd2; opacity: 0; transition: opacity .2s; pointer-events: none; }
.sc-enlarge svg { width: 20px; height: 20px; }
.sc-image-link:hover .sc-enlarge, .sc-image-link:focus-visible .sc-enlarge { opacity: 1; }
.sc-figure figcaption { padding-top: 12px; font-size: .875rem; line-height: 1.7; color: var(--muted); }
.sc-figure figcaption strong { display: block; font-weight: 500; color: var(--ink); }
.sc-figure figcaption [hidden] { display: none; }
.sc-trim-tasks .sc-image-viewport { aspect-ratio: 2216 / 1450; }
.sc-trim-browser .sc-image-viewport { aspect-ratio: 2222 / 1608; }
.sc-reflection { background: #283d31; color: var(--paper); }
.sc-starr { max-width: 820px; }
.sc-starr p { font-size: 1rem; color: #d0dacb; line-height: 1.9; margin-bottom: 16px; }
.sc-starr strong { color: var(--paper); font-weight: 500; }
.sc-next { margin-top: 30px; }
.sc-next .underlined { font-size: .875rem; border-color: #9cad94; }
.sc-next .underlined:hover { color: #d4e3c6; }
.sc-figure.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.sc-figure.reveal-ready.is-visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
 .sc-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
 .sc-hero h1 { font-size: 4rem; }
 .sc-contents { padding-left: 35px; padding-right: 35px; }
}
@media (max-width: 760px) {
 .sc-hero { grid-template-columns: 1fr; padding-top: 35px; padding-bottom: 40px; gap: 32px; }
 .sc-hero h1 { font-size: clamp(3.5rem, 11vw, 4.75rem); }
 .sc-contents { padding: 14px 22px; gap: 24px; }
 .sc-chapter { padding-top: 45px; padding-bottom: 45px; scroll-margin-top: 64px; }
 .sc-chapter h2 { font-size: clamp(2.3rem, 8vw, 3rem); }
 .sc-feature-gallery { grid-template-columns: 1fr; gap: 28px; margin-top: 25px; }
 .sc-enlarge { opacity: 1; width: 30px; height: 30px; right: 7px; top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
 .sc-figure.reveal-ready { opacity: 1; transform: none; transition: none; }
 .sc-image-link:hover { transform: none; }
}
