/* Shared visual system for DR and BigSavant. Keep the learning UI as readable
   and considered as the public pages; decorative depth belongs to the artwork. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/InterVariable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/InterVariable-Italic.woff2') format('woff2');
}
:root {
  font-family: 'Inter', 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --ink: #202821;
  --muted: #687068;
  --bg: #faf9f5;
  --paper: #fffefa;
  --line: #e4e6dc;
  --forest: #526c40;
  --green: #d5e8b5;
  --purple: #eee8f6;
  --radius: 22px;
  --shadow: 0 4px 6px #27332602, 0 18px 44px #27332606;
  --sidebar-width: 256px;
}
body { font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: 30px; font-weight: 650; letter-spacing: -.035em; }
h3 { font-size: 19px; letter-spacing: -.02em; }
small { font-size: 12px; }
button, input, select, textarea { font-size: 14px; }
input, select, textarea { accent-color: var(--forest); }
a, button, summary { touch-action: manipulation; }
a, button { transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s; }
.button { min-height: 48px; padding: 12px 21px; border-radius: 12px; font-size: 14px; gap: 16px; }
.button.dark, .button.primary { background: linear-gradient(145deg, #303b2e, #202820 70%); box-shadow: inset 0 1px 0 #ffffff20, 0 4px 10px #2028200a; }
.button.dark:hover, .button.primary:hover { background: #384733; box-shadow: 0 8px 20px #303b2e18; }
.button.light { background: #f2f3ea; border-color: #e2e5d7; }
.button.light:hover { background: #e9eedf; border-color: #b7c5a6; }
.button-back > .icon { transform: rotate(180deg); }
.text-button { min-height: 44px; font-size: 13px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; }
.mobile-nav { display: none; }
.drawer-close { display: none; }
.icon-button:hover { background: #edf1e5; }
.eyebrow { color: #66705e; font-size: 10px; font-weight: 650; letter-spacing: .18em; }
.status-dot { width: 8px; height: 8px; background: #79a64f; margin-right: 12px; }
.tag { font-size: 10px; line-height: 1.6; border-radius: 6px; padding: 4px 8px; }
.tag.green { background: #edf3e3; color: #466232; }
.tag.orange, .notice.warning { background: #fbf0df; color: #795528; }
.fine-print { font-size: 12px !important; color: #717669; line-height: 1.8; }
.fine-print a, .notice a { text-decoration: underline; text-underline-offset: 3px; }

/* Public shell and reference-inspired hero. */
.site-header { height: 100px; padding: 0 5.5%; background: #faf9f5e8; }
.brand-image img { height: 58px; }
.brand > small { max-width: 180px; font-size: 10px; letter-spacing: .23em; margin-left: 30px; font-weight: 500; }
.header-nav { font-size: 14px; gap: 30px; }
.header-nav > a:not(.button) { padding: 10px 0; }
.header-nav > a:hover, .header-nav > a[aria-current] { color: var(--forest); }
.header-nav > a[aria-current] { box-shadow: 0 2px 0 var(--forest); }
.header-nav > .button { font-size: 14px; min-height: 46px; padding: 11px 20px; }
.page-wrap > main { max-width: 1600px; padding: 0 5.5% 90px; }
body[data-page="home"] .page-wrap { background: radial-gradient(ellipse at 90% 18%, #dfe8c73b, transparent 33%), var(--bg); }
.landing-hero { position: relative; grid-template-columns: 1.05fr 1fr; gap: 45px; min-height: 0; padding: 36px 0 48px; }
.landing-hero::before { content: ''; position: absolute; width: 76%; height: 48%; right: -20%; bottom: -10%; border-radius: 70% 0 0 0; background: linear-gradient(125deg, #e5eac950, #f4f4e900); transform: rotate(-17deg); z-index: 0; pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { font-size: clamp(52px, 5vw, 76px); font-weight: 780; line-height: 1.02; letter-spacing: -.058em; margin: 24px 0; }
.hero-copy h1 em { color: #5c7647; }
.hero-copy > p { max-width: 550px; font-size: 18px; line-height: 1.65; }
.hero-actions { gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-copy .hero-actions { margin-top: 28px; }
.hero-copy .hero-actions .button { min-height: 58px; padding: 15px 26px; font-size: 16px; min-width: 270px; justify-content: space-between; box-shadow: 0 12px 30px #758b4540, inset 0 1px 0 #ffffff30; border: 1px solid #657951; }
.quiet-link { font-size: 15px; }
.quiet-link:hover { color: var(--forest); }
.hero-points { margin-top: 24px; font-size: 13px; gap: 24px; }
.hero-points span { gap: 10px; }
.hero-points .icon { width: 18px; height: 18px; color: #6b9647; }
.hero-points span + span { border-left: 1px solid #dce0d1; padding-left: 24px; }
.learning-art { width: 100%; max-width: 540px; height: clamp(420px, calc(100svh - 200px), 570px); aspect-ratio: auto; transform: none; margin: 0; justify-self: center; }
.learning-art::before { content: ''; position: absolute; inset: 10% -8% 0 0; border-radius: 50%; background: radial-gradient(ellipse, #c3d39b4d, transparent 70%); filter: blur(20px); }
.art-ring { width: 88%; height: auto; aspect-ratio: 1; top: 12%; left: 6%; border-color: #a4b28975; }
.ring-two { width: 104%; top: 4%; left: -2%; }
.art-spark { font-size: clamp(65px, 6vw, 96px); right: -3%; top: 8%; color: #739b48; line-height: 1; }
.art-spark, .hero-glyph, .routine-spark { width: 1em; height: 1em; flex-shrink: 0; }
.floating-chip { top: 10%; left: 10%; padding: 16px 22px; font-size: 10px; letter-spacing: .2em; gap: 13px; border: 1px solid #e6e7dd; transform: rotate(-9deg); box-shadow: 0 14px 28px #30392210; background: linear-gradient(145deg, white, #fafbf8); }
.floating-chip .icon { width: 18px; height: 18px; }
.learning-step { width: 83%; height: 25%; gap: 25px; padding: 30px; border-radius: 26px; border: 1px solid #ffffffeb; box-shadow: inset 0 2px 2px #ffffffa3, inset -3px -5px 1px #6c7b3d14, 0 7px 0 #7985581c, 0 24px 32px #36402b23; }
.learning-step > span { width: 54px; height: 54px; font-size: 20px; flex-shrink: 0; border-color: #84946166; }
.learning-step small { font-size: 10px; letter-spacing: .23em; display: block; margin-bottom: 10px; }
.learning-step b { font-size: clamp(23px, 2.25vw, 35px); font-weight: 650; letter-spacing: -.04em; line-height: 1.2; }
.learning-step > .icon { width: 30px; height: 30px; align-self: flex-start; margin-top: 8px; }
.step-one { top: 23%; left: 0; transform: rotate(-10deg); background: linear-gradient(135deg, #fffefa, #eeeede); }
.step-two { top: 48%; left: 18%; transform: rotate(7deg); background: linear-gradient(130deg, #e5f0cc, #c8dda6 70%, #d8e8bd); }
.step-three { top: 73%; left: 5%; transform: rotate(-6deg); background: linear-gradient(130deg, #f8f2ff, #e9e0f3); }
.art-caption { bottom: -7%; right: 0; font-size: 13px; color: #75796b; }
.intro-strip { position: relative; padding: 32px 0; }
.intro-strip > span { font-size: 10px; max-width: 230px; }
.intro-strip > div { font-size: 19px; word-spacing: 10px; }
.section { padding: 85px 0; }
.section-heading { gap: 20px; margin-bottom: 28px; }
.section-heading h2 { font-size: 34px; }
.section-heading > a { font-size: 14px; }
.section-heading > a:hover { color: var(--forest); }
.method-banner { padding: 56px; gap: 65px; border: 1px solid #dce3ce; border-radius: 28px; background: linear-gradient(135deg, #eff2e5, #e4ebd7); }
.method-banner h2 { font-size: 44px; max-width: 460px; }
.method-banner p { font-size: 16px; max-width: 460px; }
.example-question { padding: 30px; border-radius: 20px; box-shadow: 0 25px 45px #4a5d3118; }
.tiny-label { font-size: 10px; letter-spacing: .13em; }
.example-question h3 { font-size: 21px; }
.sample-choice { padding: 15px; font-size: 13px; border-radius: 10px; }
.example-question p { font-size: 13px; margin-bottom: 0; }
.category-grid { gap: 16px; }
.category-grid > a { background: #fffefa; border-radius: 15px; padding: 23px; box-shadow: var(--shadow); }
.category-grid > a:hover { border-color: #bdcba9; transform: translateY(-2px); }
.category-grid > a > div { flex: 1; min-width: 0; }
.category-grid > a > .icon:first-child { width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--forest); background: #f0f3e8; }
.category-grid > a b { font-size: 14px; }
.category-grid > a small { font-size: 12px; }
.cta-banner { padding: 52px; border: 1px solid var(--line); border-radius: 26px; background: #f0f2e8; gap: 24px; }
.cta-banner h2 { font-size: 40px; }
.cta-banner > p { font-size: 15px; max-width: 320px; }
footer { margin: 0 5.5%; padding: 48px 0 30px; gap: 25px 70px; }
footer p, footer > div:nth-child(2) > a, footer > div:nth-child(2) > .link-button { font-size: 12px; }
footer > small { font-size: 11px; }
footer .brand-image img { height: 42px; }

/* Browse, learn and manage: shared surfaces and readable type. */
.page-heading { padding: 58px 0 36px; align-items: flex-end; }
.page-heading h1, .workspace .page-heading h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 18px; }
.page-heading p { font-size: 16px; max-width: 720px; line-height: 1.7; }
.card { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-bottom: 24px; }
.card h2 { font-size: 25px; }
.card p { font-size: 15px; }
.card p, .history-row, .data-row { overflow-wrap: anywhere; }
.content-columns, .workspace .content-columns, .course-detail-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 30px; }
.content-columns > *, .course-detail-layout > *, .quiz-layout > *, .plan-grid > * { min-width: 0; }
.back-link { font-size: 13px; margin-top: 28px; padding: 8px 0; }
.back-link:hover { color: var(--forest); }
.course-grid, .workspace .course-grid { gap: 24px; }
.course-card { border-radius: 19px; box-shadow: var(--shadow); }
.course-card:hover { transform: translateY(-5px); border-color: #b9c7aa; box-shadow: 0 18px 34px #28352210; }
.course-art, .workspace .course-art { height: 164px; padding: 22px; background: linear-gradient(125deg, #f0ebf7, #e4ddec); }
.course-art.green { background: linear-gradient(125deg, #edf3e2, #d6e5c5); }
.course-art.blue { background: linear-gradient(125deg, #edf3f4, #d4e3e8); }
.course-art.orange { background: linear-gradient(125deg, #fbf0e3, #efdfc9); }
.art-label { font-size: 10px; letter-spacing: .15em; }
.course-symbol { font-size: 35px; font-weight: 650; margin-top: 25px; overflow-wrap: anywhere; }
.art-orbit { width: 195px; height: 195px; right: -35px; top: 30px; }
.art-orbit::after { content: ''; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #ffffffb8; top: 27px; left: 15px; box-shadow: 0 2px 4px #35422516; }
.course-copy, .workspace .course-copy { padding: 23px; }
.course-copy h3 { font-size: 18px; line-height: 1.4; }
.course-copy p { font-size: 13px; line-height: 1.75; }
.card-bottom { font-size: 11px; padding-top: 18px; }
.catalogue-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 32px; }
.category-sidebar { padding-right: 24px; }
.category-sidebar a { font-size: 13px; padding: 11px 12px; border-radius: 10px; }
.category-sidebar a:hover { background: #eef1e6; color: var(--ink); }
.category-sidebar a.active, .category-sidebar a[aria-current] { background: #e8eedb; }
.catalogue-filters { gap: 10px; padding: 16px; background: #f1f2eb; border: 1px solid var(--line); border-radius: 17px; margin-bottom: 20px; }
.catalogue-filters .search-field { border-radius: 11px; flex-basis: 220px; }
.catalogue-filters input { font-size: 14px; padding: 12px 0; }
.catalogue-filters select { font-size: 13px; padding: 12px; border-radius: 11px; flex-basis: 135px; }
.catalogue-filters .button { font-size: 13px; min-height: 46px; }
.catalogue-meta, .catalogue-results { font-size: 13px; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.subtle-note { font-size: 12px; }
.course-intro { grid-template-columns: minmax(0, 1fr) 280px; gap: 55px; padding: 45px 0; }
.course-intro h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; }
.course-intro p { font-size: 16px; line-height: 1.8; }
.meta-line { font-size: 13px; flex-wrap: wrap; gap: 12px 20px; }
.course-identity { min-height: 260px; padding: 30px; border-radius: 25px; border: 1px solid #ffffffd9; box-shadow: 0 18px 35px #35422516, inset 0 1px 0 white; background: linear-gradient(135deg, #f4eff8, #e7deef); }
.course-identity.green { background: linear-gradient(135deg, #ecf3df, #d8e7c5); }
.course-identity.blue { background: linear-gradient(135deg, #edf3f4, #d5e4e9); }
.course-identity strong { font-size: 48px; font-weight: 650; }
.course-identity small, .course-identity > span { font-size: 12px; }
.lesson-list { border-radius: 20px; box-shadow: var(--shadow); }
.lesson-list > a { padding: 23px; gap: 18px; }
.lesson-list > a:hover { background: #f5f7ee; }
.lesson-list h3 { font-size: 16px; }
.lesson-list p { font-size: 13px; line-height: 1.7; }
.lesson-list > a > span:not(.lesson-number) { font-size: 12px; }
.lesson-number { width: 42px; height: 42px; font-size: 12px; background: #eef2e4; }
.practice-banner { border: 1px solid #dae3cc; padding: 27px; border-radius: 19px; gap: 18px; }
.practice-banner h3 { font-size: 17px; }
.practice-banner p { font-size: 13px; }
.practice-banner > .button, .content-columns aside .button { font-size: 13px; }
.data-row { font-size: 13px; padding: 16px 0; }
.data-row b { font-size: 13px; }
.source-link { font-size: 13px; }
.notice { font-size: 14px; padding: 18px 22px; border-radius: 13px; color: #4e633c; background: #eff4e6; }
.notice.error { border-color: #efcebd; }
.empty-state { padding: 65px 30px; }
.field { font-size: 14px; gap: 9px; margin-bottom: 22px; }
.field > span, .field > label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea, .filter-bar input, .filter-bar select { min-height: 48px; padding: 12px 14px; border-radius: 11px; border-color: #d8ded0; background: #fffefa; font-size: 15px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a8b699; }
.field textarea { line-height: 1.8; }
.checkbox { font-size: 13px; gap: 10px; }
.checkbox input { width: 17px; height: 17px; flex-shrink: 0; }
.auth-layout { max-width: 1080px; margin: 75px auto; gap: 90px; align-items: center; }
.auth-story h1 { font-size: 62px; font-weight: 700; line-height: 1.04; letter-spacing: -.055em; }
.auth-story p { font-size: 17px; max-width: 400px; }
.auth-decoration { width: 205px; height: 205px; border-radius: 42px; background: linear-gradient(140deg, #eff4e0, #d7e6bc); box-shadow: inset 0 2px 0 white, 0 25px 40px #6573441c; font-size: 148px; }
.auth-panel { padding: 40px; border-radius: 26px; box-shadow: 0 20px 60px #303c2610; }
.auth-panel h2 { font-size: 34px; }
main > .auth-panel { max-width: 580px; margin: 60px auto; }
.auth-links { font-size: 14px; margin-bottom: 0; }
.password-input { position: relative; display: flex; }
.password-input input { padding-right: 86px; width: 100%; }
.password-toggle { position: absolute; right: 5px; top: 4px; bottom: 4px; padding: 0 12px; color: var(--forest); font-size: 12px; font-weight: 650; border-radius: 8px; }
.password-toggle:hover { background: #eef3e4; }
.password-toggle[hidden] { display: none; }

/* A quiet, consistent workspace. */
.workspace .page-wrap { margin-left: var(--sidebar-width); }
.sidebar { width: var(--sidebar-width); padding: 34px 22px 24px; background: #f4f5ed; }
.sidebar .brand { margin-bottom: 40px; }
.sidebar .brand-image img { max-height: 48px; }
.sidebar .brand-image small { font-size: 9px; letter-spacing: .16em; }
.sidebar > .eyebrow { font-size: 9px; margin: 0 13px 18px; }
.sidebar nav a { font-size: 14px; padding: 13px 15px; gap: 13px; border-radius: 12px; color: #606953; }
.sidebar nav a .icon { width: 20px; height: 20px; }
.sidebar nav a:hover { background: #eaeedf; }
.sidebar nav a[aria-current] { background: #e3ebd5; color: #344b2a; box-shadow: inset 0 0 0 1px #d7e1c6; }
.sidebar-note { border-radius: 16px; background: linear-gradient(135deg, #edf2e2, #e8eedc); padding: 21px; font-size: 13px; }
.sidebar-note p { font-size: 12px; }
.sidebar-user { gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid #dfe4d5; }
.sidebar-user b { font-size: 13px; overflow-wrap: anywhere; }
.sidebar-user small { font-size: 11px; }
.avatar { width: 40px; height: 40px; font-size: 15px; background: #e0e7d1; flex-shrink: 0; }
.workspace .site-header { height: 88px; padding: 0 40px; background: #fffefa85; }
.workspace .page-wrap > main { padding: 0 40px 75px; }
.breadcrumb { font-size: 13px; min-width: 0; }
.breadcrumb a { white-space: nowrap; }
.workspace .header-nav { gap: 22px; }
.header-search { margin: 0; }
.header-search input { width: 210px; padding: 11px 35px 11px 14px; border-radius: 12px; font-size: 13px; background: #fafbf5; }
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { padding: 25px; border-radius: 19px; background: var(--paper); box-shadow: var(--shadow); }
.stat-card > strong { font-size: 40px; font-weight: 650; letter-spacing: -.045em; line-height: 1.4; font-variant-numeric: tabular-nums; }
.stat-card > span { font-size: 13px; overflow-wrap: anywhere; }
.stat-card > .icon { width: 37px; height: 37px; padding: 9px; top: 24px; right: 24px; border-radius: 12px; background: #f0f3e8; color: #74875a; }
.workspace-hero { border-radius: 24px; padding: 40px; background: radial-gradient(ellipse at 85% 40%, #d5e5b5, transparent 65%), #edf2e2; border-color: #dce4cd; }
.workspace-hero h2 { font-size: 40px; line-height: 1.12; margin: 18px 0; }
.workspace-hero p { font-size: 15px; max-width: 430px; }
.workspace-hero .button { font-size: 14px; min-height: 48px; }
.hero-glyph { font-size: 240px; color: #91ac6b; }
.wins .win { padding: 22px 0; gap: 18px; }
.wins .win > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; }
.wins .win p { font-size: 13px; }
.wins .win b { font-size: 15px; }
.win-link { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; border-radius: 11px; background: #f1f4e9; }
.win-link:hover { background: #e3ebd6; }
.muted { font-size: 13px; }
.habit .habit-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.habit .habit-day { max-width: 30px; }
.habit h2 { font-size: 23px; }
.habit-legend { flex-wrap: wrap; font-size: 11px; gap: 6px; }
.mastery-row { margin: 18px 0; }
.mastery-head { font-size: 13px; gap: 12px; }
.mastery-row small { font-size: 12px; }
progress { height: 7px; margin: 18px 0 25px; background: #e7ebdf; }
progress::-webkit-progress-bar { background: #e7ebdf; }
progress::-webkit-progress-value { background: #849f61; border-radius: 8px; }
progress::-moz-progress-bar { background: #849f61; border-radius: 8px; }
.history-row { font-size: 14px; padding: 20px 0; }
.history-row b { font-size: 14px; }
.history-row small { font-size: 12px; }
.history-row:hover { color: var(--forest); }
.danger { background: #fffaf5; border-color: #ebdacf; box-shadow: none; }
.danger .button { border-color: #dfc4b4; color: #894d32; background: #fcf1e8; }
.code-editor { font-size: 13px !important; line-height: 1.7; tab-size: 2; }

/* Reading, practice and review. */
.lesson-content { padding: 38px; }
.lesson-content > section { margin-bottom: 38px; }
.lesson-content h2 { font-size: 26px; }
.lesson-content p { font-size: 16px; line-height: 1.9; }
.lesson-section > p { max-width: 68ch; margin: 0 0 1.25em; color: #485047; }
.lesson-section > p:last-child { margin-bottom: 0; }
.lesson-section + .lesson-section { border-top: 1px solid var(--line); padding-top: 32px; }
.lesson-content pre { font-size: 14px; line-height: 1.8; padding: 26px; border-radius: 15px; background: #263128; }
.worked-example { padding: 27px; border-radius: 15px; background: #f1f4e9; }
.takeaway { border-color: #93ad69; border-radius: 0 14px 14px 0; padding: 24px; background: #f2f6e9; }
.takeaway b { font-size: 16px; }
.lesson-navigation { flex-wrap: wrap; }
.mode-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.mode-card { padding: 32px; }
.mode-card > .icon { width: 46px; height: 46px; padding: 10px; border-radius: 13px; background: #edf2e3; margin-bottom: 25px; }
.mode-card h2 { font-size: 26px; }
.mode-card p { font-size: 15px; }
.mode-card .button { font-size: 14px; }
.step-label { font-size: 46px; line-height: 1.2; color: #82996b; }
.setup-card { padding: 32px; }
.mode-choice legend { font-size: 14px; margin-bottom: 14px; }
.mode-option { padding: 20px; border-radius: 15px; background: #fcfcf7; gap: 10px; }
.mode-option b { font-size: 15px; }
.mode-option small { font-size: 12px; line-height: 1.7; }
.mode-option:has(input:checked), .plan-option:has(input:checked) { background: #eef3e4; border-color: #9db783; box-shadow: inset 0 0 0 1px #9db783; }
.mode-option:hover { border-color: #b2c49a; }
.setup-fields { gap: 16px; margin-top: 22px; }
.quiz-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 25px; }
.quiz-heading { font-size: 13px; }
.quiz-heading .eyebrow { font-size: 11px; }
.question-card { padding: 32px; }
.question-card h1 { font-size: 27px; font-weight: 650; line-height: 1.45; letter-spacing: -.025em; text-wrap: pretty; }
.question-instruction { margin: -10px 0 20px; font-size: 13px !important; color: #62764c; }
.answers { gap: 12px; }
.answer { font-size: 15px; line-height: 1.7; padding: 18px; gap: 14px; border-radius: 13px; background: #fffefa; }
.answer:hover { background: #f6f8ef; border-color: #b8c8a5; }
.answer:has(input:checked) { background: #eef3e4; border-color: #90aa73; box-shadow: inset 0 0 0 1px #90aa7326; }
.answer input { width: 16px; height: 16px; }
.answer-letter { width: 30px; height: 30px; border-radius: 8px; font-size: 12px; }
.answer.answer-incorrect { background: #fff4ec; border-color: #e5b99a; }
.answer.answer-correct { background: #edf5e3; border-color: #a3c080; }
.quiz-actions { padding-top: 24px; align-items: center; gap: 12px; }
.quiz-actions .button { font-size: 13px; min-height: 44px; padding: 10px 15px; }
.question-map { padding: 20px; border-radius: 18px; }
.question-map h3 { font-size: 16px; }
.question-map-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; margin-bottom: 18px; }
.question-map-panel > summary::-webkit-details-marker { display: none; }
.question-map-panel > summary::after { content: '−'; color: var(--forest); font-size: 20px; }
.question-map-panel:not([open]) > summary { margin-bottom: 0; }
.question-map-panel:not([open]) > summary::after { content: '+'; }
.question-map-panel > summary small { margin-left: auto; color: var(--muted); font-weight: 400; }
.question-map-panel > .fine-print { margin-top: 20px; }
.question-dots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.question-dots button { width: 100%; height: 38px; font-size: 12px; border-radius: 9px; }
.question-dots button.current { outline: 2px solid #7a9660; outline-offset: 1px; }
.question-map .button { font-size: 13px; padding: 10px; }
.timer { font-size: 14px; padding: 12px 18px; border-radius: 12px; }
.answer-explanation p { font-size: 15px; line-height: 1.9; }
.answer-detail { font-size: 14px; padding: 20px; border-radius: 13px; color: var(--ink); }
.answer-detail p { font-size: 14px; }
.scenario-context { padding: 22px; border-radius: 14px; background: #f5f4ee; margin: 20px 0; }
.result-summary { padding: 38px; border-radius: 24px; background: linear-gradient(135deg, #f0f4e7, #e3ecd6); }
.result-summary h2 { font-size: 30px; }
.result-summary p { font-size: 15px; }
.score-circle { width: 140px; height: 140px; font-size: 48px; font-weight: 650; border-color: #a1b985; }
.result-list summary { font-size: 16px; line-height: 1.6; align-items: flex-start; }
.result-list summary > span:not(.result-mark) { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.result-list summary::after { content: '+'; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--forest); flex-shrink: 0; }
.result-list details[open] summary::after { content: '−'; }
.result-mark { width: 30px; height: 30px; }
.flashcard { max-width: 820px; padding: 58px 45px; background: linear-gradient(145deg, #fffefa, #f7f8ef); box-shadow: 0 18px 50px #303c2610; }
.flashcard h2 { font-size: 38px; line-height: 1.2; }
.flashcard > p { font-size: 15px; }
.flashcard summary { list-style: none; }
.flashcard summary::-webkit-details-marker { display: none; }
.card-answer { padding: 27px; border: 1px solid #e1e8d4; border-radius: 16px; background: #eef3e4; }
.card-answer p { font-size: 16px; line-height: 1.9; }
.cards-filter a { padding: 10px 16px; font-size: 13px; }
.cards-status { font-size: 14px; margin: 20px 0; }
.hub-card .card-rate { justify-content: center; margin-top: 25px; gap: 12px; }
.card-rate kbd { background: #ffffff20; padding: 0 5px; border-radius: 4px; font-size: 11px; }
.review-actions { flex-wrap: wrap; }
.review-actions button { min-height: 56px; font-size: 14px; }
.review-actions small { font-size: 12px; }
.text-link { font-size: 14px; padding: 8px; margin-top: 22px; }
.search-page-form input { font-size: 16px; border-radius: 12px; background: var(--paper); min-width: 0; }
.search-group h2 { font-size: 25px; margin-top: 34px; }
.search-row { padding: 21px; border-radius: 16px; gap: 18px; box-shadow: var(--shadow); }
.search-row p { font-size: 13px; }
.prose { max-width: 880px; padding: 45px; }
.prose p, .prose li { font-size: 16px; line-height: 1.9; }
.legal-toc { padding: 22px; border-color: var(--line); background: #f4f6ed; border-radius: 15px; font-size: 14px; }
.legal-table th, .legal-table td { padding: 14px; font-size: 14px; }
.pricing-banner { padding: 34px; border: 1px solid #dce4cd; border-radius: 23px; background: linear-gradient(125deg, #eef3e2, #dce9c8); }
.pricing-banner h2 { font-size: 30px; }
.pricing-banner p { font-size: 15px; }
.pricing-banner .founder { border: 1px solid #e2e8d7; border-radius: 17px; padding: 23px; }
.plan-grid { gap: 24px; margin-top: 30px; }
.plan-card { padding: 34px; }
.plan-card.featured { border-width: 1px; border-color: #8ca56c; box-shadow: 0 0 0 3px #e7eedb, 0 18px 44px #2733260a; }
.plan-badge { top: -14px; font-size: 11px; padding: 5px 13px; letter-spacing: .04em; }
.plan-price { font-size: 14px; }
.plan-price b { font-size: 45px; font-weight: 650; letter-spacing: -.04em; }
.plan-list li { padding: 8px 0; font-size: 14px; }
.plan-soon, .plan-fine { font-size: 13px; }
.plan-option { padding: 19px; border-radius: 14px; }
.plan-option small { font-size: 13px; }
.currency-switch { border-radius: 12px; }
.currency-switch a { min-width: 55px; min-height: 44px; display: grid; place-items: center; font-size: 13px; }

@media (min-width: 1600px) {
  .site-header { padding-left: max(5.5%, calc((100vw - 1424px) / 2)); padding-right: max(5.5%, calc((100vw - 1424px) / 2)); }
}
@media (max-width: 1200px) {
  :root { --sidebar-width: 230px; }
  .site-header { height: 94px; }
  .header-nav { gap: 22px; }
  .brand > small { display: none; }
  .brand-image img { height: 48px; }
  .landing-hero { min-height: 0; gap: 30px; padding: 32px 0 45px; }
  .hero-copy h1 { font-size: 60px; }
  .hero-copy > p { font-size: 17px; }
  .hero-actions { gap: 20px; }
  .hero-copy .hero-actions .button { min-width: 240px; min-height: 56px; font-size: 15px; padding: 15px 22px; }
  .hero-points { font-size: 12px; gap: 15px; }
  .hero-points span + span { padding-left: 15px; }
  .learning-step { padding: 22px; gap: 18px; border-radius: 22px; }
  .learning-step > span { width: 42px; height: 42px; font-size: 16px; }
  .learning-step b { font-size: 26px; }
  .learning-step small { font-size: 9px; margin-bottom: 8px; }
  .floating-chip { font-size: 8px; padding: 13px 17px; }
  .art-caption { font-size: 12px; }
  .intro-strip > div { font-size: 16px; word-spacing: 5px; }
  .section > .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace .page-wrap > main, .workspace .site-header { padding-left: 28px; padding-right: 28px; }
  .workspace .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace .content-columns, .workspace .course-detail-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; }
  .workspace .catalogue-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  .catalogue-layout .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace .header-search { display: none; }
  .lesson-content { padding: 28px; }
  .auth-layout { gap: 55px; }
  .auth-story h1 { font-size: 52px; }
  .plan-card { padding: 26px; }
  .plan-price b { font-size: 38px; }
  .wins .win { gap: 12px; }
}
@media (max-width: 1000px) and (min-width: 851px) {
  .workspace .content-columns, .workspace .course-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .workspace .catalogue-layout { grid-template-columns: minmax(0, 1fr); }
  .workspace .category-sidebar { display: none; }
  .workspace .course-intro { grid-template-columns: minmax(0, 1fr) 180px; gap: 25px; }
  .workspace .course-identity { min-height: 190px; padding: 22px; }
  .workspace .course-identity strong { font-size: 32px; }
  .workspace .quiz-layout { grid-template-columns: minmax(0, 1fr); }
  .workspace .question-map { order: -1; }
  .workspace .question-dots { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); }
  .workspace .plan-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 850px) {
  .site-header { height: 92px; gap: 18px; }
  .brand-image img { height: 44px; }
  .header-nav { gap: 15px; }
  .header-nav > .button { min-height: 44px; font-size: 13px; padding: 10px 16px; }
  .mobile-nav { display: inline-flex; flex-shrink: 0; }
  .drawer-close { display: inline-flex; }
  .landing-hero { gap: 28px; min-height: 0; }
  .hero-copy h1 { font-size: 56px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 18px; }
  .hero-points { flex-direction: column; gap: 8px; }
  .hero-points span + span { border: 0; padding: 0; }
  .learning-art { width: 100%; height: auto; aspect-ratio: 1 / 1.08; transform: none; }
  .learning-step { padding: 17px; gap: 13px; border-radius: 19px; }
  .learning-step > span { width: 35px; height: 35px; font-size: 13px; }
  .learning-step b { font-size: 21px; }
  .learning-step small { font-size: 7px; letter-spacing: .16em; }
  .learning-step > .icon { width: 22px; height: 22px; }
  .floating-chip { font-size: 7px; padding: 10px 13px; letter-spacing: .12em; }
  .art-spark { font-size: 60px; }
  .art-caption { font-size: 10px; }
  .intro-strip { align-items: flex-start; flex-direction: column; gap: 12px; }
  .intro-strip > span { max-width: none; }
  .method-banner { padding: 35px; gap: 30px; }
  .method-banner h2 { font-size: 36px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-columns, .workspace .content-columns, .course-detail-layout, .workspace .course-detail-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { width: 280px; padding: 65px 22px 25px; visibility: hidden; }
  .sidebar .brand { margin-bottom: 25px; }
  .nav-open .sidebar { visibility: visible; }
  .sidebar-user { margin-top: 20px; }
  .workspace .page-wrap { margin-left: 0; }
  .workspace .site-header { height: 78px; padding: 0 24px; }
  .workspace .page-wrap > main { padding: 0 24px 55px; }
  .drawer-search input { min-height: 48px; border-radius: 12px; }
  .breadcrumb { margin-right: auto; }
  .workspace .header-nav { gap: 16px; }
  .catalogue-layout, .workspace .catalogue-layout { display: block; }
  .category-sidebar { display: flex; overflow: auto; border: 0; gap: 8px; padding: 0 0 12px; margin-bottom: 20px; }
  .category-sidebar > .eyebrow { display: none; }
  .category-sidebar a { font-size: 12px; flex-shrink: 0; white-space: nowrap; padding: 10px 14px; margin: 0; min-height: 44px; background: var(--paper); border: 1px solid var(--line); }
  .workspace .course-grid, .catalogue-layout .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-intro { grid-template-columns: minmax(0, 1fr) 220px; gap: 30px; }
  .course-identity { min-height: 210px; padding: 25px; }
  .course-identity strong { font-size: 36px; }
  .auth-layout { gap: 32px; margin: 45px auto; }
  .auth-story h1 { font-size: 44px; }
  .auth-panel { padding: 30px; }
  .quiz-layout { grid-template-columns: minmax(0, 1fr); }
  .question-map { order: -1; padding: 18px; }
  .question-map h3, .question-map .fine-print, .question-map > form { display: none; }
  .question-map-panel > form { display: none; }
  .question-dots { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 9px; }
  .question-dots button { height: 40px; }
  .plan-grid, .plan-grid.two { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .pricing-banner { grid-template-columns: minmax(0, 1fr); }
  .page-heading { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .site-header { height: 82px; padding: 0 20px; gap: 10px; }
  .brand-image img { height: 38px; max-width: 125px; }
  .header-nav > .button { padding: 10px 13px; font-size: 12px; }
  .page-wrap > main { padding: 0 20px 55px; }
  .landing-hero { display: flex; padding: 50px 0 55px; gap: 0; min-height: 0; }
  .hero-copy h1 { font-size: clamp(44px, 12vw, 66px); letter-spacing: -.055em; line-height: 1.02; margin: 25px 0; }
  .hero-copy > p { font-size: 16px; line-height: 1.75; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .15em; }
  .hero-actions { margin-top: 28px; gap: 22px; }
  .hero-copy .hero-actions .button { min-width: 0; width: 100%; min-height: 56px; font-size: 16px; padding: 15px 24px; }
  .quiet-link { font-size: 14px; padding: 5px 0; }
  .hero-points { flex-direction: row; flex-wrap: wrap; font-size: 12px; gap: 14px; margin-top: 25px; }
  .hero-points span { gap: 6px; }
  .learning-art { width: min(100%, 450px); max-width: 100%; aspect-ratio: 1 / 1.2; height: auto; margin: 35px 0 22px; transform: none; }
  .learning-step { width: 86%; height: 24%; padding: 20px; gap: 18px; }
  .learning-step b { font-size: clamp(20px, 6vw, 28px); }
  .learning-step small { font-size: 8px; }
  .learning-step > span { width: 38px; height: 38px; font-size: 15px; }
  .learning-step > .icon { width: 22px; height: 22px; margin-top: 0; }
  .step-one { top: 21%; left: 1%; }
  .step-two { top: 45%; left: 12%; }
  .step-three { top: 69%; left: 3%; }
  .floating-chip { top: 9%; left: 5%; font-size: 8px; padding: 11px 15px; }
  .art-ring { top: 13%; }
  .ring-two { top: 8%; width: 100%; left: 0; }
  .art-spark { top: 10%; right: 0; font-size: 55px; }
  .art-caption { bottom: -1%; right: 0; font-size: 11px; }
  .intro-strip { padding: 25px 0; }
  .intro-strip > div { font-size: 13px; word-spacing: 1px; line-height: 1.9; }
  .intro-strip > span { font-size: 9px; }
  .section { padding: 48px 0; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
  .section-heading h2 { font-size: 30px; max-width: none; }
  .section-heading > a { font-size: 13px; }
  .eyebrow { font-size: 9px; letter-spacing: .15em; }
  .section-heading .eyebrow { max-width: none; }
  .section > .course-grid, .course-grid, .workspace .course-grid, .catalogue-layout .course-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .course-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); border-radius: 17px; }
  .course-art, .workspace .course-art { height: 100%; min-height: 175px; padding: 15px 11px; }
  .art-label { font-size: 8px; letter-spacing: .07em; max-width: 100%; overflow-wrap: anywhere; }
  .course-symbol { font-size: 25px; margin-top: 35px; max-width: 100%; overflow-wrap: anywhere; }
  .course-copy, .workspace .course-copy { padding: 18px; }
  .course-copy h3 { font-size: 16px; }
  .course-copy p { font-size: 12px; margin-bottom: 14px; }
  .card-bottom { font-size: 10px; padding-top: 12px; gap: 8px; }
  .card-tags { gap: 6px; margin-bottom: 11px; }
  .tag { font-size: 9px; padding: 3px 7px; }
  .method-banner { grid-template-columns: minmax(0, 1fr); border-radius: 22px; padding: 27px; gap: 28px; }
  .method-banner h2 { font-size: 36px; }
  .method-banner p { font-size: 15px; }
  .example-question { padding: 22px; transform: none; }
  .example-question h3 { font-size: 19px; }
  .sample-choice { font-size: 12px; padding: 12px; }
  .category-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .category-grid > a { padding: 20px; }
  .cta-banner { padding: 28px; border-radius: 22px; gap: 20px; }
  .cta-banner h2 { font-size: 34px; }
  .cta-banner .button { width: 100%; }
  footer { margin: 0 20px; grid-template-columns: minmax(0, 1fr); padding: 35px 0 25px; gap: 25px; }
  footer > div:nth-child(2) { text-align: left; }
  footer > div:nth-child(2) > a, footer > div:nth-child(2) > .link-button { font-size: 12px; margin: 0 16px 0 0; line-height: 2.6; }
  footer p { font-size: 12px; }
  .page-heading { padding: 35px 0 28px; gap: 18px; }
  .page-heading h1, .workspace .page-heading h1 { font-size: 34px; letter-spacing: -.045em; }
  .page-heading p { font-size: 15px; }
  .catalogue-layout, .workspace .catalogue-layout { display: block; }
  .category-sidebar { display: flex; overflow: auto; border: 0; gap: 8px; padding: 0 0 12px; margin-bottom: 20px; }
  .category-sidebar > .eyebrow { display: none; }
  .category-sidebar a { font-size: 12px; flex-shrink: 0; white-space: nowrap; padding: 10px 14px; margin: 0; min-height: 44px; background: var(--paper); border: 1px solid var(--line); }
  .catalogue-filters { padding: 12px; gap: 10px; }
  .catalogue-filters .search-field { flex-basis: 100%; }
  .catalogue-filters select { flex-basis: 100%; }
  .catalogue-filters .button { width: 100%; }
  .catalogue-meta { font-size: 12px; gap: 10px; flex-wrap: wrap; }
  .course-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 25px 0 35px; }
  .course-intro h1 { font-size: 37px; }
  .course-intro p { font-size: 15px; }
  .course-intro .hero-actions { gap: 12px; }
  .course-intro .button { font-size: 13px; }
  .course-identity { min-height: 150px; padding: 25px; transform: none; }
  .course-identity strong { font-size: 37px; margin: 12px 0; }
  .card { padding: 24px; border-radius: 19px; margin-bottom: 20px; }
  .card h2 { font-size: 25px; }
  .card p { font-size: 14px; }
  .lesson-list > a { padding: 20px 16px; gap: 12px; align-items: flex-start; }
  .lesson-number { width: 32px; height: 32px; font-size: 10px; }
  .lesson-list h3 { font-size: 15px; }
  .lesson-list p { font-size: 12px; }
  .lesson-list > a > span:not(.lesson-number) { font-size: 11px; }
  .practice-banner { padding: 23px; flex-wrap: wrap; }
  .practice-banner h3 { font-size: 16px; }
  .auth-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; margin: 40px auto; }
  .auth-story { padding: 0; }
  .auth-story h1 { font-size: 44px; margin: 22px 0; }
  .auth-story p { font-size: 16px; }
  .auth-decoration { display: none; }
  .auth-panel { padding: 27px; border-radius: 23px; }
  .auth-panel h2 { font-size: 30px; }
  .auth-links { font-size: 13px; }
  .checkbox { font-size: 12px; }
  .workspace .site-header { padding: 0 16px; height: 74px; gap: 10px; }
  .workspace .page-wrap > main { padding: 0 18px 50px; }
  .workspace .header-nav { gap: 12px; }
  .workspace .header-nav .text-button { font-size: 11px; white-space: nowrap; }
  .breadcrumb { font-size: 12px; max-width: 150px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .breadcrumb span { display: none; }
  .breadcrumb a::after { content: ' / '; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 16px 12px; border-radius: 15px; }
  .stat-card > strong { font-size: clamp(20px, 6.25vw, 30px); margin-top: 20px; }
  .stat-card > span { font-size: 11px; line-height: 1.5; display: block; }
  .stat-card > .icon { top: 12px; right: 10px; width: 27px; height: 27px; padding: 6px; border-radius: 8px; }
  .workspace-hero { padding: 28px; border-radius: 21px; margin-bottom: 28px; }
  .workspace-hero h2 { font-size: 34px; }
  .workspace-hero p { font-size: 14px; max-width: 235px; }
  .hero-glyph { font-size: 180px; right: -62px; opacity: .3; }
  .wins .win { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 20px 0; }
  .wins .win > .muted { display: none; }
  .wins .win b { font-size: 14px; }
  .wins .win p { font-size: 12px; }
  .wins .win > .icon { width: 34px; height: 34px; padding: 8px; }
  .mode-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .mode-card { padding: 28px; }
  .mode-card h2 { font-size: 26px; }
  .mode-card p { font-size: 14px; }
  .mode-card .button { font-size: 14px; padding: 12px 18px; }
  .setup-card { padding: 25px; }
  .mode-choice { grid-template-columns: minmax(0, 1fr); }
  .mode-option { padding: 18px; }
  .mode-option b { font-size: 14px; }
  .setup-fields { grid-template-columns: minmax(0, 1fr); }
  .quiz-layout { gap: 0; margin-top: 15px; }
  .question-map { padding: 15px; margin-bottom: 22px; }
  .question-dots { grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 9px; }
  .question-dots button { height: 40px; font-size: 12px; }
  .question-card { padding: 23px; }
  .question-card h1 { font-size: 23px; line-height: 1.5; letter-spacing: -.02em; }
  .answer { padding: 15px 12px; font-size: 14px; gap: 10px; align-items: flex-start; }
  .answer input { margin-top: 5px; flex-shrink: 0; }
  .answer-letter { width: 25px; height: 25px; font-size: 11px; }
  .quiz-actions { gap: 10px; }
  .quiz-actions .button { font-size: 12px; padding: 10px 13px; }
  .quiz-actions .text-button { font-size: 12px; }
  .timer { font-size: 12px; padding: 10px 13px; }
  .result-summary { padding: 25px; gap: 20px; flex-wrap: wrap; align-items: center; }
  .score-circle { width: 100px; height: 100px; font-size: 36px; border-width: 5px; }
  .score-circle small { font-size: 14px; }
  .result-summary h2 { font-size: 27px; }
  .result-summary p { font-size: 14px; }
  .result-summary .button { font-size: 13px; min-height: 44px; }
  .result-list summary { font-size: 14px; gap: 12px; }
  .answer-explanation p { font-size: 14px; }
  .answer-detail { padding: 18px; font-size: 13px; }
  .flashcard { padding: 36px 25px; }
  .flashcard h2 { font-size: 31px; }
  .flashcard > p { font-size: 14px; }
  .card-answer { padding: 22px; }
  .card-answer p { font-size: 15px; }
  .review-actions { gap: 8px; }
  .review-actions button { font-size: 13px; min-width: 0; padding: 10px 12px; }
  .hub-card .card-rate { gap: 8px; }
  .hub-card .card-rate .button { font-size: 13px; padding: 10px 13px; gap: 8px; }
  .cards-filter { flex-wrap: nowrap; overflow: auto; padding-bottom: 10px; }
  .cards-filter a { flex-shrink: 0; max-width: 240px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .cards-status { font-size: 13px; }
  .lesson-content { padding: 28px 22px; }
  .lesson-content h2 { font-size: 24px; line-height: 1.35; margin-bottom: 22px; }
  .lesson-content p { font-size: 17px; line-height: 1.85; margin-bottom: 1.25em; }
  .lesson-content > .lesson-section { margin-bottom: 40px; }
  .lesson-section + .lesson-section { padding-top: 30px; }
  .lesson-section > p:last-child { margin-bottom: 0; }
  .worked-example p:last-child, .takeaway p:last-child { margin-bottom: 0; }
  .lesson-content pre { font-size: 13px; padding: 20px; }
  .worked-example, .takeaway { padding: 22px 18px; }
  .worked-example { margin: 32px 0; }
  .worked-example > .eyebrow { margin-bottom: 15px; }
  .takeaway { gap: 12px; margin: 32px 0; }
  .lesson-navigation .button { font-size: 13px; }
  .prose { padding: 27px; }
  .prose p, .prose li { font-size: 15px; }
  .notice { font-size: 13px; padding: 16px 18px; }
  .history-row { gap: 14px; font-size: 13px; }
  .history-row b { font-size: 13px; }
  .history-row small { font-size: 11px; }
  .plan-card { padding: 28px; }
  .plan-price b { font-size: 42px; }
  .plan-list li { font-size: 14px; }
  .pricing-banner { padding: 27px; }
  .pricing-banner h2 { font-size: 28px; }
  .plan-option { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .plan-option-price { grid-column: 2; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  a, button, .sidebar { transition: none; }
  .button:hover, .course-card:hover, .category-grid > a:hover { transform: none; }
}
