:root {
  --paper: #f5f2ea;
  --paper-deep: #ece7db;
  --ink: #171916;
  --ink-soft: #55584f;
  --line: rgba(23, 25, 22, 0.14);
  --line-strong: rgba(23, 25, 22, 0.28);
  --white: #fffef9;
  --lime: #c8f45d;
  --lime-soft: #e4f9b5;
  --orange: #ff6a3d;
  --orange-soft: #ffd1c3;
  --blue: #5b75f6;
  --blue-soft: #cdd5ff;
  --yellow: #ffd75a;
  --purple: #8067dc;
  --shadow-sm: 0 1px 0 rgba(23, 25, 22, 0.05), 0 10px 30px rgba(23, 25, 22, 0.06);
  --shadow-lg: 0 24px 80px rgba(23, 25, 22, 0.15);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --max-width: 1200px;
  --header-height: 76px;
  --font-sans: "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Arial Rounded MT Bold", "Aptos Display", "Segoe UI", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

body.is-locked .site-shell {
  overflow-y: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-shell {
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(23, 25, 22, 0.04);
}

.nav-wrap {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--ink);
  overflow: hidden;
  transform: rotate(-3deg);
}

.brand-mark span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: var(--lime);
}

.brand-mark span:first-child {
  width: 18px;
  height: 7px;
  transform: rotate(45deg);
}

.brand-mark span:last-child {
  width: 7px;
  height: 18px;
  transform: rotate(45deg);
}

.desktop-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  height: 34px;
  padding: 3px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.45);
}

.language-switch button {
  min-width: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 6px;
  color: #777a70;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--ink);
}

.search-trigger {
  height: 38px;
  padding: 0 8px 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.search-trigger:hover {
  border-color: var(--line-strong);
  background: var(--white);
}

.search-trigger svg {
  width: 17px;
  height: 17px;
}

.search-trigger span {
  font-size: 13px;
}

kbd,
.key-button {
  padding: 3px 6px;
  color: #777a70;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  font-size: 10px;
  font-family: inherit;
  line-height: 1;
}

.text-button,
.icon-button,
.modal-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.text-button {
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 650;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(23, 25, 22, 0.14);
}

.button-dark:hover {
  background: #2c2f2a;
  box-shadow: 0 12px 26px rgba(23, 25, 22, 0.2);
}

.button-light {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.button-light:hover {
  border-color: var(--line-strong);
  background: var(--white);
}

.button-lime {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 8px 20px rgba(95, 123, 32, 0.18);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
}

.button-wide {
  width: 100%;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

#app {
  outline: none;
}

.page {
  min-height: 70vh;
  animation: page-in 360ms ease both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  padding: 76px 0 52px;
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2%;
  left: 50%;
  width: 720px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 244, 93, 0.18), transparent 68%);
  transform: translateX(-8%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 74px;
}

.eyebrow,
.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-line::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.display-title {
  max-width: 700px;
  margin: 22px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.4vw, 78px);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.display-title .accent-word {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.display-title .accent-word::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4px;
  bottom: 3px;
  left: -5px;
  height: 20%;
  border-radius: 3px;
  background: var(--lime);
  transform: rotate(-1.8deg);
}

.hero-description {
  max-width: 570px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.hero-description strong {
  color: var(--ink);
}

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

.hero-note {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #71746b;
  font-size: 12px;
}

.avatar-stack {
  display: flex;
  padding-left: 6px;
}

.avatar-stack span {
  width: 26px;
  height: 26px;
  margin-left: -6px;
  display: grid;
  place-items: center;
  border: 2px solid var(--paper);
  border-radius: 50%;
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  background: var(--orange-soft);
}

.avatar-stack span:nth-child(2) {
  background: var(--blue-soft);
}

.avatar-stack span:nth-child(3) {
  background: var(--lime-soft);
}

.hero-visual {
  position: relative;
  min-height: 492px;
  display: grid;
  place-items: center;
}

.visual-backdrop {
  position: absolute;
  width: 88%;
  height: 90%;
  border: 1px solid var(--line);
  border-radius: 40px 120px 40px 100px;
  background: var(--lime);
  transform: rotate(3deg);
}

.visual-card {
  position: relative;
  z-index: 2;
  width: 86%;
  min-height: 410px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 16px 20px 0 rgba(23, 25, 22, 0.12);
  transform: rotate(-2deg);
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.window-dots span:first-child {
  background: var(--orange);
}

.window-dots span:nth-child(2) {
  background: var(--yellow);
}

.visual-status {
  color: #777a70;
  font-size: 11px;
  font-weight: 700;
}

.visual-lesson {
  padding: 28px 4px 0;
}

.visual-lesson-badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 6px;
  color: #3e4d1c;
  background: var(--lime-soft);
  font-size: 10px;
  font-weight: 850;
}

.visual-lesson h3 {
  max-width: 330px;
  margin: 15px 0 11px;
  font-size: 26px;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.visual-lesson p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.code-window {
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  color: #d9decf;
  background: #20231f;
  font-family: Consolas, monospace;
  font-size: 11px;
  line-height: 1.8;
}

.code-window .code-green {
  color: var(--lime);
}

.code-window .code-gray {
  color: #7f887b;
}

.visual-progress {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--paper-deep);
}

.progress-track span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--orange);
}

.visual-progress small {
  color: var(--ink-soft);
  font-weight: 700;
}

.floating-label {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 5px 6px 0 rgba(23, 25, 22, 0.14);
  font-size: 11px;
  font-weight: 800;
  animation: float 4s ease-in-out infinite;
}

.floating-label svg {
  width: 15px;
  height: 15px;
}

.floating-label.label-one {
  top: 8%;
  right: -2%;
  color: #3e4d1c;
}

.floating-label.label-two {
  bottom: 7%;
  left: -4%;
  color: #4b3988;
  animation-delay: -2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(1deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

.trust-bar {
  padding: 26px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.trust-inner > span {
  color: #767970;
  font-size: 12px;
  font-weight: 700;
}

.tool-logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 5vw, 58px);
  flex: 1;
  flex-wrap: wrap;
}

.tool-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #55584f;
  font-size: 14px;
  font-weight: 800;
}

.tool-logo i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-size: 10px;
  font-style: normal;
}

.section {
  padding: 104px 0;
}

.section-muted {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
}

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

.section-header {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-header h2 {
  max-width: 700px;
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.section-header p {
  max-width: 490px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

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

.course-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.course-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 46px rgba(23, 25, 22, 0.1);
  transform: translateY(-6px);
}

.course-card-art {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--course-color, var(--lime-soft));
}

.course-card-art::before,
.course-card-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(23, 25, 22, 0.45);
}

.course-card-art::before {
  top: 29px;
  left: 50%;
  width: 112px;
  height: 86px;
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.75);
  box-shadow: 7px 8px 0 rgba(23, 25, 22, 0.12);
  transform: translateX(-50%) rotate(-5deg);
}

.course-card-art::after {
  top: 43px;
  left: 50%;
  width: 74px;
  height: 54px;
  border-radius: 10px;
  transform: translateX(-50%) rotate(6deg);
}

.course-symbol {
  position: absolute;
  z-index: 2;
  top: 60px;
  left: 50%;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.08em;
  transform: translateX(-50%);
}

.course-level {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 8px;
  border: 1px solid rgba(23, 25, 22, 0.3);
  border-radius: 99px;
  background: rgba(255, 254, 249, 0.78);
  font-size: 9px;
  font-weight: 850;
}

.course-status {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 99px;
  color: rgba(23, 25, 22, 0.72);
  background: rgba(255, 254, 249, 0.7);
  font-size: 9px;
  font-weight: 850;
}

.course-card-body {
  min-height: 280px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.course-kicker {
  color: #777a70;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.course-card h3 {
  margin: 9px 0 10px;
  font-size: 20px;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.course-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.course-profile {
  margin-bottom: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.course-profile span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #60635a;
  background: var(--paper);
  font-size: 9px;
  font-weight: 750;
}

.course-provider {
  margin-bottom: 18px;
  color: #8a8d84;
  font-size: 9px;
}

.course-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #6e7168;
  font-size: 11px;
  font-weight: 700;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-meta svg {
  width: 14px;
  height: 14px;
}

.round-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.round-arrow svg {
  width: 14px;
  height: 14px;
}

.course-card:hover .round-arrow {
  color: #fff;
  background: var(--ink);
  transform: rotate(-15deg);
}

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

.concept-card {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.3);
  transition: background 180ms ease;
}

.concept-card:hover {
  background: var(--white);
}

.concept-number {
  margin-bottom: 40px;
  color: #85887e;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.concept-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.concept-card p {
  margin: 8px 0 18px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.concept-card .text-link {
  width: fit-content;
  margin-top: auto;
  font-size: 11px;
}

.home-concept-logic-section {
  overflow: hidden;
}

.home-concept-map {
  position: relative;
  padding: 16px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 18%, rgba(223, 245, 164, 0.44), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(185, 221, 255, 0.32), transparent 32%),
    #fffef9;
  box-shadow: 0 24px 70px rgba(23, 25, 22, 0.1);
}

.home-concept-map::before {
  content: "";
  position: absolute;
  top: 42px;
  right: 44px;
  bottom: 42px;
  left: 365px;
  border: 1px dashed rgba(23, 25, 22, 0.14);
  border-radius: 24px;
  pointer-events: none;
}

.home-concept-map-lead {
  position: relative;
  z-index: 1;
  min-height: 480px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  color: #f9f8ef;
  background:
    linear-gradient(150deg, rgba(223, 245, 164, 0.16), transparent 46%),
    var(--ink);
}

.home-concept-map-lead span {
  width: fit-content;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.home-concept-map-lead strong {
  margin-top: auto;
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.home-concept-map-lead p {
  margin: 18px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

.home-concept-map-lead .button {
  width: fit-content;
  color: var(--ink);
  background: var(--lime);
}

.home-concept-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-concept-step {
  position: relative;
  min-height: 234px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.88);
  box-shadow: 0 10px 30px rgba(23, 25, 22, 0.05);
}

.home-concept-step:nth-child(1),
.home-concept-step:nth-child(6) {
  background: var(--lime-soft);
}

.home-concept-step:nth-child(2),
.home-concept-step:nth-child(5) {
  background: var(--blue-soft);
}

.home-concept-step:nth-child(3),
.home-concept-step:nth-child(4) {
  background: var(--orange-soft);
}

.home-concept-step::after {
  content: "";
  position: absolute;
  top: 35px;
  right: -17px;
  width: 21px;
  height: 2px;
  background: rgba(23, 25, 22, 0.28);
}

.home-concept-step:nth-child(3)::after,
.home-concept-step:nth-child(6)::after {
  display: none;
}

.home-concept-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-concept-step-head span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.home-concept-step-head b {
  color: rgba(23, 25, 22, 0.54);
  font-family: Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.home-concept-step h3 {
  margin: 30px 0 10px;
  font-family: var(--font-display);
  font-size: 27px;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.home-concept-step p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.home-concept-terms {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.concept-mini-link {
  padding: 6px 8px;
  border: 1px solid rgba(23, 25, 22, 0.11);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.56);
  color: #4f534a;
  font-size: 9px;
  font-weight: 800;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.concept-mini-link:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateY(-1px);
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.path-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--lime);
}

.path-card:nth-child(2) {
  background: var(--orange-soft);
}

.path-card > * {
  position: relative;
  z-index: 2;
}

.path-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -78px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(23, 25, 22, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 0 34px rgba(255, 255, 255, 0.22), inset 0 0 0 68px rgba(23, 25, 22, 0.04);
}

.path-tag {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(23, 25, 22, 0.32);
  border-radius: 99px;
  font-size: 10px;
  font-weight: 850;
}

.path-card h3 {
  max-width: 380px;
  margin: 58px 0 12px;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.path-card p {
  max-width: 340px;
  margin: 0;
  color: rgba(23, 25, 22, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.path-footer {
  position: absolute;
  right: 34px;
  bottom: 30px;
  left: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.path-footer span {
  font-size: 11px;
  font-weight: 800;
}

.path-footer .round-arrow {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 90px;
  align-items: center;
}

.manifesto-mark {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.manifesto-mark::before,
.manifesto-mark::after {
  content: "";
  position: absolute;
  border-radius: 45% 55% 52% 48%;
}

.manifesto-mark::before {
  inset: 5%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(18deg);
}

.manifesto-mark::after {
  inset: 19%;
  background: var(--lime);
  transform: rotate(-12deg);
}

.manifesto-mark svg {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  color: var(--ink);
  stroke-width: 1.2;
}

.manifesto-copy .eyebrow {
  color: #b9bdaf;
}

.manifesto-copy h2 {
  margin: 14px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 60px);
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.manifesto-copy p {
  max-width: 590px;
  margin: 0;
  color: #b9bdaf;
  font-size: 16px;
  line-height: 1.9;
}

.manifesto-points {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.manifesto-point {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.manifesto-point strong {
  display: block;
  color: var(--lime);
  font-size: 20px;
}

.manifesto-point span {
  color: #aeb2a5;
  font-size: 11px;
}

.cta-section {
  padding: 88px 0;
}

.cta-panel {
  position: relative;
  min-height: 290px;
  padding: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--yellow);
  box-shadow: 12px 14px 0 var(--ink);
}

.cta-panel::before {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -160px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(23, 25, 22, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 45px rgba(255, 255, 255, 0.18), inset 0 0 0 90px rgba(23, 25, 22, 0.05);
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.cta-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.cta-copy p {
  margin: 0;
  color: rgba(23, 25, 22, 0.7);
  line-height: 1.7;
}

.cta-panel .button {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

/* Library */

.page-hero {
  padding: 76px 0 54px;
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.page-hero h1 {
  margin: 15px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 74px);
  letter-spacing: -0.075em;
  line-height: 1;
}

.page-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.catalog-count {
  padding-bottom: 6px;
  color: var(--ink-soft);
  font-size: 12px;
}

.catalog-count strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: -0.05em;
}

.library-section {
  padding: 48px 0 104px;
}

.capability-map {
  margin-bottom: 46px;
  padding: 38px;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 244, 93, 0.2), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(91, 117, 246, 0.2), transparent 30%),
    var(--ink);
  box-shadow: 0 24px 60px rgba(23, 25, 22, 0.16);
}

.capability-map-head {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
}

.capability-eyebrow {
  color: var(--lime);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-map-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 54px);
  letter-spacing: -0.065em;
  line-height: 1;
}

.capability-map-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 22px;
}

.capability-map-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.75;
}

.capability-map-summary > div {
  min-width: 78px;
}

.capability-map-summary strong,
.capability-map-summary span {
  display: block;
}

.capability-map-summary strong {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.capability-map-summary span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
}

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

.capability-card {
  position: relative;
  min-height: 315px;
  padding: 18px 19px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--ink);
  background: var(--map-color);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.capability-card::after {
  content: "";
  position: absolute;
  top: -58px;
  right: -40px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(23, 25, 22, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px rgba(255, 255, 255, 0.16);
}

.capability-card:hover {
  z-index: 2;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  transform: translateY(-5px);
}

.capability-card.is-active {
  border-color: white;
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px white;
  transform: translateY(-3px);
}

.capability-card-index {
  color: rgba(23, 25, 22, 0.5);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.capability-card-count {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 17px;
  padding: 5px 8px;
  border: 1px solid rgba(23, 25, 22, 0.14);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  font-weight: 800;
}

.capability-card-mark {
  position: relative;
  z-index: 2;
  margin: 24px 0 18px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.capability-card strong {
  position: relative;
  z-index: 2;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.capability-card-ability {
  position: relative;
  z-index: 2;
  margin-top: 5px;
  color: rgba(23, 25, 22, 0.58);
  font-size: 9px;
  font-weight: 800;
}

.capability-card p {
  position: relative;
  z-index: 2;
  max-width: 250px;
  margin: 18px 34px 0 0;
  color: rgba(23, 25, 22, 0.7);
  font-size: 10px;
  line-height: 1.6;
}

.capability-card small {
  position: relative;
  z-index: 2;
  max-width: 250px;
  margin: 10px 34px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 25, 22, 0.16);
  color: rgba(23, 25, 22, 0.68);
  font-size: 9px;
  font-weight: 760;
  line-height: 1.55;
}

.capability-card-arrow {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 25, 22, 0.25);
  border-radius: 50%;
}

.capability-card-arrow svg {
  width: 12px;
  height: 12px;
}

.teaching-standard-panel {
  margin: -16px 0 42px;
  padding: 28px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 96% 8%, rgba(200, 244, 93, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 254, 249, 0.74));
  box-shadow: 0 18px 42px rgba(23, 25, 22, 0.07);
}

.teaching-standard-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: 28px;
}

.teaching-standard-head span {
  color: #70746a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.teaching-standard-head h2 {
  max-width: 700px;
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.teaching-standard-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.teaching-standard-flow {
  margin: 24px 0 16px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  border: 1px dashed rgba(23, 25, 22, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.teaching-standard-flow span {
  padding: 11px;
  display: grid;
  gap: 6px;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font-size: 11px;
  font-weight: 850;
}

.teaching-standard-flow b {
  color: #8b8f84;
  font-family: Consolas, monospace;
  font-size: 9px;
}

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

.teaching-standard-card {
  min-height: 168px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 25, 22, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.teaching-standard-card span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.teaching-standard-card strong {
  margin-top: auto;
  font-size: 15px;
  line-height: 1.3;
}

.teaching-standard-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.62;
}

.filter-toolbar {
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.active-filter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.active-filter button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  color: var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.active-filter button.is-active {
  color: white;
  background: var(--ink);
}

.active-filter > span {
  color: var(--ink-soft);
  font-size: 11px;
}

.filter-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-chip.is-active {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.filter-result {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.sort-select {
  padding: 9px 30px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink-soft);
  background: transparent;
  font: inherit;
  font-size: 12px;
}

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

.empty-state {
  grid-column: 1 / -1;
  padding: 80px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.empty-state h3 {
  margin: 0 0 8px;
}

.empty-state p {
  margin: 0;
  color: var(--ink-soft);
}

/* Course detail */

.course-page {
  --accent: var(--lime);
}

.course-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.course-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -210px;
  right: -100px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.45;
  filter: blur(2px);
}

.course-breadcrumbs {
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #74776d;
  font-size: 11px;
  font-weight: 700;
}

.course-breadcrumbs svg {
  width: 12px;
  height: 12px;
}

.course-hero-grid {
  min-height: 480px;
  padding: 42px 0 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.course-hero-copy h1 {
  margin: 15px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.7vw, 72px);
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.course-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.course-hero-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.course-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.course-hero-meta svg {
  width: 15px;
  height: 15px;
}

.course-preview {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

.preview-shape {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 38% 62% 57% 43%;
  background: var(--accent);
  transform: rotate(12deg);
}

.preview-terminal {
  position: relative;
  z-index: 2;
  width: min(100%, 370px);
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 18px;
  color: #dce1d6;
  background: #20231f;
  box-shadow: 12px 14px 0 rgba(23, 25, 22, 0.14);
  transform: rotate(-3deg);
}

.preview-terminal-head {
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-terminal-head .window-dots span {
  width: 7px;
  height: 7px;
}

.preview-terminal-head small {
  color: #81897e;
  font-size: 9px;
}

.terminal-content {
  min-height: 210px;
  padding: 23px;
  font-family: Consolas, monospace;
  font-size: 11px;
  line-height: 1.9;
}

.terminal-content .prompt {
  color: var(--accent);
}

.terminal-content .terminal-muted {
  color: #747c70;
}

.terminal-cursor {
  width: 7px;
  height: 13px;
  display: inline-block;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.course-layout {
  padding: 64px 0 112px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.course-quality-notice {
  margin-top: 26px;
  margin-bottom: -35px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #dccb91;
  border-radius: 12px;
  background: #fff7d9;
}

.course-quality-notice.is-outline {
  border-color: #d9c9bd;
  background: #fff1e8;
}

.course-quality-notice span {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #6a5b2f;
  background: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 850;
}

.course-quality-notice p {
  margin: 0;
  color: #75663d;
  font-size: 11px;
  line-height: 1.65;
}

.course-quality-notice.is-outline p {
  color: #755845;
}

.course-usage-lab {
  margin-top: 34px;
  margin-bottom: -30px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(23, 25, 22, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 10%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 30%),
    linear-gradient(135deg, var(--white), #f6f1e8);
  box-shadow: 0 22px 54px rgba(23, 25, 22, 0.08);
}

.usage-lab-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: 28px;
  align-items: end;
}

.usage-lab-head span,
.usage-lab-sources > span {
  color: #6d7168;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.usage-lab-head h2 {
  max-width: 780px;
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.usage-lab-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.usage-lab-head aside {
  padding: 18px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.usage-lab-head aside strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.usage-lab-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.usage-lab-stage {
  min-width: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.usage-lab-stage > span {
  width: fit-content;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.usage-lab-stage h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.usage-lab-stage p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.62;
}

.usage-lab-stage pre {
  min-height: 120px;
  margin: 14px 0;
  padding: 13px;
  overflow-x: auto;
  border-radius: 14px;
  color: #e8eee3;
  background: #171916;
  font-family: Consolas, monospace;
  font-size: 10px;
  line-height: 1.62;
  white-space: pre-wrap;
}

.usage-lab-stage small {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 25, 22, 0.1);
  color: #60645d;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.55;
}

.usage-lab-sources {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.usage-lab-sources a {
  padding: 9px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 850;
}

.usage-lab-sources svg {
  width: 12px;
  height: 12px;
}

.course-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.course-progress-card {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.progress-label {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
}

.course-progress-card .progress-track span {
  background: var(--accent);
}

.outline-title {
  margin: 28px 0 10px;
  color: #777a70;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lesson-nav {
  display: grid;
  gap: 6px;
}

.lesson-link {
  width: 100%;
  padding: 12px 12px;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  color: var(--ink-soft);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.lesson-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.lesson-link.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2px 14px rgba(23, 25, 22, 0.06);
}

.lesson-link.is-complete .lesson-index {
  color: var(--ink);
  background: var(--accent);
}

.lesson-index {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 850;
}

.lesson-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.lesson-duration {
  color: #85887e;
  font-size: 9px;
}

.lesson-content {
  max-width: 790px;
}

.lesson-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777a70;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lesson-topline span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.lesson-topline b {
  margin-left: auto;
  padding: 5px 8px;
  border-radius: 99px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 35%, var(--white));
  font-size: 9px;
  letter-spacing: 0;
  text-transform: none;
}

.lesson-content h2 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 54px);
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.lesson-lead {
  margin: 0 0 36px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.lesson-video {
  position: relative;
  aspect-ratio: 16 / 8.6;
  margin-bottom: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 20px;
  color: white;
  background: #20231f;
}

.lesson-video::before {
  content: "";
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 0 45px rgba(255, 255, 255, 0.035), inset 0 0 0 90px rgba(255, 255, 255, 0.025);
}

.play-button {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 180ms ease;
}

.play-button:hover {
  transform: scale(1.08);
}

.play-button svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.lesson-video-label {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: #a9aea2;
  font-size: 10px;
}

.lesson-prose h3 {
  margin: 34px 0 12px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.lesson-prose p,
.lesson-prose li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.85;
}

.lesson-prose ul {
  padding-left: 20px;
}

.lesson-objective {
  margin: 0 0 28px;
  padding: 20px 22px;
  display: grid;
  gap: 7px;
  border-left: 4px solid var(--accent);
  border-radius: 0 13px 13px 0;
  background: color-mix(in srgb, var(--accent) 14%, var(--white));
}

.lesson-objective > span,
.step-source-box > span {
  color: #73766d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lesson-objective strong {
  font-size: 15px;
  line-height: 1.65;
}

.lesson-objective small {
  color: #777a70;
  font-size: 10px;
}

.lesson-detail-copy {
  margin: 0 0 28px;
}

.lesson-detail-copy p {
  margin: 0 0 13px;
}

.step-source-box {
  margin: 0 0 30px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.step-source-links {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.step-source-links a {
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  color: white;
  background: var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.step-source-links a:hover {
  background: #343831;
  transform: translateY(-2px);
}

.step-source-links svg {
  width: 13px;
  height: 13px;
}

.info-box {
  margin: 26px 0;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 20%, var(--white));
}

.info-box-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
}

.info-box-icon svg {
  width: 16px;
  height: 16px;
}

.info-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.info-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.lesson-code {
  margin: 24px 0;
  overflow: hidden;
  border-radius: 14px;
  color: #d8ddd2;
  background: #20231f;
}

.lesson-code-head {
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #868d82;
  font-size: 10px;
}

.lesson-code pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: Consolas, monospace;
  font-size: 12px;
  line-height: 1.8;
}

.lesson-code .accent-code {
  color: var(--accent);
}

.lesson-actions {
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.completion-button.is-complete {
  color: var(--ink);
  background: var(--accent);
}

.course-complete-panel {
  margin-top: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(74, 105, 29, 0.2);
  border-radius: 16px;
  background: #eff8dc;
}

.course-complete-panel > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #5f7f28;
}

.course-complete-panel svg {
  width: 20px;
  height: 20px;
}

.course-complete-panel strong {
  font-size: 15px;
}

.course-complete-panel p {
  margin: 5px 0 0;
  color: #5f684d;
  font-size: 11px;
  line-height: 1.65;
}

.translation-notice {
  padding: 10px 24px;
  color: #5c604f;
  border-bottom: 1px solid #d5dcbe;
  background: #eef6d9;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
}

/* Detailed tutorials */

.tutorial-figure {
  margin: 0 0 36px;
}

.screenshot-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: #202020;
  box-shadow: 9px 11px 0 color-mix(in srgb, var(--accent) 75%, transparent);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.screenshot-frame.is-contain {
  background: #f4f2ec;
}

.screenshot-frame.is-contain img {
  aspect-ratio: auto;
  object-fit: contain;
}

.screenshot-frame.is-login {
  max-width: 620px;
  margin: 0 auto;
  background: #f7f5ef;
}

.screenshot-callout {
  position: absolute;
  top: 48%;
  left: 60%;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  color: var(--ink);
  background: var(--accent);
  box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-weight: 850;
}

.screenshot-callout::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 74px;
  height: 2px;
  background: var(--accent);
}

.tutorial-figure figcaption {
  margin-top: 14px;
  color: #797c73;
  font-size: 10px;
  text-align: center;
}

.step-visual {
  position: relative;
  min-height: 230px;
  margin-bottom: 36px;
  padding: 34px;
  display: flex;
  align-items: flex-end;
  gap: 25px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 20px;
  background: var(--accent);
}

.step-visual::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -70px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(23, 25, 22, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 42px rgba(255, 255, 255, 0.18), inset 0 0 0 84px rgba(23, 25, 22, 0.05);
}

.step-visual > * {
  position: relative;
  z-index: 2;
}

.step-visual-number {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.step-visual div {
  display: grid;
  gap: 5px;
}

.step-visual small {
  color: rgba(23, 25, 22, 0.65);
  font-size: 10px;
  font-weight: 800;
}

.step-visual strong {
  max-width: 410px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.action-checklist {
  margin: 20px 0 32px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.action-checklist li {
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 254, 249, 0.52);
}

.action-checklist li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  background: var(--accent);
  font-size: 10px;
  font-weight: 900;
}

.action-checklist li p {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.risk-box {
  margin: 26px 0;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  border: 1px solid #e17756;
  border-radius: 14px;
  background: #fff0e9;
}

.risk-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--orange);
  font-weight: 900;
}

.risk-box strong {
  display: block;
  margin-bottom: 5px;
}

.risk-box p {
  margin: 0;
  color: #694235;
  font-size: 13px;
  line-height: 1.7;
}

.step-success-box {
  margin: 26px 0;
  padding: 19px 21px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  border: 1px solid #a5c46b;
  border-radius: 14px;
  background: #f1f8df;
}

.step-success-box > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
}

.step-success-box svg {
  width: 16px;
  height: 16px;
}

.step-success-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}

.step-success-box p {
  margin: 0;
  color: #53603d;
  font-size: 13px;
  line-height: 1.7;
}

.course-source-box {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.course-source-box h3 {
  margin-top: 0;
}

.course-source-box > p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 12px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.source-links a {
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: 11px;
  font-weight: 750;
}

.source-links a:hover {
  border-color: var(--ink);
}

.source-links svg {
  width: 13px;
  height: 13px;
}

.lesson-actions .button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Concept dictionary */

.concepts-hero {
  padding: 82px 0 66px;
  border-bottom: 1px solid var(--line);
}

.concepts-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 90px;
}

.concepts-hero h1 {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 88px);
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.concepts-hero p {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.concepts-distinction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
}

.concepts-distinction div {
  min-height: 130px;
  padding: 22px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.concepts-distinction div:first-child {
  border-right: 1px solid var(--line-strong);
  background: var(--orange-soft);
}

.concepts-distinction div:last-child {
  background: var(--lime-soft);
}

.concepts-distinction strong,
.concepts-distinction span {
  display: block;
}

.concepts-distinction strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.concepts-distinction span {
  color: var(--ink-soft);
  font-size: 11px;
}

.concept-start-section {
  padding: 36px 0 64px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.7), rgba(255, 254, 249, 0)),
    var(--paper);
}

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

.concept-start-lead {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  color: #f8f7ef;
  background:
    radial-gradient(circle at 84% 12%, rgba(223, 245, 164, 0.18), transparent 34%),
    var(--ink);
  box-shadow: 8px 9px 0 var(--lime);
}

.concept-start-lead span,
.beginner-path-panel > div:first-child span {
  width: fit-content;
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.concept-start-lead h2 {
  margin: auto 0 14px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.concept-start-lead p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.75;
}

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

.concept-route-card {
  min-height: 330px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.concept-route-card:nth-child(2) {
  background: var(--blue-soft);
}

.concept-route-card:nth-child(3) {
  background: var(--orange-soft);
}

.concept-route-card.is-recommended {
  background: var(--lime-soft);
}

.concept-route-card:hover {
  border-color: var(--ink);
  box-shadow: 0 18px 42px rgba(23, 25, 22, 0.12);
  transform: translateY(-4px);
}

.concept-route-card > span {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(23, 25, 22, 0.18);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.44);
  color: rgba(23, 25, 22, 0.62);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.concept-route-card strong {
  margin-top: 54px;
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.concept-route-card p {
  margin: 14px 0 24px;
  color: rgba(23, 25, 22, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

.concept-route-card b {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
}

.concept-route-card svg {
  width: 14px;
  height: 14px;
}

.beginner-path-panel {
  margin-top: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 254, 249, 0.78);
}

.beginner-path-panel > div:first-child {
  padding: 18px;
  border-radius: 16px;
  background: var(--ink);
}

.beginner-path-panel > div:first-child strong {
  display: block;
  margin-top: 34px;
  color: #f8f7ef;
  font-size: 18px;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.beginner-path-panel > div:first-child p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.7;
}

.beginner-path-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.beginner-path-rail a {
  min-height: 118px;
  padding: 13px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.beginner-path-rail a:hover {
  border-color: var(--ink);
  background: var(--lime-soft);
  transform: translateY(-2px);
}

.beginner-path-rail span {
  color: #8a8d84;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.beginner-path-rail strong {
  font-size: 12px;
  line-height: 1.35;
}

.beginner-path-rail em {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 99px;
  color: #56594f;
  background: var(--paper-deep);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.path-logic-panel {
  grid-column: 1 / -1;
  padding: 16px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(223, 245, 164, 0.28), transparent 42%),
    var(--white);
}

.path-logic-head {
  padding: 18px;
  border-radius: 14px;
  background: var(--paper);
}

.path-logic-head span {
  display: block;
  margin-bottom: 40px;
  color: #74786e;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.path-logic-head strong {
  display: block;
  font-size: 18px;
  line-height: 1.45;
}

.path-logic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.path-logic-grid article {
  min-height: 165px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 254, 249, 0.72);
}

.path-logic-grid article > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.path-logic-grid h3 {
  margin: auto 0 8px;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.path-logic-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.path-scope-note {
  grid-column: 1 / -1;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: rgba(245, 242, 234, 0.74);
}

.path-scope-note strong {
  font-size: 13px;
}

.path-scope-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.concept-story-section {
  padding: 72px 0 84px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 12%, rgba(200, 244, 93, 0.25), transparent 28%),
    radial-gradient(circle at 85% 70%, rgba(185, 221, 255, 0.28), transparent 32%),
    var(--paper);
}

.story-path-shell {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(23, 25, 22, 0.14);
}

.story-path-topbar {
  min-height: 58px;
  padding: 0 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb2a6;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.story-path-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  letter-spacing: 0;
}

.story-path-topbar svg {
  width: 15px;
  height: 15px;
}

.story-path-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.story-path {
  min-width: max-content;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(var(--story-count), 285px);
  gap: 14px;
}

.story-card {
  position: relative;
  min-height: 390px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), transparent 48%),
    #23251f;
  color: var(--white);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.story-card::after {
  content: "";
  position: absolute;
  top: 35px;
  right: -22px;
  width: 30px;
  height: 2px;
  background: var(--lime);
  opacity: 0.65;
}

.story-card:last-child::after {
  display: none;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 244, 93, 0.58);
  background:
    linear-gradient(160deg, rgba(200, 244, 93, 0.16), transparent 48%),
    #23251f;
}

.story-card-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.story-card small {
  min-height: 34px;
  margin-top: 28px;
  color: #aeb2a6;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.5;
}

.story-card h3 {
  margin: 16px 0 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.story-card em {
  color: var(--lime);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.story-card p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.8;
}

.story-card-next {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.story-card-next span {
  display: block;
  color: #8f9488;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-card-next strong {
  display: block;
  margin-top: 7px;
  color: var(--white);
  font-size: 14px;
}

.concept-architecture {
  padding: 78px 0 88px;
  border-bottom: 1px solid var(--line);
}

.architecture-hero {
  padding: 72px 0 58px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 10%, rgba(200, 244, 93, 0.28), transparent 34%),
    var(--paper);
}

.architecture-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 72px;
}

.architecture-hero h1 {
  max-width: 820px;
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 94px);
  letter-spacing: -0.08em;
  line-height: 0.95;
}

.architecture-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.82;
}

.architecture-current-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--layer-color) 58%, transparent), transparent 44%),
    var(--white);
  box-shadow: 8px 9px 0 var(--ink);
}

.architecture-current-card span,
.architecture-cycle article span,
.architecture-layer-card-head span,
.product-concept-card span,
.priority-column > span,
.layer-journey-head span,
.journey-priority small {
  color: #777b70;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.architecture-current-card strong {
  margin-top: auto;
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.architecture-current-card p {
  margin: 14px 0 22px;
  font-size: 12px;
  line-height: 1.72;
}

.architecture-cycle-section,
.architecture-roadmap-section,
.product-anatomy-section,
.priority-matrix-section {
  padding: 66px 0;
  border-bottom: 1px solid var(--line);
}

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

.architecture-cycle article {
  position: relative;
  min-height: 160px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.architecture-cycle article::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -18px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  opacity: 0.22;
}

.architecture-cycle article:last-child::after {
  display: none;
}

.architecture-cycle strong {
  margin-top: auto;
  font-size: 20px;
}

.architecture-cycle p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.architecture-learning-routes {
  margin-bottom: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(200, 244, 93, 0.18), transparent 42%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.architecture-learning-routes-head {
  padding: 4px 4px 18px;
  display: grid;
  grid-template-columns: 150px minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 18px;
}

.architecture-learning-routes-head span,
.learning-route-card > span {
  color: #73776d;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.architecture-learning-routes-head strong {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.architecture-learning-routes-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.68;
}

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

.learning-route-card {
  min-height: 270px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--paper);
}

.learning-route-card.route-everyday {
  background: var(--lime-soft);
}

.learning-route-card.route-knowledge {
  background: var(--blue-soft);
}

.learning-route-card.route-builder {
  background: var(--orange-soft);
}

.learning-route-card.route-modeling {
  background: #f5e8f1;
}

.learning-route-card > strong {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.45;
}

.learning-route-card > p {
  margin: auto 0 0;
  padding-top: 14px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.learning-route-modules {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.learning-route-modules i {
  color: #7b7f75;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.learning-route-modules a {
  max-width: 155px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.learning-route-modules a:hover,
.learning-route-modules a.is-active {
  border-color: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 25, 22, 0.1);
  transform: translateY(-2px);
}

.learning-route-modules small {
  color: #777b71;
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 900;
}

.learning-route-modules b {
  margin-top: 4px;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-layer-architecture {
  margin-bottom: 42px;
  padding: 16px;
  border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 10%, rgba(185, 221, 255, 0.14), transparent 31%),
    radial-gradient(circle at 14% 78%, rgba(200, 244, 93, 0.1), transparent 28%),
    #171916;
  box-shadow: 0 28px 80px rgba(23, 25, 22, 0.2);
}

.system-layer-topbar {
  min-height: 54px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #afb3a8;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.system-layer-topbar div {
  display: flex;
  gap: 7px;
}

.system-layer-topbar b {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 850;
}

.system-map-coordinate-guide {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  gap: 9px;
}

.system-map-coordinate-guide article {
  min-height: 150px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
}

.system-map-coordinate-guide article.is-foundation-explainer {
  border-color: rgba(200, 244, 93, 0.3);
  background:
    radial-gradient(circle at 100% 0, rgba(200, 244, 93, 0.16), transparent 43%),
    rgba(255, 255, 255, 0.065);
}

.system-map-coordinate-guide span {
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.system-map-coordinate-guide strong {
  margin-top: auto;
  color: var(--white);
  font-size: 15px;
  line-height: 1.3;
}

.system-map-coordinate-guide p {
  margin: 8px 0 0;
  color: #aeb2a7;
  font-size: 9px;
  line-height: 1.62;
}

.system-runtime-boundary {
  position: relative;
  padding: 92px 22px 24px;
  overflow: hidden;
  border: 1px dashed rgba(255, 201, 184, 0.62);
  border-radius: 25px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.025);
  background-size: 30px 30px;
}

.system-runtime-inner {
  width: min(100%, 930px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
}

.system-layer-module {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: var(--ink);
  background: color-mix(in srgb, var(--module-color) 38%, #fffef9);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.system-layer-module:hover,
.system-layer-module:focus-visible,
.system-layer-module:focus-within {
  border-color: var(--lime);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.24),
    0 0 0 3px rgba(200, 244, 93, 0.18);
  transform: translateY(-3px);
  outline: 0;
}

.system-layer-module.is-active {
  border-color: var(--lime);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    0 0 0 4px rgba(200, 244, 93, 0.24);
}

.system-layer-module-main {
  padding: 17px;
  display: flex;
  flex-direction: column;
}

.system-layer-module-main > span {
  width: fit-content;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #686c62;
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.system-layer-module-main em {
  margin-top: 20px;
  color: #696d63;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.system-layer-module-main strong {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.5vw, 35px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.system-layer-module-main p {
  margin: 10px 0 0;
  color: #5e6259;
  font-size: 10px;
  line-height: 1.62;
}

.system-layer-open {
  width: fit-content;
  margin-top: 14px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 900;
}

.system-layer-open svg {
  width: 11px;
  height: 11px;
}

.system-layer-concepts {
  padding: 0 14px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.system-layer-concepts a {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font-size: 9px;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 22, 0.1);
}

.area-safety {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #fff0e9;
}

.area-safety .system-layer-module-main {
  padding: 13px 16px;
  display: grid;
  grid-template-columns: auto 150px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.area-safety .system-layer-module-main > span {
  grid-column: 1;
  grid-row: 1;
}

.area-safety .system-layer-module-main em {
  grid-column: 1;
  grid-row: 2;
}

.area-safety .system-layer-module-main strong {
  grid-column: 2;
  grid-row: 1 / 3;
}

.area-safety .system-layer-module-main p {
  grid-column: 3;
  grid-row: 1 / 3;
}

.area-safety .system-layer-open {
  display: none;
}

.area-safety .system-layer-module-main em,
.area-safety .system-layer-module-main strong,
.area-safety .system-layer-module-main p {
  margin: 0;
}

.area-safety .system-layer-module-main strong {
  font-size: 22px;
}

.area-safety .system-layer-concepts {
  padding: 0 14px 0 0;
  flex-wrap: nowrap;
}

.area-orchestration {
  width: min(100%, 720px);
  background: color-mix(in srgb, #ffc9b8 52%, #fffef9);
}

.area-control {
  width: min(100%, 650px);
  background: color-mix(in srgb, #bfe8df 54%, #fffef9);
}

.area-generation {
  width: min(100%, 600px);
  background: color-mix(in srgb, #ffe59a 54%, #fffef9);
}

.system-io-node {
  width: min(100%, 440px);
  min-height: 80px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.system-io-node span {
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.system-io-node strong {
  margin-top: 7px;
  font-size: 15px;
}

.system-output-node span {
  color: #b9ddff;
}

.system-architecture-arrow {
  min-height: 28px;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 20px;
  font-weight: 900;
}

.system-fanout-arrow {
  min-height: 34px;
}

.system-runtime-core-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.24fr) minmax(0, 0.88fr);
  align-items: stretch;
  gap: 12px;
}

.system-runtime-core-grid .system-layer-module {
  display: flex;
  flex-direction: column;
}

.system-runtime-core-grid .system-layer-concepts {
  margin-top: auto;
}

.area-foundation {
  border-color: rgba(200, 244, 93, 0.48);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0, rgba(200, 244, 93, 0.2), transparent 38%),
    #272a24;
}

.area-foundation .system-layer-module-main > span {
  color: var(--ink);
  background: var(--lime);
}

.area-foundation .system-layer-module-main em,
.area-foundation .system-layer-module-main p {
  color: rgba(255, 255, 255, 0.68);
}

.area-foundation .system-layer-open {
  color: var(--ink);
  background: var(--lime);
}

.area-foundation .system-layer-concepts a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.system-core-flow-note {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #aeb2a7;
  font-size: 9px;
  text-align: center;
}

.system-core-flow-note b {
  color: var(--lime);
  font-size: 17px;
}

.system-build-time-feed {
  margin-top: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(246, 200, 225, 0.32);
  border-radius: 23px;
  background: rgba(246, 200, 225, 0.06);
}

.area-training {
  background: color-mix(in srgb, #f6c8e1 56%, #fffef9);
}

.build-time-arrow {
  min-height: 150px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: #bec2b7;
  text-align: center;
}

.build-time-arrow b {
  color: #f6c8e1;
  font-size: 34px;
}

.build-time-arrow span {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.6;
}

.system-active-role {
  margin-top: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 190px minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 18px;
  border-radius: 21px;
  color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--active-color) 52%, #fffef9), #fffef9 70%);
}

.system-active-role > span {
  color: #6e7268;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.system-active-role > strong {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.system-active-role > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.68;
}

.system-active-role > div {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.system-active-role small {
  padding: 12px;
  border: 1px solid rgba(23, 25, 22, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.62);
  color: #74786e;
  font-size: 9px;
}

.system-active-role small b {
  margin-top: 5px;
  display: block;
  color: var(--ink);
  font-size: 11px;
}

.architecture-card-index-head {
  margin: 44px 0 18px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 150px minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.architecture-card-index-head span {
  color: #787c72;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.architecture-card-index-head strong {
  font-size: 17px;
}

.architecture-card-index-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

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

.architecture-layer-card {
  min-height: 340px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--layer-color) 28%, transparent), transparent 40%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.architecture-layer-card.is-active {
  border-color: var(--ink);
  box-shadow:
    0 24px 54px rgba(23, 25, 22, 0.12),
    inset 0 0 0 4px color-mix(in srgb, var(--layer-color) 58%, transparent);
}

.architecture-layer-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.architecture-layer-card-head em {
  padding: 6px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--layer-color) 42%, #fffef9);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.architecture-layer-card h3 {
  margin: 44px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.architecture-layer-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.72;
}

.architecture-layer-priority,
.architecture-core-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.priority-count,
.architecture-core-links a {
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 22, 0.1);
}

.priority-count {
  background: var(--paper-deep);
}

.architecture-layer-actions {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.architecture-layer-actions small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.chatgpt-anatomy {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.chatgpt-phone {
  min-height: 520px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 8px 9px 0 var(--lime);
}

.chatgpt-phone > span {
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.chat-message {
  margin-top: 24px;
  padding: 16px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-message.user {
  margin-left: 36px;
  background: rgba(255, 255, 255, 0.12);
}

.chat-message.system {
  margin-right: 22px;
  background: rgba(200, 244, 93, 0.16);
}

.chat-input {
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

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

.product-concept-card {
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-concept-card:hover {
  border-color: var(--ink);
  box-shadow: 0 18px 36px rgba(23, 25, 22, 0.1);
  transform: translateY(-3px);
}

.product-concept-card strong {
  margin-top: auto;
  font-size: 17px;
  line-height: 1.28;
}

.product-concept-card p {
  margin: 10px 0 14px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.68;
}

.product-concept-card small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.product-concept-card svg {
  width: 12px;
  height: 12px;
}

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

.priority-column {
  min-height: 360px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.priority-column.priority-must {
  background: var(--lime-soft);
}

.priority-column.priority-practical {
  background: var(--blue-soft);
}

.priority-column.priority-builder {
  background: var(--orange-soft);
}

.priority-column.priority-deep {
  background: #f5e8f1;
}

.priority-column p {
  min-height: 78px;
  margin: 16px 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.68;
}

.priority-column div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.priority-column a {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 22, 0.1);
}

.concept-section-head {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: end;
  gap: 70px;
}

.section-kicker {
  display: block;
  margin-bottom: 12px;
  color: #797d72;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.concept-section-head h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.concept-section-head > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.system-map {
  padding: 16px;
  overflow: hidden;
  border-radius: 30px;
  color: #f6f5ef;
  background:
    radial-gradient(circle at 70% 10%, rgba(215, 202, 255, 0.17), transparent 30%),
    radial-gradient(circle at 18% 80%, rgba(223, 245, 164, 0.1), transparent 32%),
    #171916;
  box-shadow: 0 28px 80px rgba(23, 25, 22, 0.18);
}

.system-map-topbar {
  min-height: 52px;
  padding: 0 10px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #aeb2a6;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 15px;
  letter-spacing: 0;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend i {
  width: 14px;
  height: 5px;
  display: inline-block;
  border-radius: 99px;
}

.legend-contain {
  background: var(--lime);
}

.legend-connect {
  background: #b9ddff;
}

.legend-limit {
  background: #ffc9b8;
}

.system-map-stage {
  padding: 18px 18px 34px;
  display: grid;
  grid-template-columns: 145px 34px minmax(0, 1fr) 34px 145px;
  align-items: center;
  gap: 10px;
  perspective: 1400px;
}

.system-entry {
  min-height: 170px;
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.system-entry .system-step {
  width: fit-content;
  margin-bottom: auto;
  padding: 5px 8px;
  border-radius: 99px;
  color: #171916;
  background: var(--lime);
  font-size: 9px;
  font-weight: 900;
}

.system-output .system-step {
  background: #b9ddff;
}

.system-entry strong {
  margin-bottom: 7px;
  font-size: 17px;
}

.system-entry p {
  margin: 0;
  color: #adb1a5;
  font-size: 10px;
  line-height: 1.6;
}

.system-flow-arrow {
  display: grid;
  place-items: center;
  color: #7d8276;
}

.system-flow-arrow svg {
  width: 22px;
  height: 22px;
}

.harness-shell {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  color: var(--ink);
  background: #f5f2e9;
  box-shadow:
    0 11px 0 #777f6b,
    0 22px 0 rgba(223, 245, 164, 0.24),
    0 34px 65px rgba(0, 0, 0, 0.35);
  transform: rotateX(1.2deg);
  transform-origin: center bottom;
}

.harness-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 1px solid rgba(223, 245, 164, 0.35);
  border-radius: 30px;
  pointer-events: none;
}

.harness-shell-head {
  min-height: 105px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: end;
  gap: 28px;
  border-bottom: 1px solid #c9c9c0;
  border-radius: 23px 23px 0 0;
  background: var(--lime);
}

.harness-shell-head span {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.harness-shell-head a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.harness-shell-head p {
  max-width: 510px;
  margin: 0;
  color: #474b42;
  font-size: 11px;
  line-height: 1.65;
}

.harness-inside {
  padding: 16px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  grid-template-areas:
    "agent skills"
    "agent tools"
    "context safety"
    "engine engine";
  gap: 10px;
}

.harness-agent-core,
.harness-module,
.model-engine {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d5d4cb;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.86);
}

.harness-agent-core {
  grid-area: agent;
  display: flex;
  flex-direction: column;
  background: #201f24;
  color: #fff;
}

.harness-module-skills {
  grid-area: skills;
}

.harness-module-tools {
  grid-area: tools;
}

.harness-module-context {
  grid-area: context;
}

.harness-module-safety {
  grid-area: safety;
  background: #fff0e9;
}

.model-engine {
  grid-area: engine;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) minmax(220px, 0.7fr);
  align-items: center;
  gap: 14px;
  background: #e8e3f8;
}

.module-label {
  display: block;
  margin-bottom: 10px;
  color: #777b70;
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.harness-agent-core .module-label {
  color: #9fa399;
}

.harness-agent-core > p,
.harness-module > p,
.model-engine > p {
  margin: 10px 0 0;
  color: #6b6f65;
  font-size: 9px;
  line-height: 1.55;
}

.harness-agent-core > p {
  color: #b7bbb0;
}

.concept-node {
  min-width: 0;
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  border: 1px solid #d3d2ca;
  border-radius: 10px;
  background: #fff;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.concept-node:hover {
  border-color: var(--ink);
  box-shadow: 0 7px 16px rgba(23, 25, 22, 0.1);
  transform: translateY(-2px);
}

.concept-node strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.concept-node span {
  flex: 0 0 auto;
  color: #898c82;
  font-size: 8px;
}

.concept-node-primary {
  padding: 14px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  background: #34323a;
}

.concept-node-primary strong {
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.concept-node-primary span {
  color: #c9c6d0;
}

.module-node-pair,
.module-node-row {
  display: grid;
  gap: 7px;
}

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

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

.agent-loop {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.agent-loop span {
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  color: #d8dbd2;
  font-size: 8px;
}

.agent-loop b {
  color: var(--lime);
  font-size: 10px;
}

.model-engine .module-label {
  margin: 0;
}

.model-engine-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.concept-node-model {
  border-color: #bdb7d2;
  background: #f8f6ff;
}

.engine-plus {
  color: #716b7c;
  font-weight: 900;
}

.model-engine > p {
  margin: 0;
}

.concept-formulas {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  gap: 14px;
}

.concept-formulas article {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.concept-formulas article > span {
  color: #777b70;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
}

.concept-formulas h3 {
  margin: 24px 0 13px;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.055em;
}

.concept-formulas h3 a {
  text-decoration: underline;
  text-decoration-color: rgba(23, 25, 22, 0.18);
  text-underline-offset: 5px;
}

.concept-formulas p {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.7;
}

.concept-formulas small {
  margin-top: auto;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.65;
}

.concept-formulas .formula-featured {
  color: white;
  background: var(--ink);
  box-shadow: 8px 9px 0 var(--lime);
}

.formula-featured > span,
.formula-featured small {
  color: #b7bbae;
}

.formula-featured h3 a {
  text-decoration-color: rgba(223, 245, 164, 0.45);
}

.concepts-library {
  padding: 82px 0 110px;
}

.dictionary-section-head {
  margin-bottom: 36px;
}

.concept-layer-list {
  display: grid;
  gap: 16px;
}

.concept-layer {
  min-height: 260px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.concept-layer-intro {
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--layer-color);
}

.concept-layer-intro::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(23, 25, 22, 0.13);
  border-radius: 50%;
}

.concept-layer-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.concept-layer-number {
  color: rgba(23, 25, 22, 0.5);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 850;
}

.concept-layer-label {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 850;
}

.concept-layer h3 {
  position: relative;
  z-index: 1;
  margin: auto 0 10px;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.concept-layer-intro p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #55594f;
  font-size: 10px;
  line-height: 1.65;
}

.concept-layer-count {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid rgba(23, 25, 22, 0.13);
}

.concept-layer-count strong {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.06em;
}

.concept-layer-count span {
  color: rgba(23, 25, 22, 0.58);
  font-size: 10px;
  font-weight: 800;
}

.concept-layer-terms {
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 16px;
}

.layer-term-group {
  display: grid;
  gap: 8px;
}

.layer-term-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.layer-term-group-label span {
  color: #55594f;
  font-size: 11px;
  font-weight: 900;
}

.layer-term-group-label em {
  color: #85887e;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.layer-term-grid {
  display: grid;
  gap: 8px;
}

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

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

.layer-term {
  min-width: 0;
  min-height: 74px;
  padding: 13px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 15px;
  align-items: start;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf6;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.layer-term:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}

.layer-term.is-core {
  min-height: 145px;
  padding: 16px;
  border-color: rgba(23, 25, 22, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), transparent 56%),
    color-mix(in srgb, var(--layer-color) 34%, #fffef9);
}

.layer-term.is-main-path {
  box-shadow: inset 0 0 0 1px rgba(23, 25, 22, 0.12);
}

.layer-term-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #969990;
  background: rgba(255, 255, 255, 0.65);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 900;
}

.layer-term-copy {
  min-width: 0;
}

.layer-term-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.layer-term-title strong,
.layer-term-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.layer-term-title strong {
  font-size: 12px;
}

.layer-term.is-core .layer-term-title strong {
  font-size: 15px;
}

.layer-term-title em {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 99px;
  color: #4e5248;
  background: rgba(255, 255, 255, 0.62);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.layer-term-copy small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8px;
}

.layer-term-copy p {
  margin: 13px 0 0;
  color: rgba(23, 25, 22, 0.66);
  font-size: 10px;
  line-height: 1.55;
}

.layer-term svg {
  width: 13px;
  height: 13px;
  margin-top: 7px;
}

.concept-dictionary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dictionary-card {
  min-height: 320px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.dictionary-card:hover {
  box-shadow: 0 18px 44px rgba(23, 25, 22, 0.1);
  transform: translateY(-5px);
}

.dictionary-card .concept-number {
  margin-bottom: 45px;
}

.dictionary-card-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.dictionary-card-title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.055em;
}

.dictionary-card-title > span {
  color: var(--ink-soft);
  font-size: 12px;
}

.dictionary-card > p {
  max-width: 520px;
  margin: 12px 0 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.dictionary-tags {
  margin-bottom: 24px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.dictionary-tags span {
  padding: 5px 8px;
  border-radius: 99px;
  color: #5f6358;
  background: var(--paper-deep);
  font-size: 9px;
  font-weight: 750;
}

.dictionary-card .text-link {
  width: fit-content;
  margin-top: auto;
}

.concept-detail-hero {
  position: relative;
  padding-bottom: 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.concept-detail-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 10px;
  right: 6%;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.55;
}

.concept-detail-number {
  margin: 58px 0 18px;
  display: block;
  color: #7e8178;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.concept-detail-hero h1 {
  margin: 10px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(66px, 10vw, 120px);
  letter-spacing: -0.09em;
  line-height: 0.85;
}

.concept-detail-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.8;
}

.concept-detail-hero .concept-hero-summary {
  max-width: 780px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.concept-detail-hero .concept-hero-detail {
  max-width: 760px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.concept-hero-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.concept-hero-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(36, 38, 32, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  color: #65685f;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.concept-explanation {
  padding: 74px 0 110px;
}

.concept-explanation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 80px;
}

.concept-main {
  min-width: 0;
}

.concept-main h2 {
  max-width: 750px;
  margin: 14px 0 36px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 55px);
  letter-spacing: -0.06em;
  line-height: 1.18;
}

.concept-takeaway {
  margin: 8px 0 12px;
  padding: 24px 26px;
  border-left: 4px solid var(--ink);
  border-radius: 0 16px 16px 0;
  background: var(--lime);
}

.concept-takeaway span {
  display: block;
  margin-bottom: 9px;
  color: #55594f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concept-takeaway p {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.7;
}

.concept-core-insight {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid rgba(36, 38, 32, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(36, 38, 32, 0.92), rgba(36, 38, 32, 0.78)),
    var(--ink);
  color: var(--white);
}

.concept-core-insight > span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(200, 244, 93, 0.18);
  color: var(--lime);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concept-core-insight strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.4vw, 42px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.concept-core-insight p {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.85;
}

.concept-core-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.concept-core-links a {
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 12px;
  font-weight: 850;
}

.concept-core-links svg {
  width: 13px;
  height: 13px;
}

.concept-illustration-card {
  margin-top: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  gap: 18px;
  border: 1px solid rgba(23, 25, 22, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 0, rgba(200, 244, 93, 0.3), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(185, 221, 255, 0.24), transparent 30%),
    var(--white);
  box-shadow: 0 20px 54px rgba(23, 25, 22, 0.09);
}

.concept-illustration-copy,
.concept-illustration-graphic {
  min-width: 0;
  border-radius: 20px;
}

.concept-illustration-copy {
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--white);
}

.concept-illustration-copy > span {
  width: fit-content;
  margin-bottom: auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.concept-illustration-copy h3 {
  margin: 64px 0 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.concept-illustration-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.78;
}

.concept-illustration-summary {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.concept-illustration-summary div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.concept-illustration-summary strong,
.concept-illustration-summary small {
  display: block;
}

.concept-illustration-summary strong {
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 12px;
}

.concept-illustration-summary small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  line-height: 1.55;
}

.concept-illustration-graphic {
  min-height: 360px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    #f8f8f2;
  background-size: 28px 28px;
}

.concept-illustration-graphic > small {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.concept-logic-board {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(23, 25, 22, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0, color-mix(in srgb, var(--logic-color, var(--lime)) 34%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 242, 0.96));
  box-shadow: 0 22px 60px rgba(23, 25, 22, 0.08);
  overflow: hidden;
}

.concept-logic-head {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: 20px;
}

.concept-logic-head span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--logic-color, var(--lime));
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.concept-main .concept-logic-head h3 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.06em;
  line-height: 1.08;
}

.concept-logic-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.concept-logic-map {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.12fr) 36px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    rgba(255, 254, 249, 0.86);
  background-size: 24px 24px;
}

.logic-node {
  min-width: 0;
  min-height: 190px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 25, 22, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(23, 25, 22, 0.06);
}

.logic-node span {
  width: fit-content;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--logic-color, var(--lime)) 76%, #fffef9);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.logic-node strong {
  margin-top: auto;
  font-size: 17px;
  line-height: 1.25;
}

.logic-node p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.62;
}

.logic-node-core {
  border-color: rgba(23, 25, 22, 0.72);
  background:
    radial-gradient(circle at 90% 8%, color-mix(in srgb, var(--logic-color, var(--lime)) 36%, transparent), transparent 42%),
    var(--ink);
  color: var(--white);
  box-shadow:
    0 14px 34px rgba(23, 25, 22, 0.2),
    0 0 0 4px color-mix(in srgb, var(--logic-color, var(--lime)) 34%, transparent);
}

.logic-node-core span {
  color: var(--ink);
  background: var(--logic-color, var(--lime));
}

.logic-node-core p {
  color: rgba(255, 255, 255, 0.72);
}

.logic-arrow {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 25px;
  font-weight: 900;
}

.concept-legend-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.legend-card {
  min-width: 0;
  min-height: 142px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 25, 22, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.legend-card span {
  color: var(--ink-soft);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legend-card strong {
  margin-top: auto;
  font-size: 13px;
  line-height: 1.35;
}

.legend-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.legend-card-layer {
  background: color-mix(in srgb, var(--logic-color, var(--lime)) 22%, #fffef9);
}

.legend-card-warning {
  background: color-mix(in srgb, var(--orange-soft) 44%, #fffef9);
}

.legend-card-risk {
  background: color-mix(in srgb, #ffd6d1 44%, #fffef9);
}

.concept-relation-strip {
  margin-top: 14px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border: 1px dashed rgba(23, 25, 22, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.concept-relation-strip span {
  margin-right: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 850;
}

.concept-relation-strip a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 11px;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(23, 25, 22, 0.12);
}

.concept-layer-journey {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(23, 25, 22, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--layer-color) 26%, transparent), transparent 44%),
    var(--white);
  box-shadow: 0 20px 52px rgba(23, 25, 22, 0.08);
}

.layer-journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px;
}

.concept-main .layer-journey-head h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.layer-journey-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.journey-priority {
  padding: 18px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.journey-priority strong,
.concept-priority-side-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 20px;
}

.journey-priority p,
.concept-priority-side-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.journey-progress {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(23, 25, 22, 0.1);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.74);
}

.journey-progress div {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.journey-progress span {
  color: #777b70;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.journey-progress strong {
  font-size: 12px;
}

.journey-progress i {
  position: relative;
  height: 10px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.08);
}

.journey-progress i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--journey-progress);
  border-radius: inherit;
  background: var(--ink);
}

.journey-nav-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
}

.concept-priority-side-card {
  background:
    linear-gradient(135deg, rgba(223, 245, 164, 0.28), transparent 48%),
    var(--white);
}

.journey-skip {
  margin-top: 14px;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid rgba(23, 25, 22, 0.1);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
}

.journey-skip svg {
  width: 12px;
  height: 12px;
}

/* The layer path is now the primary navigation. Keep the story copy as context,
   but remove its older duplicate previous/next controls. */
.concept-story-current .story-nav,
.concept-main > .concept-next-section:not(.concept-layer-next-section) {
  display: none;
}

.sketch-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}

.sketch-flow-node {
  position: relative;
  min-height: 160px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(23, 25, 22, 0.06);
}

.sketch-flow-node::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -14px;
  width: 18px;
  height: 2px;
  background: var(--ink);
  opacity: 0.24;
}

.sketch-flow-node:last-child::after {
  display: none;
}

.sketch-flow-node > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.sketch-flow-node strong {
  margin-top: auto;
  font-size: 15px;
  line-height: 1.25;
}

.sketch-flow-node p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.sketch-agent-loop .sketch-flow-node,
.sketch-tool-bridge .sketch-flow-node,
.sketch-safety .sketch-flow-node {
  background: color-mix(in srgb, var(--lime-soft) 54%, #fffef9);
}

.sketch-retrieval .sketch-flow-node {
  background: color-mix(in srgb, var(--blue-soft) 36%, #fffef9);
}

.sketch-context-stack {
  grid-template-columns: 1fr;
}

.sketch-context-stack .sketch-flow-node {
  min-height: 78px;
  display: grid;
  grid-template-columns: 40px minmax(0, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.sketch-context-stack .sketch-flow-node::after {
  top: auto;
  right: auto;
  bottom: -10px;
  left: 32px;
  width: 2px;
  height: 10px;
}

.sketch-context-stack .sketch-flow-node strong,
.sketch-context-stack .sketch-flow-node p {
  margin: 0;
}

.sketch-token-loop .sketch-flow-node {
  background: color-mix(in srgb, var(--orange-soft) 34%, #fffef9);
}

.sketch-sampling {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.sketch-sampling-head {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.sketch-sampling-head span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.sketch-sampling-head strong {
  font-size: 15px;
}

.sketch-bar-list {
  display: grid;
  gap: 9px;
}

.sketch-bar {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 42px 64px;
  align-items: center;
  gap: 10px;
}

.sketch-bar span,
.sketch-bar b,
.sketch-bar em {
  font-size: 10px;
}

.sketch-bar span {
  font-weight: 850;
}

.sketch-bar b {
  color: var(--ink);
  font-family: Consolas, monospace;
}

.sketch-bar em {
  color: #777b70;
  font-style: normal;
}

.sketch-bar i {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.08);
}

.sketch-bar i::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(var(--bar), 100%);
  border-radius: inherit;
  background: var(--lime);
}

.sketch-bar.is-excluded {
  opacity: 0.45;
}

.sketch-bar.is-excluded i::before {
  background: #9b9e95;
}

.sketch-temperature {
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
}

.temp-column {
  min-height: 240px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.temp-column span {
  grid-column: 1 / -1;
  align-self: start;
  font-size: 11px;
  font-weight: 900;
}

.temp-column i {
  min-height: 20px;
  border-radius: 999px 999px 4px 4px;
  background: var(--lime);
}

.temp-column.is-mid i {
  background: var(--blue-soft);
}

.temp-column.is-high i {
  background: var(--orange-soft);
}

.sketch-ai-map {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ai-map-node {
  position: relative;
  min-height: 145px;
  padding: 18px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(23, 25, 22, 0.07);
}

.ai-map-node::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 8px rgba(200, 244, 93, 0.18);
}

.ai-map-node.is-root {
  grid-column: 1 / -1;
  min-height: 132px;
  color: var(--white);
  background:
    radial-gradient(circle at 96% 0, rgba(200, 244, 93, 0.42), transparent 30%),
    var(--ink);
}

.ai-map-node.is-root::before {
  width: 52px;
  height: 52px;
  background: var(--lime);
}

.ai-map-node.is-model::before {
  background: var(--blue-soft);
}

.ai-map-node.is-generate::before {
  background: var(--orange-soft);
}

.ai-map-node.is-agent::before {
  background: #d7caff;
}

.ai-map-node strong {
  position: relative;
  z-index: 1;
  color: inherit;
  font-size: 18px;
}

.ai-map-node p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.ai-map-node.is-root p {
  color: rgba(255, 255, 255, 0.72);
}

.sketch-hallucination-check {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 12px;
}

.hallucination-answer,
.hallucination-source,
.hallucination-checks {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.hallucination-answer {
  display: grid;
  gap: 9px;
}

.hallucination-answer > span,
.hallucination-source > span {
  color: #6b6f64;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.claim-row {
  padding: 12px;
  border-radius: 14px;
  background: var(--lime-soft);
}

.claim-row.is-missing {
  background: #fff3cc;
}

.claim-row.is-conflict {
  background: #ffe1dc;
}

.claim-row strong,
.claim-row p {
  display: block;
}

.claim-row strong {
  font-size: 12px;
}

.claim-row p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.hallucination-source {
  display: flex;
  justify-content: center;
  flex-direction: column;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(200, 244, 93, 0.36), transparent 32%),
    var(--ink);
}

.hallucination-source span {
  color: var(--lime);
}

.hallucination-source strong {
  color: var(--white);
  font-size: 17px;
  line-height: 1.35;
}

.hallucination-source p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

.hallucination-checks {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hallucination-checks div {
  padding: 12px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--blue-soft) 28%, #fffef9);
}

.hallucination-checks span {
  color: #6c7166;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.hallucination-checks strong,
.hallucination-checks p {
  display: block;
}

.hallucination-checks strong {
  margin-top: 6px;
  font-size: 12px;
}

.hallucination-checks p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.sketch-window {
  display: grid;
  gap: 14px;
}

.window-stream {
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px dashed rgba(23, 25, 22, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.window-token {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 8px 16px rgba(23, 25, 22, 0.06);
}

.window-token.is-outside {
  color: #8f9288;
  background: rgba(23, 25, 22, 0.08);
  text-decoration: line-through;
  box-shadow: none;
}

.window-frame {
  padding: 18px;
  border: 2px solid var(--lime);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(200, 244, 93, 0.28), transparent 52%),
    var(--white);
  box-shadow: 0 16px 34px rgba(23, 25, 22, 0.08);
}

.window-frame > span,
.window-actions span,
.token-context-strip > span,
.token-prediction-card > span,
.token-output-strip > span,
.rag-question span,
.rag-answer span,
.tool-card span,
.agent-orbit-center span {
  display: block;
  margin-bottom: 10px;
  color: #6b6f64;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.window-frame div,
.token-context-strip div,
.token-output-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.window-frame b,
.token-context-strip b,
.token-output-strip b {
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--lime-soft);
  font-size: 12px;
}

.window-actions {
  padding: 16px;
  border-radius: 18px;
  color: var(--white);
  background: var(--ink);
}

.window-actions strong {
  color: var(--lime);
  font-size: 18px;
}

.sketch-harness-stack {
  display: grid;
  gap: 9px;
}

.harness-layer {
  position: relative;
  padding: 14px 16px 14px 54px;
  border: 1px solid rgba(23, 25, 22, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(200, 244, 93, calc(0.16 + var(--layer-index) * 0.015)), transparent 58%),
    var(--white);
  box-shadow: 0 9px 18px rgba(23, 25, 22, 0.05);
}

.harness-layer span {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.harness-layer strong,
.harness-layer p {
  display: block;
}

.harness-layer strong {
  font-size: 14px;
}

.harness-layer p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.sketch-token-diagram {
  display: grid;
  gap: 14px;
}

.token-context-strip,
.token-output-strip,
.token-prediction-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.token-prediction-card {
  display: grid;
  gap: 9px;
}

.token-candidate {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.token-candidate strong,
.token-candidate b {
  font-size: 11px;
}

.token-candidate b {
  color: #70746a;
  font-family: Consolas, monospace;
}

.token-candidate i {
  position: relative;
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 25, 22, 0.08);
}

.token-candidate i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--score);
  border-radius: inherit;
  background: #b9ddff;
}

.token-candidate.is-selected strong,
.token-candidate.is-selected b {
  color: var(--ink);
}

.token-candidate.is-selected i::before,
.token-output-strip b.is-new {
  background: var(--lime);
}

.token-output-strip b.is-new {
  box-shadow: 0 0 0 3px rgba(200, 244, 93, 0.28);
}

.sketch-rag-diagram {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.rag-question,
.rag-answer,
.rag-docs,
.rag-pipeline {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.rag-question,
.rag-answer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rag-question strong,
.rag-answer strong,
.tool-card strong,
.agent-orbit-center strong {
  font-size: 15px;
  line-height: 1.35;
}

.rag-docs {
  display: grid;
  gap: 8px;
}

.rag-docs div {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  background: var(--lime-soft);
}

.rag-docs .is-blocked {
  color: #7d8078;
  background: rgba(23, 25, 22, 0.08);
}

.rag-docs span {
  font-size: 10px;
  font-weight: 850;
}

.rag-pipeline {
  grid-row: span 2;
  display: grid;
  gap: 8px;
}

.rag-pipeline div {
  padding: 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue-soft) 28%, #fffef9);
}

.rag-pipeline span {
  color: #6c7166;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.rag-pipeline strong,
.rag-pipeline p {
  display: block;
}

.rag-pipeline strong {
  margin-top: 5px;
  font-size: 12px;
}

.rag-pipeline p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.sketch-tool-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.tool-card,
.tool-execution-list {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.tool-model {
  background: var(--lime-soft);
}

.tool-contract {
  background: #171914;
  color: var(--white);
}

.tool-contract span {
  color: var(--lime);
}

.tool-contract strong {
  color: var(--white);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.tool-execution-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tool-execution-list div {
  padding: 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue-soft) 26%, #fffef9);
}

.tool-execution-list strong,
.tool-execution-list p {
  display: block;
}

.tool-execution-list strong {
  font-size: 12px;
}

.tool-execution-list p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.tool-result {
  grid-column: 1 / -1;
  background: var(--orange-soft);
}

.sketch-agent-orbit {
  min-height: 350px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.agent-orbit-center {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 174px;
  min-height: 116px;
  padding: 18px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(23, 25, 22, 0.18);
  border-radius: 24px;
  background: var(--ink);
  color: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 22px 44px rgba(23, 25, 22, 0.18);
}

.agent-orbit-center span {
  color: var(--lime);
}

.agent-orbit-node {
  min-height: 148px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.agent-orbit-node span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.agent-orbit-node strong {
  margin-top: auto;
  font-size: 15px;
}

.agent-orbit-node p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.sketch-safety-gate {
  display: grid;
  gap: 14px;
}

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

.safety-lane {
  position: relative;
  min-height: 128px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(23, 25, 22, 0.06);
}

.safety-lane::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 2;
  width: 18px;
  height: 2px;
  background: var(--ink);
  opacity: 0.34;
}

.safety-lane:last-child::after {
  display: none;
}

.safety-lane span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.safety-lane strong {
  margin-top: auto;
  font-size: 15px;
}

.safety-lane p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.safety-gate-board {
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0, rgba(200, 244, 93, 0.24), transparent 46%),
    var(--ink);
}

.safety-gate-card {
  min-height: 116px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.safety-gate-card span {
  width: fit-content;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 10px;
  font-weight: 900;
}

.safety-gate-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1.55;
}

.safety-gate-card.is-confirm span {
  background: var(--orange-soft);
}

.safety-gate-card.is-isolate span {
  background: var(--blue-soft);
}

.safety-gate-card.is-block span {
  color: var(--white);
  background: #e05353;
}

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

.safety-checkline div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(200, 244, 93, 0.24), transparent 44%),
    var(--white);
}

.safety-checkline span {
  color: #6c7166;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.safety-checkline strong,
.safety-checkline p {
  display: block;
}

.safety-checkline strong {
  margin-top: 7px;
  font-size: 12px;
}

.safety-checkline p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.sketch-multimodal {
  position: relative;
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.sketch-multimodal div {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.sketch-multimodal span {
  color: #7b7e75;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.sketch-multimodal strong {
  font-size: 18px;
}

.sketch-multimodal b {
  grid-column: 1 / -1;
  padding: 16px;
  border-radius: 16px;
  color: var(--ink);
  background: var(--lime);
  text-align: center;
  font-size: 13px;
}

.translation-notice {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(91, 117, 246, 0.22);
  border-radius: 16px;
  background: #eef2ff;
}

.translation-notice strong {
  display: block;
  margin-bottom: 7px;
  color: #32428c;
  font-size: 13px;
}

.translation-notice p {
  margin: 0;
  color: #4d5aa3;
  font-size: 12px;
  line-height: 1.7;
}

.concept-story-current {
  margin-top: 24px;
  padding: 26px;
  border: 1px solid rgba(23, 25, 22, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(200, 244, 93, 0.34), transparent 30%),
    var(--white);
}

.story-current-head {
  display: grid;
  gap: 8px;
}

.story-current-head span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--lime);
  background: var(--ink);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.story-current-head strong {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.concept-story-current > p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.story-bridge {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--lime);
  border-radius: 0 14px 14px 0;
  background: #f3f9e8;
}

.story-bridge span {
  display: block;
  margin-bottom: 8px;
  color: #5f7f28;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-bridge p {
  margin: 0;
  color: #52603e;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.75;
}

.story-nav {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.story-nav a,
.story-nav .is-disabled {
  min-height: 130px;
  padding: 18px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.story-nav a {
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.story-nav a:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--lime-soft);
  box-shadow: 0 16px 28px rgba(23, 25, 22, 0.09);
}

.story-nav a.is-next {
  border-color: rgba(36, 38, 32, 0.88);
  background:
    radial-gradient(circle at 100% 0, rgba(200, 244, 93, 0.45), transparent 32%),
    var(--ink);
  color: var(--white);
}

.story-nav a.is-next:hover {
  background:
    radial-gradient(circle at 100% 0, rgba(200, 244, 93, 0.58), transparent 36%),
    #171914;
}

.story-nav small {
  margin-bottom: auto;
  color: #777a70;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-nav strong {
  color: inherit;
  font-size: 17px;
}

.story-nav span {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 11px;
}

.story-nav a.is-next small {
  color: var(--lime);
}

.story-nav a.is-next span {
  color: rgba(255, 255, 255, 0.68);
}

.story-nav b {
  width: fit-content;
  margin-top: 14px;
  padding: 9px 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
}

.story-nav b svg {
  width: 13px;
  height: 13px;
}

.story-nav .is-disabled {
  opacity: 0.58;
}

.concept-main h3 {
  margin: 42px 0 12px;
  font-size: 22px;
}

.concept-main > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.concept-section {
  margin-top: 56px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.concept-section-label {
  display: inline-block;
  margin-top: -1px;
  padding: 9px 12px;
  color: #686b62;
  background: var(--paper-deep);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.concept-section h3 {
  margin-top: 28px;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.concept-section > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.concept-anatomy-section {
  margin-top: 46px;
}

.concept-official-section {
  padding: 28px;
  border: 1px solid rgba(23, 25, 22, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(200, 244, 93, 0.32), transparent 42%),
    var(--white);
}

.concept-official-section .concept-section-label {
  background: var(--ink);
  color: var(--lime);
}

.official-definition-grid {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.official-definition-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 254, 249, 0.78);
}

.official-definition-card > span {
  display: block;
  color: #7a7d73;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.official-definition-card h4 {
  margin: 8px 0 14px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.official-definition-card blockquote {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--lime);
  border-radius: 0 12px 12px 0;
  background: #f3f9e8;
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.65;
}

.official-definition-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
}

.official-definition-card a {
  width: fit-content;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.official-definition-card svg {
  width: 16px;
  height: 16px;
}

.concept-visual-section {
  padding: 28px;
  border: 1px solid #d7deca;
  border-radius: 22px;
  background:
    linear-gradient(rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    #f8f8f2;
  background-size: 28px 28px;
}

.concept-layer-visual {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.layer-visual-row {
  position: relative;
  min-height: 104px;
  padding: 18px 20px 18px 76px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(43, 49, 34, 0.05);
}

.layer-visual-row::after {
  content: "";
  position: absolute;
  left: 33px;
  bottom: -13px;
  width: 2px;
  height: 13px;
  background: #b7c0aa;
}

.layer-visual-row:last-child::after {
  display: none;
}

.layer-visual-row > span {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.layer-visual-row strong {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
}

.layer-visual-row p {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.layer-visual-row small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.concept-key-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.concept-key-points > div {
  min-height: 150px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.concept-key-points > div:last-child {
  border-right: 0;
}

.concept-key-points span {
  display: block;
  margin-bottom: 26px;
  color: #74776e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.concept-key-points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.concept-step-list,
.concept-misconceptions {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.concept-step-list {
  border-top: 1px solid var(--line);
}

.concept-step-list li {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.concept-step-list li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.concept-step-list p,
.concept-misconceptions p,
.concept-example-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.concept-example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.concept-example-grid > div {
  min-height: 140px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.concept-example-grid svg {
  width: 18px;
  height: 18px;
  margin-bottom: 28px;
}

.concept-misconceptions {
  gap: 10px;
}

.concept-misconceptions li {
  padding: 16px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  border-radius: 12px;
  background: #fff4ec;
}

.concept-misconceptions li > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(172, 75, 34, 0.25);
  border-radius: 50%;
  color: #9c4a28;
  font-weight: 900;
}

.concept-risk-section {
  padding: 28px;
  border: 1px solid rgba(172, 75, 34, 0.2);
  border-radius: 16px;
  background: var(--orange-soft);
}

.concept-risk-section .concept-section-label {
  margin: 0;
  color: #7e4028;
  background: rgba(255, 255, 255, 0.55);
}

.concept-risk-section h3 {
  margin-top: 22px;
}

.concept-risk-list {
  display: grid;
  gap: 10px;
}

.concept-risk-list p {
  margin: 0;
  padding: 14px 16px 14px 38px;
  position: relative;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  color: #70452f;
  font-size: 13px;
  line-height: 1.7;
}

.concept-risk-list p::before {
  content: "!";
  position: absolute;
  top: 14px;
  left: 15px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(112, 69, 47, 0.28);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.concept-diagram {
  position: relative;
  min-height: 510px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid #cfd4c4;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(210, 245, 119, 0.34) 0, rgba(210, 245, 119, 0.12) 24%, transparent 47%),
    linear-gradient(rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 130, 112, 0.08) 1px, transparent 1px),
    #f8f8f2;
  background-size: auto, 32px 32px, 32px 32px, auto;
}

.concept-diagram::before,
.concept-diagram::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 95px);
  height: 1px;
  background: #b9c0ac;
}

.concept-diagram::before {
  left: 0;
}

.concept-diagram::after {
  right: 0;
}

.diagram-column {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.diagram-core {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 190px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border: 8px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: var(--ink);
  box-shadow:
    0 0 0 1px #9ca68c,
    0 20px 50px rgba(34, 42, 24, 0.2);
}

.diagram-core::before,
.diagram-core::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid #f8f8f2;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 1px #8b956f;
}

.diagram-core::before {
  left: -15px;
}

.diagram-core::after {
  right: -15px;
}

.diagram-core span {
  margin-bottom: 12px;
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.diagram-core strong {
  max-width: 150px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.05em;
  line-height: 1;
  overflow-wrap: anywhere;
}

.diagram-core small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
}

.diagram-node {
  position: relative;
  min-height: 122px;
  padding: 18px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  border: 1px solid #d9ddcf;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(43, 49, 34, 0.06);
}

.diagram-column-left .diagram-node::after,
.diagram-column-right .diagram-node::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 25px;
  height: 1px;
  background: #aeb6a1;
}

.diagram-column-left .diagram-node::after {
  right: -25px;
}

.diagram-column-right .diagram-node::before {
  left: -25px;
}

.diagram-node span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
}

.diagram-node strong {
  display: block;
  padding-top: 3px;
  font-size: 14px;
}

.diagram-node p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.7;
}

.concept-scenario-flow {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.concept-scenario-flow > div {
  min-height: 155px;
  padding: 20px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-content: start;
  column-gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.concept-scenario-flow span {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-family: Consolas, monospace;
  font-size: 9px;
}

.concept-scenario-flow strong {
  margin-top: 4px;
  font-size: 14px;
}

.concept-scenario-flow p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.concept-scenario-result {
  margin-top: 10px;
  padding: 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
}

.concept-scenario-result strong {
  font-size: 12px;
}

.concept-scenario-result p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

.concept-compare-scroll {
  width: 100%;
  max-width: 100%;
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--white);
}

.concept-compare-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
}

.concept-compare-table th,
.concept-compare-table td {
  padding: 15px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.concept-compare-table th:last-child,
.concept-compare-table td:last-child {
  border-right: 0;
}

.concept-compare-table tr:last-child td {
  border-bottom: 0;
}

.concept-compare-table th {
  color: #686b62;
  background: var(--paper-deep);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.concept-compare-table td {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.concept-compare-table td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.concept-check-section ul {
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
}

.concept-check-section li {
  padding: 16px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  border: 1px solid rgba(84, 111, 39, 0.18);
  border-radius: 12px;
  background: #f3f9e8;
}

.concept-check-section svg {
  width: 17px;
  height: 17px;
  color: #5f7f28;
}

.concept-check-section p {
  margin: 0;
  color: #52603e;
  font-size: 12px;
  line-height: 1.7;
}

.concept-practice-section {
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--white);
}

.concept-practice-section .concept-section-label {
  margin-top: 0;
}

.concept-practice-section details {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.concept-practice-section summary {
  padding: 16px 0 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.concept-practice-section details p {
  margin: 8px 0 0;
  padding: 16px;
  border-radius: 10px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.concept-next-section {
  padding: 26px;
  border: 1px solid rgba(36, 38, 32, 0.14);
  border-radius: 26px;
  background: var(--white);
}

.concept-next-section h3 {
  margin-top: 12px;
}

.concept-next-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
}

.concept-next-card {
  min-height: 170px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
}

.concept-next-card small {
  margin-bottom: auto;
  color: #777a70;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concept-next-card strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.concept-next-card span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 760;
}

.concept-next-card p {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.75;
}

.concept-next-card b {
  width: fit-content;
  margin-top: 18px;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.concept-next-card svg {
  width: 14px;
  height: 14px;
}

.concept-next-card.is-next {
  border-color: rgba(36, 38, 32, 0.9);
  background:
    radial-gradient(circle at 100% 0, rgba(200, 244, 93, 0.46), transparent 32%),
    linear-gradient(135deg, #242620, #171914);
  color: var(--white);
  box-shadow: 0 24px 42px rgba(23, 25, 22, 0.12);
}

.concept-next-card.is-next small {
  color: var(--lime);
}

.concept-next-card.is-next span {
  color: rgba(255, 255, 255, 0.7);
}

.concept-next-card.is-prev {
  opacity: 0.92;
}

.concept-next-card.is-disabled {
  opacity: 0.55;
}

.concept-source-section .source-links {
  margin-top: 20px;
}

.concept-position-card dl {
  margin: 0;
}

.concept-position-card dl div {
  padding: 10px 0;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.concept-position-card dl div:last-child {
  border-bottom: 0;
}

.concept-position-card dt {
  color: #85887e;
  font-size: 10px;
}

.concept-position-card dd {
  margin: 0;
  text-align: right;
  font-size: 10px;
  font-weight: 800;
}

.concept-side {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 14px;
}

.concept-side-card {
  padding: 20px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.concept-side-card > span {
  margin-bottom: 7px;
  color: #7c7f75;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.concept-side-card a {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 750;
}

.concept-side-card a:last-child {
  border-bottom: 0;
}

.concept-side-card svg {
  width: 13px;
  height: 13px;
}

/* Pricing */

.pricing-hero {
  padding: 84px 0 50px;
  text-align: center;
}

.pricing-hero h1 {
  max-width: 820px;
  margin: 16px auto 18px;
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 78px);
  letter-spacing: -0.075em;
  line-height: 1;
}

.pricing-hero p {
  max-width: 610px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.billing-toggle {
  width: fit-content;
  margin: 30px auto 0;
  padding: 4px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper-deep);
}

.billing-toggle button {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 99px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.billing-toggle button.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(23, 25, 22, 0.08);
}

.pricing-section {
  padding: 20px 0 100px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.price-card.featured {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
  box-shadow: 10px 12px 0 var(--lime);
  transform: translateY(-8px);
}

.recommended-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--lime);
  font-size: 9px;
  font-weight: 900;
}

.price-name {
  font-size: 13px;
  font-weight: 850;
}

.price-description {
  min-height: 52px;
  margin: 10px 0 26px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.featured .price-description,
.featured .price-note,
.featured .price-list li {
  color: #b9bdaf;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.price strong {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.price span {
  padding-bottom: 5px;
  color: var(--ink-soft);
  font-size: 11px;
}

.featured .price span {
  color: #b9bdaf;
}

.price-note {
  min-height: 35px;
  margin: 8px 0 22px;
  color: #777a70;
  font-size: 10px;
}

.price-card .button {
  margin-bottom: 26px;
}

.featured .button {
  color: var(--ink);
  background: var(--lime);
}

.price-list {
  margin: 0;
  padding: 22px 0 0;
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.featured .price-list {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.price-list svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #739b18;
}

.featured .price-list svg {
  color: var(--lime);
}

.faq-section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 90px;
}

.faq-layout h2 {
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: 42px;
  letter-spacing: -0.055em;
}

.faq-layout > div > p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

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

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

.faq-question {
  width: 100%;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.faq-question svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 40px 22px 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.faq-item.is-open .faq-answer {
  max-height: 150px;
}

/* Footer */

.site-footer {
  color: #d6dbd0;
  background: #20231f;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 64px 0 54px;
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 0.7fr 1.2fr;
  gap: 56px;
}

.footer-brand {
  color: white;
}

.footer-lead p {
  margin: 18px 0 0;
  color: #8f968a;
  font-size: 13px;
  line-height: 1.7;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  color: #8f968a;
  font-size: 12px;
}

.footer-column strong {
  margin-bottom: 4px;
  color: #f3f5ef;
  font-size: 12px;
}

.footer-column a {
  transition: color 150ms ease;
}

.footer-column a:hover {
  color: var(--lime);
}

.newsletter-form {
  width: 100%;
  margin-top: 5px;
  display: flex;
  border-bottom: 1px solid #545b50;
}

.newsletter-form input {
  min-width: 0;
  padding: 10px 0;
  flex: 1;
  border: 0;
  outline: none;
  color: white;
  background: transparent;
  font-size: 12px;
}

.newsletter-form input::placeholder {
  color: #757d71;
}

.newsletter-form button {
  width: 34px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--lime);
  background: transparent;
  cursor: pointer;
}

.newsletter-form button svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #363b34;
  color: #737a70;
  font-size: 10px;
}

.footer-compliance {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: #737a70;
  font-size: 11px;
}

.footer-compliance[hidden] {
  display: none;
}

.footer-compliance a {
  transition: color 150ms ease;
}

.footer-compliance a:hover {
  color: var(--lime);
}

/* Overlays */

.search-overlay,
.modal-overlay,
.success-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: start center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.search-overlay.is-open,
.modal-overlay.is-open,
.success-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 25, 22, 0.56);
  backdrop-filter: blur(6px);
  cursor: default;
}

.search-panel {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 660px);
  max-height: min(680px, calc(100vh - 80px));
  margin-top: 10vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px) scale(0.98);
  transition: transform 180ms ease;
}

.search-overlay.is-open .search-panel {
  transform: translateY(0) scale(1);
}

.search-input-wrap {
  height: 64px;
  padding: 0 16px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.search-input-wrap svg {
  width: 21px;
  height: 21px;
  color: #777a70;
}

.search-input-wrap input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.key-button {
  border: 1px solid var(--line);
  cursor: pointer;
}

.search-results {
  max-height: 500px;
  padding: 10px;
  overflow-y: auto;
}

.search-group-label {
  padding: 8px 10px 6px;
  color: #85887e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-result {
  width: 100%;
  padding: 12px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-result:hover {
  background: var(--paper);
}

.search-result-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--result-color, var(--lime-soft));
  font-size: 12px;
  font-weight: 900;
}

.search-result strong {
  display: block;
  font-size: 13px;
}

.search-result span {
  color: var(--ink-soft);
  font-size: 10px;
}

.search-result > svg {
  width: 14px;
  height: 14px;
  color: #85887e;
}

.search-empty {
  padding: 50px 20px;
  color: var(--ink-soft);
  text-align: center;
  font-size: 13px;
}

.modal-overlay,
.success-overlay {
  place-items: center;
}

.subscribe-modal {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 510px);
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(0.97);
  transition: transform 180ms ease;
}

.modal-overlay.is-open .subscribe-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-accent {
  position: absolute;
  top: -70px;
  right: -60px;
  width: 210px;
  height: 210px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
}

.modal-accent svg {
  width: 50px;
  height: 50px;
  margin: 55px 55px 0 0;
}

.subscribe-modal .eyebrow {
  position: relative;
}

.subscribe-modal h2 {
  position: relative;
  max-width: 360px;
  margin: 13px 0 14px;
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.subscribe-modal > p {
  position: relative;
  max-width: 400px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.signup-form {
  margin-top: 28px;
}

.signup-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.signup-form label span {
  font-size: 11px;
  font-weight: 800;
}

.signup-form input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  background: white;
}

.signup-form input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 25, 22, 0.08);
}

.auth-link-button {
  width: 100%;
  margin-top: 10px;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.auth-link-button:hover {
  color: var(--ink);
}

.subscribe-modal small {
  margin-top: 12px;
  display: block;
  color: #85887e;
  font-size: 9px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast svg {
  width: 16px;
  height: 16px;
  color: var(--lime);
}

.success-dialog {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 440px);
  padding: 34px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(12px) scale(0.97);
  transition: transform 180ms ease;
}

.success-overlay.is-open .success-dialog {
  transform: translateY(0) scale(1);
}

.success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
}

.success-icon svg {
  width: 27px;
  height: 27px;
}

.success-dialog h2 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
}

.success-dialog p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.success-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Admin */

.admin-page {
  min-height: 70vh;
  background: var(--paper);
}

.admin-hero {
  padding: 86px 0 48px;
  color: #f9f7ef;
  background:
    linear-gradient(135deg, rgba(200, 244, 93, 0.12), transparent 38%),
    #171916;
}

.admin-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 36px;
  align-items: end;
}

.admin-hero h1 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
}

.admin-hero p {
  max-width: 620px;
  margin: 0;
  color: #c5cabd;
  font-size: 14px;
  line-height: 1.8;
}

.admin-empty-state {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.admin-account-panel {
  padding: 20px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-account-panel span {
  color: #9aa292;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-account-panel strong {
  word-break: break-word;
}

.admin-section {
  padding-top: 46px;
}

.admin-stat-grid {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-stat-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-stat-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
}

.admin-stat-grid strong {
  font-size: 30px;
}

.admin-table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.admin-table-head {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.admin-table-head h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
  vertical-align: middle;
}

.admin-table th {
  color: #7f8579;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table td strong {
  display: inline-block;
  max-width: 260px;
  word-break: break-word;
}

.admin-self {
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #2e3b12;
  background: var(--lime-soft);
  font-size: 9px;
  font-weight: 850;
}

.role-pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 10px;
  font-weight: 850;
}

.role-super_admin {
  border-color: rgba(200, 244, 93, 0.7);
  color: #2f3b16;
  background: var(--lime-soft);
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-row-actions .text-button {
  font-size: 11px;
}

.danger-text {
  color: #b33a32;
}

.text-button:disabled,
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-message {
  padding: 34px 22px;
  color: var(--ink-soft);
  font-size: 13px;
}

.admin-message.is-error {
  color: #9f2d25;
}

.account-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px);
}

.account-form {
  padding: 28px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.account-form h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.account-form label {
  display: grid;
  gap: 7px;
}

.account-form label span {
  font-size: 11px;
  font-weight: 850;
}

.account-form input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  outline: none;
  background: white;
}

.account-form input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23, 25, 22, 0.08);
}

/* Model capability map */

.models-page {
  background: var(--paper);
}

.models-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 98px;
  color: #f9f7ef;
  background:
    radial-gradient(circle at 82% 14%, rgba(200, 244, 93, 0.18), transparent 29%),
    radial-gradient(circle at 18% 92%, rgba(91, 117, 246, 0.2), transparent 32%),
    #171916;
}

.models-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.models-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
  align-items: center;
  gap: 72px;
}

.models-hero .eyebrow-line {
  color: var(--lime);
}

.models-hero h1 {
  max-width: 700px;
  margin: 24px 0 26px;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.3vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.models-hero h1 span {
  color: var(--lime);
}

.models-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.9;
}

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

.models-hero .button-dark {
  color: var(--ink);
  background: var(--lime);
}

.models-hero .button-light {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.model-stack-visual {
  position: relative;
  min-height: 430px;
  perspective: 1100px;
}

.stack-card {
  position: absolute;
  right: 32px;
  width: min(100%, 430px);
  min-height: 116px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  color: var(--ink);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
  transform: rotateX(57deg) rotateZ(-8deg);
  transform-origin: center;
}

.stack-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stack-card strong {
  font-size: 17px;
  line-height: 1.5;
}

.stack-product {
  top: 6px;
  z-index: 3;
  background: var(--lime);
}

.stack-model {
  top: 114px;
  z-index: 2;
  background: #a9c8ff;
}

.stack-workflow {
  top: 222px;
  z-index: 1;
  background: #f7d58a;
}

.stack-orbit {
  position: absolute;
  z-index: 5;
  right: -8px;
  bottom: 10px;
  width: 126px;
  height: 126px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 25, 22, 0.72);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
}

.stack-orbit strong {
  color: var(--lime);
  font-size: 18px;
}

.model-clarifier-section {
  padding: 62px 0 0;
}

.model-clarifier {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 10px 12px 0 var(--ink);
}

.clarifier-question {
  padding: 38px 40px;
  color: #fff;
  background: var(--ink);
}

.clarifier-question span {
  color: var(--lime);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.clarifier-question h2 {
  margin: 17px 0 0;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.clarifier-answer {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 42px 1fr;
  align-items: stretch;
  gap: 12px;
}

.clarifier-item {
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
}

.clarifier-item > span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.clarifier-item.is-no > span {
  color: #a62d1b;
  background: #ffe0d7;
}

.clarifier-item.is-yes {
  background: #f0f8dc;
}

.clarifier-item.is-yes > span {
  color: #345100;
  background: var(--lime);
}

.clarifier-item strong {
  display: block;
  font-size: 19px;
}

.clarifier-item p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.clarifier-arrow {
  display: grid;
  place-items: center;
}

.clarifier-arrow svg {
  width: 26px;
  height: 26px;
}

.model-matrix-section,
.model-profiles-section {
  padding: 110px 0;
}

.model-profiles-section {
  padding-top: 10px;
}

.model-section-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.65fr);
  align-items: end;
  gap: 40px;
}

.model-section-heading h2 {
  max-width: 720px;
  margin: 13px 0 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.model-section-heading > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.model-matrix-shell {
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 26px;
  background: #20231f;
  box-shadow:
    0 9px 0 #6f7569,
    0 18px 0 rgba(23, 25, 22, 0.12),
    0 34px 80px rgba(23, 25, 22, 0.18);
}

.matrix-topbar {
  height: 54px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
}

.matrix-topbar > span {
  display: flex;
  gap: 7px;
}

.matrix-topbar i {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: #ff7056;
}

.matrix-topbar i:nth-child(2) {
  background: #ffd75a;
}

.matrix-topbar i:nth-child(3) {
  background: var(--lime);
}

.matrix-topbar strong {
  font-family: Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.matrix-topbar em {
  justify-self: end;
  font-size: 10px;
  font-style: normal;
}

.model-matrix-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: var(--lime) #343832;
}

.model-matrix-scroll::-webkit-scrollbar {
  height: 12px;
}

.model-matrix-scroll::-webkit-scrollbar-track {
  background: #343832;
}

.model-matrix-scroll::-webkit-scrollbar-thumb {
  border: 3px solid #343832;
  border-radius: 999px;
  background: var(--lime);
}

.model-matrix {
  min-width: 1160px;
  padding: 22px 18px 16px;
  display: grid;
  grid-template-columns: 190px repeat(var(--model-count), minmax(150px, 1fr));
  align-items: stretch;
}

.model-matrix-corner,
.model-column-head {
  min-height: 150px;
}

.model-matrix-corner {
  position: sticky;
  z-index: 6;
  left: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: rgba(255, 255, 255, 0.7);
  background: #20231f;
}

.model-matrix-corner span {
  margin-bottom: 9px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.model-matrix-corner strong {
  max-width: 135px;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.model-column-head {
  position: relative;
  z-index: 2;
  margin: 7px 7px 17px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  color: var(--ink);
  background: var(--model-color);
  box-shadow:
    0 8px 0 color-mix(in srgb, var(--model-color) 45%, #141612),
    0 17px 25px rgba(0, 0, 0, 0.32);
  transform: translateY(calc(var(--lift) * -1)) rotate(-0.5deg);
}

.model-column-head:nth-child(odd) {
  transform: translateY(calc(var(--lift) * -1)) rotate(0.6deg);
}

.model-column-head span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.model-column-head strong {
  margin: 7px 0 5px;
  font-size: 19px;
  line-height: 1.12;
}

.model-column-head small {
  color: rgba(23, 25, 22, 0.7);
  font-size: 10px;
  line-height: 1.4;
}

.model-dimension,
.model-matrix-cell {
  min-height: 87px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.model-dimension {
  position: sticky;
  z-index: 5;
  left: 0;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: #20231f;
  box-shadow: 12px 0 18px rgba(0, 0, 0, 0.15);
}

.model-dimension strong {
  font-size: 13px;
}

.model-dimension span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  line-height: 1.45;
}

.model-matrix-cell {
  margin: 0 3px;
  padding: 17px 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.025);
}

.model-matrix-cell:nth-child(14n + 9),
.model-matrix-cell:nth-child(14n + 10),
.model-matrix-cell:nth-child(14n + 11),
.model-matrix-cell:nth-child(14n + 12),
.model-matrix-cell:nth-child(14n + 13),
.model-matrix-cell:nth-child(14n + 14) {
  background: rgba(255, 255, 255, 0.05);
}

.model-score {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.model-score-dots {
  display: inline-flex;
  gap: 4px;
}

.model-score-dots i {
  width: 8px;
  height: 8px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  background: transparent;
}

.model-score-dots i.is-on {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200, 244, 93, 0.4);
}

.model-score strong {
  min-width: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.model-score.is-compact {
  flex-direction: column;
  gap: 7px;
}

.cost-pill {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 800;
}

.matrix-legend {
  min-height: 64px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.matrix-legend > span:first-child {
  display: flex;
  align-items: center;
  gap: 13px;
}

.matrix-legend .model-score strong {
  display: none;
}

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

.model-profile-card {
  position: relative;
  min-height: 470px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 7px 8px 0 var(--model-color);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.model-profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 13px 0 var(--model-color);
}

.model-profile-card::before {
  content: "";
  position: absolute;
  top: -85px;
  right: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--model-color);
  opacity: 0.45;
}

.model-profile-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.model-profile-top i {
  width: 13px;
  height: 13px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--model-color);
}

.model-profile-card h3 {
  position: relative;
  margin: 39px 0 14px;
  font-family: var(--font-display);
  font-size: 33px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.model-profile-summary {
  min-height: 74px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.model-profile-card dl {
  margin: 24px 0 26px;
  border-top: 1px solid var(--line);
}

.model-profile-card dl > div {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.model-profile-card dt {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
}

.model-profile-card dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.model-profile-card > a,
.media-model-card > a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
}

.model-profile-card > a svg,
.media-model-card > a svg {
  width: 16px;
  height: 16px;
}

.media-model-section {
  padding: 110px 0 120px;
  color: #fff;
  background: #171916;
}

.model-section-heading.is-light > p {
  color: rgba(255, 255, 255, 0.55);
}

.model-section-heading.is-light .eyebrow {
  color: var(--lime);
}

.media-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-model-card {
  min-height: 510px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--model-color) 16%, transparent), transparent 42%),
    #232621;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.media-model-card.is-discontinued {
  opacity: 0.68;
}

.media-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.media-card-head em {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--model-color);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0;
}

.is-discontinued .media-card-head em {
  color: #fff;
  background: #815044;
}

.media-model-card h3 {
  margin: 38px 0 14px;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.04em;
}

.media-model-card > p {
  min-height: 86px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  line-height: 1.75;
}

.media-scores {
  margin: 25px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.media-scores > div {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.media-scores > div > span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}

.media-scores .model-score {
  flex-direction: row;
}

.media-scores .model-score strong {
  display: none;
}

.media-access {
  margin-bottom: 23px;
}

.media-access span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.media-access strong {
  color: var(--model-color);
  font-size: 11px;
  line-height: 1.5;
}

.model-sources-section {
  padding: 80px 0 120px;
}

.model-sources-panel {
  padding: 38px 40px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  align-items: center;
  gap: 42px;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--lime-soft);
  box-shadow: 9px 10px 0 var(--ink);
}

.model-sources-panel h2 {
  margin: 13px 0 0;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.model-sources-panel p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.search-result-featured {
  background: var(--lime-soft);
}

.project-learning-spotlight {
  padding: 34px 0 74px;
  border-bottom: 1px solid var(--line);
}

.project-learning-spotlight.is-compact {
  padding: 0 0 66px;
}

.project-spotlight-card {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  align-items: center;
  gap: 46px;
  overflow: hidden;
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 89% 12%, rgba(200, 244, 93, 0.2), transparent 28%),
    #171916;
  box-shadow: 0 24px 70px rgba(23, 25, 22, 0.17);
}

.project-spotlight-copy > span,
.life-map-preview-head span,
.project-principle-grid article > span,
.project-phase-concepts > strong,
.project-phase-actions > strong,
.project-phase-deliverable > strong,
.project-scope-grid article > span {
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-spotlight-copy > span {
  color: var(--lime);
}

.project-spotlight-copy h2 {
  max-width: 560px;
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 52px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.project-spotlight-copy p {
  max-width: 580px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.78;
}

.project-spotlight-copy .button-dark {
  color: var(--ink);
  background: var(--lime);
}

.project-spotlight-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.project-spotlight-flow > div {
  position: relative;
  min-height: 144px;
  padding: 16px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
}

.project-spotlight-flow > div:nth-child(2),
.project-spotlight-flow > div:nth-child(5) {
  color: var(--ink);
  background: var(--lime);
}

.project-spotlight-flow span {
  color: rgba(255, 255, 255, 0.45);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.project-spotlight-flow > div:nth-child(2) span,
.project-spotlight-flow > div:nth-child(5) span {
  color: rgba(23, 25, 22, 0.56);
}

.project-spotlight-flow strong {
  font-size: 13px;
  line-height: 1.35;
}

.project-spotlight-flow i {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -12px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  transform: translateY(-50%);
}

.project-lab-page {
  background: var(--paper);
}

.project-lab-hero {
  padding: 58px 0 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 6%, rgba(200, 244, 93, 0.18), transparent 31%),
    #171916;
}

.project-lab-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  align-items: center;
  gap: 72px;
}

.project-lab-hero .course-breadcrumbs,
.project-lab-hero .course-breadcrumbs a {
  color: rgba(255, 255, 255, 0.58);
}

.project-lab-hero .eyebrow-line {
  color: var(--lime);
}

.project-lab-hero h1 {
  margin: 20px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 132px);
  letter-spacing: -0.09em;
  line-height: 0.82;
}

.project-lab-hero-grid > div:first-child > p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.82;
}

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

.project-lab-hero-actions .button-dark {
  color: var(--ink);
  background: var(--lime);
}

.project-lab-hero-actions .button-light {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.life-map-preview {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #252922;
  background-size: 36px 36px;
  box-shadow: 15px 17px 0 rgba(200, 244, 93, 0.86);
}

.life-map-preview::before,
.life-map-preview::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 52% 48% 43% 57% / 44% 38% 62% 56%;
}

.life-map-preview::before {
  inset: 100px 112px 92px 78px;
  transform: rotate(-8deg);
}

.life-map-preview::after {
  inset: 140px 74px 134px 140px;
  transform: rotate(12deg);
}

.life-map-preview-head {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 26px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.life-map-preview-head span {
  color: rgba(255, 255, 255, 0.5);
}

.life-map-preview-head b {
  font-family: var(--font-display);
  font-size: 30px;
}

.life-map-region {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.16);
  filter: saturate(0.95);
}

.life-map-region.region-a {
  top: 126px;
  left: 70px;
  width: 210px;
  height: 188px;
  border-radius: 42% 58% 61% 39% / 45% 39% 61% 55%;
  background: rgba(200, 244, 93, 0.78);
  transform: rotate(-11deg);
}

.life-map-region.region-b {
  right: 58px;
  bottom: 96px;
  width: 265px;
  height: 214px;
  border-radius: 58% 42% 37% 63% / 49% 60% 40% 51%;
  background: rgba(255, 155, 118, 0.68);
  transform: rotate(9deg);
}

.life-map-region.region-c {
  top: 188px;
  left: 230px;
  width: 155px;
  height: 122px;
  border-radius: 64% 36% 52% 48% / 47% 61% 39% 53%;
  background: rgba(185, 221, 255, 0.7);
  transform: rotate(18deg);
}

.life-map-memory {
  position: absolute;
  z-index: 6;
  padding: 8px 10px 8px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 9px 22px rgba(23, 25, 22, 0.22);
}

.life-map-memory span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
}

.life-map-memory strong {
  font-size: 9px;
}

.life-map-memory.memory-a {
  top: 142px;
  left: 144px;
}

.life-map-memory.memory-b {
  right: 74px;
  bottom: 132px;
}

.life-map-memory.memory-c {
  top: 252px;
  right: 112px;
}

.life-map-preview > small {
  position: absolute;
  z-index: 6;
  right: 26px;
  bottom: 24px;
  left: 26px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
}

.project-start-section {
  padding: 62px 0 76px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(23, 25, 22, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 100% 44px;
}

.project-start-board {
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 34px;
  background:
    radial-gradient(circle at 94% 4%, rgba(200, 244, 93, 0.42), transparent 26%),
    var(--paper);
  box-shadow: 10px 12px 0 var(--ink);
}

.project-start-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 28px;
  align-items: end;
}

.project-start-head h2 {
  max-width: 850px;
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -0.075em;
  line-height: 0.98;
}

.project-start-head p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.78;
}

.project-tool-card {
  padding: 22px;
  border: 1px solid rgba(23, 25, 22, 0.14);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(23, 25, 22, 0.07);
}

.project-tool-card > strong,
.project-first-day-note strong {
  display: block;
  color: #6d7168;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-tool-card h3 {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.project-tool-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.66;
}

.project-tool-card div {
  display: grid;
  gap: 8px;
}

.project-tool-card a,
.project-start-linkbox a {
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 12px;
  color: var(--ink);
  background: var(--lime-soft);
  font-size: 10px;
  font-weight: 900;
}

.project-tool-card svg,
.project-start-linkbox svg {
  width: 13px;
  height: 13px;
}

.project-start-sequence {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.project-start-step {
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr) minmax(220px, 0.78fr);
  gap: 16px;
  align-items: stretch;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.project-start-step-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
}

.project-start-step-head > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.project-start-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.24;
}

.project-start-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.66;
}

.project-start-step pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: 18px;
  color: #e8eee3;
  background: #171916;
  font-family: Consolas, monospace;
  font-size: 11px;
  line-height: 1.62;
  white-space: pre-wrap;
}

.project-start-linkbox {
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 10px;
  border: 1px dashed rgba(23, 25, 22, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.project-start-step ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-start-step li {
  position: relative;
  padding: 0 0 10px 22px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.project-start-step li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(200, 244, 93, 0.2);
}

.project-start-step small {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: 14px;
  color: #5f654e;
  background: var(--lime-soft);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.58;
}

.project-first-day-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(23, 25, 22, 0.13);
  border-radius: 20px;
  color: var(--white);
  background: #171916;
}

.project-first-day-note strong {
  color: var(--lime);
}

.project-first-day-note p {
  max-width: 880px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

.project-step-directory {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 14px;
}

.project-step-index-card {
  min-height: 245px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(23, 25, 22, 0.13);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(23, 25, 22, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.project-step-index-card:hover,
.project-step-index-card:focus-visible {
  border-color: rgba(23, 25, 22, 0.36);
  transform: translateY(-3px);
  box-shadow: 8px 10px 0 rgba(23, 25, 22, 0.92);
}

.project-step-index-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-step-index-card-top span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
}

.project-step-index-card-top small {
  color: #6d7168;
  font-size: 10px;
  font-weight: 900;
}

.project-step-index-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.project-step-index-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.project-step-index-card strong {
  margin-top: auto;
  padding: 12px;
  border-radius: 14px;
  color: #5f654e;
  background: var(--lime-soft);
  font-size: 11px;
  line-height: 1.55;
}

.project-step-index-card em {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.project-step-index-card em svg {
  width: 14px;
  height: 14px;
}

.life-map-step-hero {
  padding: 54px 0 58px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 0%, rgba(200, 244, 93, 0.22), transparent 32%),
    #171916;
}

.life-map-step-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 36px;
  align-items: end;
}

.life-map-step-hero .course-breadcrumbs,
.life-map-step-hero .course-breadcrumbs a {
  color: rgba(255, 255, 255, 0.58);
}

.life-map-step-hero .eyebrow-line {
  color: var(--lime);
}

.life-map-step-hero h1 {
  max-width: 850px;
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6.6vw, 86px);
  letter-spacing: -0.08em;
  line-height: 0.94;
}

.life-map-step-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.78;
}

.life-map-step-status {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
}

.life-map-step-status span,
.life-map-step-panel-head span,
.life-map-step-visual > div:first-child > span {
  display: block;
  color: #6d7168;
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.life-map-step-status span {
  color: var(--lime);
}

.life-map-step-status strong {
  display: block;
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-size: 54px;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.life-map-step-status p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.life-map-step-shell {
  padding: 48px 0 78px;
  background:
    linear-gradient(rgba(23, 25, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 42px;
}

.life-map-step-layout {
  display: grid;
  grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.life-map-step-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.life-map-step-home,
.life-map-step-sidebar nav a {
  padding: 14px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.life-map-step-home {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 900;
}

.life-map-step-sidebar nav {
  display: grid;
  gap: 8px;
}

.life-map-step-sidebar nav a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.life-map-step-sidebar nav a span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper);
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.life-map-step-sidebar nav a strong {
  font-size: 11px;
  line-height: 1.35;
}

.life-map-step-sidebar nav a.is-active {
  border-color: var(--ink);
  background: var(--lime);
  box-shadow: 5px 6px 0 var(--ink);
}

.life-map-step-main {
  display: grid;
  gap: 18px;
}

.life-map-step-panel {
  padding: 26px;
  border: 1px solid rgba(23, 25, 22, 0.13);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(23, 25, 22, 0.06);
}

.life-map-step-goal {
  border-color: var(--ink);
  background:
    radial-gradient(circle at 96% 4%, rgba(200, 244, 93, 0.34), transparent 26%),
    var(--white);
  box-shadow: 8px 10px 0 var(--ink);
}

.life-map-step-panel-head h2,
.life-map-step-visual h2 {
  margin: 9px 0 0;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.life-map-step-panel p,
.life-map-step-visual p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.76;
}

.life-map-step-visual {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
  gap: 22px;
  align-items: stretch;
}

.life-map-client-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.life-map-client-flow div {
  min-height: 132px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(rgba(23, 25, 22, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 18px;
}

.life-map-client-flow small {
  color: #6d7168;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
}

.life-map-client-flow strong {
  font-size: 13px;
  line-height: 1.35;
}

.life-map-step-actions ol,
.life-map-step-panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.life-map-step-actions li,
.life-map-step-panel li {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.68;
}

.life-map-step-prompt pre {
  margin: 18px 0 0;
  padding: 20px;
  overflow-x: auto;
  border-radius: 20px;
  color: #e8eee3;
  background: #171916;
  font-family: Consolas, monospace;
  font-size: 12px;
  line-height: 1.72;
  white-space: pre-wrap;
}

.life-map-step-checklist {
  background: var(--lime-soft);
}

.life-map-step-avoid {
  background: #fff6ef;
}

.life-map-step-links > div {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.life-map-step-links a {
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(23, 25, 22, 0.12);
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.life-map-step-footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.life-map-step-footer-nav .button {
  max-width: 50%;
  justify-content: center;
}

@media (max-width: 980px) {
  .life-map-step-hero-grid,
  .life-map-step-layout,
  .life-map-step-visual {
    grid-template-columns: 1fr;
  }

  .life-map-step-sidebar {
    position: static;
  }

  .life-map-step-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .life-map-client-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-step-directory,
  .life-map-step-sidebar nav,
  .life-map-client-flow {
    grid-template-columns: 1fr;
  }

  .project-step-index-card {
    min-height: 0;
  }

  .life-map-step-hero {
    padding: 40px 0 44px;
  }

  .life-map-step-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .life-map-step-footer-nav {
    flex-direction: column;
  }

  .life-map-step-footer-nav .button {
    max-width: none;
    width: 100%;
  }
}

.project-lab-principle,
.project-lab-system-section,
.project-roadmap-section,
.project-mvp-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

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

.project-principle-grid article {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}

.project-principle-grid article:nth-child(1) {
  background: var(--lime-soft);
}

.project-principle-grid article:nth-child(2) {
  background: var(--blue-soft);
}

.project-principle-grid article:nth-child(3) {
  background: var(--orange-soft);
}

.project-principle-grid article > span {
  color: #777b70;
}

.project-principle-grid article > strong {
  max-width: 310px;
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.project-principle-grid p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.68;
}

.project-lab-system-section {
  background: var(--white);
}

.life-map-system-flow {
  padding: 24px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  border-radius: 28px;
  color: var(--white);
  background: #171916;
  scrollbar-width: thin;
}

.life-map-system-node {
  min-width: 128px;
  min-height: 190px;
  padding: 16px;
  display: flex;
  flex: 1 0 128px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.life-map-system-node.node-ai,
.life-map-system-node.node-output {
  color: var(--ink);
  background: var(--lime);
}

.life-map-system-node.node-human {
  color: var(--ink);
  background: #ffd4c3;
}

.life-map-system-node.node-data {
  color: var(--ink);
  background: #cfe9ff;
}

.life-map-system-node > span {
  color: rgba(255, 255, 255, 0.46);
  font-family: Consolas, monospace;
  font-size: 9px;
  font-weight: 900;
}

.life-map-system-node.node-ai > span,
.life-map-system-node.node-output > span,
.life-map-system-node.node-human > span,
.life-map-system-node.node-data > span {
  color: rgba(23, 25, 22, 0.5);
}

.life-map-system-node strong {
  margin-top: auto;
  font-size: 14px;
  line-height: 1.35;
}

.life-map-system-node p {
  margin: 9px 0 0;
  color: inherit;
  opacity: 0.68;
  font-size: 9px;
  line-height: 1.55;
}

.life-map-system-flow > i {
  min-width: 14px;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-family: Consolas, monospace;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.project-roadmap-section {
  background:
    linear-gradient(rgba(23, 25, 22, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 48px;
}

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

.project-phase-card {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(150px, 0.5fr) minmax(280px, 1.16fr) minmax(210px, 0.72fr);
  align-items: stretch;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.project-phase-card:nth-child(4n + 1) .project-phase-head > span {
  background: var(--lime);
}

.project-phase-card:nth-child(4n + 2) .project-phase-head > span {
  background: #cfe9ff;
}

.project-phase-card:nth-child(4n + 3) .project-phase-head > span {
  background: #ffd4c3;
}

.project-phase-card:nth-child(4n) .project-phase-head > span {
  background: #eee2f2;
}

.project-phase-head,
.project-phase-concepts,
.project-phase-actions,
.project-phase-deliverable {
  min-width: 0;
  padding: 18px;
  border-radius: 17px;
  background: var(--paper);
}

.project-phase-head {
  display: flex;
  flex-direction: column;
}

.project-phase-head > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.project-phase-head > div {
  margin-top: auto;
  padding-top: 26px;
}

.project-phase-head small {
  display: block;
  color: #777b70;
  font-size: 9px;
  line-height: 1.58;
}

.project-phase-head h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.project-phase-concepts > strong,
.project-phase-actions > strong,
.project-phase-deliverable > strong {
  display: block;
  margin-bottom: 16px;
  color: #777b70;
}

.project-phase-concepts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-phase-concepts a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 9px;
  font-weight: 850;
  transition: border-color 160ms ease, transform 160ms ease;
}

.project-phase-concepts a:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.project-phase-actions ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: project-action;
}

.project-phase-actions li {
  position: relative;
  min-height: 28px;
  padding: 0 0 11px 30px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
  counter-increment: project-action;
}

.project-phase-actions li::before {
  content: counter(project-action);
  position: absolute;
  top: 1px;
  left: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  font-family: Consolas, monospace;
  font-size: 8px;
  font-weight: 900;
}

.project-phase-deliverable {
  color: var(--white);
  background: #232620;
}

.project-phase-deliverable > strong {
  color: var(--lime);
}

.project-phase-deliverable p {
  margin: 0;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.68;
}

.project-mvp-section {
  padding-bottom: 110px;
  background: var(--white);
}

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

.project-scope-grid article {
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.project-scope-grid .scope-now {
  background: var(--lime);
  box-shadow: 8px 9px 0 var(--ink);
}

.project-scope-grid .scope-next {
  background: var(--blue-soft);
}

.project-scope-grid .scope-not-yet {
  background: #efefeb;
}

.project-scope-grid article > span {
  color: #65695f;
}

.project-scope-grid article > strong {
  margin-top: 50px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.project-scope-grid ul {
  margin: auto 0 0;
  padding: 28px 0 0;
  list-style: none;
}

.project-scope-grid li {
  padding: 9px 0;
  border-top: 1px solid rgba(23, 25, 22, 0.12);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
}

@media (max-width: 1050px) {
  .project-spotlight-card,
  .project-lab-hero-grid,
  .project-start-head {
    grid-template-columns: 1fr;
  }

  .project-spotlight-card {
    gap: 30px;
  }

  .project-start-step {
    grid-template-columns: 1fr;
  }

  .project-lab-hero-grid {
    gap: 46px;
  }

  .life-map-preview {
    width: min(100%, 680px);
  }

  .project-phase-card {
    grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  }

  .models-hero-grid {
    grid-template-columns: 1fr 390px;
    gap: 30px;
  }

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

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

  .model-sources-panel {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .model-sources-panel .button {
    justify-self: start;
  }

  .desktop-nav {
    gap: 18px;
  }

  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 40px;
  }

  .display-title {
    font-size: 58px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .visual-card {
    width: 92%;
  }

  .course-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 38px;
  }

  .teaching-standard-head,
  .usage-lab-head {
    grid-template-columns: 1fr;
  }

  .teaching-standard-grid,
  .usage-lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-hero-grid,
  .chatgpt-anatomy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .architecture-current-card {
    min-height: 260px;
  }

  .architecture-cycle,
  .priority-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-cycle article:nth-child(2)::after {
    display: none;
  }

  .system-active-role {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .system-active-role > p,
  .system-active-role > div {
    grid-column: 1 / -1;
  }

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

  .system-map-stage > .system-entry:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .system-map-stage > .system-output {
    grid-column: 2;
    grid-row: 1;
  }

  .system-map-stage > .harness-shell {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .system-map-stage > .system-flow-arrow {
    display: none;
  }

  .system-entry {
    min-height: 125px;
  }

  .home-concept-map,
  .concept-start-layout {
    grid-template-columns: 1fr;
  }

  .home-concept-map::before {
    display: none;
  }

  .home-concept-map-lead,
  .concept-start-lead {
    min-height: 280px;
  }

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

@media (max-width: 880px) {
  :root {
    --header-height: 68px;
  }

  .project-spotlight-flow {
    grid-template-columns: 1fr;
  }

  .project-spotlight-flow > div {
    min-height: 92px;
  }

  .project-spotlight-flow i {
    top: auto;
    right: 50%;
    bottom: -12px;
    transform: translateX(50%) rotate(90deg);
  }

  .project-principle-grid,
  .project-scope-grid {
    grid-template-columns: 1fr;
  }

  .project-principle-grid article,
  .project-scope-grid article {
    min-height: 200px;
  }

  .life-map-system-flow {
    flex-direction: column;
  }

  .life-map-system-node {
    min-height: 126px;
    flex-basis: auto;
  }

  .life-map-system-flow > i {
    min-height: 18px;
    transform: rotate(90deg);
  }

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

  .project-start-board {
    padding: 24px;
    border-radius: 28px;
    box-shadow: 7px 8px 0 var(--ink);
  }

  .project-start-step {
    padding: 16px;
  }

  .project-phase-head > div {
    margin-top: 0;
    padding-top: 22px;
  }

  .models-hero {
    padding: 70px 0 82px;
  }

  .models-hero-grid {
    grid-template-columns: 1fr;
  }

  .model-stack-visual {
    width: min(100%, 520px);
    min-height: 380px;
    margin: 0 auto;
  }

  .model-clarifier {
    grid-template-columns: 1fr;
  }

  .clarifier-answer {
    padding: 20px;
  }

  .model-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .model-profile-grid {
    grid-template-columns: 1fr;
  }

  .model-profile-card {
    min-height: 0;
  }

  .model-profile-summary {
    min-height: 0;
  }

  .model-sources-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 18px 24px 24px;
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 18px 30px rgba(23, 25, 22, 0.09);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-nav .button {
    margin-top: 12px;
  }

  .hero-grid,
  .course-hero-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 35px;
  }

  .home-hero {
    padding-top: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow-line {
    justify-content: center;
  }

  .display-title,
  .hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 560px);
    margin: 0 auto;
  }

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

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

  .capability-map-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .capability-map-summary {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

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

  .teaching-standard-grid,
  .usage-lab-grid {
    grid-template-columns: 1fr;
  }

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

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

  .home-concept-step:nth-child(3)::after {
    display: block;
  }

  .home-concept-step:nth-child(2)::after,
  .home-concept-step:nth-child(4)::after,
  .home-concept-step:nth-child(6)::after {
    display: none;
  }

  .concept-route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .beginner-path-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .path-logic-head span {
    margin-bottom: 18px;
  }

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

  .path-scope-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .manifesto-grid {
    gap: 30px;
  }

  .manifesto-mark {
    width: 260px;
    margin: 0 auto;
  }

  .course-hero-grid {
    gap: 20px;
  }

  .course-preview {
    min-height: 310px;
  }

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

  .course-sidebar {
    position: static;
  }

  .concepts-hero-grid,
  .concept-explanation-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .concept-section-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .architecture-layer-grid,
  .chatgpt-anatomy-grid,
  .layer-journey-head,
  .journey-nav-grid {
    grid-template-columns: 1fr;
  }

  .architecture-layer-card {
    min-height: 300px;
  }

  .architecture-layer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .architecture-learning-routes-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .system-layer-architecture {
    padding: 10px;
    border-radius: 24px;
  }

  .system-layer-topbar div {
    display: none;
  }

  .system-map-coordinate-guide {
    grid-template-columns: 1fr;
  }

  .system-map-coordinate-guide article {
    min-height: 122px;
  }

  .system-runtime-boundary {
    padding: 12px;
  }

  .area-safety {
    position: static;
    margin-bottom: 12px;
    display: block;
  }

  .area-safety .system-layer-module-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .area-safety .system-layer-module-main > span,
  .area-safety .system-layer-module-main em,
  .area-safety .system-layer-module-main strong,
  .area-safety .system-layer-module-main p {
    grid-column: auto;
    grid-row: auto;
  }

  .area-safety .system-layer-module-main em {
    margin-top: 10px;
  }

  .area-safety .system-layer-module-main strong {
    margin-top: 4px;
  }

  .area-safety .system-layer-module-main p {
    margin-top: 8px;
  }

  .area-safety .system-layer-concepts {
    padding: 0 14px 14px;
  }

  .area-orchestration,
  .area-control,
  .area-generation {
    width: 100%;
  }

  .system-runtime-core-grid,
  .system-build-time-feed,
  .system-active-role,
  .system-active-role > div,
  .architecture-card-index-head {
    grid-template-columns: 1fr;
  }

  .system-core-flow-note {
    padding: 12px 0;
    grid-template-columns: 1fr;
  }

  .system-core-flow-note b {
    transform: rotate(90deg);
  }

  .build-time-arrow {
    min-height: 110px;
  }

  .system-active-role > p,
  .system-active-role > div {
    grid-column: auto;
  }

  .architecture-card-index-head {
    align-items: start;
  }

  .concept-section-head > p {
    max-width: 620px;
  }

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

  .concept-illustration-copy h3 {
    margin-top: 34px;
  }

  .concept-illustration-graphic {
    min-height: 300px;
  }

  .concept-logic-head,
  .concept-logic-map {
    grid-template-columns: 1fr;
  }

  .logic-node {
    min-height: 132px;
  }

  .logic-arrow {
    min-height: 20px;
    transform: rotate(90deg);
  }

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

  .sketch-rag-diagram,
  .sketch-tool-diagram,
  .sketch-hallucination-check {
    grid-template-columns: 1fr;
  }

  .safety-lanes,
  .safety-gate-board,
  .safety-checkline,
  .hallucination-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safety-lane::after {
    display: none;
  }

  .rag-pipeline {
    grid-row: auto;
  }

  .concept-formulas {
    grid-template-columns: 1fr 1fr;
  }

  .concept-formulas .formula-featured {
    grid-column: 1 / -1;
  }

  .concept-layer {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .concept-layer h3 {
    font-size: 28px;
  }

  .concept-layer-terms {
    align-content: start;
  }

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

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

  .concept-side {
    position: static;
  }

  .concept-diagram {
    grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
    gap: 18px;
  }

  .diagram-core {
    width: 160px;
    height: 160px;
  }

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

  .lesson-content {
    max-width: none;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 0.7fr 0.7fr;
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .teaching-standard-panel,
  .course-usage-lab {
    margin-right: -8px;
    margin-left: -8px;
    padding: 22px;
    border-radius: 24px;
  }

  .teaching-standard-head h2,
  .usage-lab-head h2 {
    font-size: 34px;
  }

  .teaching-standard-flow {
    grid-template-columns: 1fr;
  }

  .usage-lab-stage pre {
    min-height: 0;
  }

  .project-learning-spotlight {
    padding: 24px 0 54px;
  }

  .project-learning-spotlight.is-compact {
    padding-bottom: 48px;
  }

  .project-spotlight-card {
    margin-right: -8px;
    margin-left: -8px;
    padding: 24px;
    border-radius: 24px;
  }

  .project-spotlight-copy h2 {
    font-size: 34px;
  }

  .project-lab-hero {
    padding: 42px 0 58px;
  }

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

  .project-lab-hero-grid > div:first-child > p {
    font-size: 13px;
  }

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

  .project-lab-hero-actions .button {
    justify-content: center;
  }

  .project-start-section {
    padding: 44px 0 56px;
  }

  .project-start-board {
    margin-right: -8px;
    margin-left: -8px;
    padding: 18px;
    border-radius: 24px;
  }

  .project-start-head h2 {
    font-size: 36px;
  }

  .project-tool-card h3 {
    font-size: 34px;
  }

  .project-start-step-head {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .project-start-step-head > span {
    width: 40px;
    height: 40px;
  }

  .life-map-preview {
    min-height: 410px;
    border-radius: 26px;
    box-shadow: 8px 9px 0 rgba(200, 244, 93, 0.86);
  }

  .life-map-preview::before {
    inset: 94px 56px 78px 38px;
  }

  .life-map-preview::after {
    inset: 124px 36px 110px 90px;
  }

  .life-map-region.region-a {
    top: 120px;
    left: 36px;
    width: 160px;
    height: 145px;
  }

  .life-map-region.region-b {
    right: 26px;
    bottom: 80px;
    width: 190px;
    height: 160px;
  }

  .life-map-region.region-c {
    top: 174px;
    left: 148px;
    width: 120px;
    height: 96px;
  }

  .life-map-memory.memory-a {
    top: 132px;
    left: 78px;
  }

  .life-map-memory.memory-b {
    right: 34px;
    bottom: 112px;
  }

  .life-map-memory.memory-c {
    top: 225px;
    right: 42px;
  }

  .project-lab-principle,
  .project-lab-system-section,
  .project-roadmap-section,
  .project-mvp-section {
    padding: 54px 0;
  }

  .life-map-system-flow {
    margin-right: -8px;
    margin-left: -8px;
    padding: 16px;
    border-radius: 22px;
  }

  .project-phase-card {
    padding: 12px;
    border-radius: 20px;
  }

  .project-phase-head,
  .project-phase-concepts,
  .project-phase-actions,
  .project-phase-deliverable {
    padding: 16px;
  }

  .project-scope-grid .scope-now {
    box-shadow: 6px 7px 0 var(--ink);
  }

  .models-hero {
    padding: 55px 0 70px;
  }

  .models-hero h1 {
    font-size: 52px;
  }

  .models-hero p {
    font-size: 14px;
  }

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

  .models-hero-actions .button {
    justify-content: center;
  }

  .model-stack-visual {
    min-height: 330px;
  }

  .stack-card {
    right: 10px;
    width: calc(100% - 20px);
    min-height: 98px;
    padding: 20px;
  }

  .stack-card strong {
    font-size: 14px;
  }

  .stack-product {
    top: 0;
  }

  .stack-model {
    top: 88px;
  }

  .stack-workflow {
    top: 176px;
  }

  .stack-orbit {
    right: 0;
    width: 100px;
    height: 100px;
  }

  .model-clarifier-section {
    padding-top: 40px;
  }

  .model-clarifier {
    border-radius: 22px;
    box-shadow: 6px 8px 0 var(--ink);
  }

  .clarifier-question {
    padding: 28px 24px;
  }

  .clarifier-question h2 {
    font-size: 28px;
  }

  .clarifier-answer {
    grid-template-columns: 1fr;
  }

  .clarifier-arrow {
    transform: rotate(90deg);
  }

  .model-matrix-section,
  .model-profiles-section {
    padding: 76px 0;
  }

  .model-profiles-section {
    padding-top: 0;
  }

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

  .model-matrix-shell {
    margin-right: -16px;
    margin-left: -16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 9px 0 #6f7569;
  }

  .matrix-topbar {
    padding: 0 16px;
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .matrix-topbar strong {
    justify-self: end;
  }

  .matrix-topbar em {
    display: none;
  }

  .model-matrix {
    min-width: 1070px;
    grid-template-columns: 154px repeat(var(--model-count), minmax(146px, 1fr));
  }

  .model-matrix-corner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .model-dimension {
    padding: 14px 12px;
  }

  .matrix-legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .model-profile-card {
    padding: 23px;
  }

  .media-model-section {
    padding: 80px 0 90px;
  }

  .media-model-grid {
    grid-template-columns: 1fr;
  }

  .media-model-card {
    min-height: 0;
  }

  .media-model-card > p {
    min-height: 0;
  }

  .model-sources-section {
    padding: 65px 0 90px;
  }

  .model-sources-panel {
    padding: 28px 24px;
    box-shadow: 6px 8px 0 var(--ink);
  }

  .container,
  .nav-wrap,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .search-trigger {
    border: 0;
    background: transparent;
  }

  .display-title {
    font-size: 47px;
  }

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

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .visual-card {
    min-height: 360px;
    padding: 18px;
    box-shadow: 9px 11px 0 rgba(23, 25, 22, 0.12);
  }

  .visual-lesson {
    padding-top: 20px;
  }

  .visual-lesson h3 {
    font-size: 21px;
  }

  .code-window {
    margin-top: 18px;
    padding: 14px;
  }

  .floating-label.label-one {
    right: 0;
  }

  .floating-label.label-two {
    left: 0;
  }

  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-logos {
    justify-content: flex-start;
    gap: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .course-grid,
  .library-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

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

  .home-concept-map {
    margin-right: -16px;
    margin-left: -16px;
    padding: 12px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .home-concept-map-lead {
    min-height: 330px;
    padding: 24px;
    border-radius: 20px;
  }

  .home-concept-map-lead strong {
    font-size: 36px;
  }

  .home-concept-flow {
    margin-right: -6px;
    padding: 4px 6px 12px 2px;
    grid-template-columns: none;
    grid-auto-columns: minmax(250px, 80vw);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .home-concept-step {
    min-height: 245px;
    scroll-snap-align: start;
  }

  .home-concept-step::after {
    display: none !important;
  }

  .concept-start-section {
    padding: 28px 0 52px;
  }

  .concept-start-lead {
    min-height: 300px;
    padding: 24px;
    box-shadow: 6px 7px 0 var(--lime);
  }

  .concept-route-grid {
    grid-template-columns: 1fr;
  }

  .concept-route-card {
    min-height: 220px;
  }

  .concept-route-card strong {
    margin-top: 36px;
  }

  .beginner-path-panel {
    padding: 12px;
    border-radius: 20px;
  }

  .beginner-path-panel > div:first-child strong {
    margin-top: 28px;
    font-size: 16px;
  }

  .beginner-path-panel > div:first-child p {
    font-size: 10px;
  }

  .beginner-path-rail {
    margin-right: -6px;
    padding: 2px 6px 10px 2px;
    grid-template-columns: none;
    grid-auto-columns: minmax(138px, 42vw);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .beginner-path-rail a {
    scroll-snap-align: start;
  }

  .path-logic-panel {
    padding: 12px;
    border-radius: 18px;
  }

  .path-logic-head {
    padding: 16px;
  }

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

  .path-logic-grid article {
    min-height: 145px;
  }

  .path-scope-note {
    padding: 14px;
  }

  .concept-card {
    min-height: 175px;
  }

  .concept-number {
    margin-bottom: 24px;
  }

  .path-card {
    min-height: 350px;
    padding: 27px;
  }

  .path-card h3 {
    font-size: 30px;
  }

  .path-footer {
    right: 27px;
    left: 27px;
  }

  .manifesto-points {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    min-height: 360px;
    padding: 35px 28px;
    align-items: flex-start;
    flex-direction: column;
    box-shadow: 7px 9px 0 var(--ink);
  }

  .cta-panel .button {
    margin-top: auto;
  }

  .page-hero {
    padding: 54px 0 42px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .catalog-count {
    display: none;
  }

  .filter-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .capability-map {
    padding: 24px 18px 18px;
    border-radius: 22px;
  }

  .capability-map-head h2 {
    font-size: 31px;
  }

  .capability-map-summary {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .capability-map-summary p {
    grid-column: 1 / -1;
  }

  .capability-map-grid {
    margin-right: -10px;
    padding: 4px 10px 14px 4px;
    grid-template-columns: none;
    grid-auto-columns: minmax(250px, 82vw);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .capability-card {
    min-height: 350px;
    scroll-snap-align: start;
  }

  .capability-card p,
  .capability-card small {
    max-width: none;
    margin-right: 18px;
  }

  .active-filter {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-hero-grid {
    padding-top: 28px;
  }

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

  .preview-shape {
    width: 240px;
    height: 240px;
  }

  .course-layout {
    padding-top: 42px;
  }

  .lesson-nav {
    grid-template-columns: 1fr;
  }

  .lesson-video {
    aspect-ratio: 4 / 3;
  }

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

  .lesson-actions .button {
    width: 100%;
  }

  .course-complete-panel {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .course-complete-panel .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .step-source-links {
    display: grid;
  }

  .step-source-links a {
    justify-content: space-between;
  }

  .lesson-objective,
  .step-source-box {
    padding: 17px;
  }

  .screenshot-callout {
    top: auto;
    right: 14px;
    bottom: 14px;
    left: auto;
  }

  .screenshot-callout::before {
    display: none;
  }

  .step-visual {
    min-height: 200px;
    padding: 25px;
  }

  .step-visual-number {
    font-size: 54px;
  }

  .concepts-hero {
    padding: 58px 0 45px;
  }

  .concept-story-section {
    padding: 58px 0 64px;
  }

  .story-path-shell {
    border-radius: 22px;
  }

  .story-path-topbar {
    min-height: auto;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .story-path {
    padding: 16px;
    grid-template-columns: repeat(var(--story-count), minmax(255px, 78vw));
  }

  .story-card {
    min-height: 365px;
    padding: 18px;
  }

  .concepts-distinction,
  .concept-dictionary-grid {
    grid-template-columns: 1fr;
  }

  .concept-architecture {
    padding: 58px 0 65px;
  }

  .system-map {
    padding: 9px;
    border-radius: 22px;
  }

  .system-map-topbar {
    padding: 0 8px;
  }

  .map-legend {
    display: none;
  }

  .system-map-stage {
    padding: 10px 8px 28px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .system-map-stage > .system-entry:first-child,
  .system-map-stage > .system-output,
  .system-map-stage > .harness-shell {
    grid-column: 1;
  }

  .system-map-stage > .system-entry:first-child {
    grid-row: 1;
  }

  .system-map-stage > .system-flow-arrow:nth-child(2) {
    grid-row: 2;
  }

  .system-map-stage > .harness-shell {
    grid-row: 3;
  }

  .system-map-stage > .system-flow-arrow:nth-child(4) {
    grid-row: 4;
  }

  .system-map-stage > .system-output {
    grid-row: 5;
  }

  .system-map-stage > .system-flow-arrow {
    display: grid;
    transform: rotate(90deg);
  }

  .system-entry {
    min-height: 115px;
  }

  .harness-shell {
    box-shadow:
      0 8px 0 #777f6b,
      0 15px 0 rgba(223, 245, 164, 0.24),
      0 26px 45px rgba(0, 0, 0, 0.3);
    transform: none;
  }

  .harness-shell-head {
    padding: 20px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .harness-inside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "agent agent"
      "skills safety"
      "tools context"
      "engine engine";
  }

  .model-engine {
    grid-template-columns: 1fr;
  }

  .model-engine .module-label {
    margin-bottom: 2px;
  }

  .harness-module .module-node-pair,
  .harness-module .module-node-row {
    grid-template-columns: 1fr;
  }

  .harness-module > p {
    display: none;
  }

  .harness-module .concept-node {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .concept-formulas {
    grid-template-columns: 1fr;
  }

  .concept-formulas .formula-featured {
    grid-column: auto;
    box-shadow: 6px 7px 0 var(--lime);
  }

  .concept-layer {
    grid-template-columns: 1fr;
  }

  .concept-layer-intro {
    min-height: 215px;
  }

  .concept-layer-terms {
    padding: 14px;
    gap: 14px;
  }

  .layer-term-grid-core,
  .layer-term-grid-extension {
    grid-template-columns: 1fr;
  }

  .layer-term.is-core {
    min-height: 128px;
  }

  .layer-term-copy p {
    font-size: 9px;
  }

  .concepts-distinction div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .dictionary-card {
    min-height: 280px;
    padding: 24px;
  }

  .concept-detail-hero::after {
    top: 90px;
    right: -130px;
    width: 270px;
    height: 270px;
  }

  .concept-detail-hero h1 {
    font-size: 65px;
  }

  .concept-detail-hero .concept-hero-summary {
    font-size: 28px;
  }

  .concept-detail-hero .concept-hero-detail {
    font-size: 14px;
  }

  .concept-diagram {
    min-height: 0;
    padding: 22px 16px;
    grid-template-columns: 1fr;
    gap: 12px;
    background:
      radial-gradient(circle at 50% 110px, rgba(210, 245, 119, 0.38) 0, transparent 145px),
      linear-gradient(rgba(124, 130, 112, 0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(124, 130, 112, 0.06) 1px, transparent 1px),
      #f8f8f2;
    background-size: auto, 28px 28px, 28px 28px, auto;
  }

  .concept-diagram::before,
  .concept-diagram::after,
  .diagram-column-left .diagram-node::after,
  .diagram-column-right .diagram-node::before {
    display: none;
  }

  .diagram-column {
    display: contents;
  }

  .diagram-core {
    width: 156px;
    height: 156px;
    margin: 4px auto 18px;
    order: -1;
  }

  .diagram-core strong {
    font-size: 23px;
  }

  .concept-key-points,
  .concept-scenario-flow,
  .concept-check-section ul {
    grid-template-columns: 1fr;
  }

  .concept-story-current {
    padding: 20px;
  }

  .concept-core-insight {
    padding: 20px;
  }

  .concept-illustration-card {
    margin-top: 18px;
    padding: 12px;
    border-radius: 22px;
  }

  .concept-illustration-copy {
    padding: 20px;
  }

  .concept-illustration-copy h3 {
    font-size: 26px;
  }

  .concept-illustration-graphic {
    min-height: 0;
    padding: 16px;
  }

  .concept-logic-board {
    margin-top: 18px;
    padding: 14px;
    border-radius: 22px;
  }

  .architecture-hero {
    padding: 54px 0 42px;
  }

  .architecture-hero h1 {
    font-size: 58px;
  }

  .architecture-cycle,
  .priority-matrix {
    grid-template-columns: 1fr;
  }

  .architecture-learning-routes {
    padding: 14px;
    border-radius: 21px;
  }

  .architecture-learning-route-grid {
    grid-template-columns: 1fr;
  }

  .learning-route-card {
    min-height: 0;
  }

  .learning-route-modules a {
    max-width: 132px;
  }

  .architecture-cycle article {
    min-height: 126px;
  }

  .architecture-cycle article::after {
    display: none;
  }

  .system-layer-topbar {
    min-height: 46px;
    padding: 0 7px;
  }

  .system-layer-module-main {
    padding: 15px;
  }

  .system-layer-module-main strong {
    font-size: 27px;
  }

  .system-active-role {
    padding: 16px;
  }

  .system-active-role > strong {
    font-size: 25px;
  }

  .architecture-layer-card,
  .priority-column,
  .product-concept-card {
    min-height: 0;
  }

  .chatgpt-phone {
    min-height: 360px;
    border-radius: 26px;
  }

  .concept-layer-journey {
    margin-top: 18px;
    padding: 14px;
    border-radius: 22px;
  }

  .journey-priority {
    padding: 14px;
  }

  .concept-main .concept-logic-head h3 {
    font-size: 28px;
  }

  .concept-logic-head p {
    font-size: 12px;
  }

  .concept-logic-map {
    padding: 10px;
    border-radius: 18px;
  }

  .logic-node {
    min-height: 0;
    padding: 15px;
  }

  .logic-node strong {
    font-size: 15px;
  }

  .concept-legend-grid {
    grid-template-columns: 1fr;
  }

  .legend-card {
    min-height: 116px;
  }

  .concept-relation-strip {
    align-items: stretch;
  }

  .sketch-flow {
    grid-template-columns: 1fr;
  }

  .sketch-flow-node {
    min-height: 118px;
  }

  .sketch-flow-node::after {
    top: auto;
    right: auto;
    bottom: -10px;
    left: 30px;
    width: 2px;
    height: 10px;
  }

  .sketch-context-stack .sketch-flow-node {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .sketch-context-stack .sketch-flow-node p {
    grid-column: 2;
  }

  .sketch-bar {
    grid-template-columns: 64px minmax(0, 1fr) 38px;
  }

  .sketch-bar em {
    grid-column: 2 / -1;
  }

  .sketch-temperature {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .temp-column {
    min-height: 180px;
  }

  .window-frame div,
  .token-context-strip div,
  .token-output-strip div {
    display: grid;
  }

  .token-candidate {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  .token-candidate i {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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

  .sketch-agent-orbit {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .agent-orbit-center {
    position: static;
    width: auto;
    min-height: 0;
    transform: none;
  }

  .agent-orbit-node {
    min-height: 116px;
  }

  .safety-lanes,
  .safety-gate-board,
  .safety-checkline,
  .sketch-ai-map,
  .hallucination-checks {
    grid-template-columns: 1fr;
  }

  .ai-map-node.is-root,
  .hallucination-checks {
    grid-column: auto;
  }

  .safety-lane,
  .safety-gate-card,
  .ai-map-node {
    min-height: 0;
  }

  .sketch-multimodal {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .concept-core-links {
    display: grid;
  }

  .story-nav {
    grid-template-columns: 1fr;
  }

  .story-nav a,
  .story-nav .is-disabled {
    min-height: 120px;
  }

  .concept-official-section,
  .concept-visual-section {
    padding: 20px;
  }

  .official-definition-card {
    padding: 18px;
  }

  .official-definition-card blockquote {
    padding: 14px 16px;
    font-size: 14px;
  }

  .layer-visual-row {
    min-height: 0;
    padding: 16px 16px 16px 62px;
  }

  .layer-visual-row > span {
    top: 18px;
    left: 16px;
    width: 30px;
    height: 30px;
  }

  .concept-key-points > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .concept-key-points > div:last-child {
    border-bottom: 0;
  }

  .concept-example-grid {
    grid-template-columns: 1fr;
  }

  .concept-section h3 {
    font-size: 24px;
  }

  .concept-risk-section {
    padding: 22px;
  }

  .diagram-node {
    min-height: 0;
    order: var(--node-order);
    padding: 16px;
  }

  .concept-scenario-flow > div {
    min-height: auto;
  }

  .concept-practice-section,
  .concept-risk-section {
    padding: 20px;
  }

  .concept-next-section {
    padding: 20px;
  }

  .concept-next-grid {
    grid-template-columns: 1fr;
  }

  .concept-next-card {
    min-height: 145px;
    padding: 18px;
  }

  .concept-hero-meta {
    gap: 6px;
  }

  .pricing-hero {
    padding-top: 56px;
  }

  .price-card {
    padding: 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 38px 24px;
  }

  .footer-lead,
  .footer-column:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    gap: 14px;
    flex-direction: column;
  }

  .subscribe-modal {
    padding: 30px 24px 26px;
  }

  .subscribe-modal h2 {
    max-width: 280px;
    font-size: 32px;
  }

  .modal-accent {
    top: -95px;
    right: -90px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
    justify-content: center;
  }

  .success-dialog {
    padding: 28px 22px;
  }

  .success-dialog h2 {
    font-size: 30px;
  }

  .success-actions {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    padding: 64px 0 36px;
  }

  .admin-hero-grid,
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero h1 {
    font-size: 42px;
  }

  .admin-table-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
