/* ==========================================================================
   sections — manifesto, surfaces, playground, atlas, action, evidence, install
   ========================================================================== */

/* shared section header ------------------------------------------------ */
.sec-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.sec-head .h2 {
  margin-top: 22px;
}
.sec-head .lede {
  margin-top: 22px;
  max-width: 56ch;
}

.dot-live {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(134, 184, 146, 0.6);
  margin-right: 8px;
  vertical-align: 1px;
}

/* ==========================================================================
   01 — manifesto
   ========================================================================== */
.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
}
.manifesto__head .h2 {
  margin-top: 22px;
  font-size: clamp(30px, 3.4vw, 46px);
}
.manifesto__body .lede {
  max-width: 46ch;
}
.manifesto__body .lede + .lede {
  margin-top: 18px;
}
.mech {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.mech__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.mech__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  padding-top: 3px;
  letter-spacing: 0.06em;
}
.mech__item b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.mech__item span {
  display: block;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.65;
}

/* ==========================================================================
   02 — surfaces (scroll-driven)
   ========================================================================== */
.surfaces {
  padding-bottom: 0;
}
.scrolly {
  position: relative;
  height: 280vh;
  margin-top: 8px;
}
.scrolly__pin {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  height: calc(100svh - var(--nav-h) - 60px);
  min-height: 560px;
  max-height: 780px;
  padding-bottom: 40px;
}
.scrolly__side {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-top: 8px;
}
.steps {
  display: grid;
  gap: 2px;
}
.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 16px 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  opacity: 0.4;
  transition:
    opacity var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out);
}
.step.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line);
}
.step__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  padding-top: 2px;
  transition: color var(--dur-2) var(--ease-out);
}
.step.is-active .step__n {
  color: var(--accent);
}
.step b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.step span {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-3);
}
.scrolly__caption {
  margin-top: auto;
  padding-top: 26px;
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.scrolly__stage {
  position: relative;
  height: 100%;
  min-height: 520px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%),
    #101114;
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  isolation: isolate;
}
.pane {
  position: absolute;
  inset: 0;
  padding: 30px 32px;
  overflow: auto;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(6px);
  pointer-events: none;
  transition:
    opacity 520ms var(--ease-out),
    transform 520ms var(--ease-out),
    filter 520ms var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}
.pane.is-active {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}
.pane__doc {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-2);
}
.pane__doc p + p {
  margin-top: 18px;
}
.pane__doc-label {
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.pane__doc-muted {
  color: var(--text-3);
  font-size: 14px;
}
.pane__mount {
  min-height: 100%;
}
.mount-skeleton {
  display: grid;
  gap: 14px;
  padding: 4px;
}

/* mobile: no pinning, panes become stacked cards */
@media (max-width: 900px) {
  .surfaces {
    padding-bottom: 0;
  }
  .scrolly {
    height: auto;
  }
  .scrolly__pin {
    position: static;
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-bottom: 0;
  }
  .scrolly__side {
    padding-top: 0;
    margin-bottom: 24px;
  }
  .steps {
    gap: 6px;
  }
  .step {
    opacity: 1;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.02);
  }
  .scrolly__caption {
    margin-top: 18px;
    padding-top: 0;
  }
  .scrolly__stage {
    position: static;
    height: auto;
    min-height: 0;
    display: grid;
    gap: 16px;
    background: none;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }
  .pane {
    position: static;
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--surface);
    padding: 22px;
  }
  .pane::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 16px;
  }
  .pane__doc-label {
    display: none;
  }
}

/* ==========================================================================
   03 — playground
   ========================================================================== */
.pg {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 16px;
  align-items: stretch;
}
.pg__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.pg__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}
.pg__bar > .mono {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.fence-mark {
  color: var(--accent);
  opacity: 0.8;
  margin-right: 2px;
}
.pg__presets {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pg__chip {
  height: 24px;
  padding-inline: 9px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 11.5px;
  color: var(--text-3);
  white-space: nowrap;
  transition:
    color var(--dur-1) var(--ease-out),
    background-color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}
.pg__chip:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.pg__chip.is-active {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.pg__code {
  flex: 1;
  width: 100%;
  min-height: 430px;
  padding: 18px 20px;
  border: 0;
  outline: none;
  resize: none;
  background: #0b0c0e;
  color: #d9d7d1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  tab-size: 2;
  white-space: pre;
  overflow: auto;
  caret-color: var(--accent);
}
.pg__code::selection {
  background: rgba(230, 211, 172, 0.22);
  color: var(--text);
}
.pg__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.pg__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pg__status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}
.pg__status.is-error {
  color: var(--err);
}
.pg__status.is-error::before {
  background: var(--err);
}
.pg__status.is-busy::before {
  background: var(--warn);
}
.pg__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}
.pg__action {
  height: 28px;
  font-size: 12px;
  padding-inline: 10px;
  color: var(--text-3);
}
.pg__copy {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding-inline: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  color: var(--text-2);
  transition:
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}
.pg__copy:hover {
  color: var(--text);
  border-color: var(--accent-line);
}
.pg__panel--editor.is-error {
  border-color: rgba(208, 138, 125, 0.5);
}
.pg__panel--preview.is-stale .pg__stage {
  opacity: 0.45;
  filter: saturate(0.6);
  transition:
    opacity var(--dur-2) var(--ease-out),
    filter var(--dur-2) var(--ease-out);
}
.pg__panel--preview .pg__bar .pg__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pg__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(134, 184, 146, 0.6);
}
.pg__stage {
  flex: 1;
  min-height: 430px;
  max-height: 620px;
  overflow: auto;
  padding: 12px;
  background: #0d0e10;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}
.pg__stage::-webkit-scrollbar {
  width: 9px;
}
.pg__stage::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 5px;
}
.pg__note {
  margin-top: 16px;
  color: var(--text-4);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}
.pg__error {
  padding: 18px;
  border: 1px solid rgba(208, 138, 125, 0.35);
  border-radius: var(--r-md);
  background: rgba(208, 138, 125, 0.06);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.7;
}
.pg__error b {
  display: block;
  color: var(--err);
  font-weight: 500;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   04 — atlas
   ========================================================================== */
.atlas__filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.atlas__filter {
  height: 30px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  color: var(--text-3);
  transition:
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out),
    background-color var(--dur-1) var(--ease-out);
}
.atlas__filter:hover {
  color: var(--text-2);
  border-color: var(--line-strong);
}
.atlas__filter.is-active {
  color: var(--text);
  border-color: var(--accent-line);
  background: var(--accent-soft);
}
.atlas__wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.specimen[hidden],
.atlas__more[hidden] {
  display: none;
}
.specimen {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition:
    border-color var(--dur-2) var(--ease-out),
    background-color var(--dur-2) var(--ease-out);
}
.specimen:hover {
  border-color: var(--line-strong);
}
.specimen.is-wide {
  grid-column: auto;
}
.atlas__wide .specimen__stage {
  padding: 18px;
}
.specimen__stage {
  position: relative;
  flex: none;
  height: 168px;
  padding: 14px;
  transition: opacity var(--dur-2) var(--ease-out);
  overflow: hidden;
}
/* a clipped specimen reads as a preview, not as a broken render */
.specimen:not(.is-open) .specimen__stage::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 34px;
  background: linear-gradient(to bottom, rgba(19, 20, 23, 0), var(--surface) 82%);
  pointer-events: none;
}
.specimen.is-open .specimen__stage {
  height: auto;
  max-height: 620px;
  overflow: auto;
}
.atlas__wide .specimen__stage {
  height: auto;
  /* reserve height for the deferred heavy cards so mounting them does not
     shove the rest of the page down while the reader is scrolling */
  min-height: 400px;
  max-height: none;
}
.specimen__stage.is-empty {
  display: grid;
  place-items: center;
}
.specimen__fallback {
  margin: 0;
  padding: 6px 2px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-3);
}
.specimen__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.specimen__hint i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.specimen figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.012);
}
.specimen figcaption .mono {
  font-size: 10px;
  color: var(--text-4);
  letter-spacing: 0.04em;
}
.specimen__open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-3);
  font-size: 11.5px;
  transition: color var(--dur-1) var(--ease-out);
}
.specimen:hover .specimen__open {
  color: var(--accent);
}
.specimen__code {
  display: none;
  border-top: 1px solid var(--line);
  background: #0b0c0e;
  padding: 14px 16px;
  max-height: 300px;
  overflow: auto;
}
.specimen.is-open .specimen__code {
  display: block;
}
.specimen__code pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: #b9b7b1;
  white-space: pre;
}
.atlas__compositions {
  margin-top: 72px;
}
.atlas__sub {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.atlas__sub .mono {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.atlas__sub > span:last-child {
  font-size: 13px;
  color: var(--text-3);
}
.atlas__wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.atlas__more-row {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}
.atlas__more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding-inline: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--text-2);
  transition:
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}
.atlas__more:hover {
  color: var(--text);
  border-color: var(--accent-line);
}
.atlas__more svg {
  width: 13px;
  height: 13px;
  transition: transform var(--dur-2) var(--ease-out);
}
.atlas__more[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.atlas__note {
  margin-top: 24px;
  color: var(--text-4);
  font-size: 10.5px;
  letter-spacing: 0.02em;
}
.atlas__note a {
  color: var(--text-3);
  border-bottom: 1px solid var(--line-strong);
}
.atlas__note a:hover {
  color: var(--accent);
}

/* ==========================================================================
   05 — action loop
   ========================================================================== */
.action__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.action__copy .h2 {
  margin-top: 22px;
}
.action__copy .lede {
  margin-top: 22px;
  max-width: 44ch;
}
.action__steps {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}
.action__steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
  align-items: baseline;
}
.action__steps b {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.action__payload {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 40px 90px -60px rgba(0, 0, 0, 0.9);
}
.payload__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.payload__tag {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.payload__code {
  margin: 0;
  padding: 22px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  color: #b8b6b0;
  background: #0b0c0e;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.payload__code code {
  font-family: inherit;
}
.tk-key {
  color: #cfc4a8;
}
.tk-str {
  color: #9bbf9f;
}
.tk-cmd {
  color: var(--accent);
}
.tk-flag {
  color: var(--text-2);
}
.tk-comment {
  color: var(--text-4);
}
.payload__note {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-3);
}

/* ==========================================================================
   06 — evidence
   ========================================================================== */
.evidence__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.proof {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  min-width: 0;
}
.proof--video {
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  margin: 0;
}
.proof__video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.proof--video figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.proof__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}
.proof__value {
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 400;
  line-height: 1.3;
  word-break: break-word;
}
.proof--compat .proof__value {
  font-size: 13.5px;
  line-height: 1.9;
  letter-spacing: 0;
  color: var(--text-2);
}
.proof__value b {
  font-weight: 400;
  color: var(--accent);
  font-size: 30px;
  margin-right: 4px;
  letter-spacing: -0.03em;
}
.proof__body {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
  max-width: 36ch;
}
.proof--links .proof__links {
  display: grid;
  gap: 2px;
}
.proof__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 7px;
  font-size: 13.5px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line-faint);
  transition: color var(--dur-1) var(--ease-out);
}
.proof__links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   07 — install
   ========================================================================== */
.install__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.install__copy .h2 {
  margin-top: 22px;
}
.install__copy .lede {
  margin-top: 22px;
  max-width: 42ch;
}
.install__reqs {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 440px;
}
.install__reqs li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-2);
}
.install__reqs .mono {
  width: 52px;
  flex: none;
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.install__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.terminal {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: #0c0d0f;
  overflow: hidden;
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.95);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.016);
}
.terminal__dots {
  display: inline-flex;
  gap: 5px;
}
.terminal__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.terminal__bar .mono {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.terminal__copy {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition:
    color var(--dur-1) var(--ease-out),
    border-color var(--dur-1) var(--ease-out);
}
.terminal__copy:hover {
  color: var(--text);
  border-color: var(--accent-line);
}
.terminal__copy.is-copied {
  color: var(--ok);
  border-color: rgba(134, 184, 146, 0.4);
}
.terminal__body {
  margin: 0;
  padding: 28px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
  color: var(--text-2);
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal__foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--text-4);
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   footer additions
   ========================================================================== */
.footer__top {
  align-items: flex-start;
  justify-content: space-between;
}
.footer__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 420px;
}
.footer__star {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  height: 38px;
  padding-inline: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--text-2);
  transition:
    border-color var(--dur-1) var(--ease-out),
    color var(--dur-1) var(--ease-out);
}
.footer__star:hover {
  border-color: var(--accent-line);
  color: var(--text);
}
.footer__star svg {
  width: 15px;
  height: 15px;
}
.footer__star-count {
  font-size: 10.5px;
  color: var(--text-3);
  padding-left: 9px;
  border-left: 1px solid var(--line);
}
.footer__grid {
  flex: 1;
  max-width: 620px;
  padding-block: 0;
  gap: 24px;
}
.footer__legal {
  white-space: nowrap;
}

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .manifesto__grid,
  .action__grid,
  .install__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .atlas__wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .atlas__wide {
    grid-template-columns: 1fr;
  }
  .evidence__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .proof--video {
    grid-column: span 2;
    grid-row: auto;
  }
  .pg {
    grid-template-columns: 1fr;
  }
  .pg__code {
    min-height: 300px;
  }
  .pg__stage {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .sec-head {
    margin-bottom: 40px;
  }
  .atlas__wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .evidence__grid {
    grid-template-columns: 1fr;
  }
  .proof--video {
    grid-column: span 1;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
  .footer__intro {
    max-width: none;
  }
  .pg__bar {
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .pg__presets {
    justify-content: flex-start;
  }
  .pg__code {
    font-size: 11.5px;
    padding: 14px 16px;
  }
  .footer__wordmark {
    font-size: clamp(44px, 13vw, 72px);
  }
}
