:root {
  color-scheme: light;
  --ink: #19352d;
  --muted: #50675f;
  --paper: #f7f8f2;
  --card: #fff;
  --line: #dce3d6;
  --accent: #235d43;
  --lime: #dceaaf;
  --radius: 22px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
select,
input,
textarea {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #bd6306;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 3;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.site-header,
main,
footer {
  max-width: 1160px;
  margin: auto;
  padding-left: 34px;
  padding-right: 34px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -1px;
}
.brand-mark {
  border-radius: 10px;
  padding: 9px 7px;
  margin-right: 5px;
  background: var(--ink);
  color: var(--lime);
  letter-spacing: -2px;
}
.brand-light {
  font-weight: 400;
}
.preview-tag,
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.7px;
  line-height: 1.7;
}
.preview-tag {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 12px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(38px, 5.1vw, 62px);
  line-height: 1.08;
  letter-spacing: -2.7px;
  margin-bottom: 24px;
  font-weight: 650;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
h2 {
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.7;
  color: var(--muted);
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  max-width: 580px;
}
.eyebrow {
  color: var(--accent);
  margin-bottom: 18px;
}
.hero,
.dashboard-head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  padding: 70px 0 58px;
  align-items: center;
}
.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.pill-row span,
.subtle-tag {
  font-size: 12px;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 20px;
}
.path-card {
  background: var(--ink);
  color: #fff;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--lime);
  transform: rotate(1deg);
}
.path-card p {
  color: #d3e3d9;
}
.path-card .eyebrow {
  color: var(--lime);
}
.path-card h2 {
  font-size: 30px;
}
.path-step {
  display: flex;
  gap: 18px;
  align-items: center;
  border-top: 1px solid #466253;
  padding: 15px 0;
  font-size: 14px;
}
.path-step b {
  color: var(--lime);
  font-size: 12px;
}
.path-card .small {
  margin-bottom: 0;
}
.small {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.onboard {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 85px;
  padding: 42px 0 68px;
  border-top: 1px solid var(--line);
}
.onboard > div {
  padding-top: 12px;
}
.onboard form,
.profile-form form,
.exercise-card {
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.profile-form {
  margin-top: 48px;
  max-width: 760px;
}
.profile-form fieldset,
.onboard fieldset {
  border: 0;
  padding: 0;
  margin: 8px 0 18px;
}
.profile-form legend,
.onboard legend {
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 10px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px 18px;
}
.option-grid .check {
  margin-bottom: 10px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 9px;
}
input[type="text"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  border: 1px solid #a8b8aa;
  border-radius: 9px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  margin-bottom: 22px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 450;
}
.check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0;
  accent-color: var(--accent);
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 9px;
  padding: 13px 19px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  min-height: 46px;
}
button:hover,
.button:hover {
  background: #163f2c;
}
.onboard button {
  width: 100%;
}
.secondary {
  background: #fff;
  color: var(--accent);
  border-color: #a8b8aa;
}
.secondary:hover {
  background: #edf3e7;
}
.progress-card {
  background: #edf2e1;
  padding: 30px;
  border: 1px solid #d5dec6;
  border-radius: var(--radius);
}
.progress-card strong {
  font-size: 60px;
  letter-spacing: -3px;
}
.progress-card strong small {
  font-size: 27px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -1px;
}
.progress-card p {
  margin-bottom: 14px;
}
.progress-card .small {
  display: block;
}
progress {
  width: 100%;
  height: 9px;
  accent-color: var(--accent);
  margin-bottom: 20px;
}
.learning-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.learning-plan {
  padding: 28px 34px;
  margin-bottom: 24px;
  background: #f2f5e9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.learning-plan ol {
  padding-left: 24px;
  line-height: 1.7;
}
.assignment-options {
  padding: 28px 34px;
  margin-bottom: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.assignment-options ul {
  list-style: none;
  padding: 0;
}
.assignment-options li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.assignment-options li p {
  margin: 8px 0;
}
.assignment-preparation li {
  overflow-wrap: anywhere;
}
.assignment-preparation ul ul {
  margin-top: 12px;
  padding-left: 20px;
  border-left: 2px solid var(--line);
}
.milestone-page,
.career-page {
  max-width: 850px;
}
.milestone-list,
.career-list {
  list-style: none;
  padding: 0;
}
.milestone-list > li,
.career-list > li {
  padding: 24px;
  margin: 20px 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.milestone-page form,
.career-page form {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.milestone-page details,
.milestone-page form + form,
.career-page details,
.career-page form + form {
  margin-top: 18px;
}
.milestone-reminder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}
.lesson-card,
.next-card {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}
.next-card {
  background: #f0eee5;
}
.next-card ul {
  padding-left: 20px;
}
.next-card li + li {
  margin-top: 8px;
}
.next-card li a {
  display: inline-block;
  padding-block: 4px;
}

.lesson-card .eyebrow {
  margin-bottom: 10px;
}
.status {
  display: inline-block;
  color: var(--accent);
  background: #eaf3e0;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 12px;
  margin-bottom: 20px;
}
.delete-form {
  margin: 50px 0;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.delete-form .check {
  margin-bottom: 12px;
}
.breadcrumb {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0 45px;
  font-size: 12px;
}
.breadcrumb span {
  letter-spacing: 1px;
  color: var(--muted);
}
.lesson-heading {
  max-width: 780px;
}
.lesson-heading h1 {
  font-size: 48px;
}
.lesson-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  margin: 42px 0 70px;
  align-items: start;
}
.reading section {
  position: relative;
  padding-left: 44px;
  margin-bottom: 35px;
}
.reading h2 {
  font-size: 22px;
}
.number {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  background: #e5edda;
  border-radius: 7px;
  padding: 7px;
  font-size: 12px;
}
.reading p,
.exercise-card > p {
  font-size: 14px;
}
.example {
  padding: 22px;
  border-left: 3px solid var(--accent);
  background: #edf2e1;
}
.example .eyebrow {
  margin-bottom: 8px;
}
.example p:last-child {
  margin-bottom: 0;
}
.exercise-card h2 {
  font-size: 25px;
}
.exercise-card form {
  margin-top: 25px;
}
.exercise-card textarea {
  margin-bottom: 12px;
}
.exercise-card label:not(.check) {
  margin-top: 20px;
}
.exercise-card .check {
  margin-top: 16px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.notice {
  background: #fff4df;
  border: 1px solid #cc9c4d;
  border-radius: 9px;
  padding: 16px;
  margin-bottom: 25px;
}
.notice h2 {
  font-size: 18px;
  margin-bottom: 8px;
}
.notice ul {
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}
.field-error {
  color: #8b2020;
  font-size: 14px;
  font-weight: 650;
  margin: 0 0 12px;
}
.exercise-card [aria-invalid="true"] {
  border-color: #8b2020;
  border-width: 2px;
}
.success {
  background: #eaf3e0;
  padding: 17px;
  border-radius: 9px;
  margin: 22px 0;
}
.success p {
  font-size: 13px;
  margin: 7px 0 0;
}
.saved-answer {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  border-left: 2px solid var(--line);
  font-size: 14px;
}
.saved-note {
  margin: 18px 0 0;
  font-size: 12px;
}
.error-page {
  padding: 80px 0;
  max-width: 750px;
}
footer {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  padding-bottom: 35px;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  font-size: 12px;
  line-height: 1.7;
}
footer strong {
  max-width: 280px;
  font-weight: 550;
}
footer span {
  max-width: 380px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    min-height: 85px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-light {
    display: none;
  }
  .preview-tag {
    font-size: 9px;
    padding: 6px 9px;
    letter-spacing: 0.6px;
  }
  .hero,
  .dashboard-head {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }
  h1 {
    letter-spacing: -1.8px;
  }
  .path-card {
    transform: none;
    box-shadow: 5px 5px 0 var(--lime);
    padding: 25px;
  }
  .onboard,
  .learning-grid,
  .lesson-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .onboard {
    padding: 30px 0 45px;
  }
  .onboard form,
  .exercise-card {
    padding: 23px;
  }
  .onboard {
    gap: 16px;
  }
  .lesson-heading h1 {
    font-size: 38px;
  }
  .lesson-layout {
    margin-top: 30px;
  }
  .breadcrumb {
    margin: 25px 0;
  }
  .lesson-card,
  .next-card {
    padding: 26px;
  }
  .progress-card {
    padding: 24px;
  }
  footer {
    flex-direction: column;
    gap: 14px;
  }
  .actions button {
    flex: 1;
  }
  .lead {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
.content-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  line-height: 1.65;
}

/* Discussion has several destination/recovery links; wrap them before they
   enlarge the mobile layout viewport and displace pointer targets. */
.circle-discussion-nav {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}
.circle-discussion-nav a {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Exact-source feedback stays readable without expanding a narrow viewport. */
.sample-feedback {
  overflow-wrap: anywhere;
}

/* Long allowed sample titles stay readable through queueing and discovery. */
.private-evidence,
.reviewer-worklist {
  overflow-wrap: anywhere;
}
