@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
/* Design tokens and base elements. */
:root {
  --ink: #17291f;
  --green: #c8f36b;
  --purple: #3c2c92;
  --line: #dce2db;
  --paper: #f7f9f5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 "DM Sans",
    sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #df6c1e;
  outline-offset: 5px;
}
/* Shared page shell and navigation. */
header,
main {
  max-width: 1200px;
  margin: auto;
}
header {
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  font-size: 19px;
}
.mark {
  background: var(--ink);
  color: var(--green);
  width: 38px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
}
.mark span {
  font-size: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}
nav a {
  text-decoration: none;
}
.help-link {
  border: 1px solid var(--ink);
  padding: 9px 16px;
  border-radius: 6px;
}
main {
  padding: 0 32px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px 0 44px;
  gap: 36px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin: 0 0 16px;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
}
h1 {
  font-size: clamp(42px, 5.3vw, 68px);
  letter-spacing: -0.05em;
  margin: 0 0 24px;
}
h1 em {
  font-style: normal;
  color: #50752b;
}
.lede {
  color: #536154;
  margin: 0;
  font-size: 18px;
}
.note {
  border-left: 1px solid var(--line);
  padding: 15px 0 15px 38px;
  max-width: 280px;
}
.note p {
  font:
    500 28px/1.25 "Space Grotesk",
    sans-serif;
  margin: 18px 0;
}
.note > span:last-child {
  font-size: 14px;
  color: #59645a;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin: 0;
}
.section-heading > span {
  font-size: 14px;
  color: #647064;
}
.tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.track {
  padding: 28px 32px;
  border-radius: 12px;
  overflow: hidden;
}
.build {
  background: var(--green);
}
.challenge {
  background: var(--purple);
  color: #fff;
}
.track-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tag {
  font-size: 12px;
  letter-spacing: 0.09em;
  font-weight: 700;
}
.track-top > span:last-child {
  font-size: 30px;
}
.track h3 {
  font-size: 44px;
  letter-spacing: -0.045em;
  margin: 17px 0;
}
.track p {
  margin: 0 0 22px;
}
.stages {
  font-size: 14px;
  opacity: 0.85;
  padding: 0 0 22px;
}
.track button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: var(--ink);
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 14px 18px;
  font-weight: 600;
  text-align: left;
  gap: 12px;
}
.challenge button {
  background: white;
  color: var(--purple);
}
.track button:hover {
  filter: brightness(0.92);
}
.stuck {
  margin: 38px 0 48px;
  background: #eaf0e7;
  border: 1px solid #d6e0d1;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  padding: 30px;
}
.stuck h2 {
  font-size: 36px;
}
.stuck p:last-child {
  margin-bottom: 0;
  color: #536154;
}
.stuck .eyebrow {
  font-size: 11px;
}
.shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.shortcuts button {
  background: var(--paper);
  border: 1px solid #d3dccd;
  text-align: left;
  padding: 13px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.shortcuts button:hover {
  border-color: #50752b;
  background: white;
}
.switch {
  display: flex;
  padding: 4px;
  background: #e5eae1;
  border-radius: 8px;
}
.switch button {
  border: 0;
  background: transparent;
  padding: 8px 18px;
  border-radius: 5px;
  color: var(--ink);
  font-size: 14px;
}
.switch button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
#library {
  padding-bottom: 50px;
}
#library .eyebrow {
  margin-bottom: 8px;
}
#track-description {
  color: #59645a;
  margin: 0 0 24px;
}
.guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.guide-card {
  padding: 24px;
  text-align: left;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.guide-card:hover {
  background: white;
}
.guide-card .number {
  font-size: 12px;
  color: #687365;
  letter-spacing: 0.1em;
}
.guide-card h3 {
  font-size: 21px;
  margin: 18px 0 10px;
  line-height: 1.2;
}
.guide-card p {
  font-size: 14px;
  color: #59645a;
  margin: 0 0 20px;
}
.guide-card .read {
  font-size: 14px;
  font-weight: 600;
  margin-top: auto;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
footer p,
footer > span {
  font-size: 12px;
  color: #647064;
}
footer .brand {
  font-size: 16px;
}
dialog {
  width: min(700px, calc(100% - 28px));
  max-height: 88dvh;
  border: 0;
  border-radius: 14px;
  padding: 30px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 100px #0004;
}
dialog::backdrop {
  background: #14251bcc;
  backdrop-filter: blur(4px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-top .eyebrow {
  margin: 0;
}
#close {
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  width: 44px;
  height: 44px;
  color: var(--ink);
}
dialog h2 {
  font-size: 36px;
  margin: 22px 0;
}
.answer {
  background: var(--green);
  padding: 22px;
  border-radius: 8px;
}
.answer p {
  margin: 8px 0 0;
  font-size: 18px;
}
dialog h3 {
  font-size: 21px;
  margin: 26px 0 14px;
}
dialog li {
  margin: 10px 0;
  padding-left: 6px;
}
details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  color: #526050;
}
.sources {
  font-size: 14px;
  margin-top: 22px;
}
.sources a {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.related {
  border: 1px solid var(--ink);
  background: transparent;
  padding: 10px 14px;
  border-radius: 5px;
  color: var(--ink);
}
.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 9;
}
.skip:focus {
  top: 10px;
}
/* Original responsive rules — order is retained to preserve the cascade. */
@media (max-width: 760px) {
  header {
    padding: 20px;
  }
  main {
    padding: 0 20px;
  }
  nav {
    gap: 10px;
  }
  .brand {
    font-size: 16px;
  }
  .intro {
    padding: 36px 0;
  }
  .note {
    display: none;
  }
  .lede {
    font-size: 16px;
  }
  .tracks {
    grid-template-columns: 1fr;
  }
  .track {
    padding: 24px;
  }
  .track h3 {
    font-size: 40px;
  }
  .section-heading > span {
    max-width: 130px;
    text-align: right;
  }
  .stuck {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }
  .shortcuts {
    grid-template-columns: 1fr;
  }
  .guides {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    align-items: flex-start;
  }
  #library h2 {
    font-size: 25px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  dialog {
    padding: 22px;
  }
  dialog h2 {
    font-size: 29px;
  }
}
@media (max-width: 420px) {
  .guides {
    grid-template-columns: 1fr;
  }
  .switch button {
    padding: 8px 12px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .track .stages {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Revised information architecture. Retains the original palette, type, cards,
   and native disclosure controls without adding framework dependencies. */
header {
  flex-wrap: wrap;
}
header nav {
  gap: 1.25rem;
  flex-wrap: wrap;
}
header nav a {
  display: block !important;
  padding: 0.45rem 0;
  border-bottom: 2px solid transparent;
}
header nav a[aria-current] {
  border-color: var(--ink);
}
main {
  min-height: 65vh;
  padding-bottom: 2.5rem;
}
.page-heading {
  padding: 2.5rem 0 1.8rem;
  max-width: 820px;
}
.page-heading h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.6rem);
  margin-bottom: 1rem;
}
.page-heading .lede {
  max-width: 740px;
}
.page-heading h1:focus,
.reading h1:focus,
main:focus {
  outline: none;
}
.entrances {
  display: grid;
  grid-template-columns: 1fr 1fr 0.84fr;
  gap: 1.1rem;
}
.entrances .track {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
}
.entrances h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.04em;
  margin: 0.9rem 0 1rem;
}
.entrances .track > p {
  margin: 0 0 1.75rem;
  font-size: 1rem;
}
.entrances .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin: 0;
}
.entrance-button {
  display: block;
  background: var(--ink);
  color: white;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: auto;
}
.challenge .entrance-button {
  background: white;
  color: var(--purple);
}
.help {
  background: #e8ede3;
  border: 1px solid #d4decd;
}
.entrance-button:hover {
  filter: brightness(0.94);
}
.principle-strip {
  margin: 1.75rem 0 2rem;
  padding: 1.3rem 1.5rem;
  border-left: 4px solid #659534;
  background: #edf3e6;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.principle-strip strong {
  font-size: 1.15rem;
}
.principle-strip span {
  color: #526050;
  font-size: 0.95rem;
}
.resource-shelf {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.resource-shelf h2 {
  font-size: 1.15rem;
  line-height: 1.3;
}
.resource-shelf p {
  font-size: 0.875rem;
  color: #59645a;
  margin: 0.5rem 0;
}
.resource-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 640px;
}
.resource-links a {
  border: 1px solid #ccd7c6;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  text-decoration: none;
  background: #fff;
}
.resource-links a:hover {
  background: #edf3e6;
}
.site-footer {
  max-width: 1136px;
  margin: auto;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}
.site-footer > span {
  font-size: 0.8rem;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 1.5rem;
  font-size: 0.875rem;
  color: #59645a;
}
.breadcrumbs a {
  text-underline-offset: 3px;
}
.breadcrumbs > span[aria-hidden] {
  color: #8b9587;
}
.stage-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stage-cards.build,
.stage-cards.challenge {
  background: transparent;
  color: var(--ink);
}
.stage-cards.challenge {
  grid-template-columns: repeat(2, 1fr);
}
.stage-card {
  border: 1px solid #cbd7c4;
  background: #edf4e4;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stage-card h2 {
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 0.6rem 0;
}
.stage-card p {
  margin: 0.3rem 0 1.4rem;
}
.stage-card .read {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
}
.stage-card:hover {
  border-color: #6b884a;
  background: #e4efd7;
}
.stage-symbol {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: #40651e;
}
.stage-card .eyebrow {
  margin-bottom: 0.4rem;
}
.challenge .stage-card {
  background: #f0edf9;
  border-color: #d4cdef;
}
.challenge .stage-card:hover {
  background: #e5dff5;
  border-color: #9b89d0;
}
.challenge .stage-symbol {
  color: var(--purple);
}
.map-note {
  font-size: 0.9rem;
  color: #526050;
  margin: 1rem 0 2rem;
}
.presentation-entry {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: white;
}
.presentation-entry h2 {
  font-size: 1.6rem;
}
.presentation-entry p {
  margin: 0.7rem 0 0;
}
.presentation-entry .eyebrow {
  margin: 0 0 0.6rem;
}
.presentation-entry .related {
  white-space: normal;
  flex-shrink: 0;
  max-width: 260px;
}
.related {
  text-decoration: none;
  display: inline-block;
}
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0.25rem;
}
.section-nav a {
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.section-nav a[aria-current] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
body[data-track="challenge"] .section-nav a[aria-current] {
  background: var(--purple);
  border-color: var(--purple);
}
.section-nav + .page-heading {
  padding-top: 1.7rem;
}
.guide-card {
  text-decoration: none;
}
.guide-card h3 {
  font-size: 1.3rem;
}
.guide-card p {
  font-size: 1rem;
}
.guide-card .number {
  font-size: 0.75rem;
}
.guides {
  margin-bottom: 1rem;
}
.urgent {
  position: sticky;
  top: 0;
  z-index: 5;
  border: 1px solid #e7c5a0;
  background: #fff3e3;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  box-shadow: 0 2px 0 #17291f08;
}
.urgent > span {
  font-size: 0.875rem;
  color: #704626;
}
.urgent > div {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.urgent a,
.time-options a {
  padding: 0.5rem 0.7rem;
  border: 1px solid #c79d73;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.875rem;
  background: #fff;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.urgent a:hover {
  background: #ffe2bd;
}
.stuck-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.stuck-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}
.stuck-choice h2 {
  font-size: 1.2rem;
  line-height: 1.35;
}
.stuck-choice:hover {
  background: #edf3e6;
  border-color: #6b884a;
}
.spaced-heading {
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
}
.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(200px, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
.reading h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 0.5rem 0 1.5rem;
  letter-spacing: -0.04em;
}
.reading .answer {
  padding: 1.3rem 1.5rem;
}
.reading .answer p {
  font-size: 1.075rem;
  line-height: 1.6;
}
body[data-track="challenge"] .answer {
  background: #e6dff9;
}
.disclosures {
  margin-top: 1.5rem;
}
.disclosures > details {
  padding: 0;
}
.disclosures summary {
  padding: 1rem 0.25rem;
  line-height: 1.4;
  min-height: 54px;
  font-size: 1rem;
  scroll-margin-top: 8rem;
}
.disclosures details[open] > summary {
  color: #3f651d;
}
.detail-body {
  padding: 0 0.25rem 1rem;
}
.detail-body p {
  color: var(--ink);
  margin: 0.5rem 0 1rem;
}
.detail-body h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 1rem 0 0.5rem;
}
.detail-body ol,
.time-plan ol {
  padding-left: 1.5rem;
  margin-top: 0.25rem;
}
.detail-body li,
.time-plan li {
  margin: 0.8rem 0;
  padding-left: 0.25rem;
  font-size: 1rem;
  line-height: 1.65;
}
.detail-body section + section {
  border-top: 1px dashed var(--line);
  padding-top: 0.5rem;
}
.example {
  padding: 0.5rem 0;
}
.detail-body .small-note {
  font-size: 0.875rem;
  color: #59645a;
}
.prompt {
  padding: 1rem 1.2rem;
  background: #edf1e9;
  border: 1px solid #d7dfd1;
  border-radius: 7px;
  margin: 1rem 0;
}
.prompt p {
  margin-top: 0;
}
.prompt pre {
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 1rem;
  line-height: 1.65;
}
.prompt button {
  font-size: 0.875rem;
  background: white;
  min-height: 44px;
}
.reading-aside {
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
}
.reading-aside h2 {
  font-size: 1.1rem;
  margin: 0 0 0.8rem;
}
.reading-aside > a {
  display: block;
  font-size: 0.925rem;
  padding: 0.6rem 0;
  line-height: 1.4;
  text-underline-offset: 3px;
}
.aside-note {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #edf1e9;
  border-radius: 7px;
  font-size: 0.925rem;
}
.aside-note p {
  margin: 0.6rem 0;
}
.aside-note a {
  font-size: 0.875rem;
}
.copy-status {
  font-size: 0.875rem;
}
.copy-status:empty {
  display: none;
}
.time-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.time-options a[aria-current] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.time-plan {
  max-width: 820px;
  border: 1px solid #e7c5a0;
  background: #fff8ed;
  border-radius: 10px;
  padding: 1.6rem;
}
.time-plan h2 {
  font-size: 1.5rem;
}
.time-stop {
  border-top: 1px solid #e7c5a0;
  padding-top: 1rem;
}
.small-note {
  font-size: 0.875rem;
  color: #59645a;
}
.related-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.read {
  line-height: 1.4;
}
a,
button,
summary {
  touch-action: manipulation;
}
a:hover {
  text-decoration-thickness: 2px;
}
.skip {
  position: fixed;
}
.site-footer {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (max-width: 1000px) {
  .entrances {
    grid-template-columns: 1fr 1fr;
  }
  .entrances .help {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    column-gap: 2rem;
  }
  .entrances .help .eyebrow {
    grid-column: 1;
  }
  .entrances .help h2 {
    grid-column: 1;
    grid-row: 2/4;
  }
  .entrances .help h2 br {
    display: none;
  }
  .entrances .help > p {
    grid-column: 2;
    grid-row: 1/3;
    margin-bottom: 1rem;
  }
  .entrances .help .entrance-button {
    grid-column: 2;
    grid-row: 3;
  }
  .resource-shelf {
    flex-direction: column;
    gap: 0.75rem;
  }
  .resource-links {
    justify-content: flex-start;
    max-width: none;
  }
  .reading-layout {
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) 210px;
  }
  .stage-cards {
    gap: 0.6rem;
  }
  .stage-card {
    padding: 1.2rem;
  }
  .stage-card h2 {
    font-size: 1.35rem;
  }
  .urgent > div {
    margin-left: 0;
  }
}
@media (max-width: 760px) {
  header {
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }
  header nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }
  header nav a {
    font-size: 0.875rem;
  }
  .page-heading {
    padding: 1.75rem 0 1.25rem;
  }
  .page-heading h1 {
    font-size: 2.35rem;
  }
  .entrances {
    grid-template-columns: 1fr;
  }
  .entrances .track {
    padding: 1.4rem;
  }
  .entrances h2 {
    font-size: 2.1rem;
  }
  .entrances .help {
    display: flex;
    grid-column: auto;
  }
  .entrances .help h2 br {
    display: initial;
  }
  .entrances .track > p {
    margin-bottom: 1.25rem;
  }
  .stage-cards,
  .stage-cards.challenge {
    grid-template-columns: 1fr;
  }
  .stage-card {
    padding: 1.25rem;
  }
  .stage-card h2 {
    font-size: 1.5rem;
  }
  .stage-symbol {
    font-size: 1.75rem;
  }
  .presentation-entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }
  .presentation-entry .related {
    max-width: none;
  }
  .reading-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .reading-aside {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.25rem 0 0;
  }
  .stuck-choices {
    grid-template-columns: 1fr;
  }
  .section-nav {
    gap: 0.4rem;
  }
  .section-nav a {
    font-size: 0.875rem;
    padding: 0.6rem;
  }
  .urgent {
    padding: 0.7rem 0.8rem;
    gap: 0.5rem;
  }
  .urgent > span {
    display: none;
  }
  .urgent > div {
    width: 100%;
    gap: 0.4rem;
  }
  .urgent a {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    padding: 0.4rem;
    font-size: 0.875rem;
  }
  .principle-strip {
    padding: 1rem 1.15rem;
  }
  .site-footer {
    margin: 0 1.25rem;
    padding-left: 0;
    padding-right: 0;
  }
  .reading h1 {
    font-size: 2rem;
  }
  .reading .answer {
    padding: 1.1rem;
  }
  .reading .answer p {
    font-size: 1rem;
  }
  .resource-links {
    width: 100%;
  }
  .resource-links a {
    flex: 1 1 200px;
  }
  .guides {
    grid-template-columns: 1fr;
  }
  .disclosures summary {
    padding-right: 0.4rem;
  }
  .time-plan {
    padding: 1.2rem;
  }
  .breadcrumbs {
    font-size: 0.875rem;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .entrances .eyebrow {
    letter-spacing: 0.02em;
  }
  .stage-card h2 {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media (max-width: 760px) {
  .urgent > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .urgent a {
    white-space: normal;
    text-align: center;
  }
}

/* Build overview only: iterative, clickable Triple Diamond. */
.diamond-overview {
  margin: 0.4rem 0 2rem;
}
.diamond-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.8rem minmax(0, 1fr) 1.8rem minmax(
      0,
      1fr
    ) 2.2rem minmax(0, 0.8fr);
  align-items: center;
  gap: 0.15rem;
}
.diamond-link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
  padding: 0 0 0.8rem;
  min-width: 0;
}
.diamond-shape {
  position: relative;
  aspect-ratio: 1;
}
.diamond-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.diamond-outline polygon {
  fill: #edf4e4;
  stroke: #9aac8c;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition:
    fill 0.15s,
    stroke 0.15s;
}
.diamond-label {
  position: absolute;
  inset: 17% 14%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.diamond-label .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  margin: 0.5rem 0 0.5rem;
}
.diamond-label h2 {
  font-size: clamp(1.15rem, 1.85vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 100%;
}
.iteration-arrow {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  color: #6b8457;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: diamond-iterate 10s linear infinite;
  transform-origin: center;
}
.diamond-link:hover .diamond-outline polygon,
.diamond-link:focus-visible .diamond-outline polygon {
  fill: #e1efcf;
  stroke: #50752b;
  stroke-width: 1.5;
}
.diamond-link:hover .iteration-arrow,
.diamond-link:focus-visible .iteration-arrow {
  animation-play-state: paused;
}
.diamond-activities {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0.3rem -0.1rem 0.65rem;
  color: #526050;
  text-wrap: balance;
}
.diamond-open {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}
.diamond-connector {
  font-size: 2rem;
  color: #6f7e66;
  text-align: center;
  align-self: center;
  transform: translateY(-2.5rem);
}
.diamond-presentation {
  border: 1px solid #d3dacf;
  border-radius: 8px;
  text-decoration: none;
  background: white;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 3.8rem;
}
.diamond-presentation .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin: 0;
}
.presentation-symbol {
  font-size: 1.4rem;
}
.diamond-presentation h2 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0;
}
.diamond-presentation p {
  font-size: 0.95rem;
  margin: 0;
  color: #526050;
}
.diamond-presentation:hover {
  border-color: #78945e;
  background: #fcfef9;
}
.diamond-caption {
  border-top: 1px solid var(--line);
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.diamond-caption p {
  font-size: 0.875rem;
  color: #526050;
  max-width: 760px;
  margin: 0;
}
.diamond-caption strong {
  color: var(--ink);
}
.motion-toggle {
  background: transparent;
  border: 1px solid #cbd5c4;
  border-radius: 5px;
  color: #526050;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
}
.diamond-overview[data-motion="paused"] .iteration-arrow {
  animation-play-state: paused;
}
@keyframes diamond-iterate {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1050px) {
  .diamond-diagram {
    grid-template-columns: minmax(0, 1fr) 1.8rem minmax(0, 1fr) 1.8rem minmax(
        0,
        1fr
      );
  }
  .diamond-label h2 {
    font-size: 1.45rem;
  }
  .diamond-presentation {
    grid-column: 1/-1;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 2rem;
    padding: 1.4rem;
  }
  .diamond-presentation .eyebrow {
    grid-column: 1;
  }
  .diamond-presentation .presentation-symbol {
    display: none;
  }
  .diamond-presentation h2 {
    grid-column: 1;
  }
  .diamond-presentation p {
    grid-column: 1;
  }
  .diamond-presentation .diamond-open {
    grid-column: 2;
    grid-row: 1/4;
    align-self: center;
  }
  .to-presentation {
    grid-column: 5;
    grid-row: 2;
    transform: none;
    font-size: 1.8rem;
    line-height: 1;
    padding: 0.25rem 0 0.75rem;
  }
  .to-presentation > span {
    display: inline-block;
    transform: rotate(90deg);
  }
}
@media (max-width: 760px) {
  .diamond-diagram {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
  }
  .diamond-link {
    width: 100%;
    padding: 0;
    max-width: 360px;
    justify-self: center;
  }
  .diamond-shape {
    width: min(100%, 300px);
    margin: 0 auto;
  }
  .diamond-label h2 {
    font-size: 1.6rem;
  }
  .diamond-label .eyebrow {
    margin: 0.6rem 0;
  }
  .diamond-activities {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
  }
  .diamond-connector {
    transform: none;
    grid-column: 1;
    grid-row: auto;
    padding: 0.7rem 0;
    font-size: 2rem;
    line-height: 1;
  }
  .diamond-connector > span {
    display: inline-block;
    transform: rotate(90deg);
  }
  .diamond-presentation {
    grid-column: 1;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 0.25rem;
    padding: 1.4rem;
    gap: 0.65rem;
  }
  .diamond-presentation .presentation-symbol {
    display: block;
  }
  .diamond-presentation h2 {
    font-size: 1.6rem;
  }
  .diamond-presentation p br {
    display: none;
  }
  .diamond-presentation p {
    font-size: 1rem;
  }
  .diamond-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iteration-arrow {
    animation: none !important;
  }
  .motion-toggle {
    display: none;
  }
  .diamond-outline polygon {
    transition: none;
  }
}
/* Keep titles around the diamond's widest point, with iteration above them. */
.diamond-label {
  inset: 0 10%;
}
.diamond-label .iteration-arrow {
  position: absolute;
  top: 18%;
}
.diamond-label .eyebrow {
  position: absolute;
  top: 33%;
  margin: 0;
}
.diamond-label h2 {
  position: absolute;
  top: 44%;
  width: 80%;
  max-width: 80%;
}

/* V1: visible exploration/focus directions along the diamond edges. */
.diamond-flow {
  stroke: #617b4b;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Keep variable-length activity descriptions from misaligning the diamonds. */
.diamond-activities {
  min-height: 2.8rem;
}

/* Optional practical-tool table: wrap text rather than shrink it on phones. */
.tool-table table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.tool-table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tool-table th,
.tool-table td {
  border: 1px solid var(--line);
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.tool-table th {
  background: #edf4e4;
}

/* Worked examples retain readable columns and keyboard-accessible scrolling. */
.reading {
  min-width: 0;
}

.tool-table {
  max-width: 100%;
  overflow-x: auto;
}

.wide-table table {
  min-width: 36rem;
}

.tool-table td {
  white-space: pre-line;
}

.tool-table:focus-visible {
  outline: 3px solid #df6c1e;
  outline-offset: 3px;
}

@media print {
  .tool-table {
    overflow: visible;
  }

  .wide-table table {
    min-width: 0;
  }
}

/* Curated reading uses the existing type, borders and spacing. */
.trusted-resources {
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 850px;
}

.trusted-resources > p {
  color: #536154;
}

.trusted-resources ul {
  list-style: none;
  padding: 0;
}

.trusted-resources li {
  margin-top: 1.5rem;
}

.trusted-resources a {
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.trusted-resources li p {
  margin: 0.5rem 0 0;
}

@media (max-width: 760px) {
  .diamond-activities {
    min-height: 0;
  }

  .tool-table th,
  .tool-table td {
    padding: 0.4rem;
  }
}
