/*
  Academy programme: the programme timeline, week pages and session read mode.
  Loaded only on Academy pages, after site.css; uses its tokens and shared components
  (.kicker, .chips, .button, .reading-layout, .lesson-card).
*/

/* Shared bits ------------------------------------------------------------ */
.back-link {
  display: block;
  width: fit-content;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.back-link:hover {
  color: var(--ink);
}
.preview-notice {
  background: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 0;
}
.preview-badge {
  color: #8a5a00;
}
.empty-note {
  color: var(--muted);
}
.session-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 30px;
}
.week-session-intro .session-actions {
  margin-top: 0;
}
.session-actions > span {
  font-size: 13px;
  color: var(--muted);
}

/* Programme (Academy index) ---------------------------------------------- */
.programme-section {
  background: #fff;
}
.programme-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.programme-stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: 26px 24px;
}
.programme-stats > div + div {
  border-left: 1px solid var(--line);
}
.programme-stats dt {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
}
.programme-stats dd {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1;
}
/* MVPAI: the method section on the Academy page, and the route on week and session pages */
.mvpai-section {
  background: var(--paper);
}
.mvpai-phases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.mvpai-phases > li {
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.mvpai-letter {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--yellow);
  font-size: 28px;
  font-weight: 800;
}
.mvpai-phases h3 {
  margin: 18px 0 4px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.mvpai-phases p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.mvpai-phases ul {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.mvpai-phases ul span {
  display: inline-block;
  min-width: 28px;
  font: 600 12px var(--mono, monospace);
  color: var(--muted);
}
.mvpai-gates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 0;
}
.mvpai-gates > div {
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--ink);
  color: #f3f5fa;
}
.mvpai-gates dt {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.mvpai-gates dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}
.mvpai-route {
  margin-top: 26px;
}
.mvpai-route ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mvpai-route li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.mvpai-route li b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink);
  font-size: 12px;
}
.mvpai-route li.is-current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.mvpai-route li.is-current b {
  background: var(--yellow);
}
.mvpai-route p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.programme-week-route {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.programme-rhythm {
  margin: -14px 0 44px;
}
.programme-weeks {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.programme-weeks li {
  border-bottom: 1px solid var(--line);
}
.programme-week {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 26px 18px;
  transition: background 0.2s var(--ease-out);
}
a.programme-week:hover {
  background: var(--paper);
}
.programme-week-number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--blue);
}
.programme-week h3 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.035em;
}
.programme-week p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.programme-week b {
  font-size: 13px;
  white-space: nowrap;
}
.programme-week.is-upcoming .programme-week-number,
.programme-week.is-upcoming h3 {
  color: #9aa2ae;
}
.programme-week .coming-soon {
  color: var(--muted);
  font-weight: 700;
}
.programme-week-lab {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -12px 0 24px 126px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.programme-week-lab span {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.programme-week-lab:hover,
.programme-week-lab:focus-visible {
  border-color: var(--ink);
  background: var(--paper);
}

/* Week page --------------------------------------------------------------- */
.week-sessions .shell {
  display: grid;
  gap: 28px;
}
.week-session {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4vw, 56px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.07);
}
.week-session h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 14px 0 16px;
}
.week-session-intro p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 28px;
}
.week-session-outcomes {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 48px);
}

/* Session read mode ------------------------------------------------------ */
.session-hero h1 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 0.98;
}
.session-body .reading-layout {
  grid-template-columns: 240px minmax(0, 780px);
}
.session-outline {
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.session-outline ol {
  margin: 0;
  padding: 0 0 0 1.4em;
  display: grid;
  gap: 8px;
  color: #8a94a3;
  font-size: 13px;
  line-height: 1.35;
}
.session-outline a {
  color: #37445a;
}
.session-outline a:hover {
  color: var(--blue);
}
.session-slides {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.slide-section {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 52px);
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.06);
  scroll-margin-top: 110px;
}
.slide-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.slide-number {
  font-size: 11px;
  font-weight: 800;
  color: #a0a7b2;
  letter-spacing: 0.1em;
}
.slide-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 12px 0 22px;
}
.slide-section ul,
.slide-section ol {
  margin: 0;
}
.slide-section li {
  line-height: 1.55;
}
.slide-lede {
  font-size: 18px;
  line-height: 1.6;
  color: #37445a;
}
.slide-subhead {
  margin: 28px 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.slide-takeaway {
  margin: 28px 0 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: #eef0ff;
  color: #1f2a6b;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
}
.slide-output {
  margin: 24px 0 0;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Lists with a marker: outcomes, checks, gates */
.slide-checklist,
.slide-gate {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.slide-checklist li,
.slide-gate li {
  position: relative;
  padding-left: 32px;
}
.slide-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a1020' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.slide-gate li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 2px solid var(--ink);
}
.slide-gate li {
  padding: 14px 16px 14px 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.slide-gate li::before {
  left: 16px;
  top: 16px;
}
.slide-questions {
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

/* Split: before / after */
.slide-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.slide-compare > div {
  padding: 22px;
  border-radius: 18px;
}
.slide-compare h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.slide-compare ul {
  padding-left: 1.1em;
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.compare-before {
  background: #f3f1ec;
  color: #4a5262;
}
.compare-after {
  background: var(--ink);
  color: #fff;
}

/* Case: starting point -> reframe */
.slide-case {
  display: grid;
  gap: 12px;
}
.slide-case > div {
  padding: 20px 22px;
  border-radius: 18px;
}
.slide-case span {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  font-weight: 800;
}
.slide-case p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}
.case-before {
  background: #f3f1ec;
  color: #5a6170;
}
.case-after {
  background: #e3fbf1;
  color: #0b3d2b;
}

/* Framework steps and lifecycle stages */
.slide-steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: step;
}
.slide-steps li {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 2fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.slide-steps b {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.slide-cycle {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.slide-cycle li {
  padding: 16px;
  border-radius: 16px;
  background: #f4f1ff;
  display: grid;
  gap: 4px;
}
.slide-cycle li:nth-child(4n + 2) {
  background: #eaf7ff;
}
.slide-cycle li:nth-child(4n + 3) {
  background: #e9fbf3;
}
.slide-cycle li:nth-child(4n + 4) {
  background: #fff5e8;
}
.slide-cycle b {
  font-size: 12px;
  letter-spacing: 0.1em;
}
.slide-cycle span {
  font-size: 14px;
  color: #4a5262;
}

/* Activity and Claude exercises */
.slide-tasks {
  padding-left: 1.3em;
  display: grid;
  gap: 10px;
}
.slide-deliverable {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff4a8;
}
.slide-deliverable p {
  margin: 6px 0 0;
}
.claude-prompt {
  margin: 0;
  border-radius: 18px;
  background: var(--ink);
  color: #e6eaf2;
  padding: 20px 22px;
}
.claude-prompt .kicker {
  color: #aab7ce;
}
.claude-prompt pre {
  margin: 12px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 14px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* Previous / next */
.session-pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.session-pager a {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.session-pager a:hover {
  border-color: var(--ink);
}
.session-pager .is-next {
  grid-column: 2;
  text-align: right;
}
.session-pager b {
  font-size: 18px;
  letter-spacing: -0.02em;
}

@media (max-width: 900px) {
  .mvpai-phases,
  .mvpai-gates {
    grid-template-columns: minmax(0, 1fr);
  }
  .programme-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .programme-stats > div:nth-child(3) {
    border-left: 0;
  }
  .programme-stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .week-session {
    grid-template-columns: 1fr;
  }
  .week-session-outcomes {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
  .slide-cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .session-body .reading-layout {
    grid-template-columns: 1fr;
  }
  /* The slide list is long; on small screens the slides themselves are the outline. */
  .session-outline {
    display: none;
  }
}
@media (max-width: 600px) {
  .programme-week {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 4px;
  }
  .programme-week > b {
    grid-column: 2;
  }
  .programme-week-lab {
    margin: -8px 4px 20px 72px;
    border-radius: 18px;
  }
  .programme-week-number {
    font-size: 34px;
  }
  .slide-compare,
  .session-pager {
    grid-template-columns: 1fr;
  }
  .session-pager .is-next {
    grid-column: auto;
  }
  .slide-steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Pricing ---------------------------------------------------------------- */
.pricing-section {
  padding-top: 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.pricing-card.is-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.pricing-card h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.pricing-badge {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-card.is-featured .pricing-badge {
  background: var(--yellow);
  border-color: var(--yellow);
}
.pricing-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}
.pricing-price strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(52px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.pricing-price span,
.pricing-note {
  color: var(--muted);
}
.pricing-price span {
  font-weight: 700;
}
.pricing-note {
  margin: 0;
}
.pricing-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 12px;
  padding: 0;
  list-style: none;
}
.pricing-list li {
  position: relative;
  padding-left: 26px;
}
.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}
.pricing-card .button {
  width: fit-content;
  margin-top: auto;
}
.pricing-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin: 0;
}
.pricing-facts div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.pricing-facts dt {
  font-weight: 800;
  margin-bottom: 6px;
}
.pricing-facts dd {
  margin: 0;
  color: var(--muted);
}
.pricing-footnote {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}
.pricing-footnote a,
.programme-pricing a {
  font-weight: 700;
}
.programme-pricing {
  margin-top: 36px;
}
.pricing-addon {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink2);
  line-height: 1.6;
}
.pricing-addon a {
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .pricing-grid,
  .pricing-facts {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 26px;
  }
}

/* Copyright and course terms ------------------------------------------- */
.course-copyright {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.course-copyright a {
  font-weight: 700;
  color: var(--ink);
}
.terms-section {
  padding-top: 0;
}
.terms h2 {
  margin: 40px 0 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.terms p,
.terms li {
  color: var(--ink2);
  font-size: 17px;
  line-height: 1.65;
}
.terms ul {
  padding-left: 22px;
}
.terms a {
  font-weight: 700;
  text-decoration: underline;
}
.terms-updated {
  color: var(--muted);
  font-size: 14px;
}

/* Lab sheet --------------------------------------------------------------- */
.lab-section {
  padding-top: 0;
}
.lab h2 {
  margin: 56px 0 14px;
  padding-top: 18px;
  border-top: 3px solid var(--ink);
  font-size: 28px;
  letter-spacing: -0.03em;
}
.lab h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 40px 0 12px;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.lab-minutes {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 700 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.lab p,
.lab li {
  color: var(--ink2);
  font-size: 17px;
  line-height: 1.65;
}
.lab ul,
.lab ol {
  padding-left: 22px;
}
.lab a {
  font-weight: 700;
  text-decoration: underline;
}
.lab code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--paper);
  font: 0.9em ui-monospace, SFMono-Regular, Consolas, monospace;
}
.lab-prompt {
  margin: 18px 0;
}
.lab-prompt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lab-copy {
  padding: 6px 12px;
  border: 1px solid #3a4560;
  border-radius: 999px;
  background: transparent;
  color: #e6eaf2;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.lab-copy:hover,
.lab-copy:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
}
.lab-check {
  margin: 14px 0 22px;
  padding: 14px 18px;
  border-left: 4px solid var(--ink);
  border-radius: 0 14px 14px 0;
  background: var(--paper);
}
.lab-table {
  margin: 18px 0;
  overflow-x: auto;
}
.lab table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.lab th,
.lab td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.lab thead th {
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.lab tbody th {
  font-weight: 700;
  white-space: nowrap;
}
.lab-rule {
  margin: 56px 0 0;
  border: 0;
}
.lab-code {
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--paper);
  white-space: pre-wrap;
}
.lab-instructor {
  margin-top: 56px;
  padding: 22px 24px;
  border: 2px dashed var(--line);
  border-radius: 16px;
}
.lab-instructor h2 {
  margin-top: 0;
  border: 0;
}
@media (max-width: 600px) {
  .lab tbody th {
    white-space: normal;
  }
}

/* Graduation -------------------------------------------------------------- */
.graduation table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.graduation th,
.graduation td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.graduation thead th {
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
}
.graduation-points {
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}
.graduation .programme-pricing {
  margin-top: 40px;
}

/* Lock panel: the end of a preview (academy/access.py) ------------------- */
.lock-panel {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin: 40px 0;
  padding: 32px;
  border-radius: 24px;
  background: var(--ink);
  color: #e6eaf2;
}
.lock-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
}
.lock-panel p {
  margin: 0;
  max-width: 620px;
  color: #c3cad8;
  line-height: 1.6;
}
.lock-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}
.lock-icon svg {
  width: 22px;
  height: 22px;
}
.lock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.lock-panel .button-dark {
  background: var(--yellow);
  color: var(--ink);
}
.lock-panel .button-outline {
  border-color: #3a4560;
  color: #fff;
}
.session-outline .is-locked a {
  color: var(--muted);
}
.unlock-form {
  display: grid;
  gap: 14px;
  max-width: 460px;
}
.unlock-form input {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: 600 18px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.unlock-form .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #b42318;
  font-weight: 600;
}
.academy-messages {
  padding-top: 18px;
}

/* MVPAI in a Week ------------------------------------------------------- */
.in-a-week-callout {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 36px;
  padding: 28px 32px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
}
.in-a-week-callout h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
}
.in-a-week-callout p {
  margin: 0;
  max-width: 680px;
  color: var(--ink2);
  line-height: 1.6;
}
.terms .programme-weeks {
  padding-left: 0;
}
.terms .programme-weeks a,
.terms .in-a-week-pricing a {
  font-weight: inherit;
  text-decoration: none;
}
.terms .programme-weeks p {
  font-size: 14px;
}
.in-a-week-pricing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}
.in-a-week-pricing .pricing-card {
  padding: 28px;
}
@media (max-width: 800px) {
  .in-a-week-pricing {
    grid-template-columns: 1fr;
  }
}

/* Courses on the Academy page: each course leads, its lessons fold away --- */
.courses {
  display: grid;
  gap: 28px;
}
.course {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.course-head {
  display: grid;
  gap: 16px;
  padding: 36px 40px 28px;
}
.course-head h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.course-lede {
  margin: 0;
  max-width: 760px;
  color: var(--ink2);
  font-size: 18px;
  line-height: 1.6;
}
.course-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.course-facts div {
  padding: 16px 0;
}
.course-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.course-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.course-facts dd {
  margin: 4px 0 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.course-rhythm {
  margin: 0;
  color: var(--muted);
}
.course .programme-rhythm {
  margin: 0;
}
.course-price {
  margin: 0;
  color: var(--ink2);
}
.course-price strong {
  font-size: 22px;
  color: var(--ink);
}
.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.course-lessons {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.course-lessons summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 40px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}
.course-lessons summary::-webkit-details-marker {
  display: none;
}
.course-lessons summary small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.course-lessons summary:hover .course-toggle,
.course-lessons summary:focus-visible .course-toggle {
  background: var(--ink);
  color: #fff;
}
.course-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transition: transform 0.25s var(--ease-out), background 0.2s, color 0.2s;
}
.course-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.course-lessons[open] .course-toggle {
  transform: rotate(180deg);
}
.course-lessons .programme-weeks {
  margin: 0 40px 28px;
  background: var(--white);
}
@media (max-width: 800px) {
  .course-head {
    padding: 26px 20px 22px;
  }
  .course-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .course-facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .course-facts div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .course-lessons summary {
    padding: 18px 20px;
  }
  .course-lessons .programme-weeks {
    margin: 0 12px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .course-toggle {
    transition: none;
  }
}

/* Build with AI: First Steps -------------------------------------------- */
.course-free {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.course-free .course-head {
  background: #fff8d6;
}
.free-badge {
  width: fit-content;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.certificate-intro {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-bottom: 36px;
}
.certificate-intro h1 {
  margin: 8px 0 0;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.04em;
}
.certificate-intro input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}
.certificate {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 56px 40px;
  border: 6px double var(--ink);
  border-radius: 18px;
  background: var(--white);
  text-align: center;
}
.certificate h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 56px);
  font-style: italic;
  font-weight: 400;
}
.certificate p {
  margin: 0;
  max-width: 620px;
  line-height: 1.6;
}
.certificate-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.certificate-name {
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.certificate-course {
  font-size: 24px;
  font-weight: 800;
}
.certificate-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
@media print {
  .site-nav,
  .site-footer,
  .mobile-drawer,
  .skip-link,
  .print-hide {
    display: none !important;
  }
  .certificate-section {
    padding: 0;
  }
  .certificate {
    border-color: #000;
  }
}

/* Facilitator guide: a premium page for charities ----------------------- */
.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  background: var(--ink);
  color: #e9edf6;
}
.guide-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -55% 40%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(83, 104, 255, 0.45), transparent),
    radial-gradient(closest-side at 70% 40%, rgba(255, 215, 90, 0.18), transparent);
  pointer-events: none;
}
.guide-hero .shell {
  position: relative;
  display: grid;
  gap: 22px;
  justify-items: start;
}
.guide-hero .back-link {
  color: #b6bfd2;
}
.guide-kicker {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.guide-hero h1 {
  margin: 0;
  max-width: 980px;
  color: #fff;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.guide-hero h1 em {
  color: var(--yellow);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.guide-lede {
  margin: 0;
  max-width: 720px;
  color: #c9d0de;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}
.guide-lede strong {
  color: #fff;
}
.guide-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.guide-badges li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #eef1f8;
  font-size: 14px;
  font-weight: 600;
}
.guide-badges li::before {
  content: "\2713";
  margin-right: 8px;
  color: var(--mint);
  font-weight: 800;
}
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.guide-button-primary {
  border: 0;
  background: var(--yellow);
  color: var(--ink);
}
.guide-button-primary:hover,
.guide-button-primary:focus-visible {
  background: #fff;
}
.guide-button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.guide-button-ghost:hover,
.guide-button-ghost:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.guide-facts {
  position: relative;
  margin-top: -40px;
}
.guide-facts dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.guide-facts dl > div {
  padding: 24px 26px;
}
.guide-facts dl > div + div {
  border-left: 1px solid var(--line);
}
.guide-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.guide-facts dd {
  margin: 6px 0 4px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.guide-facts p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.guide-kit {
  padding: 76px 0 24px;
}
.guide-kit h2 {
  margin: 10px 0 28px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.045em;
}
.guide-kit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.guide-kit-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.2s;
}
.guide-kit-card:hover,
.guide-kit-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.guide-kit-card h3 {
  margin: 6px 0 0;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.guide-kit-card p {
  margin: 0;
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.55;
}
.guide-kit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--paper);
}
.guide-kit-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-main {
  padding: 48px 0 40px;
}
.guide-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.guide-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
}
.guide-toc > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.guide-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.guide-toc li a {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--ink2);
  font-size: 14px;
  line-height: 1.35;
}
.guide-toc li a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  color: var(--muted);
  font: 600 12px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.guide-toc li a:hover,
.guide-toc li a[aria-current] {
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}
.guide-toc li a[aria-current]::before {
  color: var(--blue);
}
.guide-toc-cta {
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.guide-body {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.guide-section {
  position: relative;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  scroll-margin-top: 96px;
}
.lab .guide-section h2 {
  margin: 4px 0 14px;
  padding: 0;
  border: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.035em;
}
.guide-step {
  color: var(--blue);
  font: 600 13px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
}
.guide-section > *:last-child {
  margin-bottom: 0;
}
.guide-section.is-glance {
  background: var(--paper);
}
.guide-section.is-safeguarding {
  border: 0;
  background: #fff6d6;
  box-shadow: inset 6px 0 0 var(--yellow);
}
.guide-section.is-safeguarding .guide-step {
  color: #8a6500;
}
.guide-section.is-safeguarding li {
  margin-bottom: 8px;
}
.guide-section.is-handout {
  background: linear-gradient(180deg, var(--paper), var(--white) 220px);
}
.guide-section-tools {
  margin: 0 0 6px;
}
.guide-section.is-licence {
  border-color: var(--ink);
}
.guide-credit {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin: 22px 0 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--paper);
}
.guide-credit figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.guide-credit p {
  margin: 0;
  color: var(--ink);
  font: 500 15px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.guide-cta {
  margin: 40px 0 0;
  padding: 72px 0;
  background: var(--ink);
  color: #c9d0de;
  text-align: center;
}
.guide-cta .shell {
  display: grid;
  gap: 16px;
  justify-items: center;
}
.guide-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 54px);
  letter-spacing: -0.05em;
}
.guide-cta p {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
}
.guide-cta .guide-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .guide-kit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .guide-toc {
    position: static;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
  }
  .guide-facts dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guide-facts dl > div:nth-child(3) {
    border-left: 0;
  }
  .guide-facts dl > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
  .guide-hero {
    padding: 44px 0 76px;
  }
  .guide-kit-grid {
    grid-template-columns: 1fr;
  }
  .guide-section {
    padding: 24px 20px;
  }
  .guide-facts dl > div {
    padding: 18px;
  }
  .guide-facts dd {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .guide-kit-card {
    transition: none;
  }
}
@media print {
  .guide-page .guide-hero,
  .guide-page .guide-kit,
  .guide-page .guide-toc,
  .guide-page .guide-cta,
  .guide-page .guide-facts,
  .guide-page .lab-copy {
    display: none !important;
  }
  .guide-page .guide-layout {
    display: block;
  }
  .guide-page .guide-section {
    margin-bottom: 18px;
    border: 1px solid #999;
    box-shadow: none;
    break-inside: avoid-page;
  }
  .guide-page .lab-prompt {
    border: 2px solid #000;
    background: #fff;
    color: #000;
  }
  .guide-page .lab-prompt pre {
    font-size: 15px;
  }
  .print-handout .guide-section:not(.is-handout) {
    display: none !important;
  }
  .print-handout .guide-section.is-handout {
    border: 0;
    font-size: 18px;
  }
}
