:root {
  --ink: #171716;
  --muted: #696964;
  --paper: #ffffff;
  --soft: #f7f5f1;
  --stone: #eceae5;
  --line: #d8d5ce;
  --brand: #edac21;
  --brand-soft: #fff2cf;
  --brand-dark: #9a6500;
  --danger: #b42318;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Quicksand", Arial, sans-serif; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(23,23,22,.1); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 40px; }
.wordmark { display: inline-flex; align-items: baseline; font-family: "Lexend", Arial, sans-serif; font-size: 23px; font-weight: 650; letter-spacing: -.055em; white-space: nowrap; }
.wordmark > span { font-weight: 350; }
.wordmark small { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); font-family: "Quicksand", sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 650; }
.site-header nav a, .header-actions > a:not(.cart-link) { padding: 8px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover, .header-actions > a:not(.cart-link):hover { border-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 650; }
.language-switcher select { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 9px 30px 9px 12px; font-size: 12px; font-weight: 700; cursor: pointer; }
.quiet-link { color: var(--muted); }
.cart-link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; }
.cart-link span { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; }

.hero { min-height: 700px; padding-block: 110px 96px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .55fr); gap: 72px; align-items: end; }
.eyebrow { margin: 0 0 20px; font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1, .section-heading h2, .analysis-cta h2, .detail-hero h1, .page-title { margin: 0; font-family: "Lexend", Arial, sans-serif; font-weight: 430; letter-spacing: -.068em; line-height: .91; }
.hero h1 { max-width: 900px; font-size: clamp(68px, 9vw, 128px); }
.hero h1 em { font-weight: 300; color: var(--brand-dark); }
.hero-lede { max-width: 720px; margin: 34px 0 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.42; }
.button-row { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--brand-soft); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.text-link { font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link span { margin-left: 9px; }
.hero-panel { min-height: 390px; padding: 28px; background: var(--soft); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-panel-number { display: block; margin-bottom: auto; font-family: "Lexend", sans-serif; font-size: 106px; line-height: .8; font-weight: 330; letter-spacing: -.08em; }
.hero-panel > p { max-width: 310px; margin: 40px 0 24px; font-size: 20px; line-height: 1.35; font-weight: 650; }
.hero-includes { padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
.value-strip { background: var(--ink); color: white; }
.value-grid { min-height: 156px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.value-grid > div { display: grid; gap: 8px; padding: 22px 34px; border-left: 1px solid rgba(255,255,255,.18); }
.value-grid > div:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.value-grid strong { font-family: "Lexend", sans-serif; font-size: 19px; font-weight: 480; }
.value-grid span { color: rgba(255,255,255,.68); font-size: 14px; }

.section { padding-block: 112px; }
.section-soft { background: var(--soft); }
.section-heading { margin-bottom: 52px; }
.section-heading h2, .analysis-cta h2 { font-size: clamp(48px, 6vw, 82px); }
.split-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; }
.split-heading > p { margin: 0 0 5px; max-width: 490px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bundle-card { position: relative; min-height: 520px; padding: 34px; background: var(--stone); display: flex; flex-direction: column; overflow: hidden; }
.bundle-card h3 { max-width: 390px; margin: 8px 0 18px; font-family: "Lexend", sans-serif; font-size: 34px; line-height: 1.03; letter-spacing: -.05em; font-weight: 470; }
.bundle-card > p:not(.eyebrow) { min-height: 72px; margin: 0; color: var(--muted); line-height: 1.5; }
.bundle-card ul { margin: 30px 0; padding: 20px 0 0; border-top: 1px solid rgba(23,23,22,.18); list-style: none; display: grid; gap: 10px; }
.bundle-card li::before { content: "✓"; margin-right: 10px; }
.bundle-index { position: absolute; right: 18px; top: 12px; font-family: "Lexend", sans-serif; font-size: 96px; line-height: 1; font-weight: 300; letter-spacing: -.09em; opacity: .09; }
.bundle-price { margin-top: auto; margin-bottom: 20px; font-family: "Lexend", sans-serif; font-size: 38px; letter-spacing: -.055em; }
.bundle-featured { background: var(--ink); color: #fff; }
.bundle-featured > p:not(.eyebrow), .bundle-featured ul { color: rgba(255,255,255,.68); }
.bundle-featured ul { border-color: rgba(255,255,255,.2); }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 36px; }
.course-card { min-height: 390px; padding: 34px 0 30px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
.course-card-top { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 54px; }
.course-number { font-family: "Lexend", sans-serif; font-size: 32px; letter-spacing: -.06em; }
.course-duration { color: var(--muted); font-size: 13px; }
.course-card .eyebrow { margin-bottom: 11px; color: var(--muted); }
.course-card h3 { max-width: 540px; margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(27px, 3vw, 40px); line-height: 1.06; letter-spacing: -.055em; font-weight: 460; }
.course-card h3 a:hover { color: var(--brand-dark); }
.card-summary { max-width: 570px; margin: 20px 0 34px; color: var(--muted); line-height: 1.55; }
.card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.card-footer > div { display: grid; gap: 4px; }
.card-footer small { color: var(--muted); font-size: 11px; }
.price { font-family: "Lexend", sans-serif; font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.course-card-footer { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.course-card-price { font-size: 15px; color: var(--muted); white-space: nowrap; }
.course-card-price strong { color: var(--ink); font-family: "Lexend", sans-serif; font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.course-card-cta { flex: 0 0 auto; min-width: 150px; text-align: center; }
.round-button { width: 58px; height: 58px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; }
.round-button:hover { background: var(--ink); color: white; }
.analysis-cta { width: min(1240px, calc(100% - 48px)); margin-block: 112px; padding: clamp(40px, 7vw, 92px); background: var(--brand); color: var(--ink); }
.analysis-cta > p:not(.eyebrow) { max-width: 700px; margin: 28px 0 35px; font-size: 19px; line-height: 1.55; }
.analysis-cta .button { border-color: var(--ink); }
.faq-grid { border-top: 1px solid var(--ink); }
.faq-grid details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-grid summary { cursor: pointer; list-style: none; font-family: "Lexend", sans-serif; font-size: 22px; font-weight: 460; }
.faq-grid summary::after { content: "+"; float: right; font-size: 28px; font-weight: 300; }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid details p { max-width: 720px; color: var(--muted); line-height: 1.6; }

.page-shell { min-height: 70vh; padding-block: 80px 120px; }
.page-kicker { margin-bottom: 18px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.page-title { font-size: clamp(58px, 8vw, 108px); }
.notice { padding: 16px 18px; border: 1px solid var(--line); background: var(--soft); line-height: 1.45; }
.notice-error { border-color: #f2b8b5; color: var(--danger); background: #fff5f4; }
.empty-state { margin-top: 48px; padding: 60px 28px; border: 1px solid var(--line); text-align: center; }
.empty-state h2 { margin: 0 0 14px; font-family: "Lexend", sans-serif; font-size: 34px; letter-spacing: -.04em; }
.workbook-ready { border-color: var(--brand); background: var(--brand-soft); }
.workbook-ready p { margin: 0 auto 24px; max-width: 560px; color: #5b430e; line-height: 1.5; }

.detail-hero { padding-block: 92px 78px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .55fr); gap: 80px; align-items: end; }
.detail-hero h1 { font-size: clamp(58px, 8vw, 105px); }
.detail-hero .hero-lede { max-width: 760px; }
.detail-buy { padding: 32px; background: var(--soft); }
.detail-buy .price-large { display: block; margin-bottom: 4px; font-family: "Lexend", sans-serif; font-size: 48px; letter-spacing: -.06em; }
.detail-buy small { color: var(--muted); }
.detail-buy .button { width: 100%; margin-top: 26px; }
.detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; border-top: 1px solid var(--line); }
.detail-meta div { padding: 20px 20px 0 0; }
.detail-meta strong, .detail-meta span { display: block; }
.detail-meta span { color: var(--muted); margin-top: 4px; font-size: 13px; }
.detail-content { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; padding-block: 90px 120px; }
.detail-content h2 { margin: 0 0 26px; font-family: "Lexend", sans-serif; font-size: 38px; letter-spacing: -.05em; font-weight: 470; }
.outcome-list, .curriculum-list { list-style: none; padding: 0; margin: 0; }
.outcome-list { display: grid; gap: 18px; }
.outcome-list li { padding-left: 28px; line-height: 1.5; position: relative; }
.outcome-list li::before { content: "✓"; position: absolute; left: 0; }
.curriculum-list { counter-reset: lessons; border-top: 1px solid var(--ink); }
.curriculum-list li { counter-increment: lessons; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 14px; font-size: 18px; }
.curriculum-list li::before { content: counter(lessons, decimal-leading-zero); color: var(--muted); font-size: 13px; }

.cart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 64px; margin-top: 56px; }
.cart-items { border-top: 1px solid var(--ink); }
.cart-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 22px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-item-index { color: var(--muted); }
.cart-item h3 { margin: 0 0 7px; font-family: "Lexend", sans-serif; font-size: 23px; font-weight: 470; letter-spacing: -.04em; }
.cart-item p { margin: 0; color: var(--muted); font-size: 14px; }
.remove-button { border: 0; background: none; text-decoration: underline; cursor: pointer; color: var(--muted); }
.cart-summary { align-self: start; position: sticky; top: 110px; padding: 30px; background: var(--soft); }
.cart-summary h2 { margin: 0 0 30px; font-family: "Lexend", sans-serif; font-size: 30px; font-weight: 470; }
.cart-total { display: flex; justify-content: space-between; padding-block: 20px; border-block: 1px solid var(--line); font-size: 22px; }
.cart-summary .button { width: 100%; margin-top: 22px; }
.cart-summary > p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.cart-summary .cart-payment-methods { margin: 12px 0 0; text-align: center; }

.library-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.library-card { min-height: 320px; padding: 28px; background: var(--soft); display: flex; flex-direction: column; }
.library-card h2 { margin: 30px 0 14px; font-family: "Lexend", sans-serif; font-size: 28px; line-height: 1.07; letter-spacing: -.05em; font-weight: 470; }
.library-card p { margin: 0; color: var(--muted); line-height: 1.5; }
.library-card .button { margin-top: auto; align-self: flex-start; }
.lesson-layout { display: grid; grid-template-columns: 320px 1fr; min-height: calc(100vh - 82px); }
.lesson-sidebar { padding: 36px 28px; background: var(--ink); color: #fff; }
.lesson-sidebar .wordmark { margin-bottom: 42px; }
.lesson-sidebar h1 { font-family: "Lexend", sans-serif; font-size: 28px; line-height: 1.05; letter-spacing: -.05em; font-weight: 450; }
.lesson-nav { margin-top: 34px; display: grid; gap: 9px; }
.lesson-nav a { padding: 13px 0; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.75); font-size: 14px; }
.lesson-main { padding: 48px clamp(28px, 6vw, 80px) 100px; }
.access-gate-page { min-height: 100vh; padding: 32px; display: grid; place-items: center; background: var(--soft); }
.access-gate-card { width: min(100%, 680px); padding: clamp(30px, 6vw, 64px); border-top: 8px solid var(--brand); background: #fff; box-shadow: 0 20px 60px rgba(23,23,22,.12); }
.access-gate-card .wordmark { display: inline-block; margin-bottom: 54px; }
.access-gate-card h1 { margin: 8px 0 20px; font-family: "Lexend", sans-serif; font-size: clamp(38px, 6vw, 64px); line-height: .96; letter-spacing: -.06em; font-weight: 460; }
.access-gate-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.access-gate-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.course-access-banner { margin: 26px 0 32px; padding: 20px 22px; border-left: 5px solid var(--ink); background: var(--soft); }
.course-access-banner.review { border-color: #b68a22; background: var(--brand-soft); }
.course-access-banner.locked { border-color: #6f6f6b; background: #eeeeeb; }
.course-access-banner strong { display: block; font-family: "Lexend", sans-serif; font-size: 20px; }
.course-access-banner p { margin: 8px 0 10px; color: var(--muted); line-height: 1.5; }
.course-access-banner span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.course-license-note { margin: 0 0 24px; padding: 13px 16px; border-left: 4px solid var(--brand); background: var(--brand-soft); color: #5b430e; font-size: 13px; line-height: 1.45; }
.course-protection-toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; width: min(380px, calc(100% - 44px)); padding: 15px 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; box-shadow: 0 12px 36px rgba(23,23,22,.24); font-size: 14px; line-height: 1.45; }
.media-frame { background: #090909; aspect-ratio: 16/9; display: grid; place-items: center; }
.media-frame video { width: 100%; height: 100%; }
.protected-video-wrap { position: relative; }
.activity-xp-badge { margin: 0; padding: 12px 16px; background: #e8f6e9; color: #2d6b3a; font-weight: 800; text-align: center; }
.lesson-assets { margin-top: 40px; border-top: 1px solid var(--ink); }
.lesson-asset { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.interactive-workbook { margin-top: 72px; border: 1px solid var(--ink); scroll-margin-top: 24px; background: var(--soft); }
.workbook-app-header { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: clamp(22px, 4vw, 48px); background: var(--ink); color: #fff; }
.workbook-app-header::after { content: ""; position: absolute; right: 8%; bottom: -110px; width: 82px; height: 280px; background: var(--brand); transform: rotate(14deg); opacity: .95; pointer-events: none; }
.workbook-app-header > * { position: relative; z-index: 1; }
.workbook-cover-number { color: var(--brand); font-family: "Lexend", sans-serif; font-size: clamp(54px, 7vw, 92px); line-height: .8; letter-spacing: -.08em; font-weight: 560; }
.workbook-app-header h2 { max-width: 780px; margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(38px, 5vw, 66px); line-height: .96; letter-spacing: -.06em; font-weight: 450; }
.workbook-app-header > div:nth-child(2) > p:last-child { max-width: 720px; margin: 22px 0 0; color: rgba(255,255,255,.68); line-height: 1.55; }
.workbook-save-state { align-self: start; min-width: 110px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.24); background: rgba(23,23,22,.86); color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; text-align: center; }
.workbook-save-state.saving { color: var(--brand); }
.workbook-save-state.error { color: #ffb4ab; }
.workbook-save-state.readonly { color: var(--brand); }
.workbook-readonly-notice { margin: 0; padding: 16px clamp(28px, 5vw, 56px); border-bottom: 1px solid var(--ink); background: var(--brand-soft); color: #5b430e; font-weight: 700; line-height: 1.5; }
.workbook-section-tabs { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--ink); background: #fff; }
.workbook-section-tabs button { min-width: 0; min-height: 84px; padding: 13px 10px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; align-content: center; gap: 7px; text-align: left; cursor: pointer; font: inherit; font-size: 12px; }
.workbook-section-tabs button:last-child { border-right: 0; }
.workbook-section-tabs button span { font-family: "Lexend", sans-serif; font-size: 18px; color: var(--ink); }
.workbook-section-tabs button.visited { background: var(--brand-soft); }
.workbook-section-tabs button.active { background: var(--brand); color: var(--ink); }
.workbook-mobile-progress { display: none; }
.workbook-form-card { min-height: 650px; padding: clamp(28px, 5vw, 58px); background: #fff; }
.workbook-panel > h3, .workbook-title-row h3 { max-width: 840px; margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(34px, 4.5vw, 58px); line-height: 1; letter-spacing: -.055em; font-weight: 450; }
.workbook-panel > p:not(.eyebrow), .workbook-title-row > div > p:last-child { max-width: 760px; margin: 18px 0 34px; color: var(--muted); line-height: 1.55; }
.workbook-section-banner { position: relative; overflow: hidden; margin: calc(clamp(28px, 5vw, 58px) * -1) calc(clamp(28px, 5vw, 58px) * -1) 50px; padding: clamp(32px, 5vw, 64px); border-left: 12px solid var(--brand); background: var(--soft); }
.workbook-section-banner::after { content: ""; position: absolute; right: 7%; bottom: -90px; width: 48px; height: 220px; background: var(--brand); transform: rotate(14deg); opacity: .9; }
.workbook-section-banner > * { position: relative; z-index: 1; }
.workbook-section-banner > span { display: block; margin-bottom: 36px; font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.workbook-section-banner h3 { max-width: 820px; margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(36px, 5vw, 62px); line-height: .96; letter-spacing: -.055em; font-weight: 460; }
.workbook-section-banner > p:last-child { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.workbook-section-banner.compact { margin-bottom: 32px; }
.workbook-start-copy { max-width: 800px; margin-bottom: 30px; }
.workbook-start-copy h4 { margin: 0 0 10px; font-family: "Lexend", sans-serif; font-size: 28px; letter-spacing: -.04em; }
.workbook-start-copy p { margin: 0; color: var(--muted); line-height: 1.6; }
.workbook-method-grid { margin-bottom: 34px; border-top: 1px solid var(--ink); }
.workbook-method-grid article { display: grid; grid-template-columns: 58px 130px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 68px; border-bottom: 1px solid var(--line); }
.workbook-method-grid article > span { color: #b57a00; font-weight: 850; }
.workbook-method-grid article > strong { font-family: "Lexend", sans-serif; font-size: 20px; text-transform: uppercase; }
.workbook-method-grid article > p { margin: 0; color: var(--muted); }
.workbook-course-brief { display: grid; grid-template-columns: .7fr 1.3fr; gap: 18px; margin-bottom: 30px; }
.workbook-course-brief > div { padding: 24px; border: 1px solid var(--line); background: var(--soft); }
.workbook-course-brief span { display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.workbook-course-brief ul { margin: 0; padding-left: 20px; line-height: 1.55; }
.workbook-field, .workbook-plan label { display: grid; gap: 8px; font-size: 13px; font-weight: 750; }
.workbook-field textarea, .workbook-plan textarea, .workbook-plan input { width: 100%; border: 1px solid var(--line); background: #fff; padding: 14px; font: inherit; line-height: 1.5; }
.workbook-field textarea:focus, .workbook-plan textarea:focus, .workbook-plan input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--ink); }
.workbook-field textarea:read-only, .workbook-plan textarea:read-only, .workbook-plan input:read-only { background: #f2f2ef; color: var(--muted); cursor: default; }
.workbook-field textarea { min-height: 120px; resize: vertical; }
.workbook-goal { padding: 22px; border-left: 5px solid var(--brand); background: var(--soft); }
.workbook-title-row { display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.workbook-reviewed-count { flex: 0 0 auto; min-width: 150px; padding: 18px; border: 1px solid var(--ink); background: var(--brand); font-family: "Lexend", sans-serif; font-size: 22px; text-align: center; }
.workbook-reviewed-count > span { font-size: 34px; }
.workbook-reviewed-count small { display: block; margin-top: 4px; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.workbook-lesson-notes { display: grid; gap: 14px; }
.workbook-lesson-note { padding: 22px; border: 1px solid var(--line); display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; background: var(--soft); transition: border-color .2s, background .2s; }
.workbook-lesson-note.checked { border-color: #8b6710; background: var(--brand-soft); }
.workbook-lesson-note .workbook-step-number { grid-row: 1 / 3; font-family: "Lexend", sans-serif; font-size: 26px; }
.workbook-lesson-copy { min-width: 0; }
.workbook-lesson-copy > p:first-child { margin: 0 0 5px; color: #9a6a00; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.workbook-lesson-copy h4 { margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(20px, 2.7vw, 30px); line-height: 1.1; letter-spacing: -.035em; }
.workbook-lesson-copy h4 + p { margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.workbook-lesson-copy small { display: block; margin-top: 10px; color: var(--muted); line-height: 1.5; }
.workbook-lesson-check { grid-column: 2; display: inline-flex; align-items: center; gap: 9px; width: fit-content; cursor: pointer; font-size: 12px; }
.workbook-lesson-check input, .workbook-checklist input { position: absolute; opacity: 0; pointer-events: none; }
.workbook-lesson-check > span, .workbook-checklist label > span { width: 24px; height: 24px; border: 1px solid var(--ink); display: grid; place-items: center; background: #fff; color: transparent; font-weight: 900; }
.workbook-lesson-check input:checked + span, .workbook-checklist input:checked + span { background: var(--brand); color: var(--ink); }
.workbook-lesson-check input:focus-visible + span, .workbook-checklist input:focus-visible + span { outline: 3px solid rgba(230,159,0,.35); outline-offset: 2px; }
.workbook-lesson-writing { grid-column: 2; }
.workbook-lesson-writing textarea { min-height: 88px; }
.workbook-language-note { margin: 0 0 28px; padding: 15px 18px; border-left: 4px solid var(--brand); background: var(--brand-soft); color: #5b430e; font-size: 13px; line-height: 1.5; }
.workbook-guide-sections { border-top: 1px solid var(--ink); }
.workbook-guide-section { display: grid; grid-template-columns: minmax(190px, .7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 58px); padding: 38px 0; border-bottom: 1px solid var(--line); }
.workbook-guide-section-heading { display: grid; align-content: start; gap: 10px; }
.workbook-guide-section-heading > span { color: #a66f00; font-size: 12px; font-weight: 850; }
.workbook-guide-section-heading h4 { margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(23px, 3vw, 35px); line-height: 1.05; letter-spacing: -.045em; font-weight: 500; }
.workbook-guide-content { min-width: 0; display: grid; gap: 18px; align-content: start; }
.workbook-guide-content > p { margin: 0; color: var(--muted); line-height: 1.62; }
.workbook-guide-content h5 { margin: 14px 0 -4px; font-family: "Lexend", sans-serif; font-size: 21px; letter-spacing: -.03em; }
.workbook-guide-list { margin: 0; padding-left: 22px; display: grid; gap: 9px; line-height: 1.5; }
.workbook-table-wrap { overflow-x: auto; }
.workbook-guide-table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.workbook-guide-table th, .workbook-guide-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.workbook-guide-table th { background: #e8e6e0; font-size: 11px; }
.workbook-guide-table td { color: var(--muted); }
.workbook-guide-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.workbook-guide-fields .workbook-field { padding: 15px; border: 1px solid var(--line); background: var(--soft); }
.workbook-guide-fields textarea { min-height: 96px; }
.workbook-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.workbook-checklist label { position: relative; min-height: 66px; padding: 13px; border: 1px solid var(--line); display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 11px; background: #fff; cursor: pointer; line-height: 1.35; }
.workbook-checklist label.checked { border-color: #8b6710; background: var(--brand-soft); }
.workbook-checklist label > strong { font-size: 13px; font-weight: 680; }
.workbook-formula-note { padding: 16px; border-left: 4px solid var(--brand); background: var(--brand-soft); }
.workbook-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.workbook-plan fieldset { min-width: 0; margin: 0; padding: 20px; border: 1px solid var(--line); display: grid; align-content: start; gap: 16px; background: var(--soft); }
.workbook-plan legend { padding: 0 7px; font-family: "Lexend", sans-serif; font-size: 18px; font-weight: 600; }
.workbook-plan textarea { min-height: 90px; resize: vertical; }
.workbook-reflections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.workbook-reflections .workbook-field, .workbook-commitment { padding: 18px; border: 1px solid var(--line); background: var(--soft); }
.workbook-commitment { margin-top: 14px; }
.workbook-completion { margin-top: 28px; padding: 22px; display: flex; align-items: center; gap: 20px; background: var(--ink); color: #fff; }
.workbook-completion p { margin: 0; color: rgba(255,255,255,.68); }
.workbook-completion strong { margin-left: auto; color: var(--brand); }
.workbook-app-footer { min-height: 70px; padding: 12px 18px; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: #fff; }
.workbook-app-footer button { justify-self: start; padding: 10px 13px; border: 1px solid var(--ink); background: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.workbook-app-footer button:last-child { justify-self: end; }
.workbook-app-footer button:disabled { opacity: .3; cursor: not-allowed; }

.study-qa { margin-top: 70px; border-top: 6px solid var(--brand); background: #fff; scroll-margin-top: 24px; }
.study-qa-header { padding: clamp(30px, 5vw, 58px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: end; background: var(--ink); color: #fff; }
.study-qa-header h2 { max-width: 820px; margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(38px, 5vw, 66px); line-height: .95; letter-spacing: -.06em; font-weight: 450; }
.study-qa-header > div:first-child > p:last-child { max-width: 720px; margin: 20px 0 0; color: rgba(255,255,255,.68); line-height: 1.58; }
.study-qa-count { min-width: 130px; padding: 20px; border: 1px solid rgba(255,255,255,.28); text-align: center; }
.study-qa-count strong { display: block; color: var(--brand); font-family: "Lexend", sans-serif; font-size: 48px; line-height: 1; letter-spacing: -.06em; }
.study-qa-count span { display: block; margin-top: 7px; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.study-qa-topics { display: grid; grid-template-columns: repeat(3, 1fr); border-inline: 1px solid var(--ink); }
.study-qa-topics a { min-width: 0; min-height: 118px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: 34px minmax(0, 1fr); align-content: start; gap: 8px 12px; color: var(--ink); }
.study-qa-topics a:nth-child(3n) { border-right: 0; }
.study-qa-topics a > span { color: #a66f00; font-size: 12px; font-weight: 850; }
.study-qa-topics a > strong { font-family: "Lexend", sans-serif; font-size: 17px; line-height: 1.15; letter-spacing: -.025em; }
.study-qa-topics a > small { grid-column: 2; color: var(--muted); }
.study-qa-topics a:hover, .study-qa-topics a:focus-visible { background: var(--brand-soft); }
.study-qa-hint { margin: 0; padding: 17px clamp(22px, 4vw, 44px); border-inline: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: var(--muted); font-size: 13px; }
.study-qa-parts { border-inline: 1px solid var(--ink); }
.study-qa-part { padding: clamp(34px, 5vw, 60px); border-bottom: 1px solid var(--ink); scroll-margin-top: 24px; }
.study-qa-part-heading { margin-bottom: 28px; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 20px; align-items: start; }
.study-qa-part-heading > span { color: #a66f00; font-size: 12px; font-weight: 850; }
.study-qa-part-heading h3 { max-width: 850px; margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(29px, 4vw, 48px); line-height: 1; letter-spacing: -.05em; font-weight: 470; }
.study-qa-list { border-top: 1px solid var(--ink); }
.study-qa-item { border-bottom: 1px solid var(--line); }
.study-qa-item summary { min-height: 78px; padding: 18px 0; display: grid; grid-template-columns: 62px minmax(0, 1fr) 34px; gap: 20px; align-items: center; cursor: pointer; list-style: none; }
.study-qa-item summary::-webkit-details-marker { display: none; }
.study-qa-item summary > span:first-child { color: var(--muted); font-size: 12px; font-weight: 800; }
.study-qa-item summary > strong { font-family: "Lexend", sans-serif; font-size: clamp(17px, 2.2vw, 23px); line-height: 1.25; letter-spacing: -.025em; }
.study-qa-toggle { width: 30px; height: 30px; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 22px; font-weight: 400; transition: transform .2s, background .2s; }
.study-qa-item[open] { padding-bottom: 24px; }
.study-qa-item[open] summary { border-bottom: 1px solid var(--line); }
.study-qa-item[open] .study-qa-toggle { transform: none; background: var(--brand); font-size: 0; }
.study-qa-item[open] .study-qa-toggle::before { content: "−"; font-size: 22px; line-height: 1; }
.study-qa-answer { margin-left: 82px; padding: 26px 0 2px; max-width: 900px; }
.study-qa-short-answer { margin: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 13px; align-items: start; font-size: 17px; font-weight: 700; line-height: 1.55; }
.study-qa-short-answer > span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--brand); color: var(--ink); font-family: "Lexend", sans-serif; font-weight: 700; }
.study-qa-explanation { margin-top: 24px; padding: 24px; border-left: 4px solid var(--brand); background: var(--soft); }
.study-qa-explanation h4 { margin: 0 0 14px; font-family: "Lexend", sans-serif; font-size: 21px; letter-spacing: -.03em; }
.study-qa-explanation h4:not(:first-child) { margin-top: 26px; }
.study-qa-explanation p { margin: 0; color: var(--muted); line-height: 1.62; }
.study-qa-explanation p + p { margin-top: 13px; }
.study-qa-explanation ul { margin: 0; padding-left: 21px; display: grid; gap: 9px; color: var(--muted); line-height: 1.55; }
.study-qa-explanation h4 + ul, .study-qa-explanation p + ul, .study-qa-explanation ul + p { margin-top: 13px; }

.quiz-game { margin-top: 70px; padding: clamp(28px, 5vw, 56px); background: var(--soft); border-top: 6px solid var(--brand); }
.quiz-game-header { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.quiz-game-header h2 { margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(36px, 5vw, 62px); line-height: .95; letter-spacing: -.06em; font-weight: 450; }
.quiz-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.quiz-stats span { min-width: 92px; padding: 14px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.quiz-stats strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: "Lexend", sans-serif; font-size: 23px; letter-spacing: -.04em; }
.quiz-diploma { margin-top: 28px; padding: 20px; border: 1px solid var(--ink); background: var(--brand); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.quiz-diploma p { margin: 0 0 5px; }
.quiz-diploma-requirement { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.quiz-intro { margin-top: 40px; padding: 32px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 120px 1fr auto; gap: 30px; align-items: center; }
.quiz-intro p { max-width: 640px; color: rgba(255,255,255,.72); line-height: 1.55; }
.quiz-level { color: var(--brand); font-size: 11px; letter-spacing: .15em; }
.quiz-level strong { font-family: "Lexend", sans-serif; font-size: 56px; letter-spacing: -.08em; }
.quiz-round { margin-top: 42px; }
.quiz-progress { height: 10px; background: var(--stone); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; background: var(--brand); transition: width .25s ease; }
.quiz-round-meta { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.quiz-round h3 { max-width: 880px; margin: 40px 0 28px; font-family: "Lexend", sans-serif; font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -.05em; font-weight: 460; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-options button { min-height: 86px; padding: 18px; border: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 14px; text-align: left; cursor: pointer; line-height: 1.4; }
.quiz-options button:hover, .quiz-options button.selected { border-color: var(--ink); background: var(--brand-soft); }
.quiz-options button > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.quiz-options button.selected > span { background: var(--brand); color: var(--ink); }
.quiz-next { margin-top: 24px; }
.quiz-result { margin-top: 42px; display: grid; grid-template-columns: 190px 1fr; gap: 36px; align-items: center; }
.quiz-score-ring { width: 180px; height: 180px; border: 14px solid var(--stone); border-radius: 50%; display: grid; place-content: center; text-align: center; }
.quiz-score-ring.quiz-passed { border-color: var(--brand); }
.quiz-score-ring strong { font-family: "Lexend", sans-serif; font-size: 46px; letter-spacing: -.06em; }
.quiz-score-ring span { color: var(--muted); }
.quiz-result h3 { margin: 0 0 8px; font-family: "Lexend", sans-serif; font-size: 42px; letter-spacing: -.05em; }
.quiz-saved { color: #397748; font-weight: 700; }
.quiz-review { grid-column: 1 / -1; border-top: 1px solid var(--ink); }
.quiz-review > div { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.quiz-review > div > span { font-size: 28px; font-weight: 800; }
.quiz-review .correct > span { color: #397748; }
.quiz-review .incorrect > span { color: var(--danger); }
.quiz-review strong, .quiz-review p { display: block; margin: 0; }
.quiz-review p { margin-top: 5px; color: var(--muted); }

.admin-shell { min-height: 75vh; padding-block: 60px 100px; }
.admin-header { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.admin-header h1 { margin: 0; font-family: "Lexend", sans-serif; font-size: 54px; letter-spacing: -.06em; font-weight: 440; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { min-height: 150px; padding: 22px; background: var(--soft); }
.stat-card span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.stat-card strong { display: block; margin-top: 25px; font-family: "Lexend", sans-serif; font-size: 38px; letter-spacing: -.05em; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.admin-panel { padding: 26px; border: 1px solid var(--line); }
.admin-panel h2 { margin: 0 0 24px; font-family: "Lexend", sans-serif; font-size: 27px; letter-spacing: -.04em; font-weight: 470; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px; }
.field textarea { min-height: 92px; resize: vertical; }
.admin-list { max-height: 560px; overflow: auto; border-top: 1px solid var(--ink); }
.admin-row { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.admin-row strong, .admin-row small { display: block; }
.admin-row small { color: var(--muted); margin-top: 4px; }
.admin-row button { border: 0; background: none; text-decoration: underline; cursor: pointer; color: var(--danger); }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.admin-table th { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }

.site-footer { padding-top: 72px; background: var(--ink); color: #fff; }
.wordmark-light { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr; gap: 80px; padding-bottom: 60px; }
.footer-grid > div { display: grid; align-content: start; justify-items: start; gap: 11px; }
.footer-grid p { max-width: 450px; margin: 12px 0 0; color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-grid .footer-label { margin: 0 0 10px; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; }
.footer-grid a:not(.wordmark) { color: rgba(255,255,255,.68); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { padding-block: 20px; border-top: 1px solid rgba(255,255,255,.17); display: flex; justify-content: space-between; color: rgba(255,255,255,.5); font-size: 12px; }

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .header-actions { margin-left: auto; }
  .quiet-link { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 78px; gap: 50px; }
  .hero-panel { min-height: 310px; }
  .split-heading, .detail-content { grid-template-columns: 1fr; gap: 34px; }
  .bundle-grid, .library-grid { grid-template-columns: 1fr; }
  .bundle-card { min-height: 440px; }
  .detail-hero { grid-template-columns: 1fr; gap: 42px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-sidebar { min-height: auto; }
  .quiz-intro { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1240px); }
  .header-inner { min-height: 68px; }
  .wordmark { font-size: 20px; }
  .wordmark small { display: none; }
  .header-actions > a:not(.cart-link) { display: none; }
  .language-switcher select { max-width: 92px; padding: 8px 24px 8px 9px; }
  .cart-link { padding: 9px 12px; }
  .hero { padding-block: 62px; }
  .hero h1 { font-size: 58px; }
  .hero-lede { font-size: 19px; }
  .value-grid { grid-template-columns: 1fr; padding-block: 15px; }
  .value-grid > div, .value-grid > div:last-child { border: 0; border-bottom: 1px solid rgba(255,255,255,.17); padding: 20px 0; }
  .section { padding-block: 74px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 350px; }
  .course-card-footer { align-items: stretch; flex-direction: column; }
  .course-card-price { white-space: normal; }
  .course-card-cta { width: 100%; }
  .analysis-cta { width: auto; margin: 74px 14px; }
  .detail-meta { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 34px 1fr; }
  .cart-item .remove-button { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { display: grid; gap: 8px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-card strong { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .quiz-game-header { display: grid; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-result { grid-template-columns: 1fr; }
  .lesson-main { padding-inline: 14px; }
  .lesson-asset { grid-template-columns: 42px 1fr; }
  .lesson-asset > a { grid-column: 2; justify-self: start; }
  .workbook-app-header { grid-template-columns: 1fr; }
  .workbook-cover-number { margin-bottom: 2px; }
  .workbook-app-header::after { right: 3%; opacity: .55; }
  .workbook-save-state { justify-self: start; }
  .workbook-section-tabs { display: none; }
  .workbook-mobile-progress { padding: 14px 18px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; gap: 12px; background: var(--brand); font-size: 12px; }
  .workbook-form-card { min-height: 0; padding: 24px 16px; }
  .workbook-section-banner { margin: -24px -16px 34px; padding: 34px 22px; border-left-width: 7px; }
  .workbook-method-grid article { grid-template-columns: 38px 92px minmax(0, 1fr); gap: 10px; }
  .workbook-method-grid article > strong { font-size: 15px; }
  .workbook-method-grid article > p { font-size: 13px; }
  .workbook-course-brief, .workbook-plan, .workbook-reflections, .workbook-guide-fields, .workbook-checklist { grid-template-columns: 1fr; }
  .workbook-title-row { display: grid; }
  .workbook-reviewed-count { justify-self: start; }
  .workbook-lesson-note { grid-template-columns: 38px minmax(0, 1fr); padding: 16px; gap: 13px; }
  .workbook-guide-section { grid-template-columns: 1fr; gap: 20px; padding: 30px 0; }
  .workbook-guide-section-heading { grid-template-columns: 36px 1fr; align-items: start; }
  .workbook-table-wrap { margin-inline: -16px; padding-inline: 16px; }
  .workbook-completion, .quiz-diploma { align-items: stretch; flex-direction: column; }
  .workbook-completion strong { margin-left: 0; }
  .study-qa-header { grid-template-columns: 1fr; align-items: start; }
  .study-qa-count { justify-self: start; min-width: 106px; }
  .study-qa-topics { grid-template-columns: 1fr; }
  .study-qa-topics a, .study-qa-topics a:nth-child(3n) { min-height: 92px; border-right: 0; }
  .study-qa-part { padding: 32px 18px; }
  .study-qa-part-heading { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .study-qa-item summary { grid-template-columns: 34px minmax(0, 1fr) 30px; gap: 10px; }
  .study-qa-answer { margin-left: 44px; }
  .study-qa-explanation { margin-left: -44px; padding: 20px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Simply-hosted Academy additions */
.inline-form { margin: 0; }
.text-button { padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; cursor: pointer; font-weight: 650; }
.text-button:hover { border-color: var(--ink); }
.button:disabled { opacity: .52; cursor: not-allowed; }
.notice { padding: 14px 18px; border-left: 4px solid #397748; background: #edf8ef; line-height: 1.45; }
.notice-error { border-color: var(--danger); background: #fff0ee; color: #7a1d16; }
.auth-page { min-height: 72vh; padding: clamp(54px, 8vw, 100px) 24px; display: grid; place-items: center; background: var(--soft); }
.auth-card { width: min(100%, 620px); padding: clamp(30px, 6vw, 62px); border-top: 8px solid var(--brand); background: #fff; box-shadow: 0 18px 60px rgba(23,23,22,.1); }
.auth-card h1 { margin: 0 0 18px; font-family: "Lexend", Arial, sans-serif; font-size: clamp(42px, 7vw, 66px); line-height: .95; letter-spacing: -.06em; font-weight: 450; }
.auth-card > p:not(.eyebrow):not(.notice) { color: var(--muted); line-height: 1.55; }
.auth-form { margin-top: 30px; display: grid; gap: 18px; }
.auth-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 750; }
.auth-form input { width: 100%; padding: 14px; border: 1px solid var(--line); background: #fff; }
.auth-form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.auth-help { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.auth-help p { color: var(--muted); line-height: 1.5; }
.library-progress { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.library-progress strong { color: var(--ink); font-size: 20px; }
.lesson-topbar { margin: -18px 0 42px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.access-banner { margin: 26px 0 40px; padding: 20px 22px; border-left: 5px solid var(--ink); display: flex; justify-content: space-between; gap: 24px; background: var(--soft); }
.access-banner-review { border-color: #b68a22; background: var(--brand-soft); }
.access-banner-locked { border-color: #6f6f6b; background: #eeeeeb; }
.access-banner strong { display: block; font-family: "Lexend", sans-serif; font-size: 20px; }
.access-banner p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.access-banner > span { flex: 0 0 auto; align-self: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.course-video-section { margin-top: 56px; scroll-margin-top: 24px; }
.course-video-section .section-heading { margin-bottom: 26px; }
.course-video-section h2 { margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.055em; font-weight: 450; }
.protected-video { width: 100%; aspect-ratio: 16/9; display: block; background: #090909; }
.video-completion-copy { margin: 0; padding: 13px 16px; background: var(--brand-soft); color: #5b430e; font-weight: 750; text-align: center; }
.media-placeholder { min-height: 280px; padding: 32px; display: grid; place-content: center; text-align: center; background: var(--ink); color: #fff; }
.media-placeholder strong { font-family: "Lexend", sans-serif; font-size: 28px; }
.media-placeholder p { max-width: 540px; color: rgba(255,255,255,.65); }
.workbook-app { margin-top: 72px; border: 1px solid var(--ink); scroll-margin-top: 24px; background: var(--soft); }
.workbook-form-card { display: none; }
.workbook-form-card.active { display: block; }
.workbook-guide-section-body { min-width: 0; display: grid; gap: 18px; align-content: start; }
.workbook-guide-section-body > p { margin: 0; color: var(--muted); line-height: 1.62; }
.workbook-guide-section-body h5 { margin: 14px 0 -4px; font-family: "Lexend", sans-serif; font-size: 21px; letter-spacing: -.03em; }
.workbook-lesson-list { display: grid; gap: 14px; }
.workbook-lesson-note > span { grid-row: 1 / 3; font-family: "Lexend", sans-serif; font-size: 26px; }
.workbook-lesson-note h4 { margin: 0; font-family: "Lexend", sans-serif; font-size: clamp(20px, 2.7vw, 30px); line-height: 1.1; letter-spacing: -.035em; }
.workbook-lesson-note h4 + p { color: var(--muted); line-height: 1.5; }
.workbook-lesson-note small { display: block; margin: 8px 0; color: var(--muted); }
.lesson-reviewed { margin: 14px 0; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; }
.lesson-reviewed input { width: 20px; height: 20px; accent-color: var(--brand); }
.workbook-plan article { min-width: 0; padding: 20px; border: 1px solid var(--line); display: grid; align-content: start; gap: 16px; background: var(--soft); }
.workbook-plan article h4 { margin: 0; font-family: "Lexend", sans-serif; font-size: 19px; }
.workbook-reflections .workbook-field:last-child { grid-column: 1 / -1; border-left: 5px solid var(--brand); }
.workbook-footer { min-height: 78px; padding: 12px 18px; border-top: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fff; }
.workbook-footer p { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.quiz-stage { margin-top: 28px; }
.quiz-choice-error { min-height: 22px; color: var(--danger); font-weight: 700; }
.inline-admin-form { display: flex; gap: 8px; }
.inline-admin-form input { min-width: 190px; padding: 8px; border: 1px solid var(--line); }
.inline-admin-form button { border: 1px solid var(--ink); background: var(--brand); cursor: pointer; }

@media (max-width: 980px) {
  .access-banner { display: grid; }
  .access-banner > span { justify-self: start; }
}

@media (max-width: 680px) {
  .auth-card { padding: 30px 22px; }
  .lesson-topbar { margin-top: 0; }
  .workbook-footer { flex-wrap: wrap; }
  .workbook-footer p { order: -1; width: 100%; }
  .inline-admin-form { display: grid; }
  .workbook-guide-section-body { min-width: 0; }
}
