/*
Filename: styles.css
Version: v2.0
Description: Shared responsive styles for StatsCove homepage and lesson pages.
*/

:root {
  --ink: #153238;
  --ink-soft: #536a6f;
  --navy: #173b45;
  --teal: #0d6f70;
  --teal-deep: #0a585d;
  --teal-soft: #dff3f0;
  --seafoam: #eff8f6;
  --sand: #f7f3ea;
  --coral: #df735d;
  --coral-soft: #fff0eb;
  --white: #ffffff;
  --line: #dce7e5;
  --line-dark: #c9dad7;
  --shadow-sm: 0 12px 30px rgba(29, 67, 72, 0.08);
  --shadow-md: 0 22px 50px rgba(29, 67, 72, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1180px;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fbfdfc; color: var(--ink); font-family: var(--font-body); line-height: 1.65; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }

.shell { width: min(var(--shell), calc(100% - 40px)); margin: 0 auto; }
.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; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 9999; background: var(--navy); color: white; padding: 10px 14px; border-radius: 8px; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 253, 252, .92); border-bottom: 1px solid rgba(201,218,215,.75); backdrop-filter: blur(16px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); }
.brand-mark svg { width: 31px; }
.brand-name { font-size: 1.15rem; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: #365257; font-weight: 600; font-size: .96rem; transition: color .2s ease; }
.nav a:hover, .nav a.active { color: var(--teal); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

.hero { position: relative; overflow: hidden; padding: 96px 0 84px; background: radial-gradient(circle at 78% 18%, rgba(203, 238, 231, .68), transparent 32%), linear-gradient(180deg, #fbfdfc 0%, #f2f9f7 100%); }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -90px; height: 150px; border-radius: 50% 50% 0 0; background: #fbfdfc; opacity: .7; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; gap: 72px; align-items: center; }
.eyebrow, .kicker { margin: 0 0 14px; color: var(--teal); font-weight: 800; font-size: .77rem; letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .lesson-hero h1 { margin: 0; font-family: var(--font-display); line-height: 1.06; letter-spacing: -.047em; color: var(--navy); }
.hero h1 { font-size: clamp(3rem, 5.4vw, 5.15rem); max-width: 800px; }
.hero h1 span { color: var(--teal); }
.hero-text { max-width: 650px; margin: 26px 0 30px; color: var(--ink-soft); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 12px; text-decoration: none; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal-deep); color: white; box-shadow: 0 10px 22px rgba(13,111,112,.18); }
.button-primary:hover { background: #084b51; box-shadow: 0 14px 28px rgba(13,111,112,.23); }
.button-ghost { background: rgba(255,255,255,.72); color: var(--navy); border: 1px solid var(--line-dark); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: #61787c; font-size: .84rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #73b7aa; }

.visual-panel { background: rgba(255,255,255,.9); border: 1px solid rgba(201,218,215,.9); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px; transform: rotate(1deg); }
.visual-label-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 26px; }
.visual-label { font-family: var(--font-display); font-weight: 750; color: var(--navy); }
.badge { padding: 6px 10px; border-radius: 999px; background: var(--seafoam); color: var(--teal-deep); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.population { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; max-width: 340px; margin: 10px auto 24px; padding: 25px; border-radius: 18px; background: #f6faf9; }
.population span, .sample-dot { width: 21px; height: 21px; border-radius: 50%; background: #b8ceca; box-shadow: inset 0 0 0 3px rgba(255,255,255,.6); }
.population .selected, .sample-dot { background: var(--coral); }
.sample-flow { display: flex; align-items: center; gap: 0; margin: 6px auto 24px; width: 74%; }
.flow-line { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line-dark), var(--teal)); position: relative; }
.flow-line::after { content: ""; position: absolute; right: -1px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: translateY(-50%) rotate(45deg); }
.sample-card { display: flex; gap: 7px; margin-left: 18px; padding: 14px 16px; border-radius: 14px; background: var(--coral-soft); border: 1px solid #f1c6bb; }
.sample-card .sample-dot { width: 14px; height: 14px; box-shadow: none; }
.visual-caption { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.visual-caption div { padding: 15px; border-top: 1px solid var(--line); }
.visual-caption strong, .visual-caption span { display: block; }
.visual-caption strong { font-size: .92rem; }
.visual-caption span { color: var(--ink-soft); font-size: .78rem; margin-top: 2px; }

.section { padding: 92px 0; }
.section-heading { margin-bottom: 36px; }
.section-heading h2, .two-column-callout h2, .about-card h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.13; letter-spacing: -.035em; color: var(--navy); }
.section-heading > p, .section-copy { color: var(--ink-soft); }
.split-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 40px; }
.split-heading > p { margin: 0 0 6px; max-width: 520px; }
.centered-heading { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.centered-heading > p:last-child { max-width: 620px; margin: 14px auto 0; }

.lesson-grid { display: grid; grid-template-columns: 1.1fr .95fr .95fr; gap: 20px; }
.lesson-card { min-height: 280px; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-md); border: 1px solid var(--line); background: white; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.lesson-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #accfc8; }
.lesson-card.featured { background: linear-gradient(155deg, #ffffff 0%, #f1faf8 100%); border-color: #bfddd7; }
.lesson-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; }
.lesson-number { font-family: var(--font-display); font-size: .8rem; font-weight: 800; color: var(--teal); letter-spacing: .08em; }
.status-pill { padding: 5px 9px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); font-size: .69rem; font-weight: 700; }
.status-pill.neutral { background: #f0f3f2; color: #738184; }
.lesson-card h3 { margin: 0 0 9px; font-family: var(--font-display); font-size: 1.38rem; color: var(--navy); }
.lesson-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.card-link { margin-top: auto; padding-top: 20px; color: var(--teal-deep); font-weight: 700; }
.muted-card { box-shadow: none; background: #fafcfc; }
.topic-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.topic-strip span { padding: 8px 12px; border-radius: 999px; background: #f2f6f5; color: #587074; font-size: .82rem; border: 1px solid #e2ece9; }

.soft-section { background: var(--sand); }
.two-column-callout { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.two-column-callout .section-copy { max-width: 580px; font-size: 1.06rem; }
.mini-simulator { background: white; border-radius: 22px; border: 1px solid #e8e0d2; box-shadow: 0 18px 42px rgba(73, 64, 47, .08); padding: 26px; }
.sim-row { display: flex; justify-content: space-between; gap: 12px; color: #5f6f70; font-size: .9rem; }
.sim-row strong { color: var(--navy); }
.fake-slider { height: 6px; background: #e6eeec; border-radius: 999px; margin: 14px 0 24px; position: relative; }
.fake-slider span { position: absolute; width: 18px; height: 18px; border-radius: 50%; left: 46%; top: 50%; transform: translate(-50%,-50%); background: var(--teal); box-shadow: 0 0 0 4px #d7efeb; }
.mini-chart { height: 120px; display: flex; align-items: end; gap: 7px; margin: 24px 0 12px; padding-top: 10px; border-bottom: 1px solid var(--line); }
.mini-chart i { flex: 1; border-radius: 6px 6px 1px 1px; background: linear-gradient(180deg, #72b9ad, #bfe0da); }
.preview-note { color: #7c8b8c; font-size: .77rem; }

.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { display: flex; gap: 18px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.tool-symbol { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; background: var(--seafoam); color: var(--teal-deep); font-family: var(--font-display); font-weight: 800; }
.tool-card h3 { margin: 0 0 3px; font-size: 1rem; color: var(--navy); }
.tool-card p { margin: 0; color: var(--ink-soft); font-size: .84rem; }

.about-section { padding-top: 36px; }
.about-card { display: grid; grid-template-columns: .9fr 1fr; gap: 70px; padding: 52px; border-radius: 28px; background: var(--navy); color: #d5e1e2; }
.about-card h2 { color: white; }
.about-card > p { margin: 5px 0 0; font-size: 1.02rem; }
.kicker.light { color: #80d0c0; }

.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); background: #fbfdfc; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; color: #718487; font-size: .82rem; }
.footer-inner p { margin: 0; }
.footer-brand .brand-mark { width: 32px; height: 32px; }
.footer-brand .brand-name { color: var(--navy); font-size: 1rem; }
.footer-small { text-align: right; }

/* Lesson page */
.lesson-hero { padding: 64px 0 56px; background: linear-gradient(180deg, #f3faf8 0%, #fbfdfc 100%); border-bottom: 1px solid var(--line); }
.lesson-hero-inner { display: grid; grid-template-columns: 1.2fr .68fr; gap: 70px; align-items: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: .8rem; color: #718588; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal); }
.lesson-hero h1 { font-size: clamp(3rem, 5vw, 4.7rem); }
.lesson-lead { max-width: 760px; margin: 18px 0 22px; font-size: 1.2rem; color: var(--ink-soft); }
.lesson-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.lesson-meta span { padding: 6px 9px; border-radius: 8px; background: white; border: 1px solid var(--line); color: #667c7f; font-size: .76rem; }
.lesson-question-card { padding: 28px; border-radius: 20px; background: var(--navy); color: white; box-shadow: var(--shadow-md); }
.question-label { display: block; color: #85d6c6; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.lesson-question-card p { margin: 14px 0 18px; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.42; }
.question-note { display: block; color: #bfd0d1; font-size: .83rem; }

.lesson-body-section { padding: 58px 0 100px; }
.lesson-layout { display: grid; grid-template-columns: 220px minmax(0, 820px); gap: 68px; justify-content: center; align-items: start; }
.lesson-toc { position: sticky; top: 102px; display: flex; flex-direction: column; gap: 7px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toc-title { margin-bottom: 7px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; color: #7a8e90; }
.lesson-toc a { padding: 5px 0; color: #566e72; text-decoration: none; font-size: .86rem; }
.lesson-toc a:hover { color: var(--teal); }
.lesson-content { min-width: 0; }
.lesson-section-block, .method-section { scroll-margin-top: 105px; padding: 8px 0 64px; }
.lesson-section-block h2, .method-section h2 { margin: 0 0 14px; color: var(--navy); font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.55rem); line-height: 1.15; letter-spacing: -.03em; }
.lesson-content > section > p { color: #4f676b; font-size: 1.02rem; }
.concept-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 20px; }
.concept-card { padding: 22px; border-radius: 18px; border: 1px solid var(--line); }
.concept-card.good { background: var(--seafoam); border-color: #cbe5df; }
.concept-card.caution { background: #fff8f3; border-color: #f0dfd2; }
.concept-label { display: block; margin-bottom: 22px; color: #6b8082; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.concept-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.12rem; color: var(--navy); }
.concept-card p { margin: 0 0 22px; color: #607477; font-size: .88rem; }
.concept-tag { font-size: .76rem; font-weight: 700; color: var(--teal-deep); }
.concept-card.caution .concept-tag { color: #a05e4d; }
.note-box { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--teal); border-radius: 0 10px 10px 0; background: #f4f9f8; color: #4f676b; }

.method-section { border-top: 1px solid var(--line); padding-top: 58px; }
.method-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.method-number { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); font-family: var(--font-display); font-size: .82rem; font-weight: 800; }
.method-type { margin: 1px 0 4px !important; color: var(--teal) !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.method-heading h2 { margin: 0; }
.method-demo, .sequence-demo, .strata-demo, .cluster-demo { margin: 26px 0; border-radius: 18px; background: #f7faf9; border: 1px solid var(--line); }
.method-demo { padding: 26px; }
.method-demo p { margin: 12px 0 0; color: #718386; text-align: center; font-size: .78rem; }
.dot-cloud { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; max-width: 440px; margin: 0 auto; }
.dot-cloud span, .strata-demo span { width: 18px; height: 18px; justify-self: center; border-radius: 50%; background: #bdcecb; }
.dot-cloud .picked, .strata-demo .picked { background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.sequence-demo { display: grid; grid-template-columns: repeat(15, 1fr); gap: 6px; padding: 22px; overflow-x: auto; }
.sequence-demo span { min-width: 34px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; background: white; border: 1px solid var(--line); color: #6a7d80; font-size: .78rem; }
.sequence-demo .picked { background: var(--coral); border-color: var(--coral); color: white; font-weight: 800; }
.strata-demo { padding: 20px; display: grid; gap: 10px; }
.strata-demo > div { display: grid; grid-template-columns: 110px repeat(5, 1fr); gap: 12px; align-items: center; padding: 12px 14px; background: white; border-radius: 12px; }
.strata-demo strong { font-size: .78rem; color: #607579; }
.cluster-demo { padding: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cluster-demo > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; padding: 14px; border-radius: 12px; background: white; border: 1px solid var(--line); }
.cluster-demo strong { grid-column: 1 / -1; margin-bottom: 4px; font-size: .72rem; color: #64797b; }
.cluster-demo i { display: block; height: 28px; border-radius: 7px; background: #d6e2df; }
.cluster-demo > div.picked { background: var(--coral-soft); border-color: #efc8bd; }
.cluster-demo > div.picked i { background: #df8c79; }
.example-box { margin: 24px 0 14px; padding: 18px 20px; border-radius: 14px; background: #eef8f6; }
.example-box > span { display: block; margin-bottom: 5px; color: var(--teal-deep); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.example-box p { margin: 0; color: #466266; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pros-cons p { margin: 0; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; color: #62777a; font-size: .85rem; }

.nonprob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.nonprob-card { padding: 24px; border-radius: 18px; background: #fff9f6; border: 1px solid #efddd5; }
.warning-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: var(--coral-soft); color: #b15d4b; font-weight: 800; }
.nonprob-card h3 { margin: 17px 0 8px; font-family: var(--font-display); color: var(--navy); }
.nonprob-card > p { margin: 0 0 14px; color: #64777a; }
.micro-example { padding: 13px 14px; border-radius: 10px; background: white; color: #5a6f72; font-size: .84rem; }
.risk { margin-top: 14px !important; font-size: .84rem; }

.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .84rem; }
th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #f4f8f7; color: #526b6e; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:last-child td { border-bottom: 0; }
td { color: #5a7073; }
td:first-child { color: var(--navy); }
.decision-box { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--navy); color: white; }
.decision-box h3 { margin: 0 0 18px; font-family: var(--font-display); }
.decision-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.decision-steps > div { padding: 16px; border-radius: 12px; background: rgba(255,255,255,.08); }
.decision-steps span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #79c8ba; color: var(--navy); font-size: .72rem; font-weight: 800; }
.decision-steps p { margin: 12px 0 0; color: #d3dfe0; font-size: .82rem; }
.decision-steps strong { color: white; }

.lesson-end { padding: 42px; border-radius: 20px; background: var(--sand); }
.end-label { color: #8a7558; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.lesson-end blockquote { margin: 14px 0 24px; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.45; color: var(--navy); }

@media (max-width: 980px) {
  .hero-grid, .lesson-hero-inner, .two-column-callout, .about-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { width: min(620px, 100%); margin: 0 auto; }
  .lesson-grid { grid-template-columns: 1fr 1fr; }
  .lesson-card.featured { grid-column: 1 / -1; min-height: 240px; }
  .tool-grid { grid-template-columns: 1fr; }
  .lesson-layout { grid-template-columns: 1fr; gap: 20px; }
  .lesson-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0 20px; }
  .toc-title { width: 100%; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .header-inner { min-height: 66px; }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 18px 20px 22px; flex-direction: column; align-items: flex-start; gap: 14px; background: rgba(251,253,252,.98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .nav.open { display: flex; }
  .hero { padding: 66px 0 58px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-meta { gap: 9px 14px; }
  .visual-panel { padding: 18px; transform: none; }
  .population { gap: 9px; padding: 18px; }
  .population span { width: 17px; height: 17px; }
  .visual-caption { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 14px; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-card.featured { grid-column: auto; }
  .about-card { padding: 30px; gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; gap: 10px; }
  .footer-small { text-align: left; }
  .lesson-hero { padding: 46px 0 40px; }
  .lesson-hero-inner { gap: 32px; }
  .lesson-hero h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .lesson-body-section { padding-top: 36px; }
  .concept-split, .nonprob-grid, .pros-cons, .decision-steps { grid-template-columns: 1fr; }
  .sequence-demo { grid-template-columns: repeat(15, 34px); }
  .strata-demo > div { grid-template-columns: 86px repeat(5, 1fr); gap: 7px; }
  .strata-demo span { width: 14px; height: 14px; }
  .cluster-demo { grid-template-columns: 1fr 1fr; }
  .lesson-end { padding: 26px; }
  .lesson-end blockquote { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
