*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #090a0d;
  --panel: #101217;
  --panel-2: #15181e;
  --paper: #edf0f4;
  --slate: #929bad;
  --dim: #5d6676;
  --line: rgba(237, 240, 244, .09);
  --line-strong: rgba(237, 240, 244, .18);
  --cyan: #4df0ff;
  --lime: #c6ff3d;
  --pink: #ff3ea5;
  --orange: #ff8a3d;
  --red: #ff5e68;
  --violet: #9c89ff;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --nav: 60px;
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
}

* {
  letter-spacing: 0;
  scrollbar-width: thin;
  scrollbar-color: #377f88 var(--panel);
}

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--panel); }
*::-webkit-scrollbar-thumb {
  border: 2px solid var(--panel);
  border-radius: 6px;
  background: #377f88;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.reading-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
}

.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(9, 10, 13, .97);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.nav__mark { width: 25px; height: 25px; }
.nav__brand span { font: 600 1rem var(--display); }
.nav__brand em { color: var(--cyan); font-style: normal; }

.nav__links {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 22px;
}

.nav__links a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--slate);
  font: .63rem var(--mono);
  text-transform: uppercase;
}

.nav__links a:hover,
.nav__links a.is-active { color: var(--paper); }

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
}

.nav__github {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0 14px;
  border: 1px solid var(--lime);
  border-radius: 5px;
  background: var(--lime);
  color: #08110a;
  font: 700 .65rem var(--mono);
  text-transform: uppercase;
}

main { padding-top: var(--nav); }

.section-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font: 600 .66rem var(--mono);
  text-transform: uppercase;
}

.section-code::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  box-shadow: 0 0 13px currentColor;
}

.maintainer-hero {
  min-height: calc(100vh - var(--nav));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  align-items: center;
  gap: 80px;
  padding: 90px max(5vw, 32px);
  border-bottom: 1px solid var(--line-strong);
  background: #0b0d11;
}

.maintainer-hero__copy { max-width: 860px; }

.maintainer-hero h1 {
  margin-top: 27px;
  font: 700 6rem/.92 var(--display);
}

.maintainer-hero h1 span { color: var(--slate); }

.maintainer-hero__copy > p {
  max-width: 760px;
  margin-top: 30px;
  color: #b3bdcc;
  font-size: 1.12rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.owner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 2px solid var(--cyan);
  background: #11151a;
}

.owner-strip span { color: var(--dim); font: 600 .55rem var(--mono); }
.owner-strip a { color: var(--cyan); font: 700 .82rem var(--mono); }
.owner-strip a:hover { color: var(--paper); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font: 700 .62rem var(--mono);
  text-transform: uppercase;
}

.button--solid {
  border-color: var(--lime);
  background: var(--lime);
  color: #091008;
}

.button--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.maintainer-console {
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #0d0f13;
  box-shadow: 18px 18px 0 #15181e;
}

.maintainer-console > header {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line-strong);
}

.maintainer-console > header i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}

.maintainer-console > header i:nth-child(2) { background: var(--lime); }
.maintainer-console > header i:nth-child(3) { background: var(--cyan); }

.maintainer-console > header strong {
  margin-left: 9px;
  color: var(--slate);
  font: .62rem var(--mono);
}

.maintainer-console > header span {
  margin-left: auto;
  color: var(--cyan);
  font: .56rem var(--mono);
}

.console-body {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr);
  gap: 15px 24px;
  padding: 34px;
}

.console-body p {
  color: var(--dim);
  font: .65rem var(--mono);
}

.console-body p span { color: var(--pink); }

.console-body strong {
  overflow-wrap: anywhere;
  color: #d6dbe3;
  font: 600 .68rem var(--mono);
}

.console-body .console-cyan { color: var(--cyan); }
.console-body .console-lime { color: var(--lime); }
.console-body .console-red { color: var(--red); }

.maintainer-console > footer {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  padding: 15px 17px;
  border-top: 1px solid var(--line-strong);
  background: #11141a;
  font: .52rem var(--mono);
}

.maintainer-console > footer span { color: var(--dim); }
.maintainer-console > footer strong { color: var(--slate); }

.support-section,
.model-policy,
.workflow-skills,
.review-gate {
  padding: 100px max(5vw, 32px);
}

.lineage-section,
.bugfix-skill-section {
  padding: 100px max(5vw, 32px);
  background: #e9edf0;
  color: #101218;
}

.section-head {
  max-width: 1500px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin: 0 auto 60px;
}

.section-head h2 {
  max-width: 870px;
  margin-top: 15px;
  font: 600 3.7rem/1.03 var(--display);
}

.section-head > p {
  max-width: 540px;
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.72;
}

.section-head--light .section-code { color: #087f8c; }
.section-head--light > p { color: #555e6d; }
.section-head--light code { color: #087f8c; }

.support-lanes {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  margin: 0 auto;
}

.support-lane {
  min-width: 0;
  padding: 38px;
  border: 1px solid var(--line-strong);
  background: #0e1014;
}

.support-lane--community { border-top-color: var(--cyan); }
.support-lane--priority { border-top-color: var(--lime); }

.support-lane > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.support-lane > header span,
.support-price span {
  color: var(--dim);
  font: .58rem var(--mono);
}

.support-lane > header strong { font: 600 1rem var(--display); }

.support-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.support-price strong { font: 600 2.4rem var(--display); }
.support-lane--community .support-price strong { color: var(--cyan); }
.support-lane--priority .support-price strong { color: var(--lime); }

.support-lane ul {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  list-style: none;
}

.support-lane li {
  position: relative;
  padding-left: 22px;
  color: #bdc5d2;
  font-size: .88rem;
}

.support-lane li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 1px;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.support-lane--priority li::before { background: var(--lime); }

.support-lane > p {
  min-height: 92px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: .84rem;
  line-height: 1.7;
}

.support-lane > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font: 700 .59rem var(--mono);
  text-transform: uppercase;
}

.support-lane > a:hover { border-color: var(--paper); }

.lane-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lane-divider span { width: 28px; height: 1px; background: var(--line-strong); }
.lane-divider strong { margin: 0 8px; color: var(--dim); font: .57rem var(--mono); }

.lineage-track {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr) 90px minmax(0, 1fr);
  align-items: start;
  margin: 0 auto;
}

.lineage-node {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(16, 18, 24, .22);
  border-radius: 7px;
  background: #f5f7f8;
}

.lineage-orb {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid #101218;
  border-radius: 50%;
  background: #e9edf0;
  color: #101218;
  font: 700 1.1rem var(--mono);
}

.lineage-node--legacy .lineage-orb { border-color: #c63843; color: #c63843; }
.lineage-node--current .lineage-orb { border-color: #087f8c; color: #087f8c; }
.lineage-node--future .lineage-orb { border-color: #6e871d; color: #6e871d; }

.lineage-node--current .lineage-orb {
  grid-template-rows: 1fr auto;
  padding: 18px 0 10px;
}

.lineage-orb small { font: .5rem var(--mono); }

.lineage-node > div:last-child { margin-top: 24px; }
.lineage-state { color: #717986; font: .56rem var(--mono); text-transform: uppercase; }
.lineage-node h3 { margin-top: 7px; font: 600 1.25rem/1.2 var(--display); }
.lineage-node p { margin-top: 13px; color: #555e6b; font-size: .84rem; line-height: 1.7; }

.lineage-link {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lineage-link i {
  width: 7px;
  height: 7px;
  border: 1px solid #727b87;
  border-radius: 50%;
}

.lineage-link i:nth-child(2) { background: #087f8c; border-color: #087f8c; }

.human-memory-warning {
  max-width: 1500px;
  display: grid;
  grid-template-columns: 170px minmax(300px, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 40px;
  margin: 40px auto 0;
  padding: 32px;
  border: 1px solid #101218;
  background: #101218;
  color: var(--paper);
}

.human-memory-warning span { color: var(--pink); font: .58rem var(--mono); }
.human-memory-warning strong { font: 600 1.45rem/1.25 var(--display); }
.human-memory-warning p { color: var(--slate); font-size: .83rem; line-height: 1.7; }

.repo-entry-paths {
  max-width: 1500px;
  margin: 32px auto 0;
  border: 1px solid rgba(16, 18, 24, .28);
  background: #f5f7f8;
}

.repo-entry-paths > header {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(320px, 1.1fr);
  align-items: end;
  gap: 50px;
  padding: 34px;
  border-bottom: 1px solid rgba(16, 18, 24, .2);
}

.repo-entry-paths > header span {
  color: #087f8c;
  font: .56rem var(--mono);
}

.repo-entry-paths > header h3 {
  max-width: 660px;
  margin-top: 9px;
  font: 600 1.8rem/1.15 var(--display);
}

.repo-entry-paths > header p {
  color: #59626f;
  font-size: .86rem;
  line-height: 1.72;
}

.repo-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repo-entry-grid article {
  min-width: 0;
  min-height: 350px;
  padding: 30px;
  border-right: 1px solid rgba(16, 18, 24, .2);
}

.repo-entry-grid article:last-child { border-right: 0; }
.repo-entry-grid article:nth-child(1) { border-top: 2px solid #087f8c; }
.repo-entry-grid article:nth-child(2) { border-top: 2px solid #bd2a75; }
.repo-entry-grid article:nth-child(3) { border-top: 2px solid #6e871d; }

.entry-orb {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #101218;
  border-radius: 50%;
  color: #101218;
  font: 700 .67rem var(--mono);
}

.repo-entry-grid small {
  display: block;
  margin-top: 24px;
  color: #747d89;
  font: .53rem var(--mono);
}

.repo-entry-grid h4 {
  margin-top: 7px;
  font: 600 1.2rem var(--display);
}

.repo-entry-grid p {
  margin-top: 12px;
  color: #59626f;
  font-size: .82rem;
  line-height: 1.7;
}

.repo-entry-grid article > a,
.entry-links a {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 1px solid #087f8c;
  color: #087f8c;
  font: 700 .56rem var(--mono);
  text-transform: uppercase;
}

.repo-entry-grid code {
  display: block;
  margin-top: 20px;
  padding: 13px;
  border: 1px solid rgba(16, 18, 24, .18);
  border-radius: 4px;
  background: #e9edf0;
  color: #7d2052;
  font-size: .62rem;
  line-height: 1.6;
}

.entry-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.repo-entry-paths > footer {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 25px;
  padding: 20px 30px;
  border-top: 1px solid rgba(16, 18, 24, .2);
  background: #101218;
  color: var(--paper);
}

.repo-entry-paths > footer span { color: var(--lime); font: .54rem var(--mono); }
.repo-entry-paths > footer strong { font: 600 .72rem/1.6 var(--mono); }

.model-policy { background: #0b0d11; }

.model-matrix {
  max-width: 1500px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
}

.model-row {
  display: grid;
  grid-template-columns: 1.25fr .72fr .72fr 1.31fr;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}

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

.model-row > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--slate);
  font-size: .78rem;
}

.model-row > span:last-child { border-right: 0; }
.model-row > span:first-child { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
.model-row strong { color: var(--paper); font: 600 .92rem var(--display); }
.model-row small { color: var(--dim); font: .55rem var(--mono); }

.model-row i {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.model-row--head {
  min-height: 44px;
  background: #15181e;
}

.model-row--head > span {
  color: var(--dim);
  font: .54rem var(--mono);
  text-transform: uppercase;
}

.model-row--approved > span:nth-child(2),
.model-row--approved > span:nth-child(3) { color: var(--lime); }
.model-row--approved i { background: currentColor; }
.model-row--rejected > span:nth-child(2) { color: var(--red); }
.model-row--rejected > span:nth-child(3) { color: var(--orange); }
.model-row--rejected i { border-radius: 0; transform: rotate(45deg); }
.model-row--visual > span:nth-child(2) { color: var(--dim); }
.model-row--visual > span:nth-child(3) { color: var(--pink); }
.model-row--visual > span:nth-child(3) i { background: var(--pink); }

.model-policy__footer {
  max-width: 1500px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  margin: 22px auto 0;
  padding: 22px;
  border-left: 2px solid var(--red);
  background: #151013;
}

.model-policy__footer span { color: var(--red); font: .58rem var(--mono); text-transform: uppercase; }
.model-policy__footer strong { font: 500 .9rem/1.6 var(--body); }

.workflow-skills {
  border-top: 1px solid var(--line-strong);
  background: #101217;
}

.workflow-skills .section-head code { color: var(--lime); }

.skill-pipeline {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  align-items: stretch;
  margin: 0 auto;
}

.skill-card {
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #0c0e12;
}

.skill-card--plan { border-top-color: var(--cyan); }
.skill-card--implement { border-top-color: var(--lime); }

.skill-card > header {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}

.skill-card > header span { color: var(--dim); font: .55rem var(--mono); }
.skill-card > header strong { color: var(--slate); font: 600 .78rem var(--display); }
.skill-card__body { padding: 30px; }

.skill-command {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: #15181e;
  color: var(--cyan);
  font-size: .67rem;
}

.skill-card--implement .skill-command { color: var(--lime); }
.skill-card h3 { margin-top: 22px; font: 600 1.55rem/1.15 var(--display); }

.skill-card p {
  margin-top: 14px;
  color: #adb6c4;
  font-size: .86rem;
  line-height: 1.72;
}

.skill-card p code { color: var(--paper); }

.skill-card ul {
  display: grid;
  gap: 11px;
  margin-top: 25px;
  list-style: none;
}

.skill-card li {
  position: relative;
  padding-left: 21px;
  color: var(--slate);
  font-size: .8rem;
  line-height: 1.6;
}

.skill-card li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

.skill-card--implement li::before { background: var(--lime); }

.skill-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}

.skill-metrics div {
  min-width: 0;
  padding: 14px;
  background: #11141a;
}

.skill-metrics dt {
  color: var(--dim);
  font: 600 .53rem var(--mono);
  text-transform: uppercase;
}

.skill-metrics dd {
  margin-top: 7px;
  color: var(--lime);
  font: 600 .72rem/1.5 var(--mono);
}

.skill-metrics--bugfix dd { color: var(--pink); }

.skill-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-connector span { width: 24px; height: 1px; background: var(--line-strong); }
.skill-connector strong { margin: 0 7px; color: var(--dim); font: .5rem var(--mono); white-space: nowrap; }

.skill-location {
  max-width: 1500px;
  display: grid;
  grid-template-columns: 160px repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border-left: 2px solid var(--violet);
  background: #15181e;
}

.skill-location span { color: var(--violet); font: .55rem var(--mono); }
.skill-location code { overflow-wrap: anywhere; color: #bdc5d2; font-size: .65rem; }

.skill-prompts {
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px auto 0;
}

.skill-prompts .prompt-template { min-width: 0; margin-top: 0; }
.skill-prompts .prompt-template pre { min-height: 145px; }

.bugfix-skill-layout {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 30px;
  margin: 0 auto;
}

.bugfix-skill-card {
  min-width: 0;
  border: 1px solid #252b35;
  border-top: 2px solid #bd2a75;
  border-radius: 7px;
  background: #0e1014;
  color: var(--paper);
}

.bugfix-skill-card > header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-strong);
}

.bugfix-skill-card > header span { color: var(--pink); font: .55rem var(--mono); }
.bugfix-skill-card > header strong { color: var(--slate); font: 600 .78rem var(--display); }
.bugfix-skill-card > div { padding: 30px; }
.bugfix-skill-card h3 { margin-top: 22px; font: 600 1.65rem/1.15 var(--display); }

.bugfix-skill-card p {
  margin-top: 14px;
  color: #adb6c4;
  font-size: .86rem;
  line-height: 1.72;
}

.bugfix-skill-card ul {
  display: grid;
  gap: 11px;
  margin-top: 25px;
  list-style: none;
}

.bugfix-skill-card li {
  position: relative;
  padding-left: 21px;
  color: var(--slate);
  font-size: .8rem;
  line-height: 1.6;
}

.bugfix-skill-card li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--pink);
}

.bugfix-loop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(16, 18, 24, .25);
  border-left: 1px solid rgba(16, 18, 24, .25);
  list-style: none;
}

.bugfix-loop li {
  min-width: 0;
  min-height: 210px;
  padding: 26px;
  border-right: 1px solid rgba(16, 18, 24, .25);
  border-bottom: 1px solid rgba(16, 18, 24, .25);
  background: #f5f7f8;
}

.bugfix-loop li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #bd2a75;
  border-radius: 50%;
  color: #9b1f60;
  font: 700 .6rem var(--mono);
}

.bugfix-loop li > div { margin-top: 25px; }
.bugfix-loop strong { font: 600 1.05rem var(--display); }
.bugfix-loop p { margin-top: 8px; color: #58616e; font-size: .82rem; line-height: 1.65; }

.bugfix-install-path {
  max-width: 1500px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 24px auto 0;
  padding: 20px 24px;
  border-left: 2px solid #bd2a75;
  background: #dfe4e8;
}

.bugfix-install-path span { color: #9b1f60; font: .55rem var(--mono); }
.bugfix-install-path code { overflow-wrap: anywhere; color: #303744; font-size: .68rem; }
.bugfix-install-path strong { color: #68717d; font: 600 .63rem var(--mono); }
.bugfix-prompt { max-width: 1500px; margin: 24px auto 0; }

.prompt-template {
  margin-top: 28px;
  border: 1px solid #252b35;
  border-radius: 7px;
  background: #0e1014;
  color: var(--paper);
}

.prompt-template > header {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-strong);
}

.prompt-template > header div { display: flex; flex-direction: column; gap: 4px; }
.prompt-template > header span { color: var(--cyan); font: .52rem var(--mono); }
.prompt-template > header strong { font: 600 .92rem var(--display); }

.prompt-template button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font: 700 .55rem var(--mono);
  text-transform: uppercase;
}

.prompt-template button:hover,
.prompt-template button.is-copied { border-color: var(--lime); color: var(--lime); }

.prompt-template pre {
  max-height: 570px;
  overflow: auto;
  padding: 26px;
  white-space: pre-wrap;
  color: #b8c1cf;
  font-size: .72rem;
  line-height: 1.75;
}

.review-gate { border-top: 1px solid var(--line-strong); }

.green-suite-gate {
  max-width: 1500px;
  display: grid;
  grid-template-columns: 200px minmax(320px, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 35px;
  margin: 0 auto 30px;
  padding: 30px;
  border: 1px solid rgba(198, 255, 61, .65);
  background: #10140d;
}

.green-suite-gate span { color: var(--lime); font: .57rem var(--mono); }
.green-suite-gate strong { color: var(--lime); font: 600 1.45rem/1.2 var(--display); }
.green-suite-gate p { color: #aeb8a0; font-size: .83rem; line-height: 1.7; }

.review-grid {
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.review-grid > div {
  min-width: 0;
  min-height: 220px;
  padding: 28px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.review-grid span { color: var(--cyan); font: .58rem var(--mono); }
.review-grid strong { display: block; margin-top: 30px; font: 600 1.1rem var(--display); }
.review-grid p { margin-top: 10px; color: var(--slate); font-size: .82rem; line-height: 1.68; }

.review-footer {
  max-width: 1500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 30px auto 0;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: #11141a;
}

.review-footer > div { display: flex; flex-direction: column; gap: 5px; }
.review-footer span { color: var(--dim); font: .53rem var(--mono); }
.review-footer strong { color: var(--lime); font: 600 .78rem var(--mono); }
.review-footer a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font: 700 .58rem var(--mono);
  text-transform: uppercase;
}
.review-footer a:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 1180px) {
  .maintainer-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
  }

  .maintainer-console { max-width: 780px; }
  .lineage-track { grid-template-columns: 1fr; gap: 18px; }
  .lineage-link { min-height: 44px; transform: rotate(90deg); }
  .human-memory-warning,
  .repo-entry-paths > header,
  .green-suite-gate { grid-template-columns: 160px 1fr; }
  .human-memory-warning p,
  .repo-entry-paths > header p,
  .green-suite-gate p { grid-column: 2; }
  .bugfix-skill-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .nav__links { display: none; }
}

@media (max-width: 900px) {
  :root { --nav: 56px; }
  .nav { grid-template-columns: 1fr auto; padding: 0 16px; }
  .maintainer-hero {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    overflow: hidden;
    padding: 80px 22px 72px;
  }

  .maintainer-hero__copy { width: 100%; max-width: 100%; }
  .maintainer-console { width: 100%; margin-top: 55px; }
  .maintainer-hero h1 { font-size: 4.2rem; }
  .support-section,
  .lineage-section,
  .model-policy,
  .workflow-skills,
  .bugfix-skill-section,
  .review-gate { padding: 74px 22px; }

  .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 44px; }
  .section-head h2 { font-size: 2.8rem; }
  .support-lanes { grid-template-columns: 1fr; gap: 12px; }
  .skill-pipeline { grid-template-columns: 1fr; gap: 12px; }
  .skill-connector { min-height: 44px; transform: rotate(90deg); }
  .skill-prompts { grid-template-columns: 1fr; }
  .repo-entry-grid { grid-template-columns: 1fr; }
  .repo-entry-grid article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 18, 24, .2);
  }
  .repo-entry-grid article:last-child { border-bottom: 0; }
  .lane-divider { min-height: 44px; transform: rotate(90deg); }
  .model-row { grid-template-columns: 1.1fr .9fr .9fr; }
  .model-row > span:nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--line); border-right: 0; }
  .model-row--head > span:nth-child(4) { display: none; }
  .model-row--head { min-height: 44px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .maintainer-hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 3rem;
  }
  .maintainer-hero__copy > p { font-size: 1rem; }
  .maintainer-console { box-shadow: 9px 9px 0 #15181e; }
  .console-body { grid-template-columns: 1fr; padding: 24px; }
  .console-body strong { margin-bottom: 7px; }
  .maintainer-console > footer { grid-template-columns: auto 1fr; }
  .section-head h2 { font-size: 2.2rem; }
  .support-lane { padding: 25px; }
  .support-price { align-items: flex-start; flex-direction: column; }
  .support-price strong { font-size: 1.8rem; }
  .human-memory-warning,
  .repo-entry-paths > header,
  .green-suite-gate { grid-template-columns: 1fr; gap: 18px; }
  .human-memory-warning p,
  .repo-entry-paths > header p,
  .green-suite-gate p { grid-column: 1; }
  .repo-entry-paths > header,
  .repo-entry-grid article { padding: 24px; }
  .repo-entry-paths > footer { grid-template-columns: 1fr; }
  .model-row { grid-template-columns: 1fr 1fr; }
  .model-row > span:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-right: 0; }
  .model-row > span:nth-child(3) { border-right: 0; }
  .model-row--head { display: none; }
  .model-policy__footer { grid-template-columns: 1fr; }
  .skill-location { grid-template-columns: 1fr; }
  .skill-metrics { grid-template-columns: 1fr; }
  .bugfix-loop { grid-template-columns: 1fr; }
  .bugfix-skill-card > div { padding: 24px; }
  .bugfix-install-path { grid-template-columns: 1fr; }
  .prompt-template > header { align-items: flex-start; flex-direction: column; padding: 17px; }
  .prompt-template button { width: 100%; }
  .prompt-template pre { padding: 20px; font-size: .66rem; }
  .review-grid { grid-template-columns: 1fr; }
  .review-grid > div { min-height: 0; }
  .review-footer { align-items: flex-start; flex-direction: column; }
  .review-footer a { width: 100%; justify-content: center; }
}

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