/* =========================================================
   OpenCode Windows Basic Setup — v1.0
   Dark editorial workbench. No frameworks. No external assets.
   ========================================================= */

:root {
  --bg: #0d0f0d;
  --bg-deep: #090b09;
  --bg-raised: #111411;
  --panel: #141814;
  --panel-strong: #171c17;

  --ink: #f1f3ea;
  --ink-soft: #d3d9cd;
  --muted: #a6b0a1;
  --sage: #b6c7b0;
  --lime: #d5ff62;
  --lime-strong: #e5ff9b;
  --sand: #d9b982;

  --line: rgba(232, 238, 224, 0.14);
  --line-strong: rgba(232, 238, 224, 0.28);
  --line-faint: rgba(232, 238, 224, 0.075);
  --lime-tint: rgba(213, 255, 98, 0.045);

  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "Liberation Serif", Georgia, serif;
  --mono: "Cascadia Code", "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --maxw: 1440px;
  --gutter: clamp(20px, 4.2vw, 72px);
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-width: 300px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  line-height: 1.65;
  letter-spacing: 0.002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(232, 238, 224, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 238, 224, 0.022) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 92%);
}

::selection {
  background: var(--lime);
  color: #0b0d08;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: 400;
}

ul, ol {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

code,
kbd,
samp,
pre {
  font-family: var(--mono);
}

code {
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.site-header :focus-visible,
.install-terminal :focus-visible {
  outline-offset: 2px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 16px;
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #0b0d08;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 180ms var(--ease);
}

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

main:focus {
  outline: none;
}

.page-frame {
  position: fixed;
  inset: 14px;
  z-index: 90;
  border: 1px solid rgba(232, 238, 224, 0.055);
  pointer-events: none;
}

.page-frame::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 5px;
  height: 5px;
  background: var(--lime);
  opacity: 0.8;
}

.shell {
  width: min(var(--maxw), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------
   Shared type and controls
   --------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: none;
  background: var(--lime);
}

.eyebrow--small {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker span {
  color: var(--lime);
}

.section-kicker::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--line-strong);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}

.btn .icon {
  flex: none;
  transition: transform 220ms var(--ease);
}

.btn--primary {
  border-color: var(--lime);
  background: var(--lime);
  color: #0b0d08;
}

.btn--primary:hover {
  border-color: var(--lime-strong);
  background: var(--lime-strong);
}

.btn--primary:hover .icon {
  transform: translateY(2px);
}

.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--ghost:hover .icon--down {
  transform: translateY(2px);
}

.btn--compact {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 9.5px;
  gap: 9px;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 64px;
  min-height: 30px;
  flex: none;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease);
}

.copy-btn:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.copy-btn.is-copied {
  border-color: var(--lime);
  background: var(--lime);
  color: #0b0d08;
}

.copy-btn svg {
  flex: none;
}

.copy-btn--path {
  min-height: 28px;
  padding: 3px 7px;
}

.copy-label {
  display: inline-block;
}

p code,
li code,
h3 code,
h4 code,
.hero-lede code {
  padding: 0.08em 0.34em;
  border: 1px solid rgba(232, 238, 224, 0.1);
  background: rgba(182, 199, 176, 0.07);
  color: var(--ink);
  font-size: 0.88em;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: rgba(13, 15, 13, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 13, 11, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 34px);
  min-height: var(--header-h);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line-strong);
  background: rgba(232, 238, 224, 0.02);
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-left: 1px solid var(--bg);
  border-bottom: 1px solid var(--bg);
  background: var(--lime);
}

.brand:hover .brand-mark {
  border-color: var(--lime);
  background: rgba(213, 255, 98, 0.04);
}

.brand-type {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.21em;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.nav-num {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.04em;
  transition: color 180ms var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms var(--ease);
}

.nav-link:hover,
.nav-link:hover .nav-num,
.nav-link[aria-current="location"],
.nav-link[aria-current="location"] .nav-num {
  color: var(--lime);
}

.nav-link:hover::after,
.nav-link[aria-current="location"]::after {
  transform: scaleX(1);
}

.header-cta {
  margin-left: 2px;
  white-space: nowrap;
}

.header-cta-short {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 12px;
}

.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 200ms var(--ease), top 200ms var(--ease);
}

.nav-toggle-icon span:first-child {
  top: 2px;
}

.nav-toggle-icon span:last-child {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--lime);
  color: var(--lime);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child {
  top: 6px;
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(42px, 6vw, 86px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(38px, 5vw, 84px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(58px, 6vw, 92px);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.hero-issue {
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  max-width: none;
  margin: 0 0 clamp(24px, 3vw, 34px);
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.6rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

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

.hero-lede {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.6;
  letter-spacing: -0.008em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.5vw, 40px);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.trust-line svg {
  flex: none;
  color: var(--lime);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 530px;
  padding: 16px 0 clamp(76px, 7vw, 102px);
}

.constellation {
  position: absolute;
  inset: -46px -76px -28px -88px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.constellation svg {
  width: 100%;
  height: 100%;
}

.path-node {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: rgba(13, 15, 13, 0.94);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
}

.node-dot {
  width: 4px;
  height: 4px;
  flex: none;
  background: var(--lime);
}

.path-node--rules {
  top: 2%;
  right: -3%;
}

.path-node--skills {
  bottom: 17%;
  left: -7%;
}

.path-node--config {
  top: 2%;
  left: -8%;
}

.terminal {
  position: relative;
  z-index: 2;
  width: min(100%, 478px);
  margin: 0 0 0 auto;
  border: 1px solid var(--line-strong);
  background: #0b0d0b;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.terminal::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 4;
  width: 34%;
  height: 1px;
  background: var(--lime);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #111511;
}

.terminal-dots {
  display: inline-flex;
  gap: 5px;
  flex: none;
}

.terminal-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.terminal-dots i:first-child {
  border-color: var(--lime);
  background: var(--lime);
}

.terminal-title {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-mode {
  flex: none;
  padding: 4px 6px;
  border: 1px solid rgba(213, 255, 98, 0.28);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.terminal-body {
  padding: 21px 21px 19px;
}

.term-label {
  margin: 0 0 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.term-command {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
}

.term-prompt {
  margin-right: 7px;
  color: var(--sage);
}

.term-cursor {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 6px;
  background: var(--lime);
  vertical-align: -0.12em;
  animation: cursor-blink 1.15s steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.term-divider {
  margin: 17px 0 14px;
  border-top: 1px dashed rgba(232, 238, 224, 0.12);
}

.term-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  margin: 7px 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
}

.term-ok {
  color: var(--lime);
}

.term-hold {
  color: var(--sand);
}

.term-file {
  color: var(--muted);
  font-size: 9.5px;
  text-align: right;
  overflow-wrap: anywhere;
}

.term-ready {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
}

.term-ready .term-prompt {
  color: var(--lime);
}

.terminal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 5px;
  background: var(--lime);
  vertical-align: 1px;
}

.visual-caption {
  position: absolute;
  right: 0;
  bottom: 38px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-caption::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

/* ---------------------------------------------------------
   System map
   --------------------------------------------------------- */

.system-map-block {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-strong);
  background: rgba(17, 20, 17, 0.76);
}

.system-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 14px;
  border-bottom: 1px solid var(--line);
}

.map-coordinate {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

.map-item {
  min-width: 0;
  padding: 21px 24px 25px 0;
}

.map-item + .map-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  margin-bottom: 11px;
}

.map-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-item > code {
  display: block;
  color: var(--ink);
  font-size: clamp(10.5px, 0.95vw, 12px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   Section shell
   --------------------------------------------------------- */

.section {
  position: relative;
  padding-block: clamp(84px, 9.5vw, 148px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.section > .shell {
  position: relative;
  z-index: 1;
}

.section-index {
  position: absolute;
  top: clamp(44px, 5.5vw, 76px);
  right: calc(max(var(--gutter), (100% - var(--maxw)) / 2) - 10px);
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(9rem, 16vw, 15rem);
  font-weight: 400;
  line-height: 0.68;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1px rgba(241, 243, 234, 0.085);
  pointer-events: none;
  user-select: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: clamp(34px, 6vw, 94px);
  margin-bottom: clamp(48px, 6vw, 84px);
}

.section-title {
  max-width: 14ch;
  font-family: var(--display);
  font-size: clamp(2.9rem, 5.2vw, 5.3rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.section-intro {
  max-width: 47ch;
  padding-bottom: 5px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.68;
}

.section-constellation {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

/* ---------------------------------------------------------
   Manifest
   --------------------------------------------------------- */

.manifest-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 44px);
  row-gap: clamp(38px, 5vw, 64px);
  align-items: start;
}

.manifest-item {
  position: relative;
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.manifest-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lime);
  transition: width 480ms var(--ease);
}

.manifest-item:hover::before {
  width: 100%;
}

.manifest-item:hover .manifest-icon {
  color: var(--lime);
}

.manifest-item:nth-child(1) {
  grid-column: 1 / 8;
}

.manifest-item:nth-child(2) {
  grid-column: 9 / 13;
  margin-top: clamp(38px, 6vw, 86px);
}

.manifest-item:nth-child(3) {
  grid-column: 2 / 7;
}

.manifest-item:nth-child(4) {
  grid-column: 8 / 13;
  margin-top: clamp(38px, 6vw, 86px);
}

.manifest-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.manifest-num {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.manifest-icon {
  flex: none;
  color: var(--sage);
  transition: color 220ms var(--ease);
}

.manifest-title {
  margin: 0 0 17px;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.05rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.038em;
}

.manifest-item--feature .manifest-title {
  font-size: clamp(2.45rem, 4vw, 3.7rem);
}

.manifest-copy {
  max-width: 50ch;
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: clamp(0.975rem, 0.35vw + 0.9rem, 1.07rem);
  line-height: 1.65;
}

.manifest-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.manifest-meta span:last-child {
  text-align: right;
}

/* ---------------------------------------------------------
   Before / after
   --------------------------------------------------------- */

.compare {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(58px, 6.5vw, 92px) minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.compare-panel {
  min-width: 0;
  padding: clamp(24px, 3.5vw, 46px);
}

.compare-panel--before {
  background-image: repeating-linear-gradient(135deg, transparent 0 15px, rgba(241, 243, 234, 0.017) 15px 16px);
}

.compare-panel--after {
  background: rgba(213, 255, 98, 0.035);
}

.compare-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.compare-label {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.compare-panel--after .compare-label {
  color: var(--lime);
}

.compare-code {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: right;
}

.compare-title {
  margin: clamp(26px, 4vw, 40px) 0 24px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.038em;
}

.compare-panel--before .compare-title {
  color: var(--muted);
  font-style: italic;
}

.compare-list {
  list-style: none;
  border-top: 1px dashed var(--line);
}

.compare-list li {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.45;
}

.compare-mark {
  color: var(--sand);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.compare-list--after .compare-mark {
  color: var(--lime);
}

.compare-foot {
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.55;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--lime);
}

.compare-arrow-line {
  width: 1px;
  height: 62px;
  border-left: 1px dashed var(--line-strong);
}

.compare-arrow-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ---------------------------------------------------------
   Protocol
   --------------------------------------------------------- */

.protocol {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 3.1fr) minmax(0, 8.9fr);
  gap: clamp(34px, 6vw, 86px);
  margin-top: clamp(56px, 8vw, 100px);
}

.protocol-aside h3 {
  max-width: 16ch;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 2.8vw, 2.85rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.038em;
}

.protocol-aside > p:last-child {
  max-width: 33ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.protocol-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.protocol-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
  padding: 21px 30px 24px 0;
  border-bottom: 1px solid var(--line);
}

.protocol-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.protocol-item:nth-child(even) {
  padding-right: 0;
  padding-left: 30px;
}

.protocol-num {
  padding-top: 3px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.protocol-item h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.008em;
}

.protocol-item p {
  max-width: 45ch;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Installation
   --------------------------------------------------------- */

.section--install {
  background: var(--bg-raised);
}

.section--install::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(213, 255, 98, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(213, 255, 98, 0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.section-intro-group .section-intro {
  max-width: 50ch;
}

.install-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  list-style: none;
}

.install-facts li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.install-facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--lime);
}

.path-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--lime);
  background: rgba(213, 255, 98, 0.03);
}

.path-note-label {
  padding-top: 2px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-note p {
  max-width: 95ch;
  color: var(--ink-soft);
  font-size: 13.8px;
  line-height: 1.65;
}

.install-terminal {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-strong);
  background: #0a0c0a;
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.3);
}

.install-terminal::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 2;
  width: 22%;
  height: 1px;
  background: var(--lime);
}

.install-terminal .terminal-bar {
  min-height: 48px;
  padding-inline: 16px;
}

.noscript-note {
  margin: 0;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(217, 185, 130, 0.06);
  color: var(--ink-soft);
  font-size: 13px;
}

.install-steps {
  list-style: none;
  padding: clamp(18px, 3.5vw, 42px) clamp(18px, 3.5vw, 44px);
}

.install-step {
  display: grid;
  grid-template-columns: clamp(66px, 7vw, 98px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(30px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}

.install-step:first-child {
  padding-top: clamp(8px, 1vw, 16px);
  border-top: 0;
}

.install-step:last-child {
  padding-bottom: 4px;
}

.step-rail {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-right: 16px;
  border-right: 1px dashed var(--line);
}

.step-tag {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.step-no {
  color: transparent;
  font-family: var(--display);
  font-size: clamp(2.7rem, 4vw, 4.1rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 1px rgba(213, 255, 98, 0.52);
}

.step-body {
  min-width: 0;
}

.step-body h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.step-body p {
  max-width: 74ch;
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.68;
}

.step-body p strong {
  color: var(--ink);
  font-weight: 600;
}

.step-actions {
  margin: 20px 0 22px;
}

.code-frame {
  min-width: 0;
  margin: 20px 0 0;
  border: 1px solid var(--line);
  background: #0d100d;
}

.code-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 4px 8px 4px 13px;
  border-bottom: 1px solid var(--line);
  background: #111511;
}

.code-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-dot {
  width: 4px;
  height: 4px;
  flex: none;
  background: var(--lime);
}

.code-kind {
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.code-frame pre {
  margin: 0;
  padding: 16px 18px 17px;
  overflow-x: auto;
  scrollbar-color: var(--line-strong) transparent;
}

.code-frame pre code {
  display: block;
  color: #e9f3df;
  font-family: var(--mono);
  font-size: clamp(11.5px, 0.82vw, 13px);
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.step-body .code-caption {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.dest-list {
  margin: 22px 0 20px;
  border-top: 1px solid var(--line);
}

.dest-row {
  display: grid;
  grid-template-columns: minmax(136px, 0.36fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.dest-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dest-row > code {
  min-width: 0;
  color: var(--sage);
  font-size: 11.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.aftercare {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(30px, 4vw, 52px);
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--lime);
  background: #0e110e;
}

.aftercare-head h3 {
  max-width: 15ch;
  margin: 0 0 13px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.aftercare-head .section-kicker {
  margin-bottom: 16px;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  border-top: 1px solid var(--line);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.checklist li:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.check-mark {
  padding-top: 2px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.aftercare-prompt {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.prompt-label {
  margin: 0 0 2px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.code-frame--prompt {
  margin-top: 12px;
}

.code-frame--prompt pre code {
  color: var(--ink);
  font-size: 12.5px;
}

/* ---------------------------------------------------------
   Disclaimer
   --------------------------------------------------------- */

.section--disclaimer {
  background: var(--bg-deep);
}

.section--disclaimer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1;
  width: min(46%, 540px);
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent);
}

.disclaimer-body {
  position: relative;
  z-index: 1;
}

.safety-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
}

.safety-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
}

.disclaimer-lead {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  max-width: 82ch;
  margin: 0 0 clamp(42px, 5vw, 68px);
  padding: 17px 20px;
  border: 1px solid rgba(213, 255, 98, 0.23);
  background: rgba(213, 255, 98, 0.032);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.disclaimer-lead-mark {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.disclaimer-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.disclaimer-block {
  padding: clamp(34px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--line-strong);
}

.disclaimer-block:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.disclaimer-block-head {
  max-width: 78ch;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.disclaimer-label {
  margin-bottom: 12px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.disclaimer-block-head h3,
.disclaimer-card h3 {
  max-width: 26ch;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.disclaimer-block-head h3 code,
.disclaimer-card h3 code {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 0.72em;
  letter-spacing: -0.015em;
}

.disclaimer-block-head > p:last-child,
.disclaimer-card > p:not(.disclaimer-label):not(.privacy-footnote):not(.redaction-warning) {
  max-width: 72ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.npm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
  list-style: none;
}

.npm-steps li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 21px;
  background: var(--panel);
}

.npm-step-no {
  margin-bottom: 17px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.npm-steps h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.npm-steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.npm-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(26px, 4vw, 58px);
  margin-top: 26px;
}

.npm-detail > div {
  min-width: 0;
}

.npm-detail p {
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.7;
}

.disclaimer-minihead {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.habit-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.habit-list li {
  position: relative;
  padding: 9px 0 9px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.habit-list li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--lime);
}

.disclaimer-card > p + .disclaimer-minihead {
  margin-top: 22px;
}

.table-hint {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-hint::after {
  content: "\2192";
  font-size: 12px;
  line-height: 1;
}

.table-shell {
  position: relative;
}

.table-shell::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 38px;
  background: linear-gradient(90deg, transparent, var(--panel));
  pointer-events: none;
  display: none;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  scrollbar-color: var(--line-strong) transparent;
}

.table-scroll:focus-visible {
  outline-offset: -3px;
}

.command-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  text-align: left;
}

.command-table thead th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-strong);
  background: var(--panel-strong);
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.command-table tbody th,
.command-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.command-table tbody tr:last-child th,
.command-table tbody tr:last-child td {
  border-bottom: 0;
}

.command-table tbody th {
  width: 19%;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.55;
}

.command-table tbody td {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.55;
}

.command-table tbody td:nth-child(3) {
  color: var(--ink-soft);
}

.command-table code {
  color: var(--lime);
  font-size: 0.94em;
}

.table-note {
  max-width: 82ch;
  margin-top: 14px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.disclaimer-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  padding-top: clamp(34px, 4.5vw, 56px);
  border-top: 1px solid var(--line-strong);
}

.disclaimer-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.disclaimer-card--privacy {
  border-top-color: var(--sand);
}

.disclaimer-card--redact {
  border-top-color: var(--lime);
}

.disclaimer-card h3 {
  max-width: 18ch;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.disclaimer-card > p:not(.disclaimer-label):not(.privacy-footnote):not(.redaction-warning) {
  max-width: 55ch;
}

.privacy-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.privacy-list li {
  position: relative;
  padding: 10px 0 10px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  top: 1.1em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--sand);
}

.privacy-footnote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.redaction-steps {
  counter-reset: redact;
  list-style: none;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.redaction-steps li {
  position: relative;
  counter-increment: redact;
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.redaction-steps li::before {
  content: counter(redact, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.redaction-warning {
  margin-top: 16px;
  padding-left: 13px;
  border-left: 2px solid var(--sand);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.disclaimer-card kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  background: rgba(232, 238, 224, 0.05);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.9em;
  line-height: 1.4;
}

.disclaimer-note {
  margin-top: clamp(38px, 5vw, 60px);
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   Security
   --------------------------------------------------------- */

.security-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: clamp(38px, 6vw, 92px);
  align-items: stretch;
}

.security-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.security-lead {
  position: relative;
  max-width: 54ch;
  margin: 0 0 clamp(28px, 4vw, 38px);
  padding-left: 27px;
  border-left: 2px solid var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.security-lead-mark {
  position: absolute;
  top: 0.24em;
  left: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.security-list {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.security-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  padding: 19px 0 21px;
  border-bottom: 1px solid var(--line);
}

.security-num {
  padding-top: 4px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.security-item h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.006em;
}

.security-item p {
  max-width: 66ch;
  color: var(--muted);
  font-size: 13.8px;
  line-height: 1.65;
}

.security-proof {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: clamp(26px, 3.5vw, 36px);
  padding: 17px 19px;
  border: 1px solid rgba(213, 255, 98, 0.23);
  background: rgba(213, 255, 98, 0.032);
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.security-proof svg {
  flex: none;
  margin-top: 1px;
  color: var(--lime);
}

.security-proof strong {
  color: var(--ink);
  font-weight: 600;
}

.security-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  padding: 34px 26px;
  border: 1px solid var(--line);
  background: #101410;
  overflow: hidden;
}

.security-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(232, 238, 224, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 238, 224, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 75%);
  pointer-events: none;
}

.security-art::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(232, 238, 224, 0.06);
  pointer-events: none;
}

.security-art svg {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  height: auto;
}

.art-label {
  position: absolute;
  z-index: 2;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.art-label--tl {
  top: 24px;
  left: 26px;
}

.art-label--tr {
  top: 24px;
  right: 26px;
}

.art-label--bl {
  bottom: 24px;
  left: 26px;
}

.art-label--br {
  right: 26px;
  bottom: 24px;
}

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */

.faq-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 7vw, 108px);
  align-items: start;
}

.faq-intro .section-title {
  margin-bottom: 24px;
}

.faq-intro .section-intro {
  max-width: 36ch;
}

.faq-aside-note {
  max-width: 34ch;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 21px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.025em;
  list-style: none;
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--lime);
}

.faq-list details[open] summary {
  color: var(--lime);
}

.faq-icon {
  position: relative;
  width: 23px;
  height: 23px;
  flex: none;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 220ms var(--ease);
}

.faq-icon::before {
  width: 9px;
  height: 1px;
}

.faq-icon::after {
  width: 1px;
  height: 9px;
}

details[open] .faq-icon {
  border-color: var(--lime);
  color: var(--lime);
}

details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-width: 72ch;
  padding: 0 46px 25px 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.72;
  animation: answer-in 280ms var(--ease) both;
}

@keyframes answer-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.faq-answer p + p {
  margin-top: 12px;
}

.faq-paths {
  list-style: none;
  margin: 15px 0;
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.faq-paths li {
  display: grid;
  gap: 2px;
  padding: 6px 0;
}

.faq-paths span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-answer .faq-paths code {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sage);
  font-size: 11.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: var(--bg-deep);
  padding-top: clamp(58px, 8vw, 100px);
  overflow: hidden;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(140px, 0.52fr) minmax(255px, 0.8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.footer-brand .section-kicker {
  margin-bottom: 22px;
}

.footer-mark {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.048em;
}

.footer-mark em {
  font-style: italic;
  color: var(--lime);
}

.footer-copy {
  max-width: 34ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.footer-nav h2 {
  margin: 0 0 17px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-nav a {
  display: inline-block;
  padding: 3px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.footer-nav a:hover {
  color: var(--lime);
}

.footer-release {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.footer-label {
  margin: 0 0 12px;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-version {
  margin: 0;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.footer-version span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.footer-download {
  width: 100%;
  margin: 18px 0 16px;
}

.footer-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: clamp(48px, 6vw, 76px);
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.footer-bottom a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.footer-bottom a:hover {
  color: var(--lime);
}

/* ---------------------------------------------------------
   Reveal motion
   --------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 750ms var(--ease),
    transform 750ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.manifest-item:nth-child(2),
.manifest-item:nth-child(4) {
  --reveal-delay: 80ms;
}

.protocol-item:nth-child(2),
.protocol-item:nth-child(4),
.protocol-item:nth-child(6) {
  --reveal-delay: 60ms;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1180px) {
  .hero-grid {
    gap: clamp(30px, 4vw, 54px);
  }

  .hero-visual {
    min-height: 500px;
  }

  .path-node--rules {
    right: 0;
  }

  .path-node--skills {
    left: -2%;
  }

  .path-node--config {
    left: -1%;
  }

  .section-index {
    font-size: clamp(8rem, 15vw, 12rem);
  }

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

  .site-nav ul {
    gap: 14px;
  }

  .nav-link {
    font-size: 9px;
  }
}

@media (max-width: 1060px) {
  :root {
    --header-h: 72px;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .header-cta {
    order: 3;
    margin-left: 0;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 6px var(--gutter) 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    background: var(--bg-raised);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    font-size: 12px;
  }

  .nav-link::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding-bottom: 22px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(3.2rem, 8.7vw, 6.4rem);
  }

  .hero-visual {
    justify-content: center;
    width: 100%;
    max-width: 600px;
    min-height: 0;
    margin: 0 auto;
    padding: 24px 0 clamp(66px, 9vw, 96px);
  }

  .terminal {
    width: 100%;
    margin-inline: auto;
  }

  .constellation {
    inset: -12px -40px -10px;
    opacity: 0.7;
  }

  .path-node--rules {
    top: 0;
    right: 0;
  }

  .path-node--skills,
  .path-node--config {
    display: none;
  }

  .visual-caption {
    bottom: 32px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }

  .section-intro {
    max-width: 58ch;
  }

  .section-title {
    max-width: 16ch;
  }

  .manifest-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(22px, 4vw, 40px);
    row-gap: 42px;
  }

  .manifest-item:nth-child(1),
  .manifest-item:nth-child(2),
  .manifest-item:nth-child(3),
  .manifest-item:nth-child(4) {
    grid-column: auto;
  }

  .manifest-item:nth-child(2),
  .manifest-item:nth-child(4) {
    margin-top: 38px;
  }

  .manifest-item--feature .manifest-title {
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  }

  .protocol {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .protocol-aside > p:last-child {
    max-width: 55ch;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-intro .section-intro {
    max-width: 48ch;
  }

  .faq-aside-note {
    max-width: 50ch;
  }
}

@media (max-width: 980px) {
  .security-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .security-art {
    min-height: 430px;
  }

  .security-art svg {
    width: min(72%, 340px);
  }

  .disclaimer-split {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.7fr;
  }

  .footer-release {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(150px, 0.5fr) minmax(200px, 1fr);
    align-items: center;
    column-gap: 24px;
  }

  .footer-release .footer-label,
  .footer-release .footer-version {
    grid-column: 1;
  }

  .footer-release .footer-download {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .footer-release .footer-note {
    grid-column: 1 / -1;
  }

  .section-index {
    display: none;
  }
}

@media (max-width: 980px) {
  .table-hint {
    display: flex;
  }

  .table-shell::after {
    display: block;
  }
}

@media (max-width: 860px) {
  .section {
    padding-block: clamp(68px, 10vw, 100px);
  }

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

  .compare-arrow {
    flex-direction: row;
    gap: 16px;
    min-height: 58px;
    border-top: 1px solid var(--line);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .compare-arrow-line {
    width: 46px;
    height: 1px;
    border-top: 1px dashed var(--line-strong);
    border-left: 0;
  }

  .compare-arrow-label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .compare-arrow svg {
    transform: rotate(90deg);
  }

  .protocol-list {
    grid-template-columns: 1fr;
  }

  .protocol-item:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .protocol-item:nth-child(even) {
    padding-left: 0;
  }

  .npm-detail {
    grid-template-columns: 1fr;
  }

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

  .map-item {
    padding: 17px 0 19px;
  }

  .map-item + .map-item {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .map-top {
    min-height: 26px;
    margin-bottom: 8px;
  }

  .path-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .aftercare-head h3 {
    max-width: 22ch;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-release {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-release .footer-label,
  .footer-release .footer-version,
  .footer-release .footer-download,
  .footer-release .footer-note {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-release .footer-download {
    margin: 18px 0 16px;
  }

  .footer-nav ul {
    grid-template-columns: 1fr 1fr;
    gap: 9px 24px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 34px;
  }

  .hero-meta {
    align-items: flex-start;
    gap: 8px;
  }

  .hero-issue {
    width: 100%;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.85rem, 10.7vw, 4.4rem);
  }

  .hero-lede {
    max-width: 40ch;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 200px;
  }

  .system-map-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 12px;
  }

  .manifest-grid {
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .manifest-item:nth-child(2),
  .manifest-item:nth-child(4) {
    margin-top: 0;
  }

  .manifest-item--feature .manifest-title {
    font-size: clamp(2.3rem, 8vw, 3.2rem);
  }

  .manifest-meta {
    font-size: 8px;
  }

  .install-step {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .step-rail {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px dashed var(--line);
  }

  .step-no {
    font-size: 2.4rem;
  }

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

  .checklist li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .dest-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: start;
  }

  .dest-label {
    grid-column: 1 / -1;
  }

  .dest-row > code {
    grid-column: 1;
  }

  .dest-row .copy-btn {
    grid-column: 2;
    grid-row: 2;
  }

  .security-art {
    min-height: 390px;
    padding: 30px 20px;
  }

  .security-art svg {
    width: min(78%, 310px);
  }

  .art-label {
    font-size: 7px;
  }

  .art-label--tl,
  .art-label--bl {
    left: 20px;
  }

  .art-label--tr,
  .art-label--br {
    right: 20px;
  }

  .faq-answer {
    padding-right: 8px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .header-cta-long {
    display: none;
  }

  .header-cta-short {
    display: inline;
  }

  .brand-sub {
    font-size: 7.5px;
    letter-spacing: 0.1em;
  }

  .nav-toggle-text {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    padding: 0;
  }

  .hero-visual {
    padding-bottom: 64px;
  }

  .path-node {
    font-size: 8px;
    padding: 4px 6px;
  }

  .path-node--skills {
    bottom: 13%;
  }

  .path-node--config {
    top: 53%;
  }

  .terminal-body {
    padding: 18px 16px 17px;
  }

  .terminal-title {
    font-size: 8.5px;
  }

  .section-title {
    font-size: clamp(2.5rem, 11vw, 3.3rem);
  }

  .compare-panel {
    padding: 22px 19px;
  }

  .compare-title {
    margin-top: 24px;
  }

  .install-steps {
    padding: 18px 15px;
  }

  .code-head {
    padding-left: 10px;
  }

  .code-kind {
    display: none;
  }

  .code-name {
    font-size: 8.5px;
  }

  .code-frame pre {
    padding: 14px 13px 15px;
  }

  .aftercare {
    padding: 22px 18px;
  }

  .security-lead {
    padding-left: 23px;
    font-size: 1.35rem;
  }

  .security-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .security-proof {
    padding: 15px;
  }

  .disclaimer-lead {
    padding: 15px 16px;
  }

  .npm-steps {
    grid-template-columns: 1fr;
  }

  .disclaimer-card {
    padding: 20px;
  }

  .footer-release {
    padding: 18px;
  }
}

@media (max-width: 440px) {
  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-inner {
    gap: 9px;
  }

  .header-cta {
    padding-inline: 11px;
    gap: 6px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11.9vw, 3.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    flex: none;
  }

  .trust-line {
    align-items: flex-start;
    font-size: 12.5px;
  }

  .path-node--rules {
    top: -8px;
  }

  .path-node--skills {
    display: none;
  }

  .terminal-mode {
    font-size: 7px;
    padding: 3px 4px;
  }

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

  .term-file {
    display: none;
  }

  .visual-caption {
    left: 0;
    right: auto;
  }

  .manifest-meta {
    flex-direction: column;
    gap: 5px;
  }

  .manifest-meta span:last-child {
    text-align: left;
  }

  .disclaimer-block-head h3,
  .disclaimer-card h3 {
    font-size: 1.6rem;
  }

  .npm-steps li {
    padding: 16px;
  }

  .redaction-steps li {
    padding-left: 26px;
  }

  .footer-nav ul {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .term-cursor {
    animation: none;
    opacity: 1;
  }

  .faq-answer {
    animation: none;
  }
}

/* ---------------------------------------------------------
   Print
   --------------------------------------------------------- */

@media print {
  body {
    background: #fff;
    color: #111;
  }

  body::before,
  .page-frame,
  .site-header,
  .hero-visual,
  .section-constellation,
  .security-art,
  .site-footer .footer-nav {
    display: none !important;
  }

  .hero,
  .section,
  .site-footer {
    padding-block: 24px;
    border-color: #ccc;
    background: #fff;
  }

  .section-title,
  .hero h1,
  .manifest-title,
  .step-body h3,
  .footer-mark {
    color: #111;
  }

  .btn {
    border: 1px solid #111;
    background: #fff;
    color: #111;
  }

  a {
    color: #111;
  }

  .code-frame {
    border-color: #999;
    background: #fff;
  }

  .code-frame pre code {
    color: #111;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .section--disclaimer,
  .npm-steps li,
  .disclaimer-card,
  .disclaimer-lead,
  .disclaimer-note {
    background: #fff;
  }

  .disclaimer-block-head h3,
  .disclaimer-card h3,
  .disclaimer-lead,
  .disclaimer-lead strong,
  .npm-steps h4,
  .disclaimer-minihead,
  .command-table tbody th {
    color: #111;
  }

  .npm-steps {
    border-color: #ccc;
    background: #ccc;
  }

  .npm-steps p,
  .npm-detail p,
  .habit-list li,
  .privacy-list li,
  .privacy-footnote,
  .redaction-steps li,
  .redaction-warning,
  .command-table tbody td,
  .table-note,
  .disclaimer-block-head > p:last-child,
  .disclaimer-card > p {
    color: #333;
  }

  .table-hint,
  .table-shell::after {
    display: none !important;
  }

  .table-scroll {
    overflow: visible;
    border-color: #999;
    background: #fff;
  }

  .command-table {
    min-width: 0;
  }

  .command-table thead th {
    background: #fff;
    color: #111;
    border-color: #999;
  }

  .command-table tbody th,
  .command-table tbody td {
    border-color: #ccc;
  }

  .command-table code {
    color: #111;
  }
}
