:root {
  color: #111513;
  background: #111513;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 48px);
  background:
    radial-gradient(circle at 90% 0%, rgba(206, 255, 84, 0.16), transparent 32%),
    #111513;
}

button,
a {
  font: inherit;
}

.course-shell {
  width: min(920px, 100%);
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
  border-radius: 8px;
  background: #f4eddd;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.course-header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 42px);
}

.course-header {
  background: #fffaf0;
  font-size: 0.82rem;
  font-weight: 800;
}

.course-header a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

#lms-status {
  color: #606a63;
}

.progress {
  height: 5px;
  background: #d2c8b5;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #ff6b45;
  transition: width 240ms ease;
}

.screen {
  padding: clamp(42px, 8vw, 86px) clamp(24px, 8vw, 92px);
}

.eyebrow {
  margin: 0 0 16px;
  color: #c83d1b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.lede,
.prompt,
.feedback p {
  max-width: 48rem;
  line-height: 1.6;
}

.lede {
  margin: 0 0 30px;
  color: #4f5a53;
  font-size: 1.08rem;
}

blockquote {
  margin: 0 0 28px;
  padding: 20px 24px;
  border-left: 5px solid #ff6b45;
  background: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.45;
}

.prompt {
  margin: 0 0 14px;
  font-weight: 850;
}

.answers {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.answer,
.primary {
  border: 1px solid #cfc3ad;
  border-radius: 5px;
  cursor: pointer;
}

.answer {
  width: 100%;
  min-height: 58px;
  padding: 13px 16px;
  background: rgba(255, 250, 240, 0.62);
  color: #111513;
  text-align: left;
}

.answer:hover {
  border-color: #111513;
}

.answer:disabled {
  cursor: default;
}

.answer.is-correct {
  border-color: #287453;
  background: #e1f5e8;
}

.answer.is-incorrect {
  border-color: #a3381f;
  background: #f9dfd7;
}

.feedback {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 5px solid #ff6b45;
  background: #fffaf0;
}

.feedback strong {
  display: block;
  margin-bottom: 6px;
}

.feedback p {
  margin: 0;
  color: #4f5a53;
}

.primary {
  min-height: 50px;
  padding: 0 22px;
  border-color: #111513;
  background: #111513;
  color: #fffaf0;
  font-weight: 850;
}

.primary:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #ceff54;
  outline-offset: 4px;
}

footer {
  border-top: 1px solid #cfc3ad;
  color: #606a63;
  font-size: 0.78rem;
  font-weight: 760;
}

@media (max-width: 600px) {
  body {
    padding: 0;
  }

  .course-shell {
    min-height: 100vh;
    border-radius: 0;
  }

  .course-header,
  footer {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
