:root {
  --ink: #0b0b0b;
  --ink-soft: #171717;
  --paper: #f6f4f1;
  --white: #ffffff;
  --line: rgba(11, 11, 11, 0.18);
  --line-dark: rgba(255, 255, 255, 0.19);
  --muted: #676767;
  --muted-dark: rgba(255, 255, 255, 0.66);
  --green: #82f542;
  --pink: #f47aee;
  --violet: #7f69ff;
  --yellow: #dce638;
  --danger: #ff5f64;
  --radius: 8px;
  --content: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body.demo-locked {
  overflow: hidden;
}

body.demo-locked .skip-link,
body.demo-locked .site-header,
body.demo-locked main,
body.demo-locked .panel-transition {
  visibility: hidden;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.demo-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(244, 122, 238, 0.44), transparent 28%),
    radial-gradient(circle at 18% 78%, rgba(130, 245, 66, 0.28), transparent 26%),
    linear-gradient(135deg, #070707 0%, #111111 52%, #050505 100%);
}

.demo-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  opacity: 0.5;
}

.demo-gate.is-hidden {
  display: none;
}

.gate-orbit {
  position: absolute;
  width: min(72vw, 860px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(244, 122, 238, 0.14), 0 0 90px rgba(130, 245, 66, 0.12);
  animation: gateFloat 8s ease-in-out infinite alternate;
}

.gate-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(10, 10, 10, 0.78);
  box-shadow: 0 34px 120px rgba(0,0,0,0.58);
  backdrop-filter: blur(18px);
}

.gate-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gate-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.gate-panel h1 {
  max-width: 680px;
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(46px, 8.2vw, 104px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
}

.gate-copy {
  max-width: 420px;
  margin: 24px 0 0;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.7;
}

.gate-form {
  margin-top: 34px;
}

.gate-form label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 800;
}

.gate-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 560px;
}

.gate-input-row input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 0 18px;
  font-size: 18px;
  outline: 0;
}

.gate-input-row input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(130, 245, 66, 0.24);
}

.gate-input-row button {
  min-height: 58px;
  padding: 0 24px;
  border: 0;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gate-input-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(130, 245, 66, 0.24);
}

.gate-input-row button span {
  margin-left: 8px;
}

.gate-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 800;
}

.gate-panel.has-error {
  animation: gateShake 240ms ease;
}

.gate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.gate-meta span {
  border: 1px solid rgba(255,255,255,0.22);
  padding: 8px 10px;
  color: rgba(255,255,255,0.74);
  font-size: 11px;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  text-align: left;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

.brand-lockup b,
.brand-lockup small {
  display: block;
}

.brand-lockup b {
  font-size: 15px;
}

.brand-lockup small {
  margin-top: 3px;
  color: var(--muted-dark);
  font-size: 9px;
  font-weight: 700;
}

.module-nav {
  display: flex;
  min-width: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.module-nav::-webkit-scrollbar {
  display: none;
}

.dock-item {
  position: relative;
  flex: 0 0 auto;
  min-height: 70px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  transition: color 180ms ease;
}

.dock-item::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 0;
  left: 15px;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.dock-item:hover,
.dock-item.active {
  color: var(--white);
}

.dock-item.active::after {
  transform: scaleX(1);
}

.reset-button {
  min-height: 70px;
  padding: 0 22px;
  border: 0;
  border-left: 1px solid var(--line-dark);
  background: transparent;
  color: var(--muted-dark);
  font-size: 12px;
  transition: background 180ms ease, color 180ms ease;
}

.reset-button:hover {
  background: var(--white);
  color: var(--ink);
}

.mission-panel {
  display: none;
}

.mission-panel.active {
  display: block;
  animation: panelEnter 460ms cubic-bezier(.2, .75, .25, 1) both;
}

.reveal-item {
  animation: revealUp 760ms cubic-bezier(.2, .75, .25, 1) both;
}

.today-card.reveal-item {
  animation-delay: 120ms;
}

.hero-progress.reveal-item {
  animation-delay: 220ms;
}

.value-pop {
  animation: valuePop 220ms ease both;
}

.section-label,
.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
  background: url("assets/hero-commerce-control-room.jpg") 54% center / cover no-repeat;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.93) 0%, rgba(5, 5, 5, 0.68) 43%, rgba(5, 5, 5, 0.18) 74%, rgba(5, 5, 5, 0.38) 100%),
    linear-gradient(0deg, rgba(11, 11, 11, 0.82) 0%, transparent 34%, rgba(11, 11, 11, 0.12) 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  padding: 94px 0 210px max(28px, calc((100vw - var(--content)) / 2 + 24px));
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(130, 245, 66, 0.12);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 24px 0 28px;
  font-family: Georgia, "Songti SC", "STSong", "SimSun", serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy h1 em {
  color: var(--pink);
  font-style: italic;
}

.hero-lead {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
}

.primary-button,
.text-button {
  border: 0;
  background: transparent;
}

.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 8px 0 20px;
  border-radius: 4px;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-button b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: transform 180ms ease;
}

.primary-button:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.primary-button:hover b {
  transform: rotate(45deg);
}

.primary-button.compact {
  min-height: 46px;
  gap: 18px;
  padding-left: 16px;
}

.primary-button.compact b {
  width: 32px;
  height: 32px;
}

.text-button {
  padding: 12px 0;
  color: var(--white);
  font-weight: 700;
}

.text-button span {
  display: inline-block;
  margin-left: 9px;
  transition: transform 180ms ease;
}

.text-button:hover span {
  transform: translateX(5px);
}

.today-card {
  position: absolute;
  z-index: 2;
  right: max(28px, calc((100vw - var(--content)) / 2 + 24px));
  top: 78px;
  width: 340px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.today-card-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.today-card > strong {
  display: block;
  margin-top: 26px;
  font-family: Georgia, "Songti SC", "STSong", "SimSun", serif;
  font-size: 32px;
  font-weight: 400;
}

.today-card p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.today-card button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

.hero-progress {
  position: absolute;
  z-index: 2;
  right: max(28px, calc((100vw - var(--content)) / 2 + 24px));
  bottom: 78px;
  display: grid;
  grid-template-columns: auto minmax(180px, 260px);
  gap: 8px 24px;
  align-items: end;
  width: 470px;
}

.progress-stat strong {
  display: block;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 0.8;
}

.progress-stat span,
.progress-copy span,
.progress-copy strong {
  display: block;
}

.progress-stat span,
.progress-copy span {
  color: var(--muted-dark);
  font-size: 11px;
}

.progress-stat span {
  margin-top: 11px;
}

.progress-copy strong {
  margin-top: 8px;
  font-size: 20px;
}

.progress-line,
.module-line {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.progress-line i,
.module-line i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  transition: width 520ms cubic-bezier(.2, .75, .25, 1);
}

.hero-footnote {
  position: absolute;
  z-index: 2;
  left: max(28px, calc((100vw - var(--content)) / 2 + 24px));
  bottom: 28px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.intro-band {
  display: grid;
  grid-template-columns: 100px minmax(360px, 1fr) minmax(280px, 0.65fr);
  gap: 48px;
  align-items: start;
  padding: 112px max(24px, calc((100vw - var(--content)) / 2 + 24px));
  background: var(--paper);
  color: var(--ink);
}

.intro-band h2,
.section-heading h2,
.tool-launcher h2,
.panel-title h3,
.console-head h3,
.daily-focus h3,
.score-heading h3 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", "SimSun", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.intro-band h2 {
  margin-top: 14px;
  font-size: 52px;
  line-height: 1.15;
}

.intro-band > p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.mission-path-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.72fr) minmax(560px, 1.28fr);
  min-height: 830px;
  background: var(--ink);
}

.workflow-visual {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.workflow-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.04);
  transition: transform 700ms ease;
}

.workflow-visual:hover img {
  transform: scale(1.025);
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(11, 11, 11, 0.88);
  backdrop-filter: blur(12px);
}

.visual-caption span {
  color: var(--muted-dark);
  font-size: 11px;
}

.visual-caption strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  font-weight: 400;
}

.path-content {
  padding: 84px max(24px, calc((100vw - var(--content)) / 2 + 24px)) 84px 56px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark);
}

.section-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 10px;
  color: var(--green);
}

.section-heading h2 {
  font-size: 48px;
}

.section-heading > span {
  color: var(--muted-dark);
  font-size: 12px;
}

.mission-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.map-node {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  text-align: left;
  transition: background 220ms ease, color 220ms ease;
}

.map-node:nth-child(2n) {
  border-right: 0;
}

.map-node .node-index,
.map-node strong,
.map-node p,
.map-node em {
  display: block;
}

.map-node .node-index {
  color: var(--muted-dark);
  font-family: Georgia, serif;
  font-size: 13px;
}

.map-node strong {
  margin-top: 36px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 400;
}

.map-node p {
  max-width: 250px;
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.7;
}

.map-node em {
  position: absolute;
  right: 18px;
  top: 18px;
  padding: 5px 7px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  color: var(--muted-dark);
  font-size: 10px;
  font-style: normal;
}

.map-node:hover,
.map-node.active {
  background: var(--pink);
  color: var(--ink);
}

.map-node:hover p,
.map-node:hover .node-index,
.map-node:hover em,
.map-node.active p,
.map-node.active .node-index,
.map-node.active em {
  color: rgba(11, 11, 11, 0.66);
  border-color: rgba(11, 11, 11, 0.28);
}

.map-node.done {
  background: var(--green);
  color: var(--ink);
}

.map-node.done p,
.map-node.done .node-index,
.map-node.done em {
  color: rgba(11, 11, 11, 0.66);
  border-color: rgba(11, 11, 11, 0.28);
}

.tool-launcher {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  background: var(--ink-soft);
}

.tool-launcher-title,
.tool-launcher > button {
  min-height: 250px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  text-align: left;
}

.tool-launcher-title {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.tool-launcher-title h2 {
  margin-top: 12px;
  font-size: 34px;
}

.tool-launcher > button {
  position: relative;
  transition: background 220ms ease, color 220ms ease;
}

.tool-launcher > button:last-child {
  border-right: 0;
}

.tool-launcher > button span,
.tool-launcher > button strong,
.tool-launcher > button em {
  display: block;
}

.tool-launcher > button span {
  color: var(--muted-dark);
  font-family: Georgia, serif;
  font-size: 12px;
}

.tool-launcher > button strong {
  margin-top: 68px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  font-weight: 400;
}

.tool-launcher > button em {
  margin-top: 10px;
  color: var(--muted-dark);
  font-size: 11px;
  font-style: normal;
  line-height: 1.6;
}

.tool-launcher > button b {
  position: absolute;
  right: 22px;
  top: 20px;
  font-size: 20px;
  transition: transform 180ms ease;
}

.tool-launcher > button:hover {
  background: var(--green);
  color: var(--ink);
}

.tool-launcher > button:hover span,
.tool-launcher > button:hover em {
  color: rgba(11, 11, 11, 0.62);
}

.tool-launcher > button:hover b {
  transform: rotate(45deg);
}

.module-shell {
  width: 100%;
  min-height: calc(100vh - 70px);
  background: var(--paper);
  color: var(--ink);
}

.course-mast {
  grid-template-columns: 170px minmax(420px, 0.78fr) minmax(380px, 0.72fr);
}

.course-mast .mast-copy h2 {
  max-width: 560px;
}

.course-mast-panel {
  align-self: center;
  max-width: 600px;
  color: rgba(255,255,255,0.78);
}

.course-mast-panel p {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.85;
}

.course-mast-path {
  display: grid;
  gap: 12px;
  margin-top: 38px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.course-mast-path span {
  color: rgba(255,255,255,0.48);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.course-mast-path strong {
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.65;
}

.source-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.source-dashboard article {
  min-height: 145px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.source-dashboard article:last-child {
  border-right: 0;
}

.source-dashboard span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.source-dashboard strong {
  display: block;
  margin-top: 36px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 42px;
  font-weight: 400;
}

.course-roadmap {
  background: var(--paper);
}

.course-roadmap article {
  position: relative;
  min-height: 132px;
  padding: 26px 28px 24px;
  background: var(--paper);
}

.course-roadmap article::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  height: 3px;
  background: #d9d5cd;
}

.course-roadmap article.active::after {
  background: var(--green);
}

.course-roadmap span {
  color: #111;
  font-family: Georgia, "Songti SC", serif;
  font-size: 13px;
  font-weight: 700;
}

.course-roadmap strong {
  margin-top: 28px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.35;
}

.course-roadmap em {
  display: block;
  max-width: 210px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.55;
}

.source-reader {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  max-width: var(--content);
  margin: 0 auto;
  padding: 34px 24px 82px;
  gap: 30px;
  align-items: start;
}

.source-tools {
  position: sticky;
  top: 86px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  scrollbar-width: thin;
  scrollbar-color: var(--green) rgba(255,255,255,0.12);
}

.source-tools::-webkit-scrollbar {
  width: 8px;
}

.source-tools::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
}

.source-tools::-webkit-scrollbar-thumb {
  background: var(--green);
}

.source-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.source-nav-title span {
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.source-tools .panel-title h3 {
  color: var(--white);
}

.source-outline {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-left: 18px;
}

.source-outline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 3px;
  width: 2px;
  background: rgba(255,255,255,0.16);
}

.source-outline a {
  position: relative;
  display: block;
  padding: 9px 0 9px 10px;
  border-bottom: 0;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease, background 180ms ease;
}

.source-outline a::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -19px;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255,255,255,0.38);
  border-radius: 50%;
  background: var(--ink);
}

.source-outline a:hover,
.source-outline a.active {
  color: var(--green);
  transform: translateX(6px);
}

.source-outline a.active::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 18px rgba(130,245,66,0.55);
}

.source-outline a.is-filtered-out {
  display: none;
}

.source-note {
  margin: 26px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.7;
}

.course-search {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.course-search span {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 900;
}

.course-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 0 14px;
  outline: 0;
}

.course-search input::placeholder {
  color: rgba(255,255,255,0.42);
}

.course-search input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(130,245,66,0.18);
}

.course-tool-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.course-tool-button {
  min-height: 38px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(255,255,255,0.76);
  font-size: 12px;
  font-weight: 900;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.course-tool-button:hover,
.course-tool-button.active {
  border-color: var(--green);
  background: var(--green);
  color: var(--ink);
}

.course-progress-track {
  height: 5px;
  margin-top: 18px;
  background: rgba(255,255,255,0.14);
}

.course-progress-track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  transition: width 160ms ease;
}

.source-document,
.course-document {
  display: grid;
  gap: 18px;
}

.course-section,
.source-chapter {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.course-section:nth-child(4n + 2) {
  background: var(--white);
  color: var(--ink);
}

.course-section:nth-child(4n + 3) {
  background: var(--white);
}

.course-section:nth-child(4n + 4) {
  border-color: var(--line);
  background: var(--white);
}

.course-section.is-filtered-out {
  display: none;
}

.course-section-marker,
.source-chapter > span {
  position: static;
  flex: 0 0 auto;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 900;
}

.course-section-head {
  position: sticky;
  top: 70px;
  z-index: 2;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
}

.course-section > h3 {
  display: none;
}

.course-section-head h3 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.12;
}

.course-collapse {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.course-section.is-collapsed .course-section-body {
  display: none;
}

.course-document.image-mode .course-section-body > :not(.course-figure) {
  display: none;
}

.course-document.image-mode .course-section {
  min-height: 0;
}

.course-section-body {
  max-width: 840px;
  padding: 26px 28px 34px 86px;
}

.course-unit-structured .course-section-body {
  max-width: 1040px;
  padding-right: 34px;
}

.structured-unit-hero {
  display: grid;
  gap: 22px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  color: var(--white);
}

.structured-unit-hero .course-paragraph {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.78);
}

.structured-unit-kicker,
.structured-block-tag {
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

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

.structured-unit-path button {
  min-height: 72px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  text-align: left;
}

.structured-unit-path button:hover {
  border-color: var(--green);
  background: rgba(130,245,66,0.12);
}

.structured-unit-path span,
.structured-unit-path strong {
  display: block;
}

.structured-unit-path span {
  color: rgba(255,255,255,0.46);
  font-family: Georgia, serif;
  font-size: 12px;
}

.structured-unit-path strong {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
}

.structured-block {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.structured-block:nth-of-type(2n) {
  background: #f7f3ea;
}

.structured-block-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.structured-block-head h4,
.course-checkpoint h4 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.15;
}

.structured-block-head .course-paragraph {
  max-width: 780px;
}

.course-compare {
  display: grid;
  border: 1px solid var(--line);
}

.course-compare-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1.35fr;
  min-height: 76px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-align: left;
}

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

.course-compare-row.head {
  min-height: 44px;
  background: var(--ink);
  color: var(--white);
}

.course-compare-row span,
.course-compare-row strong {
  padding: 15px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.course-compare-row.head strong {
  border-color: rgba(255,255,255,0.18);
  font-size: 12px;
}

.course-compare-row span:last-child,
.course-compare-row strong:last-child {
  border-right: 0;
}

.course-compare-row.active {
  background: rgba(130,245,66,0.18);
  box-shadow: inset 6px 0 0 var(--green);
}

.course-card-grid,
.course-term-grid,
.course-calc-grid,
.formula-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.course-info-card,
.course-term-grid article,
.course-calc-card,
.formula-card-grid article {
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.course-info-card span,
.course-term-grid strong,
.course-calc-card > strong,
.formula-card-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.course-info-card strong,
.formula-card-grid strong {
  display: block;
  margin-top: 22px;
  font-size: 20px;
  line-height: 1.35;
}

.tone-hot {
  border-color: #ff6b88;
}

.tone-mid {
  border-color: #f5bb42;
}

.tone-cool {
  border-color: var(--green);
}

.tone-warn {
  background: #fff0e7;
}

.course-flow {
  display: grid;
  gap: 10px;
}

.course-flow article {
  border: 1px solid var(--line);
  background: var(--white);
}

.course-flow button {
  display: grid;
  grid-template-columns: 44px 1fr;
  width: 100%;
  min-height: 64px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.course-flow button span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-weight: 950;
}

.course-flow button strong {
  padding: 0 18px;
}

.course-flow p {
  display: none;
  margin: 0;
  padding: 0 20px 18px 74px;
}

.course-flow article.open p {
  display: block;
}

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

.course-term-grid article {
  min-height: 112px;
}

.calc-formula {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.calc-fields {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.calc-fields label {
  display: grid;
  grid-template-columns: 1fr 92px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.calc-fields input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  padding: 0 8px;
  background: #f8f8f8;
  color: var(--ink);
}

.calc-output {
  display: block;
  margin-top: 18px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 38px;
  font-weight: 400;
}

.course-gallery {
  border: 1px solid var(--line);
  background: #f3f0eb;
}

.course-gallery figure {
  margin: 0;
  cursor: zoom-in;
}

.course-gallery img {
  display: block;
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  object-position: top center;
}

.course-gallery figcaption {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.gallery-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
}

.gallery-controls button {
  min-height: 46px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.gallery-controls button:hover {
  background: var(--green);
  color: var(--ink);
}

.gallery-controls span {
  padding: 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.course-mindmap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.mindmap-center {
  display: grid;
  min-height: 170px;
  place-items: center;
  grid-row: span 2;
  background: var(--ink);
  color: var(--green);
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  font-weight: 400;
}

.course-mindmap article,
.course-explain,
.course-risk-list li,
.course-plain-checklist p,
.course-timeline article {
  border: 1px solid var(--line);
  background: var(--white);
}

.course-mindmap article {
  padding: 18px;
}

.course-mindmap article span,
.course-explain span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.course-explain {
  padding: 22px;
  box-shadow: inset 6px 0 0 var(--green);
}

.course-risk-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-risk-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: #fff0e7;
  color: #28160e;
  font-size: 15px;
  line-height: 1.7;
}

.course-risk-list li::before {
  content: "!";
  position: absolute;
  left: 18px;
  top: 16px;
  color: #d44b12;
  font-weight: 950;
}

.course-plain-checklist {
  display: grid;
  gap: 10px;
}

.course-plain-checklist p {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 56px;
  align-items: center;
  margin: 0;
}

.course-plain-checklist b {
  display: grid;
  height: 100%;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: Georgia, serif;
}

.course-plain-checklist span {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.65;
}

.course-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.course-timeline article {
  min-height: 118px;
  padding: 14px;
  border-top: 0;
  border-left: 0;
}

.course-timeline span {
  display: block;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 12px;
}

.course-timeline strong {
  display: block;
  margin-top: 32px;
  font-size: 16px;
}

.structured-block.course-checkpoint,
.course-checkpoint {
  display: grid;
  gap: 10px;
  border-color: rgba(255,255,255,0.18);
  background: #090909;
  color: #f7f7f2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.course-checkpoint h4 {
  margin-bottom: 6px;
  color: #ffffff;
}

.course-checkpoint label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.7;
}

.course-checkpoint input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--green);
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

.course-checkpoint label span {
  color: inherit;
}

.course-checkpoint label.done {
  color: var(--green);
}

.source-outline-group {
  display: grid;
  gap: 2px;
}

.source-outline-children {
  display: grid;
  gap: 1px;
  margin: -2px 0 8px 10px;
}

.source-outline-children a {
  padding-top: 6px;
  padding-bottom: 6px;
  color: rgba(255,255,255,0.52);
  font-size: 12px;
  font-weight: 760;
}

.source-outline-children a::before {
  width: 5px;
  height: 5px;
  top: 13px;
  left: -17px;
}

.source-block-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}

.source-block-head h3,
.source-chapter h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.08;
}

.source-chapter p {
  margin: 10px 0 0;
  color: #242424;
  font-size: 16px;
  line-height: 1.85;
}

.course-paragraph {
  margin: 11px 0 0;
  color: #242424;
  font-size: 15.5px;
  line-height: 1.92;
}

.course-section:nth-child(4n + 2) .course-paragraph {
  color: #242424;
}

.course-subheading {
  margin: 28px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 21px;
  line-height: 1.35;
}

.course-section:nth-child(4n + 2) .course-subheading {
  border-top-color: var(--line);
}

.course-miniheading {
  margin: 22px 0 8px;
  color: #2d2d2d;
  font-size: 17px;
}

.course-section:nth-child(4n + 2) .course-miniheading {
  color: #2d2d2d;
}

.course-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.course-list li {
  position: relative;
  padding-left: 22px;
  color: #242424;
  font-size: 15.5px;
  line-height: 1.85;
}

.course-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 8px;
  background: var(--green);
}

.course-section:nth-child(4n + 2) .course-list li {
  color: #242424;
}

.course-section mark {
  background: rgba(130,245,66,0.55);
  color: var(--ink);
  padding: 0 2px;
}

.course-figure {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  background: #f3f0eb;
  cursor: zoom-in;
}

.course-section:nth-child(4n + 2) .course-figure {
  border-color: var(--line);
  background: #f3f0eb;
}

.course-figure img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: top center;
}

.course-figure figcaption {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.course-section:nth-child(4n + 2) .course-figure figcaption {
  border-top-color: var(--line);
  color: var(--muted);
}

.course-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  place-items: center;
  padding: 32px;
  background: rgba(0,0,0,0.86);
}

.course-lightbox.open {
  display: grid;
}

.course-lightbox img {
  max-width: min(1120px, 94vw);
  max-height: 82vh;
  background: var(--white);
  object-fit: contain;
}

.course-lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.32);
  background: var(--green);
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
}

.course-lightbox p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.76);
  font-size: 13px;
  font-weight: 800;
}

.type-grid,
.term-grid,
.formula-grid,
.concept-row,
.traffic-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.type-grid article,
.term-grid article,
.formula-grid article,
.concept-row article,
.traffic-lanes article {
  margin: 0;
  border: 1px solid var(--line);
  background: #fbfaf8;
  padding: 20px;
}

.type-grid b,
.term-grid b,
.concept-row b,
.traffic-lanes strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  font-weight: 400;
}

.type-grid em {
  display: block;
  margin-top: 18px;
  color: #5f5f5f;
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.source-permit {
  background: var(--ink);
  color: var(--white);
}

.source-permit .section-label,
.source-permit .source-chapter p,
.source-permit .source-block-head h3 {
  color: var(--white);
}

.permit-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.permit-list p {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}

.permit-list b {
  color: var(--green);
}

.permit-list span {
  color: rgba(255,255,255,0.76);
  line-height: 1.8;
}

.config-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.config-steps li {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--green);
}

.config-steps strong {
  display: block;
  font-family: Georgia, "Songti SC", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
}

.config-steps p {
  margin-top: 42px;
}

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

.term-grid article:nth-child(1),
.term-grid article:nth-child(5) {
  background: var(--ink);
  color: var(--white);
}

.term-grid article:nth-child(1) p,
.term-grid article:nth-child(5) p {
  color: rgba(255,255,255,0.72);
}

.source-wide-shot {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.source-wide-shot img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  background: #f3f0eb;
}

.source-wide-shot figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

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

.formula-grid article {
  background: var(--ink);
  color: var(--white);
}

.formula-grid small {
  display: block;
  color: var(--green);
  font-weight: 900;
}

.formula-grid strong {
  display: block;
  margin-top: 32px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.formula-grid p {
  color: rgba(255,255,255,0.72);
}

.formula-note,
.risk-callout,
.question-strip,
.mistake-board {
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--green);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.8;
}

.risk-callout {
  background: var(--pink);
}

.risk-callout b,
.mistake-board strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.risk-callout p,
.question-strip p {
  margin: 0;
}

.traffic-lanes {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.traffic-lanes article {
  min-height: 210px;
  background: var(--paper);
}

.question-strip {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.question-strip span {
  color: var(--green);
}

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

.research-layout > div {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fbfaf8;
}

.research-layout h4 {
  margin: 0 0 12px;
  font-size: 20px;
}

.research-layout h4:not(:first-child) {
  margin-top: 28px;
}

.mistake-board {
  background: var(--yellow);
}

.mistake-board ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.module-mast {
  display: grid;
  grid-template-columns: 130px minmax(420px, 1fr) minmax(280px, 0.68fr);
  gap: 42px;
  align-items: end;
  min-height: 390px;
  padding: 70px max(24px, calc((100vw - var(--content)) / 2 + 24px));
}

.mast-light {
  background: var(--paper);
  color: var(--ink);
}

.mast-pink {
  background: var(--pink);
  color: var(--ink);
}

.mast-violet {
  background: var(--violet);
  color: var(--ink);
}

.mast-green {
  background: var(--green);
  color: var(--ink);
}

.mast-dark {
  background: var(--ink);
  color: var(--white);
}

.mast-index {
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 0.8;
}

.mast-copy h2 {
  margin: 14px 0 0;
  font-family: Georgia, "Songti SC", "STSong", "SimSun", serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.mast-note {
  align-self: end;
}

.mast-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.72;
}

.mast-note > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
}

.mast-note > span strong {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
}

.mast-note .module-line {
  margin-top: 14px;
  background: rgba(11, 11, 11, 0.18);
}

.mast-note .module-line i {
  background: var(--ink);
}

.mast-dark .mast-note .module-line {
  background: rgba(255, 255, 255, 0.18);
}

.mast-dark .mast-note .module-line i {
  background: var(--green);
}

.mast-note .primary-button {
  margin-top: 22px;
}

.open-shop-layout,
.operations-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.12fr);
}

.step-wall {
  padding: 70px max(28px, calc((100vw - var(--content)) / 2 + 24px));
  padding-right: 56px;
  background: var(--ink);
  color: var(--white);
}

.panel-title h3,
.console-head h3,
.daily-focus h3,
.score-heading h3 {
  margin-top: 10px;
  font-size: 36px;
}

.panel-title > span {
  display: inline-block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.step-wall ol {
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.step-wall li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line-dark);
}

.step-wall li > span {
  color: var(--pink);
  font-family: Georgia, serif;
}

.step-wall li strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 400;
}

.step-wall li p {
  margin: 8px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.7;
}

.checklist-board {
  padding: 70px max(28px, calc((100vw - var(--content)) / 2 + 24px)) 70px 56px;
  background: var(--white);
}

.row-title {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.row-title > strong {
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 400;
}

.checklist {
  margin-top: 36px;
}

.checklist label {
  position: relative;
  display: block;
  border-top: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.checklist label:last-child {
  border-bottom: 1px solid var(--line);
}

.checklist input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checklist label > span {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  min-height: 63px;
  padding: 0 52px 0 14px;
  font-size: 14px;
}

.checklist label > span::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translateY(-50%);
}

.checklist label > span b {
  color: var(--muted);
  font-family: Georgia, serif;
  font-weight: 400;
}

.checklist label:hover {
  background: #f0efeb;
}

.checklist label.done {
  border-color: rgba(11, 11, 11, 0.16);
  background: var(--green);
}

.checklist label.done > span::after {
  content: "✓";
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.checklist input:focus-visible + span {
  outline: 3px solid var(--violet);
  outline-offset: -3px;
}

.listing-anatomy {
  padding: 76px max(24px, calc((100vw - var(--content)) / 2 + 24px));
  background: var(--paper);
}

.anatomy-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.anatomy-track article {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.anatomy-track article:last-child {
  border-right: 0;
}

.anatomy-track article:nth-child(2) {
  background: var(--pink);
}

.anatomy-track article:nth-child(4) {
  background: var(--yellow);
}

.anatomy-track span,
.anatomy-track strong {
  display: block;
}

.anatomy-track span {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 12px;
}

.anatomy-track strong {
  margin-top: 76px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
  font-weight: 400;
}

.anatomy-track p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.diagnosis-console {
  padding: 76px max(24px, calc((100vw - var(--content)) / 2 + 24px));
  background: var(--ink);
  color: var(--white);
}

.console-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.issue-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.issue-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  color: var(--muted-dark);
  font-size: 11px;
}

.issue-strip span.high {
  border-color: rgba(255, 95, 100, 0.6);
  color: #ff9b9e;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
  border-top: 1px solid var(--line-dark);
}

.result-grid.hidden {
  display: none;
}

.result-card {
  min-height: 240px;
  padding: 24px;
  border-right: 1px solid var(--line-dark);
  animation: resultEnter 420ms ease both;
}

.result-card:nth-child(2) { animation-delay: 60ms; }
.result-card:nth-child(3) { animation-delay: 120ms; }
.result-card:nth-child(4) { animation-delay: 180ms; border-right: 0; }

.result-card em,
.result-card strong {
  display: block;
}

.result-card em {
  color: var(--green);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.result-card strong {
  margin-top: 70px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 23px;
  font-weight: 400;
}

.result-card p {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.75;
}

.simulator-stage {
  display: grid;
  grid-template-columns: minmax(390px, 0.7fr) minmax(560px, 1.3fr);
  min-height: 620px;
}

.simulator-controls,
.score-controls {
  padding: 70px max(28px, calc((100vw - var(--content)) / 2 + 24px));
  padding-right: 56px;
  background: var(--white);
  color: var(--ink);
}

.simulator-controls label,
.score-controls label {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(160px, 1.4fr) 74px;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.simulator-controls label:first-of-type,
.score-controls label:first-of-type {
  margin-top: 34px;
}

.simulator-controls label span,
.score-controls label span {
  font-size: 13px;
  font-weight: 700;
}

.simulator-controls label em,
.score-controls label em {
  text-align: right;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: normal;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  border-radius: 0;
  background: #d8d6d2;
  accent-color: var(--ink);
  cursor: ew-resize;
}

.simulator-output {
  display: flex;
  flex-direction: column;
  padding: 70px max(28px, calc((100vw - var(--content)) / 2 + 24px)) 70px 56px;
  background: var(--ink);
  color: var(--white);
}

.output-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dark);
  font-size: 10px;
  font-weight: 800;
}

.output-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.roi-display {
  margin-top: 36px;
}

.roi-display span,
.roi-display strong {
  display: block;
}

.roi-display span {
  color: var(--muted-dark);
  font-size: 12px;
}

.roi-display strong {
  margin-top: 8px;
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 116px;
  font-weight: 400;
  line-height: 1;
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.calc-row > div {
  padding: 22px 18px;
  border-right: 1px solid var(--line-dark);
}

.calc-row > div:first-child {
  padding-left: 0;
}

.calc-row > div:last-child {
  border-right: 0;
}

.calc-row span,
.calc-row strong {
  display: block;
}

.calc-row span {
  color: var(--muted-dark);
  font-size: 10px;
}

.calc-row strong {
  margin-top: 10px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 400;
}

.advice-box {
  margin-top: auto;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--violet);
  color: var(--ink);
}

.advice-box span,
.advice-box strong {
  display: block;
}

.advice-box span {
  font-size: 10px;
  font-weight: 900;
}

.advice-box strong {
  margin-top: 9px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

.operations-board {
  padding-right: 56px;
  padding-left: max(28px, calc((100vw - var(--content)) / 2 + 24px));
}

.daily-focus {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  padding: 74px max(28px, calc((100vw - var(--content)) / 2 + 24px)) 74px 58px;
  background: var(--ink-soft);
  color: var(--white);
}

.focus-index {
  position: absolute;
  right: -20px;
  top: -20px;
  color: rgba(255, 255, 255, 0.045);
  font-family: Georgia, serif;
  font-size: 150px;
}

.daily-focus h3 {
  position: relative;
  margin-top: 12px;
  font-size: 44px;
}

.daily-focus > strong {
  position: relative;
  display: block;
  max-width: 500px;
  margin-top: 160px;
  color: var(--green);
  font-family: Georgia, "Songti SC", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.35;
}

.daily-focus > p {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--muted-dark);
  line-height: 1.8;
}

.focus-signal {
  display: flex;
  gap: 8px;
  align-items: end;
  height: 60px;
  margin-top: 40px;
}

.focus-signal i {
  width: 8px;
  background: var(--pink);
  animation: signal 1.4s ease-in-out infinite alternate;
}

.focus-signal i:nth-child(1) { height: 24%; }
.focus-signal i:nth-child(2) { height: 62%; animation-delay: -0.2s; }
.focus-signal i:nth-child(3) { height: 38%; animation-delay: -0.4s; }
.focus-signal i:nth-child(4) { height: 82%; animation-delay: -0.6s; }
.focus-signal i:nth-child(5) { height: 50%; animation-delay: -0.8s; }

.analytics-shell {
  background: var(--ink);
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0 max(24px, calc((100vw - var(--content)) / 2 + 24px)) 70px;
  background: var(--ink);
}

.metric-card {
  min-height: 270px;
  padding: 24px;
  border-top: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--ink);
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.metric-card span {
  font-size: 12px;
  font-weight: 800;
}

.metric-card em {
  padding: 5px 7px;
  border-radius: 3px;
  background: #e9e7e3;
  font-size: 9px;
  font-style: normal;
}

.metric-card.normal em { background: var(--green); }
.metric-card.warn em { background: var(--yellow); }
.metric-card.danger em { background: var(--danger); color: var(--white); }

.metric-card > strong {
  display: block;
  margin-top: 76px;
  font-family: Georgia, serif;
  font-size: 47px;
  font-weight: 400;
}

.metric-card > i {
  display: block;
  height: 5px;
  margin-top: 25px;
  background: #e4e2df;
}

.metric-card > i::after {
  content: "";
  display: block;
  width: var(--level);
  height: 100%;
  background: var(--ink);
}

.metric-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.data-results {
  margin: 0;
  padding: 0 max(24px, calc((100vw - var(--content)) / 2 + 24px)) 80px;
  border-top: 0;
  background: var(--ink);
}

.data-results .result-card {
  border-top: 1px solid var(--line-dark);
}

.score-studio {
  display: grid;
  grid-template-columns: minmax(510px, 1.08fr) minmax(430px, 0.92fr);
  min-height: 700px;
}

.radar-panel {
  padding: 66px 56px 54px max(28px, calc((100vw - var(--content)) / 2 + 24px));
  background: var(--ink);
  color: var(--white);
}

.score-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.score-number {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.score-number strong {
  color: var(--green);
  font-family: Georgia, serif;
  font-size: 66px;
  font-weight: 400;
}

.score-number span {
  color: var(--muted-dark);
  font-size: 11px;
}

#productRadar {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 10px auto 0;
}

.score-verdict {
  width: fit-content;
  padding: 9px 12px;
  border-radius: 3px;
  background: var(--violet);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.score-verdict.strong {
  background: var(--green);
  color: var(--ink);
}

.score-verdict.weak {
  background: var(--danger);
}

.score-controls {
  padding-left: 56px;
}

.score-controls label span small {
  margin-left: 5px;
  color: var(--danger);
  font-size: 9px;
}

.faq-shell {
  background: var(--paper);
}

.faq-stack {
  padding: 70px max(24px, calc((100vw - var(--content)) / 2 + 24px)) 110px;
  color: var(--ink);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 42px;
  gap: 22px;
  align-items: center;
  width: 100%;
  min-height: 108px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background 180ms ease;
}

.faq-item button:hover {
  background: var(--white);
}

.faq-item button b {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 400;
}

.faq-item button span {
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
}

.faq-item button strong {
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  transition: transform 260ms ease;
}

.faq-item p {
  max-width: 860px;
  max-height: 0;
  margin: 0 0 0 120px;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.85;
  opacity: 0;
  transition: max-height 380ms ease, padding 380ms ease, opacity 260ms ease;
}

.faq-item.open p {
  max-height: 180px;
  padding: 0 20px 34px 0;
  opacity: 1;
}

.faq-item.open button strong {
  transform: rotate(45deg);
}

.assignment-shell {
  background: var(--ink);
}

.assignment-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0 max(24px, calc((100vw - var(--content)) / 2 + 24px)) 100px;
  background: var(--ink);
}

.assignment-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px 18px;
  min-height: 250px;
  padding: 28px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  text-align: left;
  transition: background 220ms ease, color 220ms ease, transform 180ms ease;
}

.assignment-card:nth-child(2n) {
  border-right: 0;
}

.assignment-card > b {
  grid-row: 1 / 4;
  color: var(--muted-dark);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 400;
}

.assignment-card em {
  width: fit-content;
  padding: 5px 7px;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  color: var(--muted-dark);
  font-size: 9px;
  font-style: normal;
}

.assignment-card > i {
  grid-column: 3;
  grid-row: 1;
  font-size: 20px;
  font-style: normal;
  transition: transform 180ms ease;
}

.assignment-card > strong {
  grid-column: 2 / 4;
  align-self: end;
  margin-top: 54px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
  font-weight: 400;
}

.assignment-card > span {
  grid-column: 2 / 4;
  color: var(--muted-dark);
  font-size: 12px;
  line-height: 1.65;
}

.assignment-card:hover {
  background: var(--white);
  color: var(--ink);
}

.assignment-card:hover > b,
.assignment-card:hover > span,
.assignment-card:hover em {
  color: var(--muted);
  border-color: var(--line);
}

.assignment-card:hover > i {
  transform: rotate(45deg);
}

.assignment-card.progress {
  background: var(--violet);
  color: var(--white);
}

.assignment-card.done {
  background: var(--green);
  color: var(--ink);
}

.assignment-card.done > b,
.assignment-card.done > span,
.assignment-card.done em {
  color: rgba(11, 11, 11, 0.62);
  border-color: rgba(11, 11, 11, 0.26);
}

.panel-transition {
  position: fixed;
  top: 70px;
  right: 0;
  left: 0;
  z-index: 80;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--pink) 38%, var(--green) 62%, transparent 100%);
  opacity: 0;
  transform: translateX(-105%);
}

.panel-transition.play {
  animation: transitionSweep 520ms cubic-bezier(.45, 0, .2, 1) both;
}

@keyframes panelEnter {
  from { transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes revealUp {
  from { transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes valuePop {
  50% { opacity: 0.55; transform: translateY(-2px); }
}

@keyframes resultEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
  from { transform: scale(1.01) translateX(0); }
  to { transform: scale(1.045) translateX(-1.2%); }
}

@keyframes statusPulse {
  50% { opacity: 0.45; transform: scale(0.86); }
}

@keyframes signal {
  to { height: 92%; }
}

@keyframes transitionSweep {
  0% { opacity: 0; transform: translateX(-105%); }
  18% { opacity: 0.9; }
  82% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(105%); }
}

@keyframes gateFloat {
  from { transform: translate3d(-2%, 2%, 0) rotate(0deg) scale(0.98); }
  to { transform: translate3d(2%, -2%, 0) rotate(4deg) scale(1.04); }
}

@keyframes gateShake {
  0%,
  100% { transform: translateX(0); }
  35% { transform: translateX(-8px); }
  70% { transform: translateX(8px); }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .reset-button {
    display: none;
  }

  .hero-copy h1 {
    font-size: 68px;
  }

  .today-card {
    width: 310px;
  }

  .intro-band {
    grid-template-columns: 74px 1fr;
  }

  .intro-band > p {
    grid-column: 2;
    max-width: 620px;
    margin-top: 0;
  }

  .mission-path-section {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .path-content {
    padding-left: 36px;
  }

  .tool-launcher {
    grid-template-columns: repeat(4, 1fr);
  }

  .tool-launcher-title {
    grid-column: 1 / -1;
    min-height: 150px;
  }

  .module-mast {
    grid-template-columns: 90px minmax(360px, 1fr) minmax(250px, 0.6fr);
    gap: 30px;
  }

  .mast-copy h2 {
    font-size: 52px;
  }

  .anatomy-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .anatomy-track article:nth-child(3) {
    border-right: 0;
  }

  .anatomy-track article:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

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

  .result-card:nth-child(2) {
    border-right: 0;
  }

  .result-card:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .metric-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-card:nth-child(3) {
    border-right: 0;
  }

  .metric-card:nth-child(n + 4) {
    border-top: 0;
  }
}

@media (max-width: 900px) {
  .panel-transition {
    top: 58px;
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .brand-lockup {
    display: none;
  }

  .module-nav {
    justify-content: flex-start;
  }

  .dock-item {
    min-height: 58px;
  }

  .source-reader {
    grid-template-columns: 1fr;
  }

  .source-tools {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .course-tool-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .source-outline {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 8px;
  }

  .course-unit-structured .course-section-body {
    max-width: none;
  }

  .structured-unit-path,
  .course-card-grid,
  .course-calc-grid,
  .formula-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .course-compare-row {
    grid-template-columns: 0.72fr 1fr 1fr;
  }

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

  .home-hero {
    min-height: 940px;
  }

  .hero-copy {
    width: calc(100% - 48px);
    padding: 70px 24px 40px;
  }

  .hero-copy h1 {
    font-size: 60px;
  }

  .today-card {
    right: 24px;
    top: auto;
    bottom: 220px;
    left: 24px;
    width: auto;
  }

  .hero-progress {
    right: 24px;
    bottom: 72px;
    left: 24px;
    width: auto;
  }

  .hero-footnote {
    left: 24px;
    bottom: 22px;
  }

  .intro-band {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .mission-path-section {
    grid-template-columns: 1fr;
  }

  .workflow-visual {
    min-height: 590px;
  }

  .path-content {
    padding: 64px 24px;
  }

  .tool-launcher {
    grid-template-columns: 1fr 1fr;
  }

  .tool-launcher-title {
    grid-column: 1 / -1;
  }

  .tool-launcher > button:nth-child(3) {
    border-right: 0;
  }

  .tool-launcher > button:nth-child(n + 4) {
    border-top: 1px solid var(--line-dark);
  }

  .module-mast {
    grid-template-columns: 82px 1fr;
    min-height: 360px;
  }

  .course-mast-panel {
    grid-column: 2;
    max-width: 680px;
  }

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

  .course-roadmap article:nth-child(2n) {
    border-right: 0;
  }

  .course-roadmap article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .mast-note {
    grid-column: 2;
  }

  .open-shop-layout,
  .operations-layout,
  .simulator-stage,
  .score-studio {
    grid-template-columns: 1fr;
  }

  .step-wall,
  .checklist-board,
  .simulator-controls,
  .simulator-output,
  .radar-panel,
  .score-controls,
  .daily-focus {
    padding: 60px 24px;
  }

  .anatomy-track {
    grid-template-columns: 1fr 1fr;
  }

  .anatomy-track article,
  .anatomy-track article:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .anatomy-track article:nth-child(2n) {
    border-right: 0;
  }

  .anatomy-track article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .simulator-output {
    min-height: 590px;
  }

  .daily-focus {
    min-height: 550px;
  }

  .daily-focus > strong {
    margin-top: 100px;
  }

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

  .metric-card,
  .metric-card:nth-child(3) {
    border-right: 1px solid var(--line-dark);
  }

  .metric-card:nth-child(2n) {
    border-right: 0;
  }

  .metric-card:nth-child(n + 3) {
    border-top: 0;
  }
}

@media (max-width: 620px) {
  .panel-transition {
    top: 54px;
  }

  .demo-gate {
    align-items: start;
    padding: 18px;
  }

  .gate-panel {
    margin-top: 8vh;
    padding: 26px 18px;
  }

  .gate-copy {
    font-size: 15px;
  }

  .gate-input-row {
    grid-template-columns: 1fr;
  }

  .gate-input-row input,
  .gate-input-row button {
    min-height: 54px;
  }

  .gate-input-row button {
    width: 100%;
  }

  .dock-item {
    min-height: 54px;
    padding: 0 12px;
    font-size: 12px;
  }

  .home-hero {
    min-height: 900px;
  }

  .hero-media {
    background-position: 66% center;
  }

  .hero-copy {
    padding-top: 52px;
  }

  .hero-copy h1 {
    margin-top: 20px;
    font-size: 46px;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .today-card {
    bottom: 218px;
  }

  .today-card > strong {
    font-size: 27px;
  }

  .hero-progress {
    grid-template-columns: auto 1fr;
    gap: 10px 18px;
  }

  .progress-stat strong {
    font-size: 54px;
  }

  .intro-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 58px 24px;
  }

  .intro-band > p {
    grid-column: 1;
  }

  .intro-band h2 {
    font-size: 38px;
  }

  .section-number {
    font-size: 42px;
  }

  .workflow-visual {
    min-height: 470px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .mission-map {
    grid-template-columns: 1fr;
  }

  .map-node,
  .map-node:nth-child(2n) {
    min-height: 190px;
    border-right: 0;
  }

  .tool-launcher {
    grid-template-columns: 1fr;
  }

  .tool-launcher-title,
  .tool-launcher > button {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .tool-launcher > button strong {
    margin-top: 46px;
  }

  .module-mast {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 410px;
    padding: 54px 24px;
  }

  .course-mast-panel {
    grid-column: 1;
  }

  .course-mast-panel p {
    font-size: 15px;
  }

  .course-mast-path {
    margin-top: 24px;
  }

  .mast-index {
    font-size: 54px;
  }

  .mast-copy h2 {
    font-size: 42px;
  }

  .mast-note {
    grid-column: 1;
  }

  .panel-title h3,
  .console-head h3,
  .daily-focus h3,
  .score-heading h3 {
    font-size: 30px;
  }

  .checklist label > span {
    grid-template-columns: 48px 1fr;
    min-height: 70px;
  }

  .anatomy-track {
    grid-template-columns: 1fr;
  }

  .anatomy-track article,
  .anatomy-track article:nth-child(2n),
  .anatomy-track article:nth-child(3) {
    min-height: 210px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .anatomy-track article:first-child {
    border-top: 0;
  }

  .anatomy-track strong {
    margin-top: 54px;
  }

  .console-head,
  .score-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .result-grid,
  .calc-row,
  .metric-panel,
  .assignment-board,
  .source-dashboard,
  .source-reader,
  .type-grid,
  .term-grid,
  .formula-grid,
  .concept-row,
  .traffic-lanes,
  .research-layout,
  .config-steps {
    grid-template-columns: 1fr;
  }

  .source-dashboard article {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .source-dashboard article:last-child {
    border-bottom: 0;
  }

  .source-reader {
    padding: 28px 18px 54px;
  }

  .source-tools {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .course-section {
    padding: 0;
    min-height: 0;
  }

  .source-chapter {
    padding: 84px 20px 24px;
    min-height: 0;
  }

  .course-section-head {
    position: sticky;
    top: 54px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .source-chapter > span,
  .course-section-marker {
    width: 38px;
    height: 38px;
  }

  .source-chapter h3,
  .course-section-head h3 {
    font-size: 23px;
  }

  .course-collapse {
    min-height: 34px;
    padding: 0 10px;
  }

  .course-section-body {
    padding: 18px 16px 26px;
  }

  .course-unit-structured .course-section-body {
    padding: 18px 12px 26px;
  }

  .structured-unit-hero,
  .structured-block {
    padding: 18px;
  }

  .structured-unit-path,
  .course-card-grid,
  .course-term-grid,
  .course-calc-grid,
  .formula-card-grid,
  .course-mindmap {
    grid-template-columns: 1fr;
  }

  .course-compare {
    border: 0;
    gap: 10px;
  }

  .course-compare-row,
  .course-compare-row.head {
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
  }

  .course-compare-row.head {
    display: none;
  }

  .course-compare-row span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .course-compare-row span:last-child {
    border-bottom: 0;
  }

  .course-timeline {
    grid-template-columns: 1fr;
  }

  .course-timeline article {
    min-height: 82px;
  }

  .course-timeline strong {
    margin-top: 12px;
  }

  .mindmap-center {
    min-height: 110px;
    grid-row: auto;
    font-size: 28px;
  }

  .gallery-controls {
    grid-template-columns: 1fr;
  }

  .gallery-controls span {
    padding: 12px;
    text-align: center;
  }

  .source-outline-children {
    margin-left: 6px;
  }

  .course-paragraph,
  .course-list li {
    font-size: 15px;
  }

  .course-subheading {
    font-size: 20px;
  }

  .course-figure img {
    max-height: 460px;
  }

  .course-tool-row {
    grid-template-columns: 1fr;
  }

  .source-block-head {
    grid-template-columns: 1fr;
  }

  .permit-list p,
  .question-strip {
    grid-template-columns: 1fr;
  }

  .type-grid article,
  .term-grid article,
  .formula-grid article,
  .concept-row article,
  .traffic-lanes article,
  .research-layout > div {
    padding: 18px;
  }

  .formula-grid strong,
  .config-steps strong {
    font-size: 24px;
  }

  .result-card,
  .result-card:nth-child(2),
  .result-card:nth-child(4) {
    min-height: 200px;
    border-right: 0;
    border-top: 1px solid var(--line-dark);
  }

  .result-card strong {
    margin-top: 48px;
  }

  .simulator-controls label,
  .score-controls label {
    grid-template-columns: 1fr 68px;
    gap: 12px;
  }

  .simulator-controls input,
  .score-controls input {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .simulator-controls label em,
  .score-controls label em {
    grid-column: 2;
    grid-row: 1;
  }

  .roi-display strong {
    font-size: 84px;
  }

  .calc-row > div,
  .calc-row > div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .calc-row > div:last-child {
    border-bottom: 0;
  }

  .metric-card,
  .metric-card:nth-child(2n),
  .metric-card:nth-child(3) {
    min-height: 220px;
    border-right: 0;
    border-top: 0;
  }

  .metric-card:first-child {
    border-top: 1px solid var(--line-dark);
  }

  .metric-card > strong {
    margin-top: 46px;
  }

  .faq-item button {
    grid-template-columns: 42px minmax(0, 1fr) 30px;
    gap: 10px;
    min-height: 96px;
    padding: 0 5px;
  }

  .faq-item button span {
    font-size: 21px;
    line-height: 1.35;
  }

  .faq-item p {
    margin-left: 52px;
  }

  .assignment-card,
  .assignment-card:nth-child(2n) {
    min-height: 230px;
    border-right: 0;
  }
}

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

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