* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #17211d;
  background: #ffffff;
  line-height: 1.6;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 7%;
  border-bottom: 1px solid rgba(23, 33, 29, 0.15);
  background: white;
}

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
}

.site-header a {
  color: #17211d;
  text-decoration: none;
  font-weight: 700;
}

main {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.hero {
  padding: 90px 0 70px;
}

.eyebrow,
.topic-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6f3fd6;
}

.hero h1 {
  margin: 10px 0 20px;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.95;
}

.hero-description {
  max-width: 650px;
  font-size: 18px;
}

.topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.topic-nav a {
  border: 1px solid #17211d;
  padding: 10px 14px;
  text-decoration: none;
  color: #17211d;
}

.topic-section {
  padding: 80px 0;
  border-top: 1px solid rgba(23, 33, 29, 0.18);
}

.topic-section h2 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 8px 0 15px;
}

.lesson-card {
  margin-top: 40px;
  padding: 30px;
  border: 1px solid rgba(23, 33, 29, 0.18);
}

.lesson-image {
  width: 69%;
  height: auto;
  display: block;
  margin: 22px auto;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0;
}

.lesson-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.lesson-table th,
.lesson-table td {
  border: 1px solid #17211d;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.lesson-table th {
  background: #f4f1fb;
}

@media (max-width: 700px) {
  .site-header {
    padding: 16px 5%;
  }

  main {
    width: 92%;
  }

  .hero {
    padding: 60px 0;
  }

  .lesson-card {
    padding: 20px;
  }
}
.topic-intro {
  margin: 24px 0 50px;
  max-width: 760px;
}

.topic-intro h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.big-question {
  padding: 18px 20px;
  background: #f4f1fb;
  border-left: 4px solid #6f3fd6;
}

.lesson-card h3 {
  font-size: clamp(26px, 3vw, 38px);
  margin-top: 0;
  margin-bottom: 18px;
}

.lesson-card h4 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 10px;
}

.lesson-card p {
  max-width: 780px;
}

.example-box,
.activity-box {
  margin-top: 22px;
  padding: 20px;
  background: #f7f7f7;
  border: 1px solid rgba(23, 33, 29, 0.14);
}

.example-box ul {
  margin-bottom: 0;
  padding-left: 22px;
}

.activity-title {
  font-weight: 700;
  color: #6f3fd6;
}

.answer-line {
  height: 60px;
  margin-top: 15px;
  border-bottom: 1px solid #17211d;
}

.final-summary {
  background: #f4f1fb;
  border-color: #6f3fd6;
}
.quiz-button {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 20px;
  border-radius: 999px;
  background: #6f3fd6;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.quiz-button:hover {
  opacity: 0.9;
}
.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 70px;
  align-items: center;
  min-height: 680px;
  padding: 80px 0;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin: 14px 0 28px;
  font-size: clamp(64px, 8vw, 118px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  color: #6f3fd6;
}

.hero-description {
  max-width: 780px;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-actions a {
  display: inline-block;
  padding: 17px 22px;
  text-decoration: none;
  font-weight: 700;
}

.primary {
  background: #5f3bb3;
  color: #ffffff;
  border: 1px solid #5f3bb3;
}

.secondary {
  background: transparent;
  color: #17211d;
  border: 1px solid #17211d;
}

.hero-art {
  position: relative;
  width: 100%;
  min-height: 430px;
}

.cosmo-tile {
  position: absolute;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #17211d;
  box-shadow: 12px 12px 0 #17211d;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tile-one {
  top: 20px;
  left: 15px;
  background: #c9df4a;
  transform: rotate(-1deg);
}

.tile-two {
  top: 25px;
  right: 0;
  background: #4a7ed6;
  color: white;
  transform: rotate(8deg);
}

.tile-three {
  bottom: 15px;
  left: 0;
  background: #f26d4f;
  transform: rotate(8deg);
}

.tile-four {
  bottom: 10px;
  right: 5px;
  background: #ffffff;
  transform: rotate(-2deg);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-art {
    min-height: 420px;
  }
}
.downloads-section {
  padding: 80px 5.5%;
  background: #f4f1e9;
  border-top: 1px solid rgba(23, 33, 29, 0.18);
}

.downloads-section .eyebrow {
  margin-bottom: 28px;
}

.downloads-section h2 {
  margin: 0 0 46px;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #17211d;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.download-card {
  min-height: 250px;
  padding: 28px 30px;
  border: 1px solid #17211d;
  background: #ffffff;
  color: #17211d;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  transform: translateY(-5px);
}

.download-topic {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.download-card strong {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.15;
}

.download-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
}

.back-home {
  display: inline-block;
  margin-top: 42px;
  padding: 14px 20px;
  border: 1px solid #17211d;
  color: #17211d;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
}

.back-home:hover {
  background: #17211d;
  color: #ffffff;
}

@media (max-width: 900px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}
.back-top {
  display: inline-block;
  margin-top: 42px;
  margin-left: 14px;
  padding: 14px 20px;
  border: 1px solid #17211d;
  color: #17211d;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
}

.back-top:hover {
  background: #17211d;
  color: #ffffff;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.top-nav a {
  color: #17211d;
  text-decoration: none;
  font-weight: 700;
}

.top-nav .pdf-link {
  padding: 18px 22px;
  background: #17211d;
  color: #ffffff;
}

.topic-picker {
  padding: 70px 5.5% 90px;
  background: #f4f1e9;
}

.topic-picker-label {
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.topic-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.topic-picker-card {
  min-height: 130px;
  padding: 26px 28px;
  border: 1px solid rgba(23, 33, 29, 0.2);
  background: #ffffff;
  color: #17211d;
  text-decoration: none;

  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.topic-picker-card span {
  color: #6f3fd6;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.topic-picker-card strong {
  font-size: 20px;
  line-height: 1.35;
}

.topic-picker-card:hover {
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .top-nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .topic-picker-grid {
    grid-template-columns: 1fr;
  }
}

/* MOSAIC search highlight */

mark.page-search-highlight {
  background: #e9ddff !important;
  color: #5f36d8 !important;
  padding: 1px 2px !important;
  border-radius: 4px !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
}

mark.page-search-highlight.current-search-match {
  background: #693fe0 !important;
  color: #ffffff !important;
}

.search-target-lesson {
  outline: 3px solid rgba(105, 63, 224, 0.35);
  outline-offset: -3px;
  box-shadow: 0 0 0 8px rgba(105, 63, 224, 0.06);
}