:root {
  --ink: #1d2924;
  --muted: #69756c;
  --lime: #d4ec87;
  --cream: #f8f9f3;
  --line: #e2e8dc;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  background: #fff;
}
button,
a {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.announcement {
  height: 35px;
  background: #26382d;
  color: #e7f1d3;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.09em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.announcement span {
  color: var(--lime);
}
.announcement a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.brand b {
  font-weight: 800;
}
nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
}
nav a:hover {
  color: #7b9840;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.textbtn {
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 16px 21px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.button span:last-child {
  font-size: 16px;
}
.button.dark {
  background: #263b2d;
  color: #fff;
}
.button.dark:hover {
  background: #405b3c;
}
.button.outline {
  border-color: #dce3d7;
  background: white;
}
.button.white {
  background: white;
  color: #203428;
}
.button.small {
  padding: 13px 17px;
  font-size: 12px;
}
.hamb {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 64px;
  min-height: 575px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #668346;
}
.dot {
  display: inline-block;
  background: #9ecb53;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
}
.hero h1,
h2 {
  font-family: Manrope, sans-serif;
  letter-spacing: -0.055em;
  line-height: 1.1;
}
.hero h1 {
  font-size: clamp(48px, 5.4vw, 72px);
  margin: 25px 0;
}
.hero h1 em,
h2 em,
.video-copy em {
  font-style: normal;
  color: #7e9e54;
}
.hero-copy > p,
.lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 480px;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 29px;
}
.play {
  font-size: 10px !important;
  border: 1px solid #c8d4c1;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  color: #728075;
  font-size: 11px;
}
.avatars {
  display: flex;
}
.avatars i {
  display: grid;
  place-items: center;
  font-style: normal;
  border: 2px solid white;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  background: #cde0bd;
  margin-left: -6px;
}
.avatars i:nth-child(2) {
  background: #e2d7c1;
}
.avatars i:nth-child(3) {
  background: #a8c598;
}
.hero-art {
  height: 460px;
  background: #e8f0da;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 25px;
}
.art-top,
.art-bottom {
  display: flex;
  justify-content: space-between;
  color: #6e8763;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}
.art-heading {
  font-family: Manrope;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
  margin: 35px 0 0 20px;
}
.art-heading strong {
  color: #76954f;
}
.orbit {
  position: absolute;
  border: 1px solid #cadbb9;
  border-radius: 50%;
  width: 430px;
  height: 430px;
  top: 20px;
  right: -100px;
}
.orbit2 {
  width: 310px;
  height: 310px;
  top: 90px;
  right: -40px;
}
.mock-window {
  position: absolute;
  left: 12%;
  right: 7%;
  top: 145px;
  height: 230px;
  background: white;
  border-radius: 9px;
  box-shadow: 0 20px 45px #47633b26;
  transform: rotate(-3deg);
  overflow: hidden;
}
.mock-head {
  height: 38px;
  border-bottom: 1px solid #edf0e9;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.mock-head span:first-child {
  color: #8cab57;
  font-size: 16px;
}
.mock-head span:last-child {
  margin-left: auto;
}
.mock-body {
  display: flex;
  height: 100%;
}
.mock-side {
  width: 23%;
  background: #f7f9f4;
  padding: 25px 12px;
}
.mock-side span {
  display: block;
  height: 5px;
  background: #d9e2d4;
  border-radius: 5px;
  margin-bottom: 17px;
}
.mock-side span:first-child {
  background: #a7c877;
}
.mock-content {
  padding: 23px;
  width: 77%;
}
.mock-content > small,
.mini-card small {
  display: block;
  font-size: 7px;
  color: #89968b;
  letter-spacing: 0.08em;
}
.mock-content > b {
  display: block;
  font-size: 15px;
  margin: 6px 0 15px;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eff5e6;
  padding: 12px;
  border-radius: 6px;
}
.mini-card > div:nth-child(2) {
  flex: 1;
}
.mini-card strong {
  font-size: 10px;
}
.mini-card > b {
  font-size: 13px;
}
.mini-icon {
  background: #cfe7a7;
  border-radius: 5px;
  padding: 9px;
}
.bar {
  height: 5px;
  background: #dce6d4;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 9px;
}
.bar i {
  display: block;
  height: 100%;
  width: 64%;
  background: #89ae54;
  border-radius: 10px;
  transition: width 0.5s;
}
.mini-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 9px;
}
.mini-bottom b,
.mini-bottom small {
  display: block;
  margin: 4px 0;
}
.circle {
  background: #d7edaf;
  border-radius: 50%;
  height: 35px;
  width: 35px;
  display: grid;
  place-items: center;
}
.float-card {
  position: absolute;
  right: 0;
  bottom: 48px;
  background: #fff;
  border-radius: 7px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px #48634026;
}
.float-card > span {
  background: #d8eeb6;
  border-radius: 50%;
  padding: 8px;
}
.float-card small,
.float-card b {
  display: block;
  font-size: 8px;
}
.float-card b {
  font-size: 10px;
  margin-top: 4px;
}
.art-bottom {
  position: absolute;
  bottom: 20px;
  left: 25px;
  right: 25px;
}
.stats {
  background: #f4f7ee;
  border-top: 1px solid #e8eee0;
  border-bottom: 1px solid #e8eee0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 24px;
  padding-bottom: 24px;
}
.stats-inner > div {
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid #dce5d6;
  padding-left: 30px;
}
.stats-inner > div:first-child {
  padding-left: 0;
}
.stats-inner > div:last-child {
  border: 0;
}
.stats strong {
  font-family: Manrope;
  font-size: 27px;
}
.stats span {
  font-size: 11px;
  color: #7b887b;
  line-height: 1.5;
}
.stat-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.stat-label span {
  font-size: 23px;
  color: #86a65c;
}
.section {
  padding-top: 110px;
  padding-bottom: 110px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 50px;
}
.section h2 {
  font-size: clamp(38px, 4vw, 52px);
  margin: 20px 0 0;
}
.section-top > p {
  max-width: 380px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  margin: 0;
}
.video-preview {
  height: 420px;
  background: #263d2e;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.video-copy {
  padding: 55px 7%;
  color: white;
  z-index: 2;
}
.light {
  color: #c5df8f;
}
.video-copy h3 {
  font: 700 42px/1.1 Manrope;
  letter-spacing: -0.05em;
  margin: 20px 0;
}
.video-copy em {
  color: #c9e999;
}
.video-copy p {
  color: #b4c4b5;
  font-size: 13px;
  margin-bottom: 25px;
}
.video-art {
  position: absolute;
  right: 5%;
  top: 40px;
  width: 42%;
  height: 380px;
  transform: rotate(7deg);
  background: #b9d99c;
  border-radius: 50% 50% 5px 5px;
}
.video-sheet {
  position: absolute;
  inset: 38px 30px;
  background: #f9fbf5;
  padding: 30px;
  box-shadow: 0 20px 30px #172a1b35;
}
.video-sheet > span {
  font-size: 9px;
  font-weight: 800;
}
.sheet-line {
  height: 13px;
  background: #2b4332;
  width: 75%;
  margin-top: 30px;
}
.sheet-line.short {
  width: 50%;
  margin-top: 8px;
  background: #a1c277;
}
.sheet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 30px;
}
.sheet-grid i {
  font-style: normal;
  background: #edf3e6;
  padding: 16px;
  font-size: 10px;
}
.sheet-grid b {
  display: block;
  margin-top: 10px;
}
.video-corner {
  position: absolute;
  bottom: 25px;
  right: 25px;
  color: #d3e1c8;
  font-size: 8px;
  letter-spacing: 0.1em;
  text-align: right;
}
.soft {
  background: #f7f9f4;
}
.quiz-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.quiz-layout .lead {
  max-width: 380px;
}
.handnote {
  font-family: serif;
  font-style: italic;
  color: #94ae74;
  font-size: 22px;
  margin-top: 45px;
}
.quiz-card,
.panel-quiz {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 15px 40px #334a2410;
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #778b73;
}
.quiz-card h3 {
  font: 700 21px Manrope;
  letter-spacing: -0.03em;
  margin: 30px 0 23px;
}
.answers {
  display: grid;
  gap: 9px;
}
.answers button {
  width: 100%;
  text-align: left;
  border: 1px solid #e1e8dc;
  border-radius: 6px;
  padding: 11px;
  background: white;
  color: #435047;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  transition: 0.2s;
}
.answers button:hover {
  border-color: #9dbb7e;
  background: #f8fbf4;
}
.answers button span {
  display: grid;
  place-items: center;
  background: #f1f5ed;
  width: 27px;
  height: 27px;
  border-radius: 4px;
  font-weight: 700;
}
.answers button b {
  margin-left: auto;
}
.answers button.correct {
  border-color: #8eb65d;
  background: #eef7e5;
}
.answers button.wrong {
  border-color: #d99b93;
  background: #fff6f4;
}
.feedback {
  font-size: 11px;
  color: #849184;
  margin: 16px 0 0;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.features article {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 25px;
  min-height: 240px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.features article:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #233c2212;
}
.features article > span {
  display: grid;
  place-items: center;
  background: #edf4e4;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  color: #6f9550;
  font-size: 22px;
  margin-bottom: 32px;
}
.features small {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #92a18e;
}
.features h3,
.step-grid h3 {
  font: 700 16px Manrope;
  letter-spacing: -0.03em;
}
.features p,
.step-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.modules-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 120px 0 40px;
}
.modules-head p {
  font-size: 13px;
  color: var(--muted);
}
.modules > div {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  gap: 30px;
}
.modules > div:last-child {
  border-bottom: 1px solid var(--line);
}
.modules > div > b {
  color: #9eb684;
  font: 600 14px Manrope;
}
.modules h3 {
  font: 700 16px Manrope;
  flex: 1;
  margin: 0;
}
.modules h3 small {
  display: block;
  font: 400 12px "DM Sans";
  color: var(--muted);
  margin-top: 7px;
}
.modules span {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #8b9989;
}
.modules i {
  font-style: normal;
  font-size: 20px;
  margin-left: 25px;
}
.dark-section {
  background: #263a2d;
  color: white;
}
.dark-section .section-top p {
  color: #afc0ae;
}
.dashboard-preview {
  background: #f7f9f3;
  color: var(--ink);
  display: grid;
  grid-template-columns: 25% 75%;
  border-radius: 10px;
  overflow: hidden;
  min-height: 500px;
}
.dash-side {
  background: #edf3e8;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-size: 10px;
}
.dash-logo {
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 32px;
}
.dash-side small {
  font-size: 8px;
  color: #8b9b87;
}
.dash-side span {
  padding: 9px;
  color: #7b8a79;
}
.dash-side span.active {
  background: #dcebcf;
  color: #354d30;
  border-radius: 5px;
}
.dash-progress {
  margin-top: auto;
  font-size: 8px;
}
.dash-progress strong {
  float: right;
}
.dash-main {
  padding: 25px 9%;
  position: relative;
}
.dash-top {
  font-size: 8px;
  color: #8a9a89;
  letter-spacing: 0.08em;
}
.dash-top span {
  float: right;
}
.dash-label {
  font-size: 9px;
  color: #89a66b;
  font-weight: 800;
  margin-top: 38px;
}
.dash-main h3 {
  font: 700 29px/1.1 Manrope;
  letter-spacing: -0.04em;
  margin: 13px 0;
}
.dash-main > p {
  font-size: 11px;
  color: var(--muted);
}
.paper {
  background: #fff;
  border: 1px solid #e7eee1;
  max-width: 420px;
  margin: 25px auto;
  padding: 30px 40px;
  position: relative;
}
.paper small {
  font-size: 7px;
  color: #90a58b;
}
.paper h4 {
  font: 700 24px/1.1 Manrope;
  letter-spacing: -0.04em;
  margin: 20px 0;
}
.paper-rule {
  width: 35px;
  height: 3px;
  background: #a7c978;
}
.paper p {
  font-size: 10px;
  line-height: 1.7;
  color: #768276;
  max-width: 260px;
}
.paper > span {
  position: absolute;
  right: 40px;
  bottom: 20px;
  color: #b9d798;
  font-size: 50px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.step-grid article > div {
  border-bottom: 1px solid #dbe4d6;
  padding-bottom: 22px;
  font: 600 13px Manrope;
  color: #9eb493;
  display: flex;
  justify-content: space-between;
}
.step-grid article > div span {
  font-size: 22px;
  color: #7a9c58;
}
.step-grid h3 {
  margin-top: 25px;
}
.faqs details {
  border-bottom: 1px solid #dce6d6;
  padding: 22px 0;
}
.faqs details:first-child {
  border-top: 1px solid #dce6d6;
}
.faqs summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.faqs summary::-webkit-details-marker {
  display: none;
}
.faqs summary span {
  font-size: 20px;
  color: #7d9d60;
}
.faqs details[open] summary span {
  transform: rotate(45deg);
}
.faqs p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 490px;
}
.pricing {
  background: #d9edb1;
  border-radius: 12px;
  padding: 65px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}
.pricing .eyebrow {
  color: #6b8c4c;
}
.pricing h2 {
  font-size: 58px;
  margin: 22px 0;
}
.pricing h2 em {
  color: #769b50;
}
.pricing > div:first-child > p {
  font-size: 14px;
  line-height: 1.8;
  color: #607655;
  max-width: 380px;
  margin-bottom: 30px;
}
.pricing-star {
  position: absolute;
  font-size: 200px;
  color: #c8e69b;
  bottom: -100px;
  left: 20%;
}
.price-card {
  background: #fff;
  border-radius: 9px;
  padding: 30px;
  z-index: 1;
}
.price-card > span {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #82a05f;
  font-weight: 800;
}
.price-card h3 {
  font: 700 20px Manrope;
}
.price {
  font: 800 28px Manrope;
  letter-spacing: -0.04em;
}
.price-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.price-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.price-card ul {
  list-style: none;
  padding: 0;
  font-size: 13px;
  line-height: 2.3;
}
.price-card .button {
  width: 100%;
  margin-top: 10px;
}
.footer-top {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 1fr 1fr;
  gap: 40px;
  padding-top: 55px;
  padding-bottom: 55px;
}
.footer-top p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.footer-top > div b {
  font-size: 9px;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 20px;
}
.footer-top > div a,
.footer-top > div button {
  display: block;
  border: 0;
  padding: 0;
  background: none;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  color: #9aa69a;
  font-size: 9px;
  letter-spacing: 0.05em;
}
.hidden {
  display: none !important;
}
.panel {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #f7f9f4;
  display: grid;
  grid-template-columns: 270px 1fr;
  overflow: hidden;
}
.panel aside {
  background: white;
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  overflow: auto;
}
.panel-brand {
  display: flex;
  justify-content: space-between;
}
.panel-brand button {
  display: none;
}
.back {
  font-size: 12px;
  color: #7a8b79;
  margin: 40px 0 25px;
  cursor: pointer;
}
.side-progress {
  background: #f2f7ec;
  padding: 16px;
  border-radius: 7px;
}
.side-progress small,
.side-title {
  display: block;
  color: #8a9c83;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.side-progress strong {
  display: block;
  font-size: 13px;
  margin-top: 8px;
}
.side-title {
  margin: 35px 0 20px;
}
.side-title span {
  float: right;
}
.panel aside h3 {
  font-size: 12px;
}
.lesson-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 12px 8px;
  border-radius: 5px;
  font-size: 11px;
  color: #71806f;
}
.lesson-item.active {
  background: #e8f2de;
  color: #38592f;
  font-weight: 700;
}
.lesson-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.side-bottom {
  background: #e7f1df;
  border-radius: 7px;
  padding: 17px;
  margin-top: 45px;
  font-size: 11px;
}
.side-bottom p {
  color: #83947f;
}
.workspace {
  overflow: auto;
}
.workspace-top {
  height: 75px;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #91a08f;
  letter-spacing: 0.08em;
}
.workspace-top button {
  border: 0;
  background: none;
  font-size: 11px;
  color: #61765f;
}
.work-inner {
  max-width: 900px;
  margin: auto;
  padding: 55px 40px 100px;
}
.work-inner h1 {
  font: 800 38px Manrope;
  letter-spacing: -0.05em;
  margin: 17px 0;
}
.work-inner > p {
  color: var(--muted);
  font-size: 14px;
}
.reader-head {
  display: flex;
  justify-content: space-between;
  margin-top: 38px;
  background: #e8eee4;
  padding: 15px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #71806f;
  font-weight: 800;
  border-radius: 7px 7px 0 0;
}
.reader {
  height: 550px;
  overflow: auto;
  background: #dce4d8;
  padding: 35px;
}
.document {
  background: white;
  max-width: 610px;
  min-height: 790px;
  margin: auto;
  padding: 70px;
  box-shadow: 0 4px 15px #263b2d12;
}
.document small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #95a691;
}
.document h2 {
  font-size: 43px;
  margin: 65px 0 25px;
}
.document h3 {
  font: 700 18px Manrope;
  margin-top: 35px;
}
.document p {
  line-height: 1.9;
  font-size: 14px;
  color: #68786b;
}
.doc-line {
  background: #9abb77;
  width: 50px;
  height: 4px;
}
.doc-callout {
  background: #eff5e9;
  padding: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #59734d;
  margin-top: 30px;
}
.panel-quiz {
  margin-top: 25px;
}
.panel-quiz h2 {
  font-size: 25px;
  margin: 14px 0;
}
.panel-quiz > p:not(.feedback) {
  font-size: 14px;
  margin: 25px 0;
}
.panel-quiz .button {
  margin-top: 20px;
}
.mobile-menu,
.nav-mobile-buy {
  display: none;
}
@media (max-width: 800px) {
  nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 123px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px;
    box-shadow: 0 12px 20px #0001;
    flex-direction: column;
    gap: 20px;
  }
  nav.show {
    display: flex;
  }
  .hamb {
    display: block;
  }
  .nav-actions .button {
    display: none;
  }
  #nav .nav-mobile-buy:not([hidden]) {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    background: #23392b;
    color: #fff;
    text-align: center;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 25px;
  }
  .hero-art {
    height: 420px;
  }
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .stats-inner > div:nth-child(3) {
    padding-left: 0;
  }
  .stats-inner > div:nth-child(2) {
    border: 0;
  }
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .section-top,
  .modules-head {
    display: block;
  }
  .section-top > p,
  .modules-head p {
    margin-top: 25px;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .quiz-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .pricing {
    grid-template-columns: 1fr;
    padding: 35px;
    gap: 35px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-preview {
    grid-template-columns: 30% 70%;
  }
  .panel {
    grid-template-columns: 1fr;
  }
  .panel aside {
    position: absolute;
    z-index: 12;
    top: 0;
    bottom: 0;
    left: 0;
    width: 290px;
    transform: translateX(-100%);
    transition: transform 0.25s;
    box-shadow: 5px 0 30px #0002;
  }
  .panel aside.open {
    transform: translateX(0);
  }
  .panel-brand button,
  .mobile-menu {
    display: block !important;
  }
  .workspace-top > span {
    display: none;
  }
  .video-art {
    right: -15%;
    width: 55%;
    opacity: 0.6;
  }
  .video-copy {
    padding: 35px;
  }
  .step-grid {
    gap: 20px;
  }
}
@media (max-width: 500px) {
  .announcement {
    font-size: 8px;
    gap: 6px;
  }
  .announcement a {
    display: none;
  }
  .nav {
    height: 70px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-art {
    height: 370px;
  }
  .mock-window {
    top: 135px;
    left: 7%;
    right: 5%;
  }
  .float-card {
    bottom: 20px;
  }
  .art-bottom {
    display: none;
  }
  .stats-inner > div {
    padding-left: 10px;
  }
  .stats strong {
    font-size: 22px;
  }
  .stats span {
    font-size: 10px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .features article {
    min-height: 0;
  }
  .features article > span {
    margin-bottom: 20px;
  }
  .video-preview {
    height: 390px;
  }
  .video-copy h3 {
    font-size: 35px;
  }
  .video-art {
    display: none;
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-preview {
    grid-template-columns: 1fr;
  }
  .dash-side {
    display: none;
  }
  .dash-main {
    padding: 25px;
  }
  .modules > div {
    gap: 12px;
  }
  .modules span {
    display: none;
  }
  .pricing h2 {
    font-size: 46px;
  }
  .footer-top {
    gap: 30px;
  }
  .footer-bottom {
    display: block;
    line-height: 2;
  }
  .work-inner {
    padding: 35px 18px;
  }
  .work-inner h1 {
    font-size: 29px;
  }
  .workspace-top {
    padding: 0 18px;
  }
  .reader {
    padding: 15px;
    height: 470px;
  }
  .document {
    padding: 35px;
    min-height: 700px;
  }
  .document h2 {
    font-size: 32px;
  }
  .reader-head span:last-child {
    display: none;
  }
  .panel-quiz {
    padding: 22px;
  }
}
body.modal-open {
  overflow: hidden;
}
.course-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 39, 28, 0.68);
  backdrop-filter: blur(5px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: overlayIn 0.22s ease;
}
.login-box,
.topic-modal {
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px #172a1c40;
  animation: modalIn 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.close-modal {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #f1f5ed;
  border: 0;
  border-radius: 50%;
  font-size: 25px;
  color: #526650;
  transition:
    background 0.2s,
    transform 0.2s;
}
.close-modal:hover {
  background: #e1efd3;
  transform: rotate(90deg);
}
.login-box {
  width: min(100%, 465px);
  max-height: 95vh;
  overflow: auto;
  padding: 42px;
}
.login-box > .close-modal {
  position: absolute;
  top: 22px;
  right: 22px;
}
.login-symbol {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #e8f3db;
  color: #789c58;
  border-radius: 10px;
  font-size: 24px;
  margin-bottom: 27px;
}
.login-box h2 {
  font: 800 42px/1.1 Manrope;
  letter-spacing: -0.05em;
  margin: 16px 0;
}
.login-box h2 em,
.course-welcome h1 em {
  font-style: normal;
  color: #7e9e54;
}
.login-box > p {
  font-size: 13px;
  line-height: 1.7;
  color: #748173;
}
.login-box form {
  margin-top: 25px;
}
.login-box label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin: 15px 0;
  color: #526351;
}
.login-box input {
  display: block;
  width: 100%;
  border: 1px solid #dce5d7;
  border-radius: 6px;
  padding: 13px;
  margin-top: 7px;
  font: 14px "DM Sans";
  outline: none;
}
.login-box input:focus {
  border-color: #8dab70;
  box-shadow: 0 0 0 3px #e7f2df;
}
.login-submit {
  width: 100%;
}
.login-error {
  font-size: 11px;
  color: #ad5149;
  min-height: 16px;
}
.demo-credentials {
  background: #f4f8ef;
  border-radius: 7px;
  padding: 15px;
  margin-top: 18px;
  font-size: 11px;
  color: #73846e;
  line-height: 1.8;
}
.demo-credentials b {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #88a176;
}
.demo-credentials strong {
  color: #455a40;
}
.course-view {
  min-height: 100vh;
  background: #f8faf5;
}
.course-header {
  background: #fff;
  border-bottom: 1px solid #e6ece1;
}
.course-header-inner {
  height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-header-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #91a18b;
}
.course-header-inner > div {
  display: flex;
  gap: 20px;
  align-items: center;
}
.user-pill {
  background: #eef5e7;
  border-radius: 50px;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #62804e;
}
.logout-button,
.course-breadcrumb button {
  border: 0;
  background: none;
  color: #667963;
  font-size: 11px;
  font-weight: 700;
}
.course-main {
  padding-top: 33px;
  padding-bottom: 100px;
}
.course-breadcrumb {
  font-size: 9px;
  color: #9aa798;
  letter-spacing: 0.1em;
}
.course-breadcrumb button {
  padding: 0;
}
.course-welcome {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  padding: 65px 0 75px;
}
.course-welcome h1 {
  font: 800 clamp(40px, 5vw, 62px)/1.1 Manrope;
  letter-spacing: -0.055em;
  margin: 18px 0;
}
.course-welcome p,
.course-section-heading p {
  font-size: 14px;
  line-height: 1.8;
  color: #7b8979;
  max-width: 460px;
}
.course-progress-card {
  width: 285px;
  background: #e8f2dd;
  padding: 24px;
  border-radius: 9px;
}
.course-progress-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-progress-card span {
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #76946a;
}
.course-progress-card strong {
  font: 800 20px Manrope;
}
.course-progress-track {
  height: 6px;
  background: #d4e4c9;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0;
}
.course-progress-track i {
  display: block;
  height: 100%;
  background: #89ad60;
  border-radius: 10px;
  transition: width 0.5s;
}
.course-progress-card small {
  font-size: 10px;
  color: #81977b;
}
.course-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e3eae0;
  padding-top: 55px;
}
.course-section-heading h2 {
  font-size: 38px;
  margin: 14px 0;
}
.course-section-heading p {
  max-width: 320px;
}
.course-note {
  padding: 14px 17px;
  background: #f0f6e9;
  color: #6e8563;
  border-radius: 6px;
  font-size: 11px;
  margin: 30px 0 20px;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.topic-card {
  background: #fff;
  border: 1px solid #e1e9dc;
  border-radius: 9px;
  padding: 24px;
  text-align: left;
  color: var(--ink);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.topic-card:not(:disabled):hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px #324b2712;
  border-color: #b8d49d;
}
.topic-card.locked {
  background: #f7f9f5;
  color: #a5b0a1;
  cursor: not-allowed;
}
.topic-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #9aa995;
}
.topic-state {
  font-size: 16px;
}
.topic-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #ebf4e2;
  color: #81a460;
  font-size: 23px;
  margin: 35px 0 22px;
}
.topic-card.locked .topic-card-icon {
  background: #edf0eb;
  color: #b1bcac;
}
.topic-card h3 {
  font: 700 18px Manrope;
  letter-spacing: -0.03em;
}
.topic-card p {
  font-size: 12px;
  color: #879485;
  line-height: 1.7;
  min-height: 42px;
}
.topic-card-bottom {
  border-top: 1px solid #e8eee4;
  padding-top: 18px;
  margin-top: 28px;
  font-size: 9px;
  letter-spacing: 0.07em;
  font-weight: 800;
  color: #78966a;
  display: flex;
  justify-content: space-between;
}
.topic-card.locked .topic-card-bottom {
  color: #aab7a6;
}
.course-bottom-note {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 45px;
  color: #729064;
}
.course-bottom-note > span {
  font-size: 28px;
}
.course-bottom-note b {
  font-size: 12px;
}
.course-bottom-note p {
  font-size: 11px;
  color: #94a390;
  margin: 5px 0;
}
.topic-modal {
  width: min(70vw, 1000px);
  max-height: 90vh;
  overflow: auto;
}
.topic-modal-head {
  padding: 38px 45px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid #e7eee3;
}
.topic-modal-head h2 {
  font: 800 32px Manrope;
  letter-spacing: -0.045em;
  margin: 13px 0;
}
.topic-modal-head p {
  font-size: 13px;
  color: #82907e;
  margin: 0;
}
.topic-modal-head .close-modal {
  flex-shrink: 0;
}
.topic-modal-body {
  background: #f8faf6;
  padding: 35px 45px 45px;
}
.material-card {
  background: #fff;
  border: 1px solid #e1e9dc;
  border-radius: 8px;
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.material-icon {
  background: #edf5e5;
  color: #789e5d;
  border-radius: 7px;
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}
.material-card > div:nth-child(2) {
  flex: 1;
}
.material-card small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #92a58b;
  font-weight: 800;
}
.material-card h3 {
  font: 700 14px Manrope;
  margin: 5px 0;
}
.material-card p {
  font-size: 11px;
  color: #95a093;
  margin: 0;
}
.pdf-pending {
  border: 1px solid #e3e9df;
  background: #f8faf7;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 11px;
  color: #9faa9b;
}
.quiz-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 45px 0 20px;
}
.quiz-heading h3 {
  font: 700 23px Manrope;
  letter-spacing: -0.04em;
  margin: 12px 0;
}
.quiz-heading p {
  font-size: 12px;
  color: #849180;
}
.quiz-heading > span {
  font-size: 46px;
  color: #d0e7b8;
}
.sequential-quiz {
  background: white;
  border: 1px solid #e2eadf;
  border-radius: 9px;
  padding: 28px;
}
.quiz-counter {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #849781;
  letter-spacing: 0.09em;
  font-weight: 800;
}
.sequential-quiz h4 {
  font: 700 19px Manrope;
  letter-spacing: -0.03em;
  margin: 30px 0 20px;
}
.quiz-options button.selected {
  border-color: #89ad65;
  background: #eef6e8;
  color: #36502d;
}
.quiz-options button.selected span {
  background: #d5eac5;
}
.quiz-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 23px;
  gap: 15px;
}
.quiz-controls > span {
  font-size: 11px;
  color: #91a08d;
}
.quiz-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.quiz-result {
  text-align: center;
  padding: 12px;
}
.result-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e6f3dc;
  color: #78a356;
  font-size: 24px;
}
.quiz-result h4 {
  margin: 12px 0;
  font-size: 25px;
}
.quiz-result p {
  font-size: 13px;
  color: #7d8d79;
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
@media (max-width: 800px) {
  .course-header-label {
    display: none;
  }
  .course-welcome {
    display: block;
    padding: 50px 0;
  }
  .course-progress-card {
    width: 100%;
    max-width: 350px;
    margin-top: 30px;
  }
  .course-section-heading {
    display: block;
  }
  .topic-grid {
    grid-template-columns: 1fr 1fr;
  }
  .topic-modal {
    width: min(95vw, 700px);
  }
  .topic-modal-head {
    padding: 30px;
  }
  .topic-modal-body {
    padding: 25px 30px 35px;
  }
}
@media (max-width: 520px) {
  .course-header-inner {
    height: 70px;
  }
  .user-pill {
    display: none;
  }
  .course-welcome h1 {
    font-size: 42px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .course-section-heading h2 {
    font-size: 33px;
  }
  .course-overlay {
    padding: 10px;
  }
  .login-box {
    padding: 30px;
  }
  .topic-modal {
    width: 100%;
    max-height: 94vh;
  }
  .topic-modal-head {
    padding: 25px 20px;
  }
  .topic-modal-head h2 {
    font-size: 25px;
  }
  .topic-modal-body {
    padding: 20px;
  }
  .material-card {
    flex-wrap: wrap;
  }
  .material-card > div:nth-child(2) {
    min-width: 170px;
  }
  .sequential-quiz {
    padding: 20px;
  }
  .quiz-controls {
    align-items: flex-start;
    flex-direction: column;
  }
  .quiz-heading > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Shared theme and course layout. */
:root {
  color-scheme: light;
  --surface: #fff;
  --soft: #edf3e8;
  --accent: #4a6733;
  --selected: #dcebcf;
  --error: #9b3933;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef4ea;
  --muted: #b7c7b7;
  --surface: #1b261f;
  --cream: #202d24;
  --soft: #25362b;
  --line: #42564a;
  --accent: #c6e49d;
  --selected: #354e38;
  --error: #ffb7ad;
}

body,
.course-header,
.paper,
.quiz-card,
.login-box,
.topic-modal,
.material-card,
.sequential-quiz,
.button.outline,
.answers button,
.login-box input {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.stats,
.dashboard-preview,
.course-view,
.topic-modal-body {
  background: var(--cream);
  border-color: var(--line);
}
.dash-side,
.theme-toggle,
.close-modal,
.demo-credentials,
.user-pill,
.answers button span,
.material-icon,
.login-symbol,
.answers button:hover {
  background: var(--soft);
  color: var(--ink);
}
.dash-side span.active,
.quiz-options button.selected,
.quiz-options button.selected span,
.answers button.correct,
.close-modal:hover {
  background: var(--selected);
  color: var(--ink);
}
.answers button.wrong {
  background: var(--soft);
  color: var(--error);
}
.eyebrow,
.hero h1 em,
h2 em,
.login-box h2 em,
.dash-label,
.dash-progress,
.user-pill,
.material-icon {
  color: var(--accent);
}
.dark-section .eyebrow,
.video-copy .eyebrow {
  color: #d4ec87;
}
.dash-side small,
.dash-side span,
.dash-top,
.paper p,
.paper small,
.stats span,
.hero-note,
.modules span,
.modules > div > b,
.features small,
.step-grid article > div,
.footer-bottom,
.feedback,
.quiz-top,
.course-header-label,
.course-breadcrumb,
.logout-button,
.course-breadcrumb button,
.login-box > p,
.login-box label,
.demo-credentials b,
.demo-credentials strong,
.topic-modal-head p,
.material-card p,
.material-card small,
.quiz-heading p,
.quiz-counter,
.quiz-controls > span,
.quiz-result p {
  color: var(--muted);
}
.login-error {
  color: var(--error);
}
.pricing,
.hero-art,
.video-sheet {
  color: #1d2924;
}
.pricing .eyebrow,
.pricing h2 em {
  color: #42602e;
}
.pricing .button.outline {
  background: var(--surface);
  color: var(--ink);
}
.textbtn,
.hamb {
  color: var(--ink);
}
.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 22px;
  transition: background-color 0.2s;
}
.theme-toggle:hover {
  background: var(--selected);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.course-dashboard.dashboard-preview {
  grid-template-columns: minmax(200px, 26%) minmax(0, 1fr);
  margin-top: 24px;
  min-height: 550px;
}
.course-dashboard .dash-logo {
  margin-bottom: 12px;
}
.course-dashboard .dash-side {
  padding: 28px 22px;
}
.course-dashboard .dash-side small,
.course-dashboard .dash-progress,
.course-dashboard .dash-top,
.course-dashboard .dash-label {
  font-size: 11px;
}
.course-dashboard .dash-side b {
  font-size: 14px;
}
.dash-topics {
  display: grid;
  gap: 5px;
}
.dash-topics button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-align: left;
  overflow-wrap: anywhere;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  padding: 8px 10px;
  transition: background-color 0.2s;
}
.dash-topics button span {
  padding: 0;
  color: inherit;
}
.dash-topics button:disabled {
  color: var(--muted);
  cursor: not-allowed;
}
.dash-topics button:not(:disabled):hover,
.dash-topics button[aria-current] {
  background: var(--selected);
}
.dash-topics button[aria-current] {
  border-color: var(--line);
  font-weight: 700;
}
.course-dashboard h1 {
  font:
    800 clamp(27px, 4vw, 46px)/1.12 Manrope,
    sans-serif;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  margin: 12px 0;
}
.course-dashboard .dash-main > p,
.course-paper p {
  font-size: 14px;
}
.course-paper {
  margin-inline: 0;
  max-width: 540px;
  border-radius: 8px;
}
.course-paper small {
  font-size: 10px;
}
.course-paper h2 {
  font-size: clamp(21px, 3vw, 30px);
  overflow-wrap: anywhere;
}
.stats .stat-digits {
  color: inherit;
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.stat-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-copy,
.hero-art,
.course-dashboard,
.course-paper,
.sequential-quiz > :first-child {
  animation: settle-in 0.45s ease-out both;
}
.hero-art {
  animation-delay: 0.07s;
}
.course-paper {
  animation-delay: 0.08s;
}
@keyframes settle-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 800px) {
  nav {
    background: var(--surface);
  }
  .course-dashboard.dashboard-preview {
    grid-template-columns: 1fr;
  }
  .course-dashboard .dash-side {
    display: flex;
    gap: 10px;
    padding: 20px;
  }
  .course-dashboard .dash-logo {
    display: none;
  }
  .dash-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .course-dashboard .dash-main {
    padding: 22px;
  }
  .course-dashboard .dash-label {
    margin-top: 24px;
  }
}
@media (max-width: 500px) {
  .course-header-inner > div,
  .nav-actions {
    gap: 8px;
  }
  .course-header .user-pill {
    display: none;
  }
  .course-paper {
    padding: 20px;
  }
  .course-main {
    padding-bottom: 44px;
  }
  .dash-topics {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Section backgrounds follow the active theme. */
.soft {
  background: var(--cream);
}
.handnote {
  color: var(--accent);
}
.reveal-pending {
  opacity: 0;
  transform: translateY(10px);
}
.reveal-pending.is-visible {
  animation: settle-in 0.5s ease-out both;
}
.hero-copy,
.hero-art,
.course-dashboard,
.course-paper,
.sequential-quiz > :first-child {
  animation: none;
}
.reveal-pending.is-visible {
  animation: settle-in 0.5s ease-out both;
}
.stats .stat-digits {
  display: inline-block;
}
.stats .stat-digits.rolling {
  animation: digit-blur 0.13s ease-in-out infinite alternate;
}
@keyframes digit-blur {
  from {
    filter: blur(0.5px);
    transform: translateY(-1px);
  }
  to {
    filter: blur(2px);
    transform: translateY(1px);
  }
}
.theme-changing body,
.theme-changing body * {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
  .theme-changing body,
  .theme-changing body * {
    transition-duration: 0.01ms !important;
  }
}

.lock-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: none;
  color: currentColor;
}
#landing .reveal-pending.is-visible {
  animation-duration: 0.7s;
}
#landing .features article,
#landing .button,
#landing .answers button {
  transition-duration: 0.3s;
}
.stats .digit-window {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: -0.18em;
}
.stats .digit-reel {
  display: flex;
  flex-direction: column;
  animation: digit-fall 1.15s cubic-bezier(0.18, 0.65, 0.25, 1) both;
  will-change: transform, filter;
}
.stats .digit-reel > span {
  display: block;
  height: 1.15em;
  line-height: 1.15em;
  color: inherit;
  font: inherit;
  line-height: 1.15em;
}
@keyframes digit-fall {
  0% {
    transform: translateY(-90%);
    filter: blur(2px);
  }
  75% {
    filter: blur(1px);
  }
  100% {
    transform: translateY(0);
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats .digit-reel {
    animation: none;
  }
}
.stats .digit-window,
.stats .digit-reel {
  font: inherit;
}

/* Keep navigation accessible while scrolling. */
body > .announcement {
  position: sticky;
  top: 0;
  z-index: 30;
}
body > header {
  position: sticky;
  top: 35px;
  z-index: 29;
  background: var(--surface);
}
.course-header {
  position: sticky;
  top: 0;
  z-index: 29;
}
.course-announcement {
  height: 35px;
}
html {
  scroll-padding-top: 140px;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 18px #0003;
}
.back-to-top[hidden] {
  display: none;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
.back-to-top:hover {
  background: var(--selected);
}
@media (max-width: 800px) {
  body > header nav {
    position: absolute;
    top: 100%;
  }
}

body > header,
.course-header {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Scroll-triggered counter and centered course confirmation. */
.stats .digit-reel {
  animation-duration: 3.5s;
}
.unlock-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 70px #0005;
}
.unlock-dialog::backdrop {
  background: rgba(18, 30, 22, 0.65);
}
.unlock-content {
  padding: 32px;
}
.unlock-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent);
}
.unlock-symbol .lock-icon {
  width: 22px;
  height: 22px;
}
.unlock-content h2 {
  margin: 22px 0 12px;
  font-size: 27px;
}
.unlock-content p,
.cookie-notice p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.unlock-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cookie-notice {
  position: fixed;
  z-index: 45;
  bottom: 18px;
  left: 18px;
  right: 18px;
  max-width: 650px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 32px #0003;
}
.cookie-notice[hidden] {
  display: none;
}
.cookie-notice p {
  margin: 6px 0 0;
}
.cookie-notice button {
  flex: none;
}
@media (max-width: 550px) {
  .cookie-notice {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .unlock-content {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stats .digit-reel {
    animation: none;
  }
}

.vector-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  flex: none;
}
.theme-toggle .vector-icon {
  width: 22px;
  height: 22px;
}
@media (min-width: 1600px) {
  .wrap {
    max-width: min(90vw, 1600px);
    padding-inline: 32px;
  }
  .hero {
    gap: clamp(55px, 4vw, 90px);
  }
  .hero h1 {
    font-size: clamp(72px, 4.8vw, 90px);
  }
  .hero-copy > p,
  .lead {
    font-size: 19px;
    max-width: 620px;
  }
  .section-top > p,
  .course-dashboard .dash-main > p {
    font-size: 17px;
  }
  .features p,
  .step-grid p,
  .dash-topics button {
    font-size: 15px;
  }
  .course-dashboard .dash-side b {
    font-size: 16px;
  }
  .course-dashboard .dash-main {
    padding-inline: 8%;
  }
  nav {
    font-size: 15px;
  }
}
@media (max-width: 800px) {
  #loginOverlay {
    align-items: safe center;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
  }
  #loginOverlay .login-box {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
    margin: auto;
    width: min(100%, 465px);
  }
  .login-box input {
    font-size: 16px;
    line-height: 1.4;
    min-height: 48px;
  }
  .login-box button {
    min-height: 44px;
  }
  .login-box .close-modal {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 380px) {
  #loginOverlay .login-box {
    padding: 24px 20px;
  }
  .login-box h2 {
    font-size: 34px;
  }
  .actions {
    flex-wrap: wrap;
  }
}

body.reader-open {
  overflow: hidden;
}
.pdf-reader {
  width: min(920px, calc(100% - 24px));
  height: min(980px, calc(100dvh - 24px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 70px #0005;
}
.pdf-reader[open] {
  display: flex;
  flex-direction: column;
  animation: modalIn 0.3s ease;
}
.pdf-reader::backdrop {
  background: rgba(18, 30, 22, 0.65);
}
.pdf-reader .topic-modal-head {
  padding: 18px 24px;
  border-color: var(--line);
}
.pdf-reader h2 {
  margin: 6px 0 0;
  font-size: clamp(17px, 3vw, 28px);
}
.reader-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--soft);
  padding: 12px;
}
.reader-sheet {
  display: grid;
  gap: 14px;
  width: min(
    calc(100% * var(--reader-zoom, 1)),
    calc(800px * var(--reader-zoom, 1))
  );
  margin-inline: auto;
}
.reader-sheet-page {
  background: #fff;
  color: #24312a;
}
.reader-sheet canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.reader-status {
  text-align: center;
  padding: 24px;
}
@media (max-width: 600px) {
  .pdf-reader {
    width: calc(100% - 12px);
    height: calc(100dvh - 12px);
  }
  .pdf-reader .topic-modal-head {
    padding: 12px;
    gap: 10px;
  }
  .reader-scroll {
    padding: 5px;
  }
  .reader-sheet {
    gap: 8px;
  }
}

.reader-toolbar,
.reader-zoom,
.reader-jump {
  display: flex;
  align-items: center;
  gap: 8px;
}
.reader-toolbar {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
}
.reader-toolbar[hidden] {
  display: none;
}
.reader-toolbar .button {
  padding: 7px 10px;
  min-height: 36px;
}
.reader-zoom .button {
  min-width: 36px;
  font-size: 16px;
}
.reader-zoom .button:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}
.reader-zoom-value {
  min-width: 46px;
  text-align: center;
}
.reader-jump label,
.reader-page-total,
.reader-zoom-value {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.reader-jump input {
  width: 56px;
  min-height: 36px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
}
@media (max-width: 600px) {
  .reader-toolbar .button,
  .reader-jump input {
    min-height: 44px;
  }
  .reader-zoom .button {
    min-width: 44px;
  }
}

.course-chapter-body {
  white-space: pre-wrap;
}

.course-chapter-body { overflow-wrap: anywhere; }
.course-chapter-body blockquote { margin-inline: 0; padding-inline-start: 16px; border-inline-start: 3px solid var(--accent); }

.brand {
  font-size: clamp(14px, 2vw, 17px);
}

.brandmark {
  display: block;
  flex: none;
  width: clamp(44px, 6vw, 56px);
  height: clamp(44px, 6vw, 56px);
  object-fit: contain;
  border-radius: 6px;
  background: #f4f7ed;
}

.offer-consent {
  display: flex;
  align-items: start;
  gap: 10px;
  margin-block: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.offer-consent input {
  flex: none;
  margin-top: 3px;
  accent-color: var(--accent);
}

.shop-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(620px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  padding: clamp(18px, 5vw, 32px);
  overflow: auto;
  border: 1px solid var(--line, #dce5d6);
  border-radius: 20px;
  background: var(--surface, #fff);
  color: var(--ink, #20352a);
}
.shop-dialog::backdrop { background: #10241990; }
.shop-dialog h2 { font-size: clamp(27px, 5vw, 38px); padding-right: 36px; }
.shop-dialog-close { position: absolute; top: 16px; right: 16px; }
.shop-dialog-close button { border: 0; border-radius: 50%; width: 34px; height: 34px; font-size: 22px; }
.account-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-block: 20px;
}
.account-tiles button {
  display: grid;
  align-content: start;
  gap: 6px;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line, #dce5d6);
  border-radius: 12px;
  background: var(--soft, #edf3e5);
  color: inherit;
}
.account-tiles button:hover, .account-tiles button:focus-visible { border-color: var(--accent, #4c683c); }
.account-tiles span { font-size: 13px; line-height: 1.35; }
#account-file-list ul { list-style: none; padding: 0; display: grid; gap: 8px; }
#account-password-form { display: grid; gap: 10px; margin-bottom: 14px; }
#account-password-form[hidden], #cart-consent-label[hidden] { display: none; }
#account-password-form label { display: grid; gap: 4px; }
#account-password-form input {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line, #dce5d6);
  border-radius: 8px;
  background: var(--surface, #fff);
  color: inherit;
}
#account-logout { margin-top: 12px; }
.cart-product { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-block: 18px; }
.cart-links { font-size: 14px; }
.cart-links a { text-decoration: underline; }
#cart-checkout { margin-top: 12px; }
#cart-checkout:disabled, #account-file-list button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 440px) {
  .account-tiles { grid-template-columns: 1fr; }
}
