:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #f5f2ea;
  background: #111312;
  font-synthesis: none;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(38, 136, 125, 0.24), transparent 34%),
    linear-gradient(245deg, rgba(221, 70, 56, 0.12), transparent 38%),
    #111312;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto minmax(10rem, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding: 0.8rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(17, 19, 18, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.account-button,
.login-button,
.nav-pill,
.primary-link,
.course-card,
.lesson-link,
.topic-item,
.quiz-chip {
  border-radius: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  background: #f0c24b;
  color: #101211;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.05;
}

.brand small,
.eyebrow,
.course-card__kicker,
.course-card__body span,
.lesson-link small,
.topic-item small,
.soft-note,
.breadcrumbs,
.account-button {
  color: #bdb8ad;
}

.brand small {
  margin-top: 0.18rem;
  font-size: 0.78rem;
}

.topnav {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.25rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(245, 242, 234, 0.05);
}

.nav-pill {
  display: inline-grid;
  place-items: center;
  min-height: 2.3rem;
  padding: 0 0.85rem;
  font-size: 0.9rem;
}

.nav-pill.is-active {
  background: #f5f2ea;
  color: #111312;
}

.account-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.account-button,
.login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 2.35rem;
  max-width: 100%;
  padding: 0 0.9rem;
  line-height: 1;
  text-align: center;
}

.account-button {
  border: 1px solid rgba(245, 242, 234, 0.12);
  background: rgba(245, 242, 234, 0.04);
  color: #f5f2ea;
  text-decoration: none;
}

.login-button {
  border: 1px solid rgba(240, 194, 75, 0.38);
  background: #f0c24b;
  color: #111312;
  font-weight: 800;
}

.login-button:hover {
  background: #f5d66c;
}

.login-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(240, 194, 75, 0.26);
  background: rgba(240, 194, 75, 0.08);
  color: #f5f2ea;
}

.auth-loading {
  min-height: 16rem;
}

.page,
.course-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 2rem);
}

.library-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  min-height: 24rem;
  padding: clamp(1.2rem, 3vw, 2.4rem) 0;
}

.progress-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(1.2rem, 3vw, 2.4rem) 0;
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.library-hero h1,
.progress-hero h1,
.course-banner h1 {
  max-width: 12ch;
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.9;
}

.library-hero p,
.progress-hero p,
.course-banner p,
.empty-panel p {
  max-width: 68ch;
  margin: 0;
  color: #d8d2c4;
  line-height: 1.65;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.summary-grid span {
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(245, 242, 234, 0.055);
}

.summary-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #55c8b6;
  font-size: 2.1rem;
  line-height: 1;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.course-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(245, 242, 234, 0.045);
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.course-card:hover {
  transform: translateY(-2px);
  border-color: rgba(85, 200, 182, 0.62);
  background: rgba(245, 242, 234, 0.075);
}

.course-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  background-color: #252826;
  background-position: center;
  background-size: cover;
}

.course-card__body {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  min-width: 0;
  padding: 1rem;
}

.course-card__kicker {
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.course-card strong {
  font-size: 1.22rem;
  line-height: 1.16;
}

.course-card__body span:last-child {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.5;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.course-card__footer {
  display: grid;
  gap: 0.55rem;
  padding: 0 1rem 1rem;
}

.course-card__footer small {
  color: #d8d2c4;
}

.progress-list {
  display: grid;
  gap: 0.75rem;
}

.progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  border-radius: 8px;
  background: rgba(245, 242, 234, 0.045);
}

.progress-row h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.12;
}

.progress-row p:not(.eyebrow) {
  margin: 0.45rem 0 0;
  color: #d8d2c4;
}

.progress-row__meter {
  display: grid;
  gap: 0.45rem;
}

.progress-row__meter > span:first-child {
  color: #55c8b6;
  font-weight: 850;
  text-align: right;
}

.certificate-row {
  border-color: rgba(240, 194, 75, 0.22);
}

.certificate-download {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.certificate-empty {
  margin-top: 1rem;
}

.certificate-art {
  position: relative;
  display: grid;
  align-items: start;
  justify-items: center;
  aspect-ratio: 11 / 8.5;
  overflow: hidden;
  background: url("/assets/certificates/certificate-template-good.jpeg") center / cover no-repeat;
  color: #ffffff;
  text-align: center;
}

.certificate-art__copy {
  position: relative;
  z-index: 1;
  width: min(78%, 42rem);
  margin-top: 37.8%;
}

.certificate-art p {
  margin: 0 0 2.6%;
  color: #ffffff;
  font-size: clamp(0.72rem, 1.25vw, 1rem);
  font-weight: 400;
  line-height: 1.2;
}

.certificate-art h1 {
  margin: 0 0 2.8%;
  color: #ffffff;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}

.certificate-art h2 {
  max-width: 22ch;
  margin: 0 0 2.2%;
  color: #ffffff;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}

.certificate-art h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1rem, 2.2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.1;
}

.meter {
  display: block;
  overflow: hidden;
  height: 0.38rem;
  background: rgba(245, 242, 234, 0.12);
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #55c8b6, #f0c24b);
}

.next-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.next-band h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.primary-link {
  display: inline-grid;
  place-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  background: #f0c24b;
  color: #111312;
  font-weight: 780;
  white-space: nowrap;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.2rem 0 1rem;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: #f0c24b;
}

.course-banner {
  display: grid;
  grid-template-columns: minmax(20rem, 34rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  margin-bottom: 1rem;
}

.course-banner__image {
  min-height: 24rem;
  border-radius: 8px;
  background-color: #252826;
  background-position: center;
  background-size: cover;
}

.course-banner__body {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(1rem, 2.6vw, 2rem) 0;
}

.course-banner h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
}

.course-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.course-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.1rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(245, 242, 234, 0.055);
  color: #f5f2ea;
}

.learning-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 25rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.outline-panel {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.outline-panel__head,
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.outline-panel h2,
.section-head h3 {
  margin: 0.18rem 0 0;
  font-size: 1rem;
}

.outline-panel__head > span,
.section-head span {
  color: #55c8b6;
  font-weight: 820;
}

.outline-list {
  display: grid;
  gap: 0.5rem;
}

.lesson-group {
  display: grid;
  gap: 0.35rem;
}

.nested-quiz-list {
  display: grid;
  gap: 0.35rem;
  margin: -0.1rem 0 0.25rem 2.7rem;
}

.nested-quiz {
  display: grid;
  grid-template-columns: 1.45rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(245, 242, 234, 0.08);
  border-radius: 8px;
  background: rgba(245, 242, 234, 0.03);
}

.nested-quiz:hover,
.nested-quiz.is-active {
  border-color: rgba(240, 194, 75, 0.5);
  background: rgba(240, 194, 75, 0.08);
}

.nested-quiz > span:first-child {
  display: grid;
  place-items: center;
  color: #f0c24b;
}

.nested-quiz strong,
.nested-quiz small {
  display: block;
}

.nested-quiz strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.nested-quiz small {
  margin-top: 0.15rem;
  color: #bdb8ad;
  font-size: 0.72rem;
}

.outline-subsection {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 242, 234, 0.1);
}

.section-head--compact {
  margin-bottom: 0.55rem;
}

.lesson-link {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 4.35rem;
  padding: 0.7rem;
  border: 1px solid rgba(245, 242, 234, 0.08);
  background: rgba(245, 242, 234, 0.04);
}

.lesson-link:hover,
.lesson-link.is-active {
  border-color: rgba(85, 200, 182, 0.58);
  background: rgba(85, 200, 182, 0.1);
}

.lesson-link__icon,
.topic-item__state {
  display: grid;
  place-items: center;
  color: #55c8b6;
}

.lesson-link strong,
.lesson-link small,
.topic-item strong,
.topic-item small {
  display: block;
}

.lesson-link strong,
.topic-item strong {
  line-height: 1.26;
}

.lesson-link small,
.topic-item small {
  margin-top: 0.25rem;
  font-size: 0.76rem;
}

.lesson-panel {
  min-width: 0;
}

.content-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  min-height: clamp(11rem, 18vw, 17rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(245, 242, 234, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(85, 200, 182, 0.24), transparent 38%),
    linear-gradient(315deg, rgba(240, 194, 75, 0.2), transparent 44%),
    #222624;
}

.content-shell.is-topic {
  min-height: 11rem;
  padding-block: clamp(1.1rem, 2vw, 1.5rem);
}

.content-shell.is-lesson {
  min-height: clamp(11rem, 18vw, 16rem);
  padding-block: clamp(1.1rem, 2vw, 1.6rem);
}

.content-shell h2 {
  max-width: 18ch;
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.content-shell.is-topic h2 {
  max-width: 22ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.7vw, 3.6rem);
}

.content-shell.is-lesson h2 {
  max-width: 24ch;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.content-shell p {
  max-width: 66ch;
  margin: 0;
  color: #d8d2c4;
  line-height: 1.62;
}

.content-shell > span {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(245, 242, 234, 0.12);
  border-radius: 999px;
  color: #f0c24b;
  font-weight: 780;
}

.lesson-sections {
  margin-top: 0.8rem;
  padding: 1rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  border-radius: 8px;
  background: rgba(245, 242, 234, 0.04);
}

.content-body {
  margin-top: 0.8rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid rgba(245, 242, 234, 0.1);
  border-radius: 8px;
  background: rgba(245, 242, 234, 0.04);
}

.content-body h3 {
  max-width: 34ch;
  margin: 0.18rem 0 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.15;
}

.content-body p {
  max-width: 78ch;
  margin: 0.85rem 0 0;
  color: #d8d2c4;
  line-height: 1.68;
}

.rich-content {
  max-width: 86ch;
  color: #ded8ca;
  font-size: 1rem;
  line-height: 1.7;
}

.rich-content > :first-child {
  margin-top: 0;
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote,
.rich-content table,
.rich-content figure {
  margin: 1rem 0 0;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4 {
  max-width: 24ch;
  margin: 1.6rem 0 0.55rem;
  color: #f5f2ea;
  line-height: 1.05;
}

.rich-content h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.rich-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.rich-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.rich-content ul,
.rich-content ol {
  padding-left: 1.35rem;
}

.rich-content li + li {
  margin-top: 0.35rem;
}

.rich-content a {
  color: #55c8b6;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.rich-content img,
.rich-content video,
.rich-content iframe {
  display: block;
  max-width: 100%;
  margin: 1rem 0;
  border-radius: 8px;
}

.rich-content img {
  height: auto;
  border: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(245, 242, 234, 0.04);
}

.rich-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 18rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
}

.rich-content figure {
  max-width: 100%;
}

.rich-content figcaption {
  margin-top: 0.4rem;
  color: #bdb8ad;
  font-size: 0.86rem;
}

.rich-content blockquote {
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 3px solid #55c8b6;
  color: #f5f2ea;
}

.rich-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.rich-content th,
.rich-content td {
  padding: 0.65rem;
  border: 1px solid rgba(245, 242, 234, 0.12);
  text-align: left;
  vertical-align: top;
}

.rich-content code {
  padding: 0.1rem 0.25rem;
  border-radius: 4px;
  background: rgba(245, 242, 234, 0.1);
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.topic-item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 4.2rem;
  padding: 0.75rem;
  border: 1px solid rgba(245, 242, 234, 0.08);
  background: rgba(17, 19, 18, 0.45);
  color: #f5f2ea;
  text-align: left;
  cursor: pointer;
}

.topic-item:hover {
  border-color: rgba(240, 194, 75, 0.48);
}

.topic-quiz-item {
  border-color: rgba(85, 200, 182, 0.18);
  background: rgba(85, 200, 182, 0.06);
}

.topic-quiz-item:hover {
  border-color: rgba(85, 200, 182, 0.52);
}

.topic-item.is-active {
  border-color: rgba(240, 194, 75, 0.72);
  background: rgba(240, 194, 75, 0.1);
}

.quiz-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quiz-chip {
  display: inline-grid;
  place-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  background: rgba(17, 19, 18, 0.5);
  color: #f5f2ea;
  cursor: pointer;
}

.quiz-chip:hover {
  border-color: rgba(85, 200, 182, 0.52);
}

.question-list {
  display: grid;
  gap: 0.75rem;
}

.question-card {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(245, 242, 234, 0.08);
  border-radius: 8px;
  background: rgba(17, 19, 18, 0.45);
}

.question-card__number {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(85, 200, 182, 0.14);
  color: #55c8b6;
  font-weight: 820;
}

.question-card h3 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.22;
}

.question-card p {
  margin: 0.55rem 0 0;
  color: #d8d2c4;
  line-height: 1.6;
}

.question-card .rich-content {
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

.question-card .rich-content h1,
.question-card .rich-content h2,
.question-card .rich-content h3 {
  font-size: 1.05rem;
}

.detail-panel,
.quiz-hero {
  margin-top: 0.8rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(245, 242, 234, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.detail-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.detail-panel__head span {
  color: #55c8b6;
  font-size: 0.82rem;
  font-weight: 780;
}

.detail-panel h3,
.quiz-hero h2 {
  max-width: 22ch;
  margin: 0.35rem 0 0.7rem;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1;
}

.detail-panel p,
.quiz-hero p {
  max-width: 70ch;
  margin: 0;
  color: #d8d2c4;
  line-height: 1.62;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.secondary-link {
  display: inline-grid;
  place-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border: 1px solid rgba(245, 242, 234, 0.12);
  border-radius: 8px;
  background: rgba(245, 242, 234, 0.05);
  color: #f5f2ea;
  font-weight: 760;
}

.detail-actions .primary-link {
  border: 0;
  cursor: pointer;
}

.quiz-hero {
  display: grid;
  align-content: center;
  min-height: clamp(20rem, 40vw, 34rem);
}

.quiz-hero > span {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(85, 200, 182, 0.14);
  color: #55c8b6;
}

.quiz-hero > span svg {
  width: 1.45rem;
  height: 1.45rem;
}

.empty-panel {
  display: grid;
  align-content: center;
  min-height: 26rem;
  padding: 2rem;
  border: 1px solid rgba(245, 242, 234, 0.1);
  border-radius: 8px;
  background: rgba(245, 242, 234, 0.04);
}

.empty-panel span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: #55c8b6;
}

.empty-panel h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.soft-note {
  padding: 0.9rem;
  border: 1px solid rgba(245, 242, 234, 0.08);
  border-radius: 8px;
}

@media (max-width: 1120px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-hero,
  .progress-hero,
  .course-banner,
  .learning-layout {
    grid-template-columns: 1fr;
  }

  .outline-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .topnav {
    overflow-x: auto;
  }

  .account-button {
    display: none;
  }

  .course-grid,
  .summary-grid,
  .progress-row,
  .topic-list {
    grid-template-columns: 1fr;
  }

  .progress-row__meter > span:first-child {
    text-align: left;
  }

  .library-hero {
    min-height: auto;
  }

  .library-hero h1,
  .progress-hero h1,
  .course-banner h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .course-card {
    min-height: auto;
  }

  .next-band {
    align-items: stretch;
    flex-direction: column;
  }
}
