:root {
  --ink: #203c37;
  --muted: #66756d;
  --green: #1c5146;
  --lime: #dfedb0;
  --paper: #f6f7f2;
  --line: #dce2d7;
  --white: #fff;
  --radius: 15px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  display: flex;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 12px 18px;
  min-height: 46px;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover:not(:disabled) {
  background: #edf2e5;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #b37824;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 15px;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  line-height: 1.3;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 7px;
}
p {
  line-height: 1.75;
}
small {
  line-height: 1.6;
}
aside#sidebar {
  width: 256px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 34px 24px;
  position: fixed;
  height: 100vh;
  background: #fbfcf8;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  text-decoration: none;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 1px;
  font-size: 14px;
}
.brand > span {
  background: var(--ink);
  color: var(--lime);
  font-size: 25px;
  padding: 9px;
  border-radius: 11px;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.nav-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.6px;
  margin: 44px 12px 13px;
}
nav {
  display: grid;
  gap: 6px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  color: #55655e;
  font-weight: 550;
}
nav a > span {
  font-size: 20px;
  width: 23px;
  text-align: center;
}
nav a:hover {
  background: #f0f3e9;
}
nav a[aria-current] {
  background: #e8eedb;
  color: var(--ink);
  font-weight: 750;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 8px 0;
}
.sidebar-bottom p {
  font-size: 10px;
  letter-spacing: 1.3px;
  margin-bottom: 8px;
}
.sidebar-bottom strong {
  font-size: 12px;
  display: block;
  margin-bottom: 12px;
}
.sidebar-bottom small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 17px;
}
main {
  margin-left: 256px;
  padding: 45px clamp(25px, 4vw, 64px);
  width: calc(100% - 256px);
  max-width: 1700px;
  outline: none;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.9px;
  margin-bottom: 13px;
}
.page-head {
  margin-bottom: 30px;
}
.lede {
  color: var(--muted);
  max-width: 850px;
  font-size: 14px;
  margin-bottom: 0;
}
.hero {
  background: #1e463e;
  color: #fff;
  border-radius: 18px;
  min-height: 327px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.hero > div:first-child {
  padding: 32px 36px;
  z-index: 1;
}
.hero .eyebrow {
  color: #c8d8b7;
  font-size: 9px;
}
.hero h2 {
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.hero p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.65;
  color: #d8e4d8;
  max-width: 350px;
}
.hero small {
  display: block;
  margin-top: 15px;
  color: #bdcfc4;
  font-size: 10px;
}
.hero button {
  font-size: 12px;
}
.light {
  background: var(--lime);
  border-color: var(--lime);
  color: #203c37;
}
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 80% 45%, #54776555, transparent 68%);
  padding: 25px;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 32px 32px;
  transform: rotate(-10deg);
}
.terminal {
  background: #102f29;
  border: 1px solid #8da98d55;
  border-radius: 12px;
  width: 320px;
  transform: rotate(-5deg);
  box-shadow: 12px 24px 45px #071e2640;
  overflow: hidden;
  padding-bottom: 25px;
}
.terminal-bar {
  padding: 12px 15px;
  border-bottom: 1px solid #76947b44;
  color: #c6dba0;
  font-size: 8px;
  letter-spacing: 3px;
}
.terminal-bar span {
  margin-left: 20px;
  color: #8aa397;
  letter-spacing: 0;
  font-family: monospace;
}
.terminal p {
  font: 11px/1.7 monospace !important;
  margin: 14px 16px !important;
}
.terminal em {
  color: #91ac89;
  font-style: normal;
  margin-right: 12px;
}
.terminal strong {
  font: 12px monospace;
  color: var(--lime);
  padding: 18px;
  display: block;
}
.art-badge {
  position: absolute;
  bottom: 30px;
  right: 20px;
  background: #e5edb8;
  color: #27463a;
  border: 6px solid #48624e;
  border-radius: 50%;
  width: 95px;
  height: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  transform: rotate(10deg);
}
.art-badge small {
  font-size: 5px;
  color: #27463a;
  letter-spacing: 0.5px;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}
.stats article {
  background: white;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stats article > span {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 650;
  color: var(--muted);
}
.stats strong {
  font-size: 31px;
  display: block;
  margin: 12px 0 15px;
  font-weight: 550;
}
.stats strong small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.meter {
  height: 5px;
  background: #e6eadf;
  border-radius: 10px;
  overflow: hidden;
}
.meter span {
  display: block;
  background: #477a61;
  height: 100%;
  border-radius: 10px;
}
.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 18px;
}
.section-row h2,
.section-row p {
  margin-bottom: 0;
}
.section-row .eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 9px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.day-card {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 18px;
  border-radius: 12px;
  width: 100%;
  padding: 22px;
  font-weight: 400;
}
.day-number {
  font-size: 29px;
  color: #678267;
  flex-shrink: 0;
  font-family: Georgia, serif;
  background: #f0f3e5;
  padding: 14px 12px;
  border-radius: 9px;
}
.day-card small {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1.1px;
}
.day-card h3 {
  font-size: 15px;
  margin: 5px 0;
}
.day-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.day-card > span:last-child {
  margin-left: auto;
}
.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.tip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eef1e4;
  padding: 22px;
}
.tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.8px;
  font-weight: 700;
  background: #e9efde;
  color: #3e614c;
  border-radius: 5px;
  padding: 5px 8px;
}
.tip h3 {
  font-size: 16px;
  margin-top: 14px;
}
.tip p {
  font-size: 12px;
  color: #5b6e5e;
  margin-bottom: 0;
}
.footnote {
  font-size: 11px;
  color: var(--muted);
  margin: 24px 0 0;
}
.panel {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.panel p {
  font-size: 14px;
}
.panel small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 12px;
}
.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.primary:hover:not(:disabled) {
  background: #296555;
}
.text-button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 12px;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
.spaced {
  margin-top: 35px;
}
.callout {
  border-left: 3px solid #7c966a;
  background: #edf1e5;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.7;
}
.lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 30px;
}
.lesson-layout aside {
  position: sticky;
  top: 25px;
  height: fit-content;
}
.lesson-section {
  padding: 0 0 30px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.lesson-section p {
  font-size: 15px;
  line-height: 1.9;
}
.section-num {
  font-family: Georgia, serif;
  font-size: 27px;
  color: #77906e;
  display: block;
  margin-bottom: 12px;
}
.lesson-side p {
  font-size: 12px;
}
.lesson-side h3 {
  font-size: 22px;
}
.wide {
  width: 100%;
  margin: 5px 0;
  font-size: 12px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  padding: 11px 0;
  cursor: pointer;
}
.check small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}
textarea {
  width: 100%;
  min-height: 145px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-top: 13px;
  background: #fcfdf9;
  color: var(--ink);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 23px 0;
}
.domain {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.domain summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 15px;
  min-height: 44px;
}
.domain summary small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.domain .meter {
  margin: 18px 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  font-size: 13px;
}
.toolbar label:not(.check) {
  display: flex;
  gap: 12px;
  align-items: center;
}
select {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 7px;
  padding: 11px;
  min-height: 44px;
}
.card-counter {
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
  margin: 35px 0 16px;
}
.flashcard {
  max-width: 700px;
  width: 100%;
  min-height: 310px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  border-radius: 18px;
  background: #eef2e4;
  box-shadow: 0 12px 0 -6px #dce5d2;
  border: 1px solid #d1ddc4;
  text-align: center;
}
.flashcard small {
  letter-spacing: 1.4px;
  font-size: 10px;
  color: #63765c;
}
.flashcard strong {
  font-family: Georgia, serif;
  font-size: clamp(23px, 3vw, 35px);
  font-weight: 400;
  line-height: 1.5;
  margin: 25px 0;
}
.flashcard > span {
  font-size: 11px;
  color: #61725c;
}
.card-controls {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 32px 0;
}
.quiz-option h2 {
  margin-top: 22px;
}
.compact-day {
  display: grid;
  text-align: left;
  gap: 9px;
  padding: 20px;
}
.compact-day small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
}
.compact-day strong {
  font-size: 14px;
}
.compact-day span {
  font-size: 11px;
  color: var(--muted);
}
.question {
  margin-top: 28px;
  max-width: 900px;
}
.question h2 {
  font-size: 25px;
  margin-bottom: 28px;
}
.answers {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.answer {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 16px;
  padding: 15px;
  font-size: 14px;
  font-weight: 400;
}
.answer span {
  background: #f0f3ea;
  padding: 7px 11px;
  border-radius: 5px;
  font-weight: 650;
}
.answer.selected {
  border: 2px solid var(--green);
  background: #edf3e7;
}
.answer.correct {
  background: #e2efdb;
  border: 2px solid #477a48;
  opacity: 1;
}
.answer:disabled {
  opacity: 0.8;
}
.explanation {
  border-left: 3px solid #4f8050;
  background: #f0f5e8;
  padding: 18px;
  margin: 24px 0;
}
.explanation p {
  margin: 8px 0 0;
}
.review {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.review summary {
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
}
.review p {
  margin-top: 18px;
}
.lab .section-row {
  margin-top: 0;
}
.lab h2 {
  margin: 14px 0 0;
}
.lab-steps {
  padding-left: 22px;
}
.lab-steps li {
  padding: 12px 0 12px 8px;
  font-size: 14px;
  line-height: 1.8;
}
.lab-steps label {
  display: flex;
  gap: 15px;
  cursor: pointer;
}
.lab-steps input {
  margin-top: 5px;
}
.outcome {
  background: #f4f6ee;
  border-radius: 8px;
  padding: 18px;
  margin: 18px 0;
}
.outcome p {
  margin: 6px 0 0;
}
.checklist {
  list-style: none;
  padding: 0;
  font-size: 14px;
  line-height: 2.5;
}
.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  min-width: 600px;
}
th {
  background: #edf1e5;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.history {
  list-style: none;
  padding: 0;
}
.history li {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.history span {
  float: right;
  color: var(--muted);
}
.file-button {
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  background: white;
}
.file-button input {
  max-width: 230px;
}
.danger {
  border-color: #ab6e5d;
  color: #8d3d2f;
}
.empty {
  text-align: center;
  padding: 65px;
}
#notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 24px;
  border-radius: 10px;
  background: #193d35;
  color: white;
  max-width: 90vw;
  z-index: 20;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
}
#notice.visible {
  opacity: 1;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 30;
  padding: 12px;
  background: white;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 1500px) {
  main {
    padding-top: 60px;
  }
  .hero {
    min-height: 370px;
  }
  .hero > div:first-child {
    padding: 40px;
  }
  .hero h2 {
    font-size: 44px;
  }
}
@media (max-width: 1150px) {
  aside#sidebar {
    width: 215px;
    padding: 26px 17px;
  }
  main {
    margin-left: 215px;
    width: calc(100% - 215px);
    padding: 32px 25px;
  }
  .hero {
    grid-template-columns: 1fr 0.85fr;
  }
  .hero > div:first-child {
    padding: 28px;
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero-art {
    padding: 15px;
  }
  .terminal {
    width: 255px;
  }
  .terminal-bar span {
    margin-left: 10px;
  }
  .art-badge {
    right: 10px;
    width: 75px;
    height: 75px;
    font-size: 25px;
  }
  .stats article {
    padding: 16px;
  }
  .stats {
    gap: 10px;
  }
  .stats article > span {
    font-size: 8px;
  }
  .stats strong small {
    display: block;
  }
  .lesson-layout {
    grid-template-columns: 1fr;
  }
  .lesson-layout aside {
    position: static;
  }
  .two-col {
    gap: 14px;
  }
  .day-card {
    padding: 17px;
    gap: 12px;
  }
  .day-number {
    font-size: 24px;
    padding: 10px;
  }
  .day-card h3 {
    font-size: 14px;
  }
}
@media (max-width: 850px) {
  body {
    display: block;
  }
  aside#sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
  .brand {
    font-size: 12px;
  }
  .brand > span {
    font-size: 22px;
    padding: 8px;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 17px;
    gap: 7px;
    padding-bottom: 4px;
  }
  nav a {
    white-space: nowrap;
    padding: 10px;
    font-size: 12px;
  }
  nav a > span {
    font-size: 16px;
    width: 16px;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 30px 25px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stats strong small {
    display: block;
  }
  .page-head {
    margin-bottom: 25px;
  }
}
@media (max-width: 600px) {
  main {
    padding: 28px 18px;
  }
  .hero {
    display: block;
  }
  .hero > div:first-child {
    padding: 26px;
  }
  .hero-art {
    display: none;
  }
  .hero h2 {
    font-size: 36px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats strong small {
    display: inline;
  }
  .two-col,
  .day-grid {
    grid-template-columns: 1fr;
  }
  .section-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-row h2 {
    font-size: 20px;
  }
  .panel {
    padding: 22px;
  }
  .toolbar {
    gap: 15px;
  }
  .card-controls {
    gap: 8px;
  }
  .card-controls button {
    padding: 10px;
    font-size: 12px;
  }
  .flashcard {
    padding: 27px;
    min-height: 290px;
  }
  .question h2 {
    font-size: 21px;
  }
  .lab-steps {
    padding-left: 18px;
  }
  .file-button {
    max-width: 100%;
    display: block !important;
  }
  .file-button input {
    width: 100%;
  }
  .page-head h1 {
    font-size: 35px;
  }
  .footnote {
    line-height: 1.8;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
