@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/instrument-serif-latin-400-normal-DnYpCC2O.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/instrument-serif-latin-400-italic-DKMiL14s.woff2") format("woff2");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

:root {
  --paper: #f3f0e8;
  --paper-2: #e9e5db;
  --ink: #171714;
  --muted: #68675f;
  --line: rgba(23, 23, 20, 0.19);
  --line-strong: rgba(23, 23, 20, 0.45);
  --accent: #ff5c35;
  --acid: #d6ff45;
  --blue: #244bff;
  --white: #fffef8;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Helvetica Neue", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(1400px, calc(100vw - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.launch-bar {
  display: grid;
  min-height: 40px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 32px;
  background: #d9d4ff;
  color: #201b44;
  font-size: 11px;
}

.launch-bar span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.launch-bar p {
  margin: 0;
  text-align: center;
}

.launch-bar a {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 300px 1fr 170px;
  align-items: center;
  min-height: 74px;
  padding: 10px 32px;
  background: rgba(15, 17, 21, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  color: var(--white);
}

.wordmark {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  gap: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.02em;
}

.wordmark span:last-child {
  margin-left: 15px;
}

.wordmark--partners {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.partner-logo {
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.partner-logo--art {
  height: 11px;
}

.partner-logo--zaowushe {
  height: 34px;
}

.partner-cross {
  margin: 0 !important;
  color: #88a997;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.site-header .partner-logo {
  filter: grayscale(1) invert(1) brightness(1.6);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 42px);
  font-size: 13px;
}

.desktop-nav a,
.header-cta {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--white);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-account {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 650;
}

.header-signup {
  padding: 9px 13px;
  background: var(--white);
  border-radius: 9px;
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
  min-height: calc(100svh - 114px);
  padding: clamp(84px, 8vw, 120px) max(32px, calc((100vw - 1400px) / 2)) 80px;
  margin: 0;
  background: #0f1115;
  color: var(--white);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.eyebrow,
.section-index {
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1,
.manifesto h2,
.section-heading h2,
.community-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(60px, 6vw, 94px);
  line-height: 0.92;
}

.hero-intro {
  max-width: 630px;
  margin: 40px 0 0;
  color: rgba(255, 254, 248, 0.68);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.hero .button--ink {
  background: var(--blue);
}

.button--ink:hover {
  background: var(--blue);
}

.button--accent {
  min-width: 236px;
  justify-content: space-between;
  background: var(--accent);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  padding: 28px 0 0;
  margin: 44px 0 0;
  border-top: 1px solid rgba(255, 254, 248, 0.22);
  list-style: none;
  color: rgba(255, 254, 248, 0.58);
  font-size: 12px;
}

.hero-facts span {
  margin-right: 6px;
  color: var(--white);
  font-family: var(--mono);
  font-weight: 800;
}

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

.hero-showcase {
  min-width: 0;
  padding: 14px;
  background: #0c0e12;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.showcase-head,
.showcase-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.showcase-head {
  padding: 2px 2px 13px;
}

.showcase-stack {
  display: grid;
  min-height: 512px;
  grid-template-columns: 0.82fr 1.15fr 0.82fr;
  align-items: center;
  gap: 10px;
  padding: 30px 10px;
  overflow: hidden;
  background: #181b21;
  border: 1px solid rgba(255, 254, 248, 0.28);
}

.showcase-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 254, 248, 0.65);
  isolation: isolate;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.showcase-card:hover {
  z-index: 2;
  transform: translateY(-8px) rotate(0deg);
}

.showcase-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.8));
  content: "";
}

.showcase-card--kasane {
  transform: translate3d(var(--motion-x, 8px), var(--motion-y, 0), 0) rotate(-3deg);
}

.showcase-card--zero {
  transform: translate3d(var(--motion-x, -8px), var(--motion-y, 0), 0) rotate(3deg);
}

.showcase-card--prompt {
  min-height: 460px;
  justify-content: space-between;
  background: var(--blue);
  border-color: var(--white);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  transform: translate3d(var(--motion-x, 0), var(--motion-y, -3px), 0);
}

.showcase-card--prompt::after {
  display: none;
}

.showcase-card span,
.showcase-card small {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.showcase-card strong {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.25vw, 38px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.showcase-card--prompt strong {
  font-size: clamp(34px, 3.1vw, 52px);
}

.showcase-command {
  padding: 13px 2px 1px;
}

.showcase-command a {
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.prompt-radar {
  background: var(--ink);
  color: var(--white);
}

.method-section {
  padding: clamp(110px, 11vw, 160px) 0;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  list-style: none;
}

.method-steps li {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.method-steps li > span,
.method-steps small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.method-steps strong {
  margin-top: 64px;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.method-steps p {
  max-width: 260px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.method-steps small {
  margin-top: auto;
  padding-top: 30px;
  color: var(--blue);
}

.method-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-top: 30px;
}

.method-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.offer-library {
  background: var(--blue);
  color: var(--white);
}

.offer-library__inner {
  padding: clamp(110px, 11vw, 160px) 0;
}

.offer-toolbar {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
}

.offer-toolbar button {
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 11px;
}

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

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.offer-card {
  display: flex;
  min-width: 0;
  min-height: 560px;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
  background: #121419;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 14px;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), border-color 220ms ease;
}

.offer-card:hover {
  border-color: var(--white);
  transform: translateY(-6px);
}

.offer-card[hidden] {
  display: none;
}

.offer-card__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.offer-card__preview {
  display: flex;
  min-height: 210px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  margin: 16px 0 22px;
  background: var(--acid);
  border-radius: 9px;
  color: var(--ink);
}

.offer-card__preview--prompt { background: #ff89c0; }
.offer-card__preview--motion { background: #d9d4ff; }
.offer-card__preview--case { background: #ffb14a; }

.offer-card__preview strong {
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 400;
  line-height: 0.75;
}

.offer-card__preview span {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.25;
  text-align: right;
}

.offer-card__category {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--mono);
  font-size: 9px;
}

.offer-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.offer-card > p:not(.offer-card__category) {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.75;
}

.offer-card__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.offer-card__bottom strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.offer-card__bottom a,
.offer-card__bottom button {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--acid);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.offer-boundary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding-top: 30px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.offer-boundary span {
  font-family: var(--mono);
  font-size: 9px;
}

.offer-boundary p {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.75;
}

.prompt-radar__inner {
  padding: clamp(90px, 11vw, 154px) 0;
}

.prompt-site-toolbar,
.candidate-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.prompt-site-filters,
.candidate-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-site-filters button,
.candidate-filters button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 254, 248, 0.32);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 11px;
}

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

.prompt-site-search,
.candidate-search {
  display: flex;
  width: min(320px, 100%);
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(255, 254, 248, 0.45);
}

.prompt-site-search input,
.candidate-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
}

.prompt-site-search input::placeholder {
  color: rgba(255, 254, 248, 0.55);
}

.prompt-site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 254, 248, 0.4);
  border-left: 1px solid rgba(255, 254, 248, 0.4);
}

.prompt-site-card {
  display: flex;
  min-height: 390px;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border-right: 1px solid rgba(255, 254, 248, 0.4);
  border-bottom: 1px solid rgba(255, 254, 248, 0.4);
  transition: background 180ms ease, color 180ms ease;
}

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

.prompt-site-card.is-unstable {
  background: rgba(255, 255, 255, 0.045);
}

.prompt-site-card.is-unstable .prompt-site-card__top span:last-child {
  color: #ffb14a;
}

.prompt-site-card__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.prompt-site-card__top span:last-child {
  text-align: right;
}

.prompt-site-card__mark {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  margin: 44px 0 26px;
  background: var(--site-accent);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
}

.prompt-site-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.prompt-site-card > p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 254, 248, 0.68);
  font-size: 12px;
  line-height: 1.7;
}

.prompt-site-card:hover > p {
  color: var(--muted);
}

.prompt-site-card__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 254, 248, 0.25);
  font-size: 9px;
  line-height: 1.55;
}

.prompt-site-card:hover .prompt-site-card__bottom {
  border-top-color: var(--line);
}

.prompt-site-card__bottom strong {
  color: var(--site-accent);
  white-space: nowrap;
}

.prompt-site-card:hover .prompt-site-card__bottom strong {
  color: var(--blue);
}

.prompt-site-empty,
.candidate-empty {
  margin: 30px 0 0;
  color: var(--muted);
}

.prompt-radar__rule {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 30px;
  padding: 24px 0 0;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 254, 248, 0.4);
}

.prompt-radar__rule span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.prompt-radar__rule p {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
}

.hero-edition {
  position: absolute;
  right: 0;
  bottom: 26px;
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.manifesto {
  display: grid;
  grid-template-columns: 1fr 4fr;
  padding: clamp(110px, 14vw, 210px) 0;
  border-top: 1px solid var(--line);
}

.manifesto > div {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
}

.manifesto h2 {
  font-size: clamp(56px, 6.2vw, 96px);
  line-height: 0.96;
}

.manifesto p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.learning-paths,
.system-map,
.resource-section,
.case-section {
  padding: clamp(90px, 11vw, 160px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 0.98;
}

.section-heading > p {
  max-width: 400px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.path-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border: 1px solid var(--line-strong);
}

.path-list {
  border-right: 1px solid var(--line-strong);
}

.path-tab {
  display: grid;
  width: 100%;
  min-height: 118px;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, color 180ms ease;
}

.path-tab:last-child {
  border-bottom: 0;
}

.path-tab > span:first-child {
  font-family: var(--mono);
  font-size: 11px;
}

.path-tab strong,
.path-tab small {
  display: block;
}

.path-tab strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
}

.path-tab small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.path-tab > span:last-child {
  font-size: 18px;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.path-tab:hover,
.path-tab.is-active {
  background: var(--ink);
  color: var(--white);
}

.path-tab:hover small,
.path-tab.is-active small {
  color: rgba(255, 254, 248, 0.64);
}

.path-tab:hover > span:last-child,
.path-tab.is-active > span:last-child {
  opacity: 1;
  transform: translate(0);
}

.path-detail {
  display: flex;
  min-height: 472px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 70px);
  background: var(--white);
}

.path-detail__meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.path-detail h3 {
  max-width: 560px;
  margin: 40px 0 22px;
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.path-detail > p {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.path-detail__lessons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
}

.path-detail__lessons div {
  min-height: 108px;
  padding: 15px;
  background: var(--paper);
}

.path-detail__lessons span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 9px;
}

.path-detail__lessons strong {
  font-size: 12px;
  line-height: 1.45;
}

.path-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.path-output span {
  font-family: var(--mono);
  font-size: 9px;
}

.component-workshop {
  width: 100%;
  max-width: none;
  padding: clamp(90px, 11vw, 160px) max(32px, calc((100vw - 1400px) / 2));
  background: var(--ink);
  color: var(--white);
}

.section-heading--light > p {
  color: rgba(255, 254, 248, 0.6);
}

.workshop-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(440px, 1.38fr);
  border: 1px solid rgba(255, 254, 248, 0.34);
}

.workshop-controls {
  border-right: 1px solid rgba(255, 254, 248, 0.34);
}

.workshop-controls fieldset {
  padding: 26px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 254, 248, 0.23);
}

.workshop-controls fieldset:last-child {
  border-bottom: 0;
}

.workshop-controls legend {
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.segmented button {
  min-height: 42px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 254, 248, 0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
}

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

.component-stage {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  background-image: linear-gradient(rgba(255, 254, 248, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 254, 248, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.stage-label {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.playground-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.playground-button:hover:not(:disabled) {
  transform: translateY(-3px);
}

.playground-button--small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 12px;
}

.playground-button--medium {
  min-height: 48px;
  padding: 11px 24px;
  font-size: 14px;
}

.playground-button--large {
  min-height: 58px;
  padding: 15px 30px;
  font-size: 16px;
}

.playground-button--primary {
  background: var(--accent);
  color: var(--ink);
}

.playground-button--neutral {
  background: var(--white);
  color: var(--ink);
}

.playground-button--quiet {
  background: transparent;
  border-color: rgba(255, 254, 248, 0.55);
  color: var(--white);
}

.playground-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.playground-button.is-loading > span:first-child::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 9px;
  border: 1px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: spin 650ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.measure {
  position: absolute;
  color: rgba(255, 254, 248, 0.45);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.measure--h {
  top: 31%;
  left: 50%;
  width: 240px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 254, 248, 0.25);
  text-align: center;
  transform: translateX(-50%);
}

.measure--v {
  top: 50%;
  right: 18%;
  height: 92px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 254, 248, 0.25);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.component-notes {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 254, 248, 0.34);
}

.component-notes > div {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(255, 254, 248, 0.23);
}

.component-notes > div:last-child {
  border-right: 0;
}

.component-notes span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.component-notes p {
  max-width: 330px;
  margin: 28px 0 0;
  color: rgba(255, 254, 248, 0.67);
  font-size: 13px;
  line-height: 1.7;
}

.blueprint {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0;
  margin: 0;
  border: 1px solid var(--line-strong);
  list-style: none;
}

.blueprint li {
  position: relative;
  min-height: 258px;
  padding: 20px;
  border-right: 1px solid var(--line-strong);
  overflow: hidden;
}

.blueprint li:last-child {
  border-right: 0;
}

.blueprint li::after {
  position: absolute;
  right: -9px;
  bottom: -26px;
  color: rgba(23, 23, 20, 0.06);
  content: attr(data-step);
  font-family: var(--serif);
  font-size: 150px;
  line-height: 1;
}

.blueprint span {
  display: block;
  margin-bottom: 75px;
  font-family: var(--mono);
  font-size: 10px;
}

.blueprint strong {
  font-size: 13px;
}

.blueprint p {
  max-width: 150px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.blueprint li:nth-child(3) {
  background: var(--acid);
}

.system-rule {
  display: grid;
  grid-template-columns: 1fr 4fr;
  align-items: baseline;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.system-rule span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.system-rule p {
  max-width: 920px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15;
}

.resource-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.resource-filters button {
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.resource-filters button:hover,
.resource-filters button.is-active {
  background: var(--ink);
  color: var(--white);
}

.resource-search {
  display: flex;
  width: min(300px, 100%);
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line-strong);
}

.resource-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
}

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

.resource-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 23px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  transition: background 180ms ease, color 180ms ease;
}

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

.resource-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.resource-card__mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-top: 38px;
  place-items: center;
  background: var(--resource-accent, var(--accent));
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
}

.resource-card h3 {
  margin: 20px 0 5px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.resource-card__best {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.resource-card__decision {
  margin: auto 0 20px;
  padding-top: 30px;
  font-size: 12px;
  line-height: 1.7;
}

.resource-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
}

.resource-card__footer span:last-child {
  font-size: 14px;
  transition: transform 180ms ease;
}

.resource-card:hover .resource-card__footer span:last-child {
  transform: translate(3px, -3px);
}

.resource-empty {
  padding: 50px 0;
  color: var(--muted);
  text-align: center;
}

.prompt-section {
  background: var(--blue);
  color: var(--white);
}

.prompt-inner {
  padding: clamp(90px, 11vw, 160px) 0;
}

.prompt-anatomy {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 254, 248, 0.43);
  border-left: 1px solid rgba(255, 254, 248, 0.43);
}

.prompt-anatomy span {
  min-height: 48px;
  padding: 15px 10px;
  border-right: 1px solid rgba(255, 254, 248, 0.43);
  border-bottom: 1px solid rgba(255, 254, 248, 0.43);
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
  letter-spacing: 0.05em;
}

.prompt-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  min-height: 600px;
  border: 1px solid rgba(255, 254, 248, 0.5);
}

.prompt-list {
  border-right: 1px solid rgba(255, 254, 248, 0.5);
}

.prompt-tab {
  display: grid;
  width: 100%;
  min-height: 90px;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid rgba(255, 254, 248, 0.35);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.prompt-tab:last-child {
  border-bottom: 0;
}

.prompt-tab:hover,
.prompt-tab.is-active {
  background: var(--acid);
  color: var(--ink);
}

.prompt-tab > span:first-child {
  font-family: var(--mono);
  font-size: 9px;
}

.prompt-tab strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.1;
}

.prompt-tab small {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  opacity: 0.66;
}

.prompt-preview {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
  background: #183bdb;
}

.prompt-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.prompt-preview__top span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.copy-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 254, 248, 0.65);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 10px;
}

.copy-button:hover {
  background: var(--white);
  color: var(--blue);
}

.prompt-preview h3 {
  margin: 50px 0 14px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 70px);
  font-weight: 400;
  line-height: 0.98;
}

.prompt-preview__use {
  max-width: 590px;
  margin: 0 0 30px;
  color: rgba(255, 254, 248, 0.66);
  font-size: 12px;
}

.prompt-code {
  flex: 1;
  padding: 24px;
  overflow: auto;
  background: var(--white);
  color: var(--ink);
  border-left: 5px solid var(--acid);
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
}

.sample-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 60px;
  align-items: end;
  padding-top: 110px;
  margin-top: 110px;
  border-top: 1px solid rgba(255, 254, 248, 0.5);
}

.sample-heading span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.sample-heading h3 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.sample-heading > p {
  margin: 0;
  color: rgba(255, 254, 248, 0.63);
  font-size: 12px;
  line-height: 1.75;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.sample-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ink);
  color: var(--ink);
}

.sample-card__visual {
  position: relative;
  aspect-ratio: 1.68;
  overflow: hidden;
  background: #0c0c0c;
  border-bottom: 1px solid var(--ink);
}

.sample-card__visual::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(255, 254, 248, 0.9);
  border: 1px solid var(--ink);
  content: "EXTERNAL PREVIEW";
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.sample-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample-card__body {
  padding: 22px;
}

.sample-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.sample-card h4 {
  margin: 36px 0 14px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.sample-card p {
  max-width: 580px;
  min-height: 74px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

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

.sample-card__actions button,
.sample-card__actions a {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.sample-card__actions button {
  color: var(--blue);
}

.sample-card__actions a {
  color: var(--muted);
  text-align: right;
}

.sample-card__actions a:first-child {
  color: var(--blue);
  text-align: left;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}

.case-card__image {
  position: relative;
  aspect-ratio: 1.23;
  margin-top: 12px;
  overflow: hidden;
  background: #d7d3c9;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.case-card:hover img {
  transform: scale(1.035);
}

.case-card__index {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  background: var(--white);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}

.case-card h3 {
  margin: 22px 0 7px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.case-card__meta {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.case-card__memory {
  margin: 24px 0;
  color: #47463f;
  font-size: 12px;
  line-height: 1.8;
}

.mechanism-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: auto 0 22px;
  list-style: none;
}

.mechanism-tags li {
  padding: 5px 8px;
  background: var(--paper-2);
  font-size: 9px;
}

.case-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.case-actions button,
.case-actions a {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.case-actions a {
  color: var(--muted);
}

.candidate-library {
  padding-top: clamp(110px, 13vw, 190px);
  margin-top: clamp(100px, 12vw, 170px);
  border-top: 1px solid var(--ink);
}

.candidate-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}

.candidate-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.candidate-heading h3 span {
  color: var(--blue);
  font-style: italic;
}

.candidate-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.candidate-toolbar {
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.candidate-search {
  width: 100%;
  border-color: var(--line-strong);
  color: var(--ink);
}

.candidate-filters {
  flex-wrap: wrap;
}

.candidate-filters button {
  border-color: var(--line-strong);
}

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

.candidate-result {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.candidate-result span:last-child {
  color: var(--muted);
}

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

.candidate-card {
  min-width: 0;
  background: var(--paper);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.candidate-card.is-selected {
  position: relative;
  box-shadow: inset 0 0 0 3px var(--blue);
}

.candidate-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 1.25;
  overflow: hidden;
  background: var(--paper-2);
}

.candidate-card__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.candidate-card:hover .candidate-card__visual > img {
  transform: scale(1.035);
}

.candidate-card__fallback {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  background: #dedacf;
}

.candidate-card__fallback--1 { background: #d6ff45; }
.candidate-card__fallback--2 { background: #244bff; color: var(--white); }
.candidate-card__fallback--3 { background: #ff5c35; }
.candidate-card__fallback--4 { background: #d7d3c9; }

.candidate-card__fallback span {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
}

.candidate-card__fallback strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.candidate-card__deep {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  background: var(--acid);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
}

.candidate-card__body {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 16px;
}

.candidate-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.candidate-card h4 {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.candidate-card__body > p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.candidate-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.candidate-card li {
  padding: 4px 6px;
  background: var(--paper-2);
  font-size: 8px;
}

.candidate-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.candidate-card__actions a,
.candidate-card__actions button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.candidate-card__actions button {
  color: var(--blue);
}

.community-section {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: end;
  padding: clamp(90px, 12vw, 170px) clamp(32px, 5vw, 72px);
  margin-bottom: 40px;
  background: var(--ink);
  color: var(--white);
}

.community-section h2 {
  font-size: clamp(55px, 7vw, 102px);
  line-height: 0.9;
}

.community-copy > p:last-child {
  max-width: 700px;
  margin: 42px 0 0;
  color: rgba(255, 254, 248, 0.66);
  font-size: 14px;
  line-height: 1.85;
}

.community-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.text-link--light {
  color: var(--white);
}

.community-actions > p {
  max-width: 380px;
  margin: 14px 0 0;
  color: rgba(255, 254, 248, 0.48);
  font-size: 11px;
  line-height: 1.75;
}

.site-footer {
  padding: 56px 32px 24px;
  background: var(--paper);
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.55fr 0.55fr 1.2fr;
  align-items: flex-start;
  min-height: 230px;
}

.wordmark--footer {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.wordmark--footer span:last-child {
  margin-left: 50px;
}

.footer-top > p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-brand-signature {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.footer-brand-signature > span {
  color: #88a997;
  font-family: var(--mono);
  font-size: 14px;
}

.footer-brand-signature__art {
  width: 92px;
  flex: 0 0 auto;
}

.footer-brand-signature__system {
  width: min(410px, 32vw);
  flex: 0 1 auto;
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.case-dialog {
  width: min(900px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--ink);
  color: var(--ink);
}

.case-dialog::backdrop {
  background: rgba(23, 23, 20, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  width: 52px;
  height: 52px;
  margin-left: auto;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 26px;
}

.case-dialog__body {
  padding: 0 clamp(24px, 6vw, 72px) 72px;
}

.case-dialog__meta {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 9px;
}

.case-dialog h2 {
  max-width: 720px;
  margin: 0 0 40px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.case-dialog__lead {
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-size: 16px;
  line-height: 1.85;
}

.case-dialog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 38px;
  margin-top: 32px;
}

.case-dialog__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.case-dialog__item span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
}

.case-dialog__item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.case-dialog__evidence {
  margin-top: 34px;
  padding: 24px;
  background: var(--paper);
  font-size: 11px;
  line-height: 1.8;
}

.case-dialog__link {
  margin-top: 28px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  max-width: calc(100vw - 40px);
  padding: 12px 16px;
  background: var(--acid);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root { --shell: min(100% - 48px, 1120px); }
  .site-header { grid-template-columns: 260px 1fr 130px; padding-inline: 24px; }
  .desktop-nav { gap: 18px; }
  .hero { grid-template-columns: 0.95fr 1.05fr; gap: 40px; }
  .hero h1 { font-size: clamp(62px, 7.7vw, 88px); }
  .showcase-stack { min-height: 480px; }
  .showcase-card { min-height: 340px; }
  .showcase-card--prompt { min-height: 410px; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; }
  .hero-copy { max-width: 800px; }
  .hero-edition { display: none; }
  .method-cta { grid-template-columns: 1fr; }
  .prompt-site-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto { grid-template-columns: 1fr; gap: 40px; }
  .manifesto > div { grid-template-columns: 1fr; }
  .manifesto p:last-child { max-width: 580px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .path-layout { grid-template-columns: 1fr; }
  .path-list { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .path-tab { min-height: 94px; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-controls { display: grid; grid-template-columns: repeat(3, 1fr); border-right: 0; border-bottom: 1px solid rgba(255, 254, 248, 0.34); }
  .workshop-controls fieldset { border-right: 1px solid rgba(255, 254, 248, 0.23); border-bottom: 0; }
  .workshop-controls fieldset:last-child { border-right: 0; }
  .segmented { grid-template-columns: 1fr; }
  .blueprint { grid-template-columns: repeat(3, 1fr); }
  .blueprint li { border-bottom: 1px solid var(--line-strong); }
  .blueprint li:nth-child(3) { border-right: 0; }
  .blueprint li:nth-child(4), .blueprint li:nth-child(5) { border-bottom: 0; }
  .system-rule { grid-template-columns: 1fr; gap: 20px; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .prompt-anatomy { grid-template-columns: repeat(3, 1fr); }
  .prompt-layout { grid-template-columns: 1fr; }
  .prompt-list { display: grid; grid-template-columns: repeat(2, 1fr); border-right: 0; border-bottom: 1px solid rgba(255, 254, 248, 0.5); }
  .prompt-tab { border-right: 1px solid rgba(255, 254, 248, 0.35); }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .candidate-heading { grid-template-columns: 1fr; gap: 24px; }
  .candidate-grid { grid-template-columns: repeat(2, 1fr); }
  .community-section { grid-template-columns: 1fr; align-items: start; }
  .footer-top { grid-template-columns: 0.6fr 1.4fr; }
  .footer-brand-signature { grid-column: 1 / 3; justify-content: flex-start; }
  .footer-brand-signature__system { width: min(480px, 70vw); }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  html { scroll-padding-top: 74px; }
  .launch-bar { min-height: 36px; grid-template-columns: 1fr auto; gap: 12px; padding: 7px 16px; }
  .launch-bar p { display: none; }
  .site-header { min-height: 64px; padding: 8px 16px; }
  .wordmark--partners { gap: 7px; }
  .partner-logo--art, .partner-cross { display: none; }
  .partner-logo--zaowushe { height: 30px; }
  .header-account { gap: 0; font-size: 11px; }
  .header-account > a:first-child { display: none; }
  .header-signup { padding: 8px 10px; }
  .hero { padding: 72px 16px 58px; gap: 54px; }
  .hero h1 { font-size: clamp(47px, 13.5vw, 62px); line-height: 0.94; }
  .hero-intro { margin-top: 26px; font-size: 16px; line-height: 1.7; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; }
  .button--ink { width: 100%; }
  .hero-facts { gap: 10px 18px; margin-top: 34px; }
  .hero-showcase { padding: 9px; }
  .showcase-stack { min-height: 520px; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px; }
  .showcase-card { min-height: 210px; transform: none; }
  .showcase-card--prompt { min-height: 255px; grid-column: 1 / 3; grid-row: 1; }
  .showcase-card--prompt strong { font-size: 41px; }
  .showcase-card--kasane, .showcase-card--zero { transform: none; }
  .showcase-command { flex-wrap: wrap; line-height: 1.6; }
  .showcase-command span:nth-child(2), .showcase-command span:nth-child(3) { display: none; }
  .method-section { padding: 92px 0; }
  .method-steps { grid-template-columns: 1fr; }
  .method-steps li { min-height: 270px; }
  .method-steps strong { margin-top: 46px; }
  .method-cta .button { width: 100%; }
  .offer-library__inner { padding: 92px 0; }
  .offer-toolbar { display: flex; max-width: 100%; overflow-x: auto; }
  .offer-toolbar button { flex: 0 0 auto; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 540px; }
  .offer-boundary { grid-template-columns: 1fr; gap: 14px; }
  .prompt-site-toolbar { align-items: stretch; flex-direction: column; }
  .prompt-site-filters { padding-bottom: 5px; overflow-x: auto; }
  .prompt-site-filters button { flex: 0 0 auto; }
  .prompt-site-search { width: 100%; }
  .prompt-site-grid { grid-template-columns: 1fr; }
  .prompt-site-card { min-height: 350px; }
  .prompt-radar__rule { grid-template-columns: 1fr; }
  .manifesto { padding: 100px 0; }
  .manifesto h2 { font-size: 50px; }
  .learning-paths, .system-map, .resource-section, .case-section { padding: 92px 0; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2 { font-size: 47px; }
  .path-tab { grid-template-columns: 35px 1fr auto; padding: 18px; }
  .path-tab strong { font-size: 22px; }
  .path-detail { min-height: 560px; padding: 28px 20px; }
  .path-detail h3 { margin-top: 30px; font-size: 43px; }
  .path-detail__lessons { grid-template-columns: 1fr; }
  .path-detail__lessons div { min-height: 76px; }
  .path-detail__lessons span { margin-bottom: 8px; }
  .component-workshop { padding: 92px 16px; }
  .workshop-controls { grid-template-columns: 1fr; }
  .workshop-controls fieldset { border-right: 0; border-bottom: 1px solid rgba(255, 254, 248, 0.23); }
  .segmented { grid-template-columns: repeat(3, 1fr); }
  .component-stage { min-height: 340px; }
  .measure--v { right: 5%; }
  .component-notes { grid-template-columns: 1fr; }
  .component-notes > div { min-height: 130px; border-right: 0; border-bottom: 1px solid rgba(255, 254, 248, 0.23); }
  .component-notes > div:last-child { border-bottom: 0; }
  .blueprint { grid-template-columns: 1fr; }
  .blueprint li { display: grid; min-height: 130px; grid-template-columns: 45px 1fr; grid-template-rows: auto auto; align-content: center; border-right: 0; border-bottom: 1px solid var(--line-strong) !important; }
  .blueprint li:last-child { border-bottom: 0 !important; }
  .blueprint span { grid-row: 1 / 3; margin: 2px 0 0; }
  .blueprint p { margin-top: 5px; }
  .system-rule p { font-size: 34px; }
  .resource-toolbar { align-items: stretch; flex-direction: column; }
  .resource-filters { flex-wrap: nowrap; padding-bottom: 6px; overflow-x: auto; }
  .resource-filters button { flex: 0 0 auto; }
  .resource-search { width: 100%; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 310px; }
  .prompt-inner { padding: 92px 0; }
  .prompt-anatomy { grid-template-columns: repeat(2, 1fr); }
  .prompt-list { display: flex; padding-bottom: 4px; overflow-x: auto; }
  .prompt-tab { min-width: 230px; border-bottom: 0; border-right: 1px solid rgba(255, 254, 248, 0.35); }
  .prompt-preview { min-height: 580px; padding: 26px 18px; }
  .prompt-preview h3 { margin-top: 40px; font-size: 46px; }
  .prompt-code { padding: 18px; font-size: 10px; }
  .sample-heading { grid-template-columns: 1fr; gap: 22px; padding-top: 80px; margin-top: 80px; }
  .sample-grid { grid-template-columns: 1fr; }
  .sample-card p { min-height: 0; }
  .case-grid { grid-template-columns: 1fr; gap: 58px; }
  .candidate-library { padding-top: 90px; margin-top: 110px; }
  .candidate-heading h3 { font-size: 54px; }
  .candidate-filters { flex-wrap: nowrap; width: 100%; padding-bottom: 5px; overflow-x: auto; }
  .candidate-filters button { flex: 0 0 auto; }
  .candidate-result { align-items: flex-start; flex-direction: column; gap: 4px; }
  .candidate-grid { grid-template-columns: 1fr; }
  .candidate-card__body { min-height: 285px; }
  .candidate-card__fallback strong { font-size: 34px; }
  .community-section { width: calc(100% - 16px); gap: 52px; padding: 82px 22px; margin-bottom: 8px; }
  .community-section h2 { font-size: 56px; }
  .button--accent { width: 100%; }
  .site-footer { padding: 58px 16px 22px; }
  .footer-top { min-height: 330px; grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-signature { grid-column: auto; align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-brand-signature > span { display: none; }
  .footer-brand-signature__art { width: 84px; }
  .footer-brand-signature__system { width: 100%; }
  .footer-bottom { flex-wrap: wrap; }
  .case-dialog__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
