:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #647184;
  --line: #d9e1ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0e7c86;
  --green: #3d8b40;
  --amber: #b66c16;
  --red: #b64242;
  --blue: #2469a6;
  --shadow: 0 18px 50px rgba(25, 42, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.95em;
  color: #8f3c12;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 225, 234, 0.78);
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand div {
  display: grid;
  gap: 2px;
}

.brand span:last-child {
  color: var(--muted);
  font-size: 13px;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
  background: #e9eef4;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(40px, 7vw, 84px) clamp(18px, 5vw, 72px) 42px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  font-size: 23px;
  line-height: 1.24;
}

.hero-text,
.section-head p,
.split p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.network-panel {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 32, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 42, 0.045) 1px, transparent 1px),
    #ffffff;
  background-size: 30px 30px;
  box-shadow: var(--shadow);
}

#trustCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.node-card {
  position: absolute;
  display: grid;
  gap: 4px;
  width: 156px;
  padding: 14px;
  border: 1px solid #c7d4df;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.1);
}

.node-card span {
  color: var(--muted);
  font-size: 13px;
}

.user-card {
  left: 8%;
  top: 13%;
}

.agent-card {
  right: 12%;
  top: 18%;
}

.executor-card {
  left: 15%;
  bottom: 16%;
}

.service-card {
  right: 8%;
  bottom: 12%;
}

.summary-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-block: 1px solid var(--line);
  background: var(--line);
}

.summary-band article {
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
}

.summary-band span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 800;
}

.summary-band h2 {
  font-size: 24px;
}

.summary-band p {
  color: var(--muted);
  line-height: 1.72;
}

.course-section {
  background: #edf3f7;
}

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

.lesson-card {
  display: grid;
  gap: 12px;
  min-height: 238px;
  padding: 20px;
  border: 1px solid #c9d6df;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.06);
}

.lesson-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 34px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.lesson-card h3 {
  margin-bottom: 0;
  font-size: 21px;
}

.lesson-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.lesson-card ul,
.deep-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-card li,
.deep-card li {
  position: relative;
  padding-left: 18px;
  color: #405064;
  line-height: 1.55;
}

.lesson-card li::before,
.deep-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.syllabus-section {
  background: #ffffff;
}

.syllabus-list {
  display: grid;
  gap: 14px;
}

.syllabus-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.06);
}

.syllabus-title {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.syllabus-title > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 42px;
  border-radius: 7px;
  background: var(--teal);
  color: var(--white);
  font-weight: 900;
}

.syllabus-title h3 {
  margin-bottom: 8px;
}

.syllabus-title p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.syllabus-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.syllabus-sections > div {
  padding: 14px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: var(--white);
}

.syllabus-sections b {
  display: block;
  margin-bottom: 9px;
}

.syllabus-sections ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.syllabus-sections li {
  padding: 5px 8px;
  border: 1px solid #d5e1e7;
  border-radius: 999px;
  background: #f6fafb;
  color: #405064;
  font-size: 13px;
}

.glossary-section {
  background: #ffffff;
}

.plain-story {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: stretch;
  margin-bottom: 24px;
}

.plain-story div {
  display: grid;
  gap: 10px;
  min-height: 138px;
  padding: 18px;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  background: #f8fbfc;
}

.plain-story b {
  color: var(--ink);
  font-size: 18px;
}

.plain-story span {
  color: var(--muted);
  line-height: 1.62;
}

.plain-story i {
  align-self: center;
  height: 2px;
  background: #6fa4aa;
}

.glossary-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
}

.glossary-filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #405064;
  cursor: pointer;
  font-weight: 800;
}

.glossary-filter.active {
  border-color: var(--teal);
  background: #e5f5f6;
  color: #075e65;
}

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

.term-card {
  display: grid;
  gap: 10px;
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.term-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.term-top h3 {
  min-width: 0;
  margin: 0;
  font-size: 19px;
  overflow-wrap: anywhere;
}

.term-tag {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf3f7;
  color: #526172;
  font-size: 12px;
  font-weight: 800;
}

.term-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.term-card small {
  color: #405064;
  line-height: 1.55;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 820px;
  margin-bottom: 32px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.module-card {
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.07);
}

.module-card strong {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 7px;
  color: var(--white);
  font-size: 18px;
}

.module-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.module-card p {
  color: var(--muted);
  line-height: 1.68;
}

.module-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: #405064;
  font-size: 14px;
}

.deep-section {
  background: #ffffff;
}

.deep-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

.deep-tabs,
.lab-controls {
  display: grid;
  align-content: start;
  gap: 8px;
}

.deep-tab,
.lab-case {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.deep-tab.active,
.lab-case.active {
  border-color: var(--teal);
  background: #e5f5f6;
  color: #075e65;
}

.deep-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: var(--shadow);
}

.deep-kicker {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deep-card > p:not(.deep-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.deep-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.deep-columns > div {
  padding: 18px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: var(--white);
}

.deep-columns b {
  display: block;
  margin-bottom: 12px;
}

.reference-section {
  background: #edf3f7;
}

.reference-block {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #c9d6df;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.07);
}

.reference-head {
  max-width: 860px;
  margin-bottom: 18px;
}

.reference-head h3 {
  margin-bottom: 8px;
}

.reference-head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.component-table {
  display: grid;
  gap: 8px;
}

.component-row {
  display: grid;
  grid-template-columns: 70px minmax(160px, 0.8fr) minmax(150px, 0.8fr) minmax(260px, 1.6fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #fbfcfd;
}

.component-row span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #e5f5f6;
  color: #075e65;
  font-size: 12px;
  font-weight: 900;
}

.component-row b {
  font-family: "SFMono-Regular", Consolas, monospace;
  overflow-wrap: anywhere;
}

.component-row strong {
  color: var(--ink);
}

.component-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.field-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 16px;
}

.field-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.field-tab {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.field-tab.active {
  border-color: var(--teal);
  background: #e5f5f6;
  color: #075e65;
}

.field-table {
  overflow: hidden;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
}

.field-table h4 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid #d7e0e8;
  background: #f6fafb;
  font-size: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) 110px minmax(260px, 1.4fr);
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #e3eaf0;
}

.field-row:last-child {
  border-bottom: 0;
}

.field-row code {
  overflow-wrap: anywhere;
}

.field-row span {
  color: #075e65;
  font-weight: 800;
}

.field-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

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

.requirement-card {
  min-height: 142px;
  padding: 16px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #fbfcfd;
}

.requirement-card span {
  display: inline-grid;
  place-items: center;
  min-width: 62px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.requirement-card.must span {
  background: var(--red);
}

.requirement-card.should span {
  background: var(--amber);
}

.requirement-card.may span {
  background: var(--blue);
}

.requirement-card b,
.requirement-card p {
  display: block;
}

.requirement-card b {
  margin-bottom: 8px;
}

.requirement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(380px, 1.18fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background: #edf3f7;
}

.derivation {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
}

.derivation div {
  min-height: 170px;
  padding: 22px;
  border: 1px solid #c9d6df;
  border-radius: 8px;
  background: var(--white);
}

.derivation b,
.derivation span {
  display: block;
}

.derivation b {
  margin-bottom: 16px;
  font-size: 20px;
}

.derivation span {
  color: var(--muted);
  line-height: 1.65;
}

.derivation i {
  height: 2px;
  background: var(--teal);
}

.scenario-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

.scenario-tabs,
.payload-menu {
  display: grid;
  align-content: start;
  gap: 8px;
}

button {
  font: inherit;
}

.tab,
.payload-choice,
#copyPayload {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.tab {
  text-align: left;
  padding: 0 14px;
}

.tab.active,
.payload-choice.active {
  border-color: var(--teal);
  background: #e5f5f6;
  color: #075e65;
}

.scenario-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(360px, 1.2fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.scenario-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.role-note {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #d5e1e7;
  border-radius: 8px;
  background: #f6fafb;
}

.role-note b {
  color: #075e65;
}

.role-note span {
  color: var(--muted);
  line-height: 1.62;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill-row span {
  padding: 7px 10px;
  border: 1px solid #c6d8dd;
  border-radius: 999px;
  background: #f0f7f8;
  color: #27565b;
  font-size: 13px;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding: 16px 18px 16px 56px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #fbfcfd;
}

.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.timeline b {
  display: block;
  margin-bottom: 6px;
}

.timeline span {
  display: block;
  color: var(--muted);
  line-height: 1.62;
}

.payload-section {
  background: #eef4f1;
}

.payload-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
}

.payload-choice {
  text-align: left;
  padding: 0 14px;
}

.code-panel {
  overflow: hidden;
  border: 1px solid #c9d6df;
  border-radius: 8px;
  background: #111a22;
  box-shadow: var(--shadow);
}

.code-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
}

#copyPayload {
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

pre {
  min-height: 460px;
  max-height: 560px;
  margin: 0;
  overflow: auto;
  padding: 20px;
  color: #d8e4ef;
  font-size: 14px;
  line-height: 1.62;
}

pre code {
  color: inherit;
}

.lab-section {
  background: #ffffff;
}

.lab-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
}

.lab-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
  box-shadow: var(--shadow);
}

.lab-verdict {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 32px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.lab-verdict.pass {
  background: var(--green);
}

.lab-verdict.fail {
  background: var(--red);
}

.lab-card p {
  color: var(--muted);
  line-height: 1.7;
}

.lab-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.lab-check {
  position: relative;
  min-height: 100px;
  padding: 16px 16px 16px 44px;
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: var(--white);
}

.lab-check::before {
  position: absolute;
  left: 16px;
  top: 17px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.lab-check.ok::before {
  content: "✓";
  background: var(--green);
}

.lab-check.bad::before {
  content: "!";
  background: var(--red);
}

.lab-check b,
.lab-check span {
  display: block;
}

.lab-check b {
  margin-bottom: 6px;
}

.lab-check span {
  color: var(--muted);
  line-height: 1.55;
}

.quiz-section {
  background: #edf3f7;
}

.quiz-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quiz-card {
  padding: 20px;
  border: 1px solid #c9d6df;
  border-radius: 8px;
  background: var(--white);
}

.quiz-card h3 {
  font-size: 20px;
}

.quiz-options {
  display: grid;
  gap: 8px;
}

.quiz-option {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfd;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.quiz-option.correct {
  border-color: #8dc48f;
  background: #edf8ee;
}

.quiz-option.wrong {
  border-color: #d99090;
  background: #faeeee;
}

.quiz-feedback {
  display: none;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.quiz-feedback.visible {
  display: block;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checklist label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 76px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  line-height: 1.56;
}

.checklist input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.footer a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .scenario-board {
    grid-template-columns: 1fr;
  }

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

  .lesson-grid,
  .glossary-grid,
  .requirement-grid,
  .quiz-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .syllabus-sections,
  .field-layout {
    grid-template-columns: 1fr;
  }

  .component-row {
    grid-template-columns: 80px 1fr;
  }

  .component-row p {
    grid-column: 1 / -1;
  }

  .deep-layout,
  .lab-layout {
    grid-template-columns: 1fr;
  }

  .derivation {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .plain-story {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .plain-story i {
    width: 2px;
    height: 24px;
    justify-self: center;
  }

  .derivation i {
    width: 2px;
    height: 28px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
  }

  .network-panel {
    min-height: 430px;
  }

  .node-card {
    width: 136px;
    padding: 12px;
  }

  .summary-band,
  .module-grid,
  .lesson-grid,
  .syllabus-sections,
  .glossary-grid,
  .requirement-grid,
  .deep-columns,
  .lab-checks,
  .quiz-list,
  .scenario-layout,
  .payload-layout,
  .checklist {
    grid-template-columns: 1fr;
  }

  .syllabus-title,
  .field-row,
  .component-row {
    grid-template-columns: 1fr;
  }

  .component-row span {
    width: fit-content;
    padding: 0 12px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text,
  .section-head p,
  .split p {
    font-size: 16px;
  }

  pre {
    min-height: 420px;
    font-size: 12px;
  }
}
