:root {
  --ink: #23342c;
  --muted: #718075;
  --accent: #356348;
  --line: #e1e5dc;
  --paper: #fbfcf8;
  --surface: #fff;
  --sidebar: #f0f3ec;
  --sage: #e7edde;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #97b68a;
  outline-offset: 4px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
em {
  font-weight: 400;
  color: var(--accent);
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 280px;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 254px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 32px 20px 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 10px 31px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.1px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 5px;
}
.brand-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.brand-icon svg {
  width: 35px;
  stroke: currentColor;
  stroke-width: 1.4;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: #fafbf7;
  border: 1px solid #dde3d6;
  border-radius: 7px;
  padding: 10px 11px;
  font-size: 12px;
  color: var(--muted);
}
.search-trigger .icon {
  width: 16px;
  height: 16px;
}
.search-trigger kbd {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 17px;
  width: 17px;
  border: 1px solid #dde3d6;
  border-radius: 3px;
  background: var(--sidebar);
}
.primary-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 24px;
}
.primary-nav > a {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  color: #647065;
  font-size: 12px;
  font-weight: 500;
}
.primary-nav > a .icon {
  width: 17px;
  height: 17px;
}
.primary-nav > a:hover {
  background: #e6ebe0;
}
.primary-nav > a.active {
  background: #dfe8d7;
  color: #34533b;
}
.nav-count {
  margin-left: auto;
  background: #e4e9dd;
  border-radius: 4px;
  font-size: 10px;
  padding: 2px 5px;
}
.sidebar-divider {
  border-top: 1px solid #dce3d4;
  margin: 24px 10px;
}
.sidebar-label,
.eyebrow,
.page-eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: var(--muted);
}
.sidebar-label {
  margin: 0 10px 19px;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.nav-module {
  margin-bottom: 20px;
}
.nav-module-title {
  display: flex;
  gap: 9px;
  color: #4f6051;
  font-size: 10px;
  font-weight: 600;
  margin: 0 11px 7px;
}
.nav-module-title > span {
  font-family: var(--mono);
  font-size: 9px;
  color: #8a9686;
}
.nav-lesson {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 7px 11px;
  font-size: 11px;
  color: #72806e;
  line-height: 1.4;
  border-radius: 5px;
}
.nav-lesson:hover {
  color: var(--ink);
  background: #e6ebe0;
}
.nav-lesson.active {
  color: var(--accent);
  background: #e1e9da;
  font-weight: 600;
}
.lesson-status {
  width: 13px;
  height: 13px;
  border: 1px solid #bec9b5;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.nav-lesson.active .lesson-status:not(.done) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px #e1e9da;
  background: var(--accent);
}
.lesson-status.done {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.lesson-status .icon {
  width: 9px;
  height: 9px;
  stroke-width: 2.5;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 21px 10px 0;
  border-top: 1px solid #dce3d4;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.progress-label strong {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--mono);
}
.progress-track {
  height: 4px;
  background: #dce4d4;
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}
.progress-track div {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.3s;
}
.sidebar-bottom p {
  font-size: 10px;
  color: #85907f;
  margin-bottom: 17px;
}
.save-note {
  font-size: 9px;
  color: #879280;
  display: flex;
  align-items: center;
  gap: 5px;
}
.save-note .icon {
  width: 11px;
  height: 11px;
}
.workspace {
  margin-left: 254px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--paper);
  gap: 16px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: #899184;
  min-width: 0;
}
.breadcrumb span:last-child {
  color: #5c685b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.crumb-separator {
  color: #b3baad;
}
.source-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #677561;
  flex-shrink: 0;
}
.source-link .icon {
  width: 13px;
  height: 13px;
}
.source-link:hover {
  color: var(--accent);
}
main {
  flex: 1;
}
main:focus {
  outline: none;
}
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 43px 48px 58px;
}
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  margin-bottom: 24px;
}
.eyebrow-line {
  height: 1px;
  width: 42px;
  background: #bfc9b5;
}
.hero {
  background: #edf1e6;
  border: 1px solid #e2e8d9;
  border-radius: 12px;
  padding: 36px 37px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  overflow: hidden;
}
.hero-pill {
  font-size: 10px;
  border: 1px solid #d2ddc6;
  background: #e6ecdc;
  display: inline-flex;
  border-radius: 20px;
  padding: 6px 10px;
  color: #63735a;
  letter-spacing: 0.1px;
}
.hero h1 {
  font-size: clamp(44px, 4.5vw, 64px);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 19px 0;
}
.hero-copy > p {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.85;
  color: #6b7663;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 25px;
}
.button {
  border: 1px solid transparent;
  padding: 12px 17px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: var(--accent);
  color: #fff;
}
.button.primary:hover:not(:disabled) {
  background: #294f38;
  transform: translateY(-1px);
}
.button.secondary {
  border-color: #d5decc;
  background: #f3f6ee;
  color: var(--accent);
}
.button.secondary:hover {
  background: #e5eddd;
}
.hero-note {
  font-size: 9px;
  line-height: 1.7;
  color: #839078;
}
.hero-art {
  padding: 13px 0 0;
  max-width: 355px;
  width: 100%;
  justify-self: end;
}
.art-label {
  font-size: 7px;
  letter-spacing: 1.8px;
  text-align: center;
  color: #7e9070;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.live-dot {
  width: 5px;
  height: 5px;
  background: #7c9a64;
  border-radius: 50%;
}
.hero-art > svg {
  width: 100%;
  height: auto;
  margin: 8px 0;
  display: block;
}
.art-caption {
  font-family: var(--mono);
  font-size: 8px;
  color: #829574;
  display: flex;
  justify-content: space-between;
  margin: 0 28px;
}
.packet {
  animation: packet-pulse 3s ease-in-out infinite;
}
.packet-two {
  animation-delay: 1.5s;
}
@keyframes packet-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
.course-facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 23px 3px 25px;
  gap: 15px;
}
.course-facts > span {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #7a8574;
}
.course-facts .icon {
  width: 15px;
  height: 15px;
  color: #849577;
  margin-right: 4px;
}
.course-facts strong {
  font-weight: 600;
  color: #4b5b44;
}
.level-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-right: 6px;
  height: 15px;
}
.level-bars i {
  width: 3px;
  background: #c4d0b9;
  border-radius: 1px;
}
.level-bars i:nth-child(1) {
  height: 5px;
  background: #6c8d5d;
}
.level-bars i:nth-child(2) {
  height: 9px;
}
.level-bars i:nth-child(3) {
  height: 13px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin: 32px 0 21px;
}
.section-heading h2 {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.5px;
  margin-top: 8px;
}
.section-heading .eyebrow {
  font-size: 8px;
}
.section-aside {
  color: #8a9381;
  font-size: 10px;
  padding-bottom: 4px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 23px 25px 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.module-card:hover {
  border-color: #bbccb0;
}
.module-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.module-number {
  border: 1px solid #d9e2cf;
  background: #f0f4e9;
  border-radius: 6px;
  width: 32px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-family: var(--mono);
  color: #6a8359;
}
.module-meta {
  font-size: 9px;
  color: #8b9584;
}
.module-done {
  margin-left: auto;
  color: var(--accent);
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.module-done .icon {
  width: 12px;
  height: 12px;
}
.module-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 17px 0 8px;
  letter-spacing: -0.4px;
}
.module-card > p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 40px;
  max-width: 300px;
  margin-bottom: 16px;
}
.module-lessons {
  border-top: 1px solid #edf0e8;
}
.module-lessons > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  border-bottom: 1px solid #edf0e8;
  font-size: 11px;
}
.module-lessons > a:last-child {
  border: 0;
}
.module-lessons > a:hover {
  color: var(--accent);
}
.module-lessons > a > .icon {
  width: 12px;
  height: 12px;
  color: #a3ae9b;
  margin-left: auto;
}
.card-lesson-index {
  font-family: var(--mono);
  font-size: 9px;
  color: #abb5a2;
  min-width: 16px;
}
.card-lesson-index .icon {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.lab-tag {
  margin-left: auto;
  font-size: 8px;
  border: 1px solid #e2e8d9;
  background: #f5f7f0;
  border-radius: 4px;
  padding: 2px 5px;
  color: #7b8d6a;
  display: flex;
  align-items: center;
  gap: 3px;
}
.lab-tag .icon {
  width: 9px;
  height: 9px;
}
.lab-tag + .icon {
  margin-left: 0 !important;
}
.lab-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 32px;
  border: 1px solid var(--line);
  background: #f4f6ee;
  border-radius: 10px;
  margin-top: 30px;
  align-items: center;
}
.lab-teaser .eyebrow {
  font-size: 8px;
}
.lab-teaser h2 {
  font-family: var(--serif);
  font-size: 29px;
  letter-spacing: -0.6px;
  margin: 9px 0 10px;
}
.lab-teaser p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.text-link {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 500;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link .icon {
  width: 13px;
  height: 13px;
}
.lab-teaser .text-link {
  margin-top: 17px;
}
.mini-lab {
  background: #fdfef9;
  border: 1px solid #dde5d3;
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.mini-label {
  font-size: 7px;
  color: #99a48a;
  letter-spacing: 1.3px;
}
.mac-equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 19px 0;
  font-family: var(--mono);
  font-size: 11px;
}
.mac-equation > span {
  background: #edf2e4;
  border: 1px solid #d6e0ca;
  padding: 9px 10px;
  border-radius: 4px;
  color: #60824b;
}
.mac-equation > b {
  font-weight: 400;
  color: #9cae8d;
}
.mac-equation > span.mac-result {
  background: #dfeacf;
  font-size: 9px;
}
.mini-lab p {
  font-size: 8px;
}
.origin-note {
  display: flex;
  gap: 17px;
  border-top: 1px solid var(--line);
  padding: 28px 3px 0;
  margin-top: 34px;
  max-width: 850px;
}
.origin-icon {
  width: 33px;
  height: 33px;
  border: 1px solid #dde4d4;
  border-radius: 8px;
  background: #eff3e7;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #7d966a;
}
.origin-icon .icon {
  width: 17px;
  height: 17px;
}
.origin-note h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 2px 0 8px;
}
.origin-note p {
  font-size: 11px;
  line-height: 1.9;
  color: #84907b;
  max-width: 730px;
}
.origin-note p + p {
  margin-top: 10px;
}
.origin-note p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.origin-note .text-link {
  font-size: 10px;
  margin-top: 11px;
}
.footer {
  border-top: 1px solid var(--line);
  margin: 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 23px 0 26px;
  color: #929a8a;
  font-size: 9px;
}
.footer a {
  color: #73866a;
}
.footer .icon {
  width: 10px;
  height: 10px;
  margin-left: 4px;
}
.page-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  max-width: 630px;
  margin-top: 20px;
}
.labs-page > h1,
.resources-page > h1 {
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -1.8px;
}
.lab-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 27px 0 40px;
}
.lab-jump-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  padding: 10px 13px;
  background: #f0f4e8;
  border: 1px solid #dfe6d5;
  border-radius: 6px;
  color: #687d59;
}
.lab-jump-links .icon {
  width: 14px;
  height: 14px;
}
.lab-jump-links a:hover {
  background: #e2ead8;
}
.standalone-lab {
  margin-bottom: 44px;
  scroll-margin-top: 25px;
}
.standalone-lab-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 17px;
}
.standalone-lab-header h2 {
  font-family: var(--serif);
  font-size: 25px;
  margin: 5px 0 7px;
}
.standalone-lab-header .eyebrow {
  font-size: 8px;
}
.standalone-lab-header p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.standalone-lab-header > .text-link {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10px;
}
.lab-number {
  width: 39px;
  height: 39px;
  border: 1px solid #dbe4d1;
  background: #edf3e4;
  border-radius: 8px;
  color: #738d62;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 12px;
  flex-shrink: 0;
}
.simulation-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
  margin-top: 34px;
}
.resource-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 25px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.resource-card:hover {
  background: #f3f7ec;
  border-color: #b5c7a7;
}
.resource-card-top {
  display: flex;
  justify-content: space-between;
  color: #8b9a7e;
}
.resource-index {
  font-family: var(--mono);
  font-size: 11px;
}
.resource-card-top .icon {
  width: 15px;
  height: 15px;
}
.resource-card h2 {
  font-family: var(--serif);
  font-size: 23px;
  margin: 19px 0 12px;
}
.resource-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.resource-host {
  display: block;
  margin-top: 23px;
  font-size: 9px;
  color: #8a9980;
  font-family: var(--mono);
}
.back-link {
  font-size: 11px;
  color: #88957c;
  display: inline-block;
  margin-bottom: 35px;
}
.back-link:hover {
  color: var(--accent);
}
.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 175px;
  gap: 48px;
}
.lesson-article {
  min-width: 0;
}
.lesson-article .page-eyebrow {
  font-size: 8px;
  margin-bottom: 18px;
}
.lesson-article h1 {
  font-family: var(--serif);
  font-size: 47px;
  letter-spacing: -1.5px;
  line-height: 1.12;
}
.lesson-deck {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 18px;
}
.lesson-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #929b88;
  font-size: 10px;
  padding: 20px 0 25px;
  border-bottom: 1px solid var(--line);
}
.lesson-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lesson-meta .icon {
  width: 13px;
  height: 13px;
}
.objectives {
  background: #f0f4e8;
  border: 1px solid #e0e8d5;
  border-radius: 8px;
  padding: 21px 24px;
  margin: 27px 0 33px;
}
.objectives .eyebrow {
  font-size: 8px;
  color: #6e835d;
}
.objectives ul {
  list-style: none;
  padding: 0;
  margin: 13px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.objectives li {
  display: flex;
  gap: 9px;
  font-size: 12px;
  line-height: 1.6;
  color: #667958;
}
.objectives .icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}
.lesson-body {
  font-size: 14px;
  line-height: 1.95;
  color: #586853;
}
.lesson-body section {
  margin-bottom: 32px;
  scroll-margin-top: 30px;
}
.lesson-body h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin: 0 0 15px;
}
.lesson-body p {
  margin: 0 0 16px;
}
.lesson-body strong {
  font-weight: 600;
  color: #3f5438;
}
.lesson-body ul,
.lesson-body ol {
  padding-left: 22px;
  margin: 12px 0 20px;
}
.lesson-body li {
  padding-left: 3px;
  margin: 7px 0;
}
.lesson-body code {
  font-family: var(--mono);
  font-size: 0.84em;
  padding: 3px 6px;
  background: #eef2e7;
  color: #4d7341;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.lesson-body pre {
  background: #eef2e7;
  border: 1px solid #dee6d5;
  padding: 20px;
  border-radius: 7px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.7;
  margin: 20px 0;
}
.lesson-body pre code {
  background: none;
  padding: 0;
  font-size: inherit;
  overflow-wrap: normal;
}
.lesson-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 12px;
  line-height: 1.7;
  display: block;
  overflow-x: auto;
}
.lesson-body th,
.lesson-body td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}
.lesson-body th {
  background: #edf3e4;
  font-weight: 500;
  color: #57794a;
}
.lesson-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lesson-body blockquote,
.lesson-body .callout {
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 3px solid #9db687;
  background: #f1f5e9;
  border-radius: 0 6px 6px 0;
  font-size: 13px;
}
.lesson-body blockquote p:last-child,
.lesson-body .callout p:last-child {
  margin-bottom: 0;
}
.lesson-toc {
  position: sticky;
  top: 30px;
  align-self: start;
  padding: 8px 0 0;
  border-left: 1px solid var(--line);
  margin-top: 15px;
}
.lesson-toc > .eyebrow {
  display: block;
  padding-left: 18px;
  font-size: 8px;
  margin-bottom: 17px;
}
.lesson-toc > a {
  display: block;
  padding: 7px 0 7px 18px;
  font-size: 10px;
  line-height: 1.7;
  color: #8a9580;
}
.lesson-toc > a:hover {
  color: var(--accent);
  background: #f0f4e8;
}
.toc-note {
  padding: 22px 0 0 18px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  color: #98a38d;
}
.toc-note .icon {
  width: 16px;
  height: 16px;
}
.toc-note p {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 8px;
}
.lesson-lab-section {
  margin: 38px 0;
  scroll-margin-top: 25px;
}
.knowledge-check {
  border: 1px solid #dfe5d6;
  border-radius: 9px;
  background: #f5f7ef;
  padding: 27px;
  margin: 35px 0 23px;
  scroll-margin-top: 25px;
}
.knowledge-check .eyebrow {
  font-size: 8px;
}
.knowledge-check h2 {
  font-family: var(--serif);
  font-size: 27px;
  margin: 9px 0 22px;
}
.knowledge-check fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  min-width: 0;
}
.knowledge-check legend {
  font-size: 13px;
  line-height: 1.8;
  font-weight: 500;
  margin-bottom: 16px;
}
.quiz-option {
  display: flex;
  gap: 11px;
  align-items: center;
  position: relative;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 9px;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
  transition: background 0.15s;
}
.quiz-option:has(input:checked) {
  background: #e8f0de;
  border-color: #9fba8c;
  color: #3e6535;
}
.quiz-option:has(input:focus-visible) {
  outline: 3px solid #97b68a;
  outline-offset: 2px;
}
.quiz-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option-letter {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #e2e7da;
  border-radius: 4px;
  color: #8b9980;
  font-size: 10px;
  flex-shrink: 0;
}
.quiz-option:has(input:checked) .option-letter {
  background: #d3e2c5;
  border-color: #bccfae;
  color: #4f783e;
}
.quiz-feedback {
  border-radius: 6px;
  padding: 16px 19px;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.8;
}
.quiz-feedback.correct {
  background: #e4efd9;
  color: #456738;
}
.quiz-feedback.retry {
  background: #f5ecd8;
  color: #8b7042;
}
.quiz-feedback strong {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.lesson-finish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0 28px;
}
.lesson-finish strong {
  font-size: 13px;
  font-weight: 500;
}
.lesson-finish p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.7;
}
.lesson-pagination {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.lesson-pagination a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: var(--accent);
  max-width: 48%;
  line-height: 1.6;
}
.lesson-pagination small {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #9ba58e;
}
.lesson-pagination .next {
  text-align: right;
  align-items: flex-end;
}
.lesson-pagination a:hover > span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.icon-button {
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
}
.icon-button:hover {
  background: #e8eddf;
}
.mobile-menu {
  display: none;
}
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: #152b1a60;
  z-index: 25;
}
.sidebar-backdrop[hidden] {
  display: none;
}
.menu-open {
  overflow: hidden;
}
dialog {
  border: 1px solid #d5dfca;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  width: 600px;
  max-width: calc(100% - 30px);
  padding: 24px;
  box-shadow: 0 20px 100px #23342c33;
  max-height: 85vh;
}
dialog::backdrop {
  background: #20362377;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.dialog-heading h2 {
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.5px;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #b7c7a9;
  border-radius: 7px;
  padding: 12px;
  color: #91a280;
}
.search-input-wrap input {
  width: 100%;
  border: 0;
  outline: none;
  background: none;
  color: var(--ink);
  font-size: 13px;
}
.search-input-wrap input:focus-visible {
  outline: none;
}
.search-input-wrap:focus-within {
  outline: 2px solid #97b68a;
  outline-offset: 2px;
}
.search-input-wrap input::placeholder {
  color: #a2ac96;
}
.search-results {
  margin-top: 17px;
  max-height: 48vh;
  overflow-y: auto;
}
.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  border-radius: 4px;
}
.search-result:hover {
  background: #edf3e4;
}
.search-result small {
  font-size: 9px;
  color: #8b9d7c;
  display: block;
  margin-bottom: 5px;
}
.search-result strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
}
.search-result span > span {
  font-size: 11px;
  color: #919c87;
  line-height: 1.7;
}
.search-result > .icon {
  width: 15px;
  color: #91a380;
}
.dialog-hint {
  font-size: 10px;
  color: #98a58b;
  margin-top: 17px;
}
.no-results {
  color: var(--muted);
  padding: 20px 8px;
  font-size: 13px;
}
.storage-warning {
  position: fixed;
  bottom: 15px;
  right: 15px;
  max-width: 380px;
  background: #fff4d9;
  border: 1px solid #dfcb94;
  border-radius: 7px;
  padding: 12px 17px;
  font-size: 12px;
  z-index: 50;
}
.storage-warning[hidden] {
  display: none;
}
.noscript {
  position: fixed;
  inset: 0;
  background: var(--paper);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  font-size: 17px;
  z-index: 100;
}
.noscript a {
  text-decoration: underline;
}
@media (min-width: 1500px) {
  .sidebar {
    width: 280px;
    padding-left: 27px;
    padding-right: 27px;
  }
  .workspace {
    margin-left: 280px;
  }
  .hero {
    padding: 43px;
  }
  .page {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 68px;
  }
}
@media (max-width: 1150px) {
  .page {
    padding-left: 32px;
    padding-right: 32px;
  }
  .topbar {
    padding: 0 32px;
  }
  .footer {
    margin: 0 32px;
  }
  .hero {
    padding: 30px 27px;
    grid-template-columns: 1.15fr 0.85fr;
  }
  .hero h1 {
    font-size: 51px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero-note {
    display: none;
  }
  .hero-art {
    min-width: 210px;
  }
  .art-label {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .course-facts {
    flex-wrap: wrap;
    gap: 16px;
  }
  .course-facts > span {
    font-size: 9px;
  }
  .module-card {
    padding: 20px 20px 8px;
  }
  .module-card h3 {
    font-size: 23px;
  }
  .module-meta {
    font-size: 8px;
  }
  .module-card > p {
    font-size: 10px;
    min-height: 54px;
  }
  .module-lessons > a {
    font-size: 10px;
  }
  .module-lessons .lab-tag {
    font-size: 7px;
  }
  .lab-teaser {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .mini-lab {
    max-width: 500px;
    width: 100%;
  }
  .lesson-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .lesson-toc {
    display: none;
  }
  .lesson-article h1 {
    font-size: 43px;
  }
  .standalone-lab-header {
    flex-wrap: wrap;
  }
  .standalone-lab-header > .text-link {
    margin-left: 54px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 264px;
  }
  .menu-open .sidebar {
    transform: translateX(0);
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 65px;
    padding: 0 24px;
    justify-content: flex-start;
    gap: 12px;
  }
  .source-link {
    margin-left: auto;
    font-size: 10px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 9px;
  }
  .breadcrumb > span:first-child {
    display: none;
  }
  .crumb-separator {
    display: none;
  }
  .page {
    padding: 33px 24px 44px;
    max-width: 750px;
  }
  .hero {
    padding: 32px;
    grid-template-columns: 1.1fr 1fr;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-note {
    display: block;
  }
  .course-facts > span {
    font-size: 10px;
  }
  .module-card > p {
    min-height: 40px;
  }
  .footer {
    margin: 0 24px;
    font-size: 8px;
  }
  .lesson-layout {
    max-width: 680px;
  }
  .lesson-article h1 {
    font-size: 45px;
  }
  .skip-link {
    left: 25px;
  }
  .lesson-meta {
    font-size: 10px;
  }
  .standalone-lab-header > .text-link {
    margin-left: auto;
  }
  .labs-page > h1,
  .resources-page > h1 {
    font-size: 49px;
  }
}
@media (max-width: 560px) {
  .page {
    padding: 26px 19px 36px;
  }
  .topbar {
    padding: 0 14px;
    height: 59px;
  }
  .source-link {
    font-size: 9px;
    gap: 5px;
  }
  .source-link .icon {
    width: 11px;
    height: 11px;
  }
  .breadcrumb {
    max-width: 45%;
    font-size: 9px;
  }
  .page-eyebrow {
    font-size: 8px;
    margin-bottom: 19px;
    letter-spacing: 1.3px;
  }
  .hero {
    padding: 27px 23px 20px;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero h1 {
    font-size: 53px;
    letter-spacing: -1.7px;
    margin: 17px 0;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 330px;
  }
  .hero-actions {
    margin-top: 20px;
    gap: 18px;
  }
  .hero-note {
    font-size: 8px;
  }
  .hero-art {
    justify-self: center;
    max-width: 250px;
    padding-top: 9px;
  }
  .hero-art > svg {
    margin: 4px 0;
  }
  .art-label {
    font-size: 6px;
  }
  .art-caption {
    font-size: 7px;
  }
  .course-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 22px 0;
    gap: 17px 10px;
  }
  .course-facts > span {
    font-size: 9px;
    gap: 5px;
  }
  .course-facts .icon {
    width: 14px;
    height: 14px;
    margin-right: 2px;
  }
  .section-heading {
    margin: 29px 0 17px;
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .section-aside {
    display: none;
  }
  .module-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .module-card {
    padding: 21px 22px 8px;
  }
  .module-card h3 {
    font-size: 25px;
  }
  .module-meta {
    font-size: 9px;
  }
  .module-card > p {
    font-size: 11px;
    min-height: 0;
    margin-bottom: 17px;
  }
  .module-lessons > a {
    font-size: 11px;
    min-height: 45px;
  }
  .module-lessons .lab-tag {
    font-size: 8px;
  }
  .lab-teaser {
    padding: 25px 22px;
    margin-top: 25px;
  }
  .lab-teaser h2 {
    font-size: 28px;
  }
  .lab-teaser p {
    font-size: 11px;
  }
  .lab-teaser .eyebrow {
    font-size: 7px;
  }
  .mini-lab {
    padding: 22px 12px;
  }
  .mac-equation {
    gap: 6px;
    font-size: 10px;
  }
  .mac-equation > span {
    padding: 8px;
  }
  .mac-equation > span.mac-result {
    font-size: 8px;
  }
  .mini-lab p {
    font-size: 8px;
  }
  .origin-note {
    margin-top: 28px;
    gap: 12px;
  }
  .origin-note p {
    font-size: 10px;
  }
  .origin-note h3 {
    font-size: 11px;
  }
  .footer {
    margin: 0 19px;
    flex-direction: column;
    gap: 8px;
    padding: 19px 0;
  }
  .labs-page > h1,
  .resources-page > h1 {
    font-size: 43px;
  }
  .page-description {
    font-size: 12px;
    line-height: 1.9;
  }
  .page-description br {
    display: none;
  }
  .lab-jump-links {
    gap: 8px;
    margin: 24px 0 31px;
  }
  .lab-jump-links a {
    font-size: 9px;
    padding: 9px 10px;
  }
  .standalone-lab-header {
    gap: 12px;
    align-items: flex-start;
  }
  .standalone-lab-header h2 {
    font-size: 23px;
  }
  .standalone-lab-header > div:nth-child(2) {
    max-width: calc(100% - 52px);
  }
  .standalone-lab-header p {
    font-size: 10px;
  }
  .standalone-lab-header > .text-link {
    margin-left: 51px;
    font-size: 9px;
  }
  .lab-number {
    width: 37px;
    height: 37px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 28px;
  }
  .resource-card {
    padding: 24px;
  }
  .resource-card h2 {
    font-size: 24px;
  }
  .resource-card p {
    font-size: 11px;
  }
  .back-link {
    font-size: 10px;
    margin-bottom: 29px;
  }
  .lesson-article h1 {
    font-size: 37px;
    letter-spacing: -1px;
  }
  .lesson-deck {
    font-size: 13px;
    margin-top: 15px;
  }
  .lesson-meta {
    gap: 15px;
    font-size: 9px;
    padding: 18px 0 21px;
  }
  .objectives {
    padding: 20px;
    margin: 23px 0 29px;
  }
  .objectives .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .objectives li {
    font-size: 11px;
  }
  .lesson-body {
    font-size: 13px;
    line-height: 1.95;
  }
  .lesson-body h2 {
    font-size: 25px;
    margin-bottom: 14px;
  }
  .lesson-body pre {
    padding: 16px;
    font-size: 10px;
  }
  .lesson-body th,
  .lesson-body td {
    padding: 8px 10px;
  }
  .lesson-body table {
    font-size: 11px;
  }
  .knowledge-check {
    padding: 22px 19px;
    margin-top: 28px;
  }
  .knowledge-check h2 {
    font-size: 25px;
  }
  .knowledge-check legend {
    font-size: 12px;
  }
  .quiz-option {
    font-size: 11px;
    padding: 11px 12px;
    gap: 9px;
  }
  .quiz-feedback {
    font-size: 11px;
    padding: 14px;
  }
  .lesson-finish {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .lesson-finish .button {
    width: 100%;
  }
  .lesson-pagination {
    gap: 15px;
  }
  .lesson-pagination a {
    font-size: 10px;
  }
  .lesson-pagination small {
    font-size: 6px;
  }
  .dialog-heading h2 {
    font-size: 24px;
  }
  dialog {
    padding: 20px;
  }
  .search-input-wrap input {
    font-size: 11px;
  }
  .search-result span > span {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
