:root {
  --bg: #e7e1d2;
  --surface: #f7f3e8;
  --surface-2: #eee9dc;
  --ink: #121416;
  --muted: #555b5d;
  --dim: #747878;
  --line: #c9c3b5;
  --line-strong: #17191b;
  --hot: #2455ff;
  --blue: #2455ff;
  --green: #4d7200;
  --gold: #879f00;
  --signal: #caff42;
  --font-ui: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1540px;
  --shell-gutter-y: 44px;
  --shell-gutter-x: 48px;
}

* { box-sizing: border-box; }

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

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(36, 85, 255, 0.08) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(18, 20, 22, 0.045) 0 1px, transparent 1px 100%),
    var(--bg);
  background-size: 96px 100%, 100% 32px, auto;
  font-family: var(--font-ui);
  letter-spacing: 0;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: min(calc(100% - var(--shell-gutter-x)), var(--max));
  height: var(--shell-gutter-y);
  border-inline: 1px solid var(--line-strong);
  background: var(--surface);
  transform: translateX(-50%);
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 11px, rgba(18, 20, 22, 0.016) 11px 12px);
  opacity: 0.7;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, h4, p, ul, ol, pre { margin: 0; }
code { font-family: var(--font-mono); }

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--shell-gutter-x)), var(--max));
  margin: var(--shell-gutter-y) auto;
  overflow: clip;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--surface);
  box-shadow:
    12px 12px 0 rgba(18, 20, 22, 0.12),
    0 34px 90px rgba(18, 20, 22, 0.12);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 18px clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 232, 0.94);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
}
.brand-type {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.08rem;
  font-weight: 700;
  text-transform: uppercase;
}
.brand-tagline {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.79rem;
  font-weight: 600;
  text-transform: uppercase;
}
.nav a { padding: 8px 0; transition: color 160ms ease, transform 160ms ease; }
.nav a:hover { color: var(--ink); transform: translateY(-1px); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 22px clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}
.breadcrumbs a:hover { color: var(--ink); }

.pkg-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.36fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: end;
  padding: clamp(42px, 6vw, 88px) clamp(20px, 3vw, 44px) clamp(32px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(36, 85, 255, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(202, 255, 66, 0.12), transparent 68%);
}
.pkg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 85, 255, 0.3), transparent 1px) 0 0 / 16.666% 100%,
    linear-gradient(rgba(18, 20, 22, 0.12), transparent 1px) 0 0 / 100% 72px;
  opacity: 0.24;
}
.pkg-hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 4vw, 68px);
  bottom: 0;
  width: min(38vw, 520px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hot), var(--gold));
  opacity: 0.72;
}
.pkg-hero-index { align-items: center; }
.hero-copy, .hero-panel { position: relative; z-index: 1; min-width: 0; }
.eyebrow, .section-kicker {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
}
h1 {
  max-width: 14ch;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(3.05rem, 7vw, 6.9rem);
  font-weight: 800;
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}
.lede {
  width: min(100%, 820px);
  margin-top: clamp(20px, 3vw, 34px);
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.12;
}
.summary-card {
  width: min(100%, 820px);
  margin-top: clamp(20px, 3vw, 34px);
  padding: 18px 20px;
  border: 1px solid rgba(36, 85, 255, 0.38);
  border-radius: 0;
  background: rgba(36, 85, 255, 0.055);
}
.summary-card p:last-child {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.9vw, 1.72rem);
  font-weight: 650;
  line-height: 1.22;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button.primary { border-color: var(--hot); background: var(--hot); color: #fff; }
.button.secondary { background: rgba(255, 255, 255, 0.035); }
.copy-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.copy-button:hover { border-color: var(--hot); }
.copy-button:active { transform: translateY(1px) scale(0.98); }
.copy-button[data-state="copied"] { border-color: rgba(114, 182, 97, 0.72); color: var(--green); }
.copy-button[data-state="error"] { border-color: rgba(242, 109, 61, 0.72); color: var(--hot); }
.hero-panel {
  display: grid;
  align-self: stretch;
  padding: 4px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(202, 255, 66, 0.22), transparent),
    var(--surface-2);
  box-shadow:
    6px 6px 0 rgba(18, 20, 22, 0.12);
}
.at-a-glance {
  display: grid;
  align-content: center;
}
.at-a-glance .section-kicker {
  padding: 14px 0 6px;
  border-bottom: 1px solid var(--line);
}
.metric {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.metric:last-child { border-bottom: 0; }
.metric span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}
.metric strong {
  min-width: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pkg-section {
  padding: clamp(30px, 4.5vw, 58px) clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
}
.pkg-section:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.008);
}
.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(340px, 1.18fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.security-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(30px, 5vw, 70px);
  background: linear-gradient(90deg, rgba(36, 85, 255, 0.07), transparent 34%);
}
.support-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(45, 139, 216, 0.07), transparent 42%),
    rgba(255, 255, 255, 0.012);
}
.support-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  list-style: none;
}
.support-list li {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
}
.support-list strong,
.support-list span {
  display: block;
}
.support-list strong {
  color: var(--ink);
  font-size: 0.96rem;
}
.support-list span {
  margin-top: 6px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.agent-risk-section .detail-stack article:first-child {
  border-color: rgba(242, 109, 61, 0.34);
}
.faq-section {
  background: rgba(255, 255, 255, 0.012);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.faq-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}
.faq-grid h3 {
  margin-top: 0;
  font-size: 1rem;
}
.faq-grid p {
  margin-top: 10px;
  color: var(--dim);
}
.gate-section { background: rgba(45, 139, 216, 0.035); }
.sources-section { background: rgba(255, 255, 255, 0.018); }
.pkg-search-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: center;
  padding-top: clamp(22px, 3.2vw, 38px);
  padding-bottom: clamp(22px, 3.2vw, 38px);
  background:
    linear-gradient(90deg, rgba(114, 182, 97, 0.052), transparent 44%),
    rgba(255, 255, 255, 0.012);
}
.search-copy p {
  max-width: 520px;
  margin-top: 10px;
  font-size: 0.96rem;
  line-height: 1.45;
}
.pkg-section h2 {
  max-width: 780px;
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.pkg-section p {
  max-width: 820px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.58;
}
.install-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  background: rgba(255, 255, 255, 0.014);
}
.install-command-panel {
  display: grid;
  gap: 22px;
}
.platform-install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.platform-install-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
}
.platform-install-grid h3 {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.install-command-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.install-command-row {
  display: block;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.install-command-row:first-child { border-top: 0; padding-top: 0; }
.install-command-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-bottom: 6px;
}
.install-command-eyebrow {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}
.install-command-head span {
  flex: 0 0 auto;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.install-command-shell {
  position: relative;
  min-width: 0;
  min-height: 48px;
  padding: 13px 88px 13px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.026);
}
.install-command-shell code {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.45;
}
.install-command-shell .copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 32px;
}
.install-command-source {
  margin: 8px 0 0;
  color: var(--dim);
  font-size: 0.82rem;
  line-height: 1.35;
}
.install-command-source a { color: var(--muted); }
.install-command-source a:hover { color: var(--ink); }
.signal-grid,
.related-columns {
  display: grid;
  align-items: start;
  gap: 12px;
}
.signal-grid article,
.related-columns article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
    rgba(255, 255, 255, 0.018);
}
.signal-grid h3,
.related-columns h3 {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2;
}
.signal-grid p,
.signal-grid ul,
.related-columns p,
.related-columns ul {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}
.signal-grid ul,
.related-columns ul {
  padding-left: 1.1rem;
}
.signal-grid li + li,
.related-columns li + li {
  margin-top: 8px;
}
.signal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
.signal-grid strong {
  color: var(--ink);
  font-family: var(--font-mono);
}
.related-columns {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.related-section {
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
}
.related-columns a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hot);
  text-underline-offset: 0.22em;
}
.related-columns span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}
.registry-insights-section {
  background: rgba(255, 255, 255, 0.01);
}
.registry-insights-table td {
  min-width: 280px;
}
.compact-chip-list {
  margin-top: 0;
}
.compact-chip-list li {
  font-size: 0.68rem;
}
.metadata-pair-list {
  display: grid;
  gap: 7px;
  margin: 0;
}
.metadata-pair-list div {
  display: grid;
  grid-template-columns: minmax(92px, 0.35fr) minmax(0, 1fr);
  gap: 10px;
}
.metadata-pair-list dt {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.metadata-pair-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.manager-match-section {
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  background: rgba(114, 182, 97, 0.026);
}
.manager-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.manager-match-card {
  position: relative;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(114, 182, 97, 0.042), transparent),
    rgba(255, 255, 255, 0.018);
  overflow: hidden;
}
.manager-match-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--green);
  opacity: 0.44;
}
.manager-match-head {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.manager-match-head strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.manager-match-head span {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}
.manager-match-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.manager-match-card p:first-of-type {
  color: var(--ink);
}
.manager-match-card code {
  font-family: var(--font-mono);
}
.manager-match-card pre {
  margin-top: 10px;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}
.manager-match-card ul {
  margin-top: 10px;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}
.manager-match-card small {
  display: block;
  margin-top: 10px;
  color: var(--dim);
  font-size: 0.75rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.manager-match-card a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hot);
  text-underline-offset: 0.22em;
}
.file-surface-section {
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(208, 162, 72, 0.056), transparent 42%),
    rgba(255, 255, 255, 0.012);
}
.file-surface-section > div {
  min-width: 0;
}
.file-location-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}
.file-location-card {
  min-width: 0;
  padding: clamp(16px, 2vw, 22px);
  background:
    linear-gradient(180deg, rgba(208, 162, 72, 0.056), transparent),
    var(--surface-2);
}
.file-location-card h3 {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.5vw, 1.38rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.file-location-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}
.file-location-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}
.file-location-list div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.file-location-list dt {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.file-location-list dd {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  margin: 0;
}
.file-location-list code {
  display: block;
  max-width: 100%;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}
.executable-table td:first-child {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
}
.freshness-section {
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 1fr);
}
.freshness-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}
.freshness-metrics div {
  min-width: 0;
  padding: 14px;
  background: var(--surface-2);
}
.freshness-metrics span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.freshness-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}
.freshness-repo {
  margin-top: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.freshness-repo a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hot);
  text-underline-offset: 0.22em;
}
.freshness-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}
.freshness-item {
  display: grid;
  grid-template-columns: minmax(72px, max-content) minmax(0, 1fr);
  gap: 6px 12px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
}
.freshness-item strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}
.freshness-item span {
  color: var(--muted);
  line-height: 1.45;
}
.freshness-item small,
.freshness-item em {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  overflow-wrap: anywhere;
}
.freshness-item small a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hot);
  text-underline-offset: 0.22em;
}
.freshness-warning {
  border-color: rgba(242, 178, 61, 0.58);
  background: rgba(242, 178, 61, 0.08);
}
.freshness-notice {
  border-color: rgba(242, 178, 61, 0.38);
}
.detail-stack { display: grid; gap: 12px; }
.detail-stack article {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
    var(--surface-2);
}
.detail-stack h3 {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
}
.detail-stack p, .detail-stack ul { margin-top: 10px; color: var(--muted); line-height: 1.5; }
.detail-stack ul { padding-left: 1.1rem; }
.detail-stack li + li { margin-top: 8px; }
.detail-stack a, table a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hot); text-underline-offset: 0.22em; overflow-wrap: anywhere; }
.pkg-search {
  --pagefind-ui-primary: var(--ink);
  --pagefind-ui-text: var(--ink);
  --pagefind-ui-background: transparent;
  --pagefind-ui-border: var(--line-strong);
  --pagefind-ui-tag: var(--surface-2);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 8px;
  --pagefind-ui-image-border-radius: 6px;
  --pagefind-ui-font: var(--font-ui);
  min-width: 0;
}
.pkg-search .pagefind-ui__form {
  margin: 0;
}
.pkg-search .pagefind-ui__form::before { display: none; }
.pkg-search .pagefind-ui__search-input {
  height: 54px;
  padding: 0 18px 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.pkg-search .pagefind-ui__search-input:focus {
  border-color: rgba(114, 182, 97, 0.72);
  background: #fffdf6;
  outline: none;
  transform: translateY(-1px);
}
.pkg-search .pagefind-ui__search-input::placeholder {
  color: #8d887f;
  opacity: 1;
}
.pkg-search .pagefind-ui__drawer {
  margin-top: 14px;
}
.pkg-search .pagefind-ui__message,
.pkg-search .pagefind-ui__result-excerpt,
.pkg-search .pagefind-ui__result-nested {
  color: var(--muted);
}
.pkg-search .pagefind-ui__result {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.pkg-search .pagefind-ui__result-title {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}
.pkg-search .pagefind-ui__result-title a {
  text-decoration: underline;
  text-decoration-color: var(--hot);
  text-underline-offset: 0.22em;
}
.pkg-search mark {
  background: rgba(242, 109, 61, 0.18);
  color: var(--ink);
}
.readme-excerpt {
  max-width: 860px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.readme-excerpt h3 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2.35rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.readme-excerpt h4 {
  margin-top: 24px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.25;
}
.readme-excerpt p,
.readme-excerpt ul,
.readme-excerpt ol,
.readme-excerpt pre {
  margin-top: 14px;
}
.readme-excerpt ul,
.readme-excerpt ol {
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.55;
}
.readme-excerpt li + li { margin-top: 8px; }
.readme-excerpt code {
  color: var(--ink);
  font-size: 0.92em;
}
.readme-excerpt pre {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
}
.readme-excerpt a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hot);
  text-underline-offset: 0.22em;
}
.readme-label,
.readme-source {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.detail-stack .chip-list {
  padding-left: 0;
}
.chip-list li {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}
.detail-stack .chip-list li + li {
  margin-top: 0;
}
.table-wrap { margin-top: 22px; overflow-x: auto; border-top: 1px solid var(--line-strong); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th {
  width: 230px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
}
td { color: var(--ink); overflow-wrap: anywhere; }
.package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.package-row {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 82px;
  padding: 14px;
  background: var(--surface-2);
  overflow: hidden;
  transition: background 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.package-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--hot);
  opacity: 0;
  transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.package-row:hover { background: #e2e8ff; transform: translateY(-1px); }
.package-row:hover::before { opacity: 0.76; }
.package-row:active { transform: translateY(1px) scale(0.995); }
.package-row span { position: relative; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.package-row small {
  position: relative;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}
.hub-groups {
  display: grid;
  gap: 28px;
  margin-top: 24px;
}
.hub-group {
  display: grid;
  gap: 12px;
}
.hub-group h3,
.hub-cluster h2 {
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.7rem);
  line-height: 1;
  text-transform: uppercase;
}
.hub-group .hub-grid {
  margin-top: 0;
}
.hub-card {
  position: relative;
  display: grid;
  min-height: 160px;
  gap: 12px;
  align-content: space-between;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent),
    var(--surface-2);
  overflow: hidden;
  transition: background 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hub-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hot), var(--gold), transparent);
  opacity: 0;
  transition: opacity 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hub-card:hover { background: #e2e8ff; transform: translateY(-1px); }
.hub-card:hover::after { opacity: 0.82; }
.hub-card:active { transform: translateY(1px) scale(0.995); }
.hub-card span {
  position: relative;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.hub-card strong {
  position: relative;
  color: var(--hot);
  font-family: var(--font-mono);
  font-size: 2rem;
  line-height: 1;
}
.hub-card small {
  position: relative;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hub-table td:first-child { min-width: 160px; font-weight: 700; }
.hub-cluster {
  display: grid;
  gap: 18px;
}
.hub-spoke-list .package-row small {
  text-transform: none;
}
.hub-related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.hub-related-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 120px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent),
    var(--surface-2);
  overflow: hidden;
  transition: background 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hub-related-card:hover { background: #e2e8ff; transform: translateY(-1px); }
.hub-related-card:active { transform: translateY(1px) scale(0.995); }
.hub-related-card span {
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
}
.hub-related-card small {
  color: var(--muted);
}
.hub-related-card strong {
  color: var(--hot);
  font-family: var(--font-mono);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px clamp(20px, 3vw, 44px);
  color: var(--dim);
  font-size: 0.9rem;
}
.site-footer p { max-width: 620px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .platform-install-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --shell-gutter-y: 12px;
    --shell-gutter-x: 24px;
  }
  .masthead, .site-footer { align-items: flex-start; flex-direction: column; }
  .brand-tagline { display: none; }
  .nav { width: 100%; flex-wrap: wrap; gap: 12px 18px; }
  .pkg-hero, .split-section, .security-section, .support-section, .pkg-search-section, .install-section, .signal-grid, .related-columns, .platform-install-grid, .install-command-row, .freshness-metrics, .file-location-board { grid-template-columns: 1fr; }
  .pkg-hero { padding-top: 38px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.8rem); }
  .lede { font-size: 1.32rem; }
  .package-list { grid-template-columns: 1fr; }
  .hub-grid,
  .hub-related-list { grid-template-columns: 1fr; }
  .metric { grid-template-columns: 1fr; gap: 6px; }
  th { width: 150px; }
}

/* 2026 visual system: a quiet, high-signal technical atlas. */
:root {
  --bg: #070a0f;
  --surface: #0c1017;
  --surface-2: #111722;
  --ink: #f2f5f7;
  --muted: #a6b0bd;
  --dim: #758191;
  --line: #222b38;
  --line-strong: #344154;
  --hot: #8fffc1;
  --blue: #7aa7ff;
  --green: #8fffc1;
  --gold: #ffd479;
  --signal: #8fffc1;
  --max: 1440px;
  --shell-gutter-y: 0px;
  --shell-gutter-x: 0px;
}

html { background: var(--bg); }
body {
  background:
    radial-gradient(circle at 10% -10%, rgba(122, 167, 255, .14), transparent 32rem),
    radial-gradient(circle at 90% 8%, rgba(143, 255, 193, .08), transparent 30rem),
    var(--bg);
  color: var(--ink);
}
body::before {
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 1;
}
body::after { display: none; }

::selection { background: var(--hot); color: #07110d; }
a:focus-visible { outline: 2px solid var(--hot); outline-offset: 4px; }

.site-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  border: 0;
  border-inline: 1px solid rgba(255,255,255,.07);
  background: rgba(10, 14, 20, .92);
  box-shadow: 0 0 100px rgba(0,0,0,.5);
}

.masthead {
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-color: rgba(255,255,255,.09);
  background: rgba(7, 10, 15, .82);
  backdrop-filter: blur(20px) saturate(140%);
}
.brand { gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--hot);
  color: #07110d;
  font-size: .74rem;
  letter-spacing: -.04em;
  box-shadow: 0 0 0 1px rgba(143,255,193,.25), 0 0 28px rgba(143,255,193,.12);
}
.brand-lockup { display: grid; gap: 1px; }
.brand-type { font-size: 1rem; letter-spacing: -.03em; text-transform: none; }
.brand-tagline { padding: 0; border: 0; font-size: .58rem; letter-spacing: .13em; }
.nav { gap: 6px; font-size: .69rem; letter-spacing: .06em; }
.nav a { padding: 9px 12px; border-radius: 8px; }
.nav a:hover { background: rgba(255,255,255,.05); color: var(--ink); transform: none; }
.nav .nav-primary { border: 1px solid var(--line); color: var(--ink); }

.breadcrumbs {
  padding: 16px clamp(20px, 4vw, 64px);
  border-color: var(--line);
  background: rgba(17,23,34,.65);
  font-size: .66rem;
  letter-spacing: .06em;
}

.pkg-hero {
  grid-template-columns: minmax(0, 1fr) minmax(290px, .34fr);
  align-items: center;
  padding: clamp(64px, 9vw, 132px) clamp(20px, 4vw, 64px) clamp(56px, 8vw, 112px);
  border-color: var(--line);
  background: radial-gradient(circle at 85% 15%, rgba(143,255,193,.08), transparent 26rem);
}
.pkg-hero::before {
  background: linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.035) 50%, transparent 50.1%);
  opacity: 1;
}
.pkg-hero::after { right: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--hot)); opacity: .55; }
.eyebrow, .section-kicker {
  color: var(--hot);
  font-size: .68rem;
  letter-spacing: .13em;
}
.eyebrow::before, .section-kicker::before { content: "// "; color: var(--dim); }
h1 {
  max-width: 12ch;
  margin-top: 18px;
  font-size: clamp(3.4rem, 7.4vw, 7.25rem);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .88;
  text-transform: none;
}
.lede {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.16rem, 1.8vw, 1.55rem);
  font-weight: 400;
  line-height: 1.45;
}
.summary-card {
  max-width: 760px;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  background: transparent;
}
.summary-card p:last-child { color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.35rem); font-weight: 400; line-height: 1.45; }
.hero-actions { gap: 10px; }
.button { min-height: 44px; border-color: var(--line-strong); border-radius: 8px; font-size: .71rem; letter-spacing: .06em; }
.button.primary { border-color: var(--hot); background: var(--hot); color: #07110d; }
.button.secondary { background: transparent; }
.button.secondary:hover { border-color: var(--muted); background: rgba(255,255,255,.04); }

.hero-panel {
  padding: 10px 22px;
  border-color: var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(143,255,193,.07), rgba(122,167,255,.03)), var(--surface-2);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.at-a-glance .section-kicker, .metric { border-color: var(--line); }
.metric { grid-template-columns: minmax(0,.55fr) minmax(0,1fr); padding: 18px 0; }
.metric span { font-size: .66rem; letter-spacing: .06em; }
.metric strong { font-size: .95rem; font-weight: 600; }

.pkg-section { padding: clamp(48px, 6vw, 84px) clamp(20px, 4vw, 64px); border-color: var(--line); }
.pkg-section:nth-of-type(odd) { background: rgba(255,255,255,.006); }
.pkg-section h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.6vw, 3.75rem);
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: .98;
  text-transform: none;
}
.pkg-section p { color: var(--muted); }
.split-section { grid-template-columns: minmax(250px,.55fr) minmax(360px,1.15fr); }
.security-section, .support-section, .gate-section, .sources-section, .manager-match-section, .file-surface-section, .pkg-search-section, .install-section, .faq-section, .registry-insights-section { background: transparent; }

.pkg-search-section { grid-template-columns: minmax(240px,.42fr) minmax(0,1fr); }
.pkg-search .pagefind-ui__search-input {
  height: 68px;
  padding-inline: 22px;
  border-color: var(--line-strong);
  border-radius: 12px;
  background: #0a0f16;
  box-shadow: inset 0 1px rgba(255,255,255,.03), 0 14px 38px rgba(0,0,0,.18);
}
.pkg-search .pagefind-ui__search-input:focus { border-color: var(--hot); background: #0d141c; box-shadow: 0 0 0 3px rgba(143,255,193,.08); transform: none; }
.pkg-search .pagefind-ui__search-input::placeholder { color: var(--dim); }
.pkg-search mark { background: rgba(143,255,193,.16); color: var(--ink); }

.hub-groups { gap: 40px; }
.hub-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; border: 0; background: transparent; }
.hub-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.hub-card:hover { border-color: #405064; background: #151d29; transform: translateY(-3px); }
.hub-card::after { inset: auto 20px 0; background: var(--hot); }
.hub-card span { font-size: 1rem; font-weight: 600; text-transform: none; }
.hub-card strong { color: var(--hot); font-size: 1.65rem; font-weight: 500; }
.hub-card small { color: var(--dim); font-size: .65rem; }

.package-list { gap: 8px; border: 0; background: transparent; }
.package-row { min-height: 78px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.package-row::before { width: 3px; background: var(--hot); }
.package-row:hover { border-color: #405064; background: #151d29; transform: translateX(3px); }
.package-row span { font-weight: 600; }
.package-row small { color: var(--dim); font-size: .65rem; }

.detail-stack article, .signal-grid article, .related-columns article, .faq-grid article, .manager-match-card {
  border-color: var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.detail-stack article:hover, .signal-grid article:hover, .related-columns article:hover { border-color: var(--line-strong); }
.platform-install-grid article, .file-location-card, .freshness-metrics div, .freshness-item { border-color: var(--line); background: var(--surface-2); }
.install-command-shell { border-color: var(--line); background: #080c12; }
.copy-button { border-color: var(--line-strong); background: var(--surface-2); color: var(--muted); }
.copy-button:hover { border-color: var(--hot); color: var(--hot); }
.chip-list li { border-color: var(--line-strong); color: var(--muted); }
.table-wrap, th, td { border-color: var(--line); }
.readme-excerpt pre, .manager-match-card pre { background: #070a0f; }

.site-footer { min-height: 110px; padding: 28px clamp(20px,4vw,64px); border-top: 1px solid var(--line); }
.footer-links a { padding: 7px 0; }

@media (max-width: 1040px) {
  .hub-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  :root { --shell-gutter-y: 0px; --shell-gutter-x: 0px; }
  .site-shell { border-inline: 0; }
  .masthead { align-items: center; flex-direction: row; }
  .nav { width: auto; }
  .nav a:not(.nav-primary) { display: none; }
  .brand-tagline { display: block; }
  .pkg-hero, .split-section, .security-section, .support-section, .pkg-search-section, .install-section, .signal-grid, .related-columns, .platform-install-grid, .freshness-metrics, .file-location-board { grid-template-columns: 1fr; }
  .pkg-hero { gap: 48px; padding-top: 64px; }
  .pkg-hero::before { display: none; }
  h1 { font-size: clamp(3rem,15vw,5rem); }
  .hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .brand-tagline { display: none; }
  .nav .nav-primary { padding-inline: 10px; }
  .hub-grid, .package-list { grid-template-columns: 1fr; }
  .hub-card { min-height: 140px; }
  .site-footer { align-items: flex-start; }
}

.av-search-form {
  display: grid;
}
.av-search-input {
  width: 100%;
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #10100f;
  color: var(--ink);
  font: 700 0.92rem/1.3 var(--font-mono);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms cubic-bezier(0.16, 1, 0.3, 1), transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.av-search-input::placeholder {
  color: #8d887f;
  opacity: 1;
}
.av-search-input:focus-visible {
  border-color: rgba(114, 182, 97, 0.72);
  background: #22211f;
  outline: none;
  transform: translateY(-1px);
}
.av-search-status {
  min-height: 1.3em;
  margin-top: 12px;
  color: var(--dim);
  font: 700 0.74rem/1.3 var(--font-mono);
  text-transform: uppercase;
}
.av-search-results {
  display: grid;
  gap: 1px;
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--line);
}
.av-search-result {
  border: 0;
}
