:root {
  --ink: #111111;
  --muted: #62645f;
  --cream: #f6f6f1;
  --paper: #ffffff;
  --green: #9bca24;
  --green-dark: #48620a;
  --sage: #dcebac;
  --sage-light: #f0f6df;
  --gold: #f0b541;
  --coral: #d9785f;
  --sky: #6e9fa7;
  --border: #dfe5df;
  --shadow: 0 18px 50px rgba(20, 25, 10, 0.1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--green-dark);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 218px;
  height: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--sage-light);
  border: 1px solid var(--sage);
  border-radius: 12px;
}

.brand-mark svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.brand strong {
  letter-spacing: -0.01em;
}

.brand small {
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.73rem;
}

.desktop-nav {
  display: flex;
  gap: 26px;
}

.desktop-nav a {
  color: #3d534b;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--green);
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: #1b1b1b;
  background: var(--sage-light);
  border: 1px solid var(--sage);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.access-badge > span {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(155, 202, 36, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 82px;
  background:
    radial-gradient(ellipse at 82% 20%, rgba(155, 202, 36, 0.24) 0, rgba(155, 202, 36, 0) 25%),
    radial-gradient(ellipse at 8% 105%, rgba(155, 202, 36, 0.12) 0, rgba(155, 202, 36, 0) 29%),
    var(--cream);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(47, 107, 85, 0.13);
  border-radius: 50%;
}

.hero::before {
  width: 380px;
  height: 380px;
  right: -210px;
  top: -210px;
}

.hero::after {
  width: 230px;
  height: 230px;
  left: -150px;
  bottom: -150px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr);
  gap: 88px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.audience-clarifier {
  max-width: 670px;
  margin: -10px 0 28px;
  padding: 12px 15px;
  color: #34372f;
  background: rgba(155, 202, 36, 0.14);
  border-left: 4px solid var(--green);
  border-radius: 0 9px 9px 0;
  font-size: 0.87rem;
}

.hero-background-notes {
  display: grid;
  gap: 18px;
  max-width: 720px;
  margin: 0 0 30px;
}

.hero-background-notes section {
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.13);
}

.hero-background-notes h2 {
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.3;
}

.hero-background-notes p {
  margin-bottom: 0;
  color: #41443c;
  font-size: 0.9rem;
  line-height: 1.62;
}

.hero-background-notes a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hero-background-notes a:hover,
.hero-background-notes a:focus-visible {
  color: #243405;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.3vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 30px;
  color: #4f625b;
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #111;
  background: var(--green);
  box-shadow: 0 8px 18px rgba(97, 127, 22, 0.18);
}

.button-primary:hover {
  color: white;
  background: #111;
}

.button-secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.62);
  border-color: #cdd9d1;
}

.button-secondary:hover {
  background: white;
}

.hero-facts {
  display: flex;
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  min-width: 128px;
  padding: 0 22px;
  border-left: 1px solid #d9ded8;
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1;
}

.hero-facts span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}

.route-card {
  position: relative;
  overflow: hidden;
  color: white;
  background: #111;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.route-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 5px solid var(--green);
}

.route-content {
  padding: 24px 28px 26px;
}

.route-card::before {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  right: 20px;
  top: 18px;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}

.route-label {
  margin-bottom: 24px;
  color: #cbe1d7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.route-card ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-card li {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 0 0 24px;
}

.route-card li:last-child {
  padding-bottom: 0;
}

.route-card li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 14px;
  bottom: 4px;
  width: 1px;
  background: rgba(255,255,255,0.18);
}

.route-card li > span {
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #111;
  background: var(--green);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 850;
}

.route-card strong,
.route-card small {
  display: block;
}

.route-card strong {
  margin-bottom: 2px;
  font-size: 0.96rem;
}

.route-card small {
  color: #bdd0c8;
  font-size: 0.8rem;
  line-height: 1.45;
}

.overview-section,
.materials-section,
.ai-section {
  padding: 84px 0;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

.heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}

.heading-row > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 20px;
}

.featured-file {
  display: flex;
  gap: 24px;
  padding: 30px;
  border: 1px dashed #b9c9bf;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, white, #fbfcf8);
}

.file-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 78px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding-bottom: 11px;
  color: white;
  background: var(--coral);
  border-radius: 8px 8px 12px 12px;
  box-shadow: 0 8px 18px rgba(217, 120, 95, 0.2);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 74% 0, 100% 20%, 100% 100%, 0 100%);
}

.file-copy {
  flex: 1;
}

.card-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.chip-overview {
  color: var(--green-dark);
  background: var(--sage);
}

.status-pill {
  color: #7c5830;
  background: #f8ead4;
}

.file-copy h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.file-copy p {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--muted);
}

.file-button,
.resource-card button {
  min-height: 38px;
  padding: 0 13px;
  color: #75817c;
  background: #f3f5f2;
  border: 1px solid #dde2dc;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.license-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px;
  color: #5b4a2d;
  background: #fbf2df;
  border: 1px solid #f1deba;
  border-radius: var(--radius-lg);
}

.audience-note {
  color: #29320f;
  background: var(--sage-light);
  border-color: var(--sage);
}

.audience-note .note-icon {
  color: #2d3b0b;
}

.note-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #856225;
  background: rgba(255,255,255,0.58);
  border-radius: 50%;
}

.note-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.license-note h3 {
  margin: 3px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.license-note p {
  margin: 0;
  font-size: 0.84rem;
}

.materials-section {
  background: #f4f4f0;
}

.materials-heading {
  margin-bottom: 30px;
}

.module-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  gap: 8px;
  padding: 7px;
  background: #e8e9e3;
  border-radius: 15px;
}

.module-tab {
  min-height: 62px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: #53665e;
  background: transparent;
  border: 0;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}

.module-tab > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.58);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 850;
}

.module-tab small {
  max-width: 100px;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.25;
}

.module-tab.active {
  color: #111;
  background: var(--green);
  box-shadow: 0 5px 12px rgba(86, 112, 20, 0.18);
}

.module-tab.active > span {
  color: #111;
  background: white;
}

.all-tab {
  display: block;
  padding-inline: 16px;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 230px auto;
  gap: 12px;
  align-items: end;
  margin-top: 22px;
  padding: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.search-field {
  position: relative;
  display: block;
}

.search-field svg {
  position: absolute;
  width: 19px;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  fill: none;
  stroke: #73827c;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-field input,
.select-field select {
  width: 100%;
  height: 44px;
  color: var(--ink);
  background: #fbfcfa;
  border: 1px solid #d8dfd8;
  border-radius: 9px;
  outline: none;
}

.search-field input {
  padding: 0 14px 0 42px;
}

.search-field input:focus,
.select-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 107, 85, 0.12);
}

.select-field span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.select-field select {
  padding: 0 12px;
}

.clear-button {
  height: 44px;
  padding: 0 14px;
  color: var(--green);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 0.79rem;
  font-weight: 780;
  cursor: pointer;
}

.clear-button:hover {
  background: var(--sage-light);
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.topic-chip {
  min-height: 32px;
  padding: 0 12px;
  color: #4c6259;
  background: transparent;
  border: 1px solid #cfd9d1;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 720;
  cursor: pointer;
}

.topic-chip:hover,
.topic-chip.active {
  color: #111;
  background: var(--green);
  border-color: var(--green);
}

.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 2px 12px;
  color: var(--muted);
  font-size: 0.76rem;
}

.placeholder-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.placeholder-key i {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.module-collection {
  margin-bottom: 34px;
}

.module-header {
  min-height: 160px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 30px;
  padding: 28px 36px;
  color: white;
  background: #111;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.module-header::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -110px;
  border: 46px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.module-two { background: #252525; }
.module-three { background: #34420f; }
.module-four { background: #111; }

.module-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  opacity: 0.34;
}

.module-header .module-label {
  margin-bottom: 4px;
  color: #b7e14b;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.module-header h3 {
  margin-bottom: 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.module-header .module-subtitle {
  max-width: 880px;
  margin-bottom: 11px;
  color: #d7ef9d;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.module-header .module-summary {
  max-width: 900px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.91rem;
  line-height: 1.58;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: #dce5de;
  border: 1px solid #dce5de;
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}

.resource-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: white;
}

.resource-card.filtered-out {
  display: none;
}

.resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.type-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.slides-icon { background: var(--coral); }
.guide-icon { background: var(--green); }
.quiz-icon { background: var(--gold); color: #5a3e16; }
.breakout-icon { background: var(--sky); }
.worksheet-icon { background: #85729e; }

.file-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7a6a4e;
  font-size: 0.66rem;
  font-weight: 760;
}

.file-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.resource-type {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.resource-card h4 {
  margin-bottom: 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.18;
}

.resource-card > p:not(.resource-type) {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.resource-use {
  margin-top: auto;
  margin-bottom: 16px;
  padding-top: 13px;
  border-top: 1px solid #eef0ec;
}

.resource-use strong,
.resource-use span {
  display: block;
}

.resource-use strong {
  color: #75827d;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-use span {
  margin-top: 3px;
  font-size: 0.76rem;
  font-weight: 670;
}

.resource-card button {
  width: 100%;
}

.no-results {
  padding: 54px 20px;
  text-align: center;
  background: white;
  border: 1px dashed #bacabd;
  border-radius: var(--radius-lg);
}

.no-results > span {
  color: #9aaba3;
  font-size: 2.4rem;
}

.no-results h3 {
  margin: 4px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
}

.no-results p {
  color: var(--muted);
}

.ai-section {
  color: #f9fbf8;
  background: var(--green-dark);
}

.ai-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.ai-heading .eyebrow {
  color: #f2c775;
}

.ai-heading h2 {
  margin-bottom: 14px;
}

.ai-heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #c6d7d0;
}

.prompt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.prompt-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 26px;
  color: var(--ink);
  background: #f8f5ed;
  border-radius: var(--radius-lg);
}

.prompt-number {
  color: #9a8052;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  opacity: 0.72;
}

.prompt-card h3 {
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 600;
}

.prompt-card-copy > p {
  color: var(--muted);
  font-size: 0.81rem;
}

.prompt-box {
  position: relative;
  padding: 18px 18px 58px;
  background: white;
  border: 1px solid #e1e2dc;
  border-radius: 13px;
}

.prompt-box code {
  color: #304840;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.65;
  white-space: normal;
}

.copy-button {
  position: absolute;
  left: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--green);
  background: var(--sage-light);
  border: 0;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 780;
  cursor: pointer;
}

.copy-button:hover {
  background: var(--sage);
}

.copy-button svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.prompt-tip {
  margin: 14px 2px 0 !important;
  padding-left: 12px;
  border-left: 3px solid #e4b357;
  font-size: 0.73rem !important;
}

.ai-safeguard {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
  color: #d4e2dc;
  font-size: 0.79rem;
  text-align: center;
}

.ai-safeguard strong {
  color: #f1cd88;
}

footer {
  padding: 28px 0;
  color: #6a7a73;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner strong {
  color: white;
  font-size: 0.86rem;
}

.footer-inner span,
.footer-inner p {
  margin: 2px 0 0;
  font-size: 0.7rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 90;
  padding: 10px 15px;
  color: white;
  background: #132e27;
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  font-weight: 740;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s, transform 0.2s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid rgba(232, 168, 74, 0.72);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-grid {
    gap: 42px;
  }

  .module-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .all-tab {
    grid-column: 1 / -1;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prompt-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 28px, 680px);
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    padding: 58px 0;
  }

  .hero-grid,
  .heading-row,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .heading-row {
    gap: 14px;
  }

  .route-card {
    max-width: 520px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .clear-button {
    justify-self: start;
  }

  .overview-section,
  .materials-section,
  .ai-section {
    padding: 62px 0;
  }
}

@media (max-width: 560px) {
  .brand small,
  .access-badge {
    display: none;
  }

  .header-inner {
    min-height: 66px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.7rem);
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-facts li {
    min-width: 0;
    padding: 0 10px;
  }

  .hero-facts span {
    font-size: 0.67rem;
  }

  .featured-file {
    flex-direction: column;
  }

  .file-icon {
    width: 48px;
    height: 58px;
  }

  .module-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .module-tab {
    min-height: 54px;
  }

  .module-header {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 26px 24px;
  }

  .module-number {
    font-size: 2.4rem;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 290px;
  }

  .result-line,
  .footer-inner,
  .ai-safeguard {
    align-items: flex-start;
    flex-direction: column;
  }

  .prompt-card {
    grid-template-columns: 1fr;
  }

  .prompt-number {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
